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.

 JSON data with information about the content and entity. 

Endpoint ID:

9002

Method:

URL:

POST: /user/dp-key/{dpKey}/content/{contentID}
POST: /user/content/tagged/entity/id/{entity-id}/connect/{content-id}
/content/tagged/entity/ext-key/{extKeyext-key}/{extTypeext-type}/contentconnect/{contentIDcontent-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

 contentIDcontent-idNumeric value that identifies content. This identifier is returned from endpoint 9001: Create content

Request body:

None.

Response body:


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


Status codes:

201

Created


404.1User Entity not found 

404.2External user could entity not be found 

404.4Content not found