Due to limitations of an embedded scripting language that I am using (Linden Scripting Language, LSL for short), I must rely on the REST api for Parse.com, and unfortunately the REST api documentation is unclear or incomplete on some subjects.
This is (roughly speaking) what my objects will look like:
{
"objectId": string_val,
"createdAt": date_val,
"updatedAt": date_val,
"OwnerKey": string_val,
"DocID": string_val,
"Data": []
}
What I need to do are two things:
I know not everyone is proficient with LSL (and be thankful that you are not!), so answers do not necessarily need to be in LSL. I understand Python code, so answers can be in that. I also understand the CURL examples that parse.com uses in their REST documentation, so answers can also be in that.
This is directly addressed in the REST API Guide under "Arrays" and was the first result when I searched for "AddUnique" over https://parse.com/docs/rest.
Objects are limited to 128 KB so storing a big array of objects like this is not recommended. Can you use a Relation field instead as recommended in the Relations guide?