Comment 3 for bug 1313016

Revision history for this message
Anastasia (anastasia-macmood) wrote :

Annotations GET and SET signature as of 1.22 look like this ...
SET:
......{
            "Type": "Annotations",
            "Request": "Set",
            "Params": {
                 "Annotations": {{
                    "EntityTag": a, "Annotations": pairs1
                  },{
                    "EntityTag": b, "Annotations": pairs2
                  }}
}}......

GET:

......{
            "Type": "Annotations",
            "Request": "Get",
            "Params": {
               "Entities": {
                   {Entity {"Tag": a}},
                   {Entity {"Tag": b},
               }
            }
}......

GET RETURN:

{
    "Results": {
          {"EntityTag": a, "Annotations": pairs1, "Error": nil},
          {"EntityTag": b, "Annotations": pairs2, "Error": nil},

    }

}