> For the complete documentation index, see [llms.txt](https://webside.gitbook.io/webside/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://webside.gitbook.io/webside/api/objects/post.md).

# Pin object

Pin the object reached thru the given URI.

See [GET](/webside/api/objects/get.md) for details on how to form this URI.

**URL**: `/objects/{id}/*`

**Method**: `POST`

## Success Responses

**Code** : `200 OK`

**Payload**: `object` defined as:

```json
{
	"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**

```json
{
	"uri": "/objects/1/origin/x"
}
```
