---
url: /apidocs/room_propcontent.md
---
## Room: Prop Content API

| Endpoint | Method | Description |
|-----|-----|-----|
| [room:subscribeToProp](#subscribe-to-prop-channel) | websocket | Subscribe to prop channel |
| [room:unsubscribeFromProp](#unsubscribe-from-prop-channel) | websocket | Unsubscribe from prop channel |
| [room:changePropContent](#change-prop-content) | websocket | Change prop content |
| [room:removeContentOfProps](#remove-content-of-props) | websocket | Remove content of props |
| [room:swapContentOfProps](#swap-content-of-props) | websocket | Swap content of props |
| [room:changeResourcePosition](#change-resource-position) | websocket | Change resource position |
| [room:linkPropContent](#link-prop-content) | websocket | Link prop content |
| [room:unlinkPropContent](#unlink-prop-content) | websocket | Unlink prop content |
| [room:getPropContent](#get-prop-content) | websocket | Get prop content |
| [room:propContentUpdated](#on-room-prop-content-updated-event) | websocketEvent | On room prop content updated event |

### Subscribe to prop channel

**Method:** websocket

**Endpoint:** room:subscribeToProp

**Description:** Subscribe to prop event channel

**Request:**

**Response:**

### Unsubscribe from prop channel

**Method:** websocket

**Endpoint:** room:unsubscribeFromProp

**Description:** Unsubscribe from prop event channel

**Request:**

**Response:**

### Change prop content

**Method:** websocket

**Endpoint:** room:changePropContent

**Request:**

**Response:**

### Remove content of props

**Method:** websocket

**Endpoint:** room:removeContentOfProps

**Request:**

**Response:**

### Swap content of props

**Method:** websocket

**Endpoint:** room:swapContentOfProps

**Request:**

**Response:**

### Change resource position

**Method:** websocket

**Endpoint:** room:changeResourcePosition

**Request:**

**Response:**

### Link prop content

**Method:** websocket

**Endpoint:** room:linkPropContent

**Description:** Api creates link between two props. If link created, prop will receive content from source prop.

* Api returns error code `830` if link prop points to itself.
* Api returns error code `831` if source prop has a link to another prop.
* Api returns error code `832` if other props use current prop as a link source.

**Request:**

**Response:**

### Unlink prop content

**Method:** websocket

**Endpoint:** room:unlinkPropContent

**Description:** Api deletes link between two props.

**Request:**

**Response:**

### Get prop content

**Method:** websocket

**Endpoint:** room:getPropContent

**Request:**

**Response:**

### On room prop content updated event

**Event:** room:propContentUpdated

**Data:**

## Models

#### Resource

#### Resource Origin

#### Geolocation

#### Dimensions

#### Resource Data Audio

#### Resource Data Video

#### Resource Data Amazon

#### Resource Data Imdb

#### Resource Data Youtube

#### Resource Data Vimeo

#### Resource Data Pinterest

#### Resource Data Pixabay

#### Resource Data Facebook

#### Resource Data Remote Url

#### Live Stream Data

#### AI Generation Data

#### Resource Data Directory

#### Google Drive

#### Channel Data

#### Enrichment Data

#### Programmatic Action with children

#### Programmatic Action
