Versions Compared

Key

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

...

 

Endpoint ID:

9002

Method:

URL:

/content/tagged/connect/{content-id}


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

Request body:

JSON data containing an array of entities - either dpKeys entityIDs or extKeys & extType

 
Required fields:

 

entityIDs

dpKeys

An array of dialogportal™ master keys Rubiq entity IDs that uniquely identify entities

or

extKeys

An array of external keys that uniquely identify entities


 extTypeType of external keys


Code Block
titleExample 1
{
   "dpKeysentityIDs": [ 123, 234, 456, 567, 789 ]
}


Code Block
titleExample 2
{
   "extKeys": [ "someone@somewhere.com", "someone_else@somewhere.com" ],
   "extType": 1005
}


Response body:

A JSON object containing a count of the number of entities connected to the content. If this does not match the number of entities in the request array, it means some of the entities do not exist in the database.

Code Block
titleExample
{
   "count": 5
}


Status codes:

201

Created


404.4Content not found