/
9002: Connect entity

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}
/content/tagged/entity/ext-key/{ext-key}/{ext-type}/connect/{content-id}


entity-idRubiq entity ID that uniquely identifies an entity

ext-keyExternal key that uniquely identifies an entity

ext-typeType of external key

content-idNumeric 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.1Entity not found

404.2External entity not found

404.4Content not found

Related content

9001: Create content
9001: Create content
More like this
3003: Add social connection
3003: Add social connection
More like this
2123: Complete data request action
2123: Complete data request action
More like this
1020: Create account with children
1020: Create account with children
More like this
2121: Submit data request
2121: Submit data request
More like this
1011: Search
1011: Search
More like this