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},
}
Annotations GET and SET signature as of 1.22 look like this ...
"Request" : "Set",
"Params" : {
"Annotations ": {{
" EntityTag" : a, "Annotations": pairs1
},{
" EntityTag" : b, "Annotations": pairs2
}}
SET:
......{
"Type": "Annotations",
}}......
GET:
......{
"Request" : "Get",
"Params" : {
"Entities" : {
{Entity {"Tag": a}},
{Entity {"Tag": b},
"Type": "Annotations",
}
}
}......
GET RETURN:
{
{"EntityTag" : a, "Annotations": pairs1, "Error": nil},
{"EntityTag" : b, "Annotations": pairs2, "Error": nil},
"Results": {
}
}