Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Use /entity routing instead of /user

...

Excerpt

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:

POST: /user/dp-key/{dp-key}/content/content/tagged/entity/id/{entity-id}/connect/{content-id}
POST: /user/content/tagged/entity/ext-key/{ext-key}/{ext-type}/contentconnect/{content-id}


 dpentity-keydialogportal™ master key idRubiq entity ID that uniquely identifies the account to connect content.an entity

ext-keyExternal key that uniquely identifies the account to connect content. 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:


Code Block
titleExample
{
   "dpKeyentityID": 12345,
   "contentID": 4567
}


Status codes:

201

Created


 404.1User Entity not found 

404.2External user could entity not be found 

404.4Content not found