Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
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.

JSON data with information about the content and entity.

Endpoint ID:

9002

Method:

URL:

POST: /user/dp-key/{dpKeydp-key}/content/{contentIDcontent-id}
POST: /user/ext-key/{extKeyext-key}/{extTypeext-type}/content/{contentIDcontent-id}

 dp-keydialogportal™ master key that uniquely identifies the account to connect content.
 ext-keyExternal key that uniquely identifies the account to connect content.
 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
{
   "entityIDdpKey": 12345,
   "contentID": 4567
}

Status codes:

201

Created

 404.1User not found
 404.2External user could not be found
 404.4Content not found