It is possible to update several avatars at a time, based on a search request.
Only one field can be updated at a time, and will be updated or added if not available.
Fields than can be updated with this method are:
Endpoint : POST - /avatars/findAndUpdate/
Payload : It is the same as in find request (see Avatars_search), but only query, vars and return fields are used.
{
"query" : { },
"vars" : { },
"return" : { }
}
Arguments : The property
argument is a json formatted string that list the property to update and the new value, for example
{"_visibility": 0}
to make avatars visible
or
{"http://orange-labs.fr/fog/ont/transport.owl#weight" : 13.5}
to update a property