Pin the object reached thru the given URI.
See GET for details on how to form this URI.
URL: /objects/{id}/*
Method: POST
Code : 200 OK
Payload: object
defined as:
{
"id": "string",
"class": "string",
"hasNamedSlots": "boolean",
"hasIndexedSlots": "boolean",
"size": "number",
"printString": "string"
}
Example:: Lets suppose there is a rectangle with ID 1
. Requesting a POST /objects
with the following body, will pin the x
coordinate of the rectangle's origin
:
Payload
{
"uri": "/objects/1/origin/x"
}