In Parse, I can create an object with a relation like:
var obj = new Something();
var relation = obj.relation('x');
relation.add(somethingElse);
obj.save();
But how do I do the same with the REST API? I find that I cannot just pass an array of pointers.
I get something like:
invalid type for key members, expected relation<_User>, but got array.
In the docs, it says I can add objects to a relation with the update API, but no mention with the create API.