9002: Connect entity
Connect an entity to content. Once content has been connected to at least one entity, it is considered "private", and can only be accessed by entities that have been connected to it.
Use this endpoint to connect entities one-at-a-time, or use 9002: Connect multiple entities to connect multiple entities.
Endpoint ID: | 9002 | |
Method: | ||
URL: | /content/tagged/entity/id/{entity-id}/connect/{content-id} | |
entity-id | Rubiq entity ID that uniquely identifies an entity | |
ext-key | External key that uniquely identifies an entity | |
ext-type | Type of external key | |
content-id | Numeric value that identifies content. This identifier is returned from endpoint 9001: Create content | |
Request body: | None. | |
Response body: | Example { "entityID": 12345, "contentID": 4567 } | |
Status codes: | 201 | Created |
404.1 | Entity not found | |
404.2 | External entity not found | |
404.4 | Content not found |