Summary
Get Tag refs by content ids
Description
Get tag references from multiple content ids.
Route
POST /tags/getTagReferences
Roles
admin
apiread
engineering
Parameters
Details Example Schema
Name
Type
Required
Description
data
object
yes
Reference Tag Data
Copied to Clipboard
{
"data": {
"ref_id": [
"The id of the content to be referenced",
"The id of the content to be referenced"
]
}
}
Copied to Clipboard
{
"type": "object",
"properties": {
"data": {
"title": "data",
"type": "object",
"properties": {
"ref_id": {
"type": "array",
"items": {
"$ref": "tagDocument#/definitions/contentRefId"
}
}
}
}
},
"required": [
"data"
],
"additionalProperties": false
}
Return
Details Example Schema
Name
Type
Description
results
array
Array of tags related to content ids
Copied to Clipboard
[
{
"_id": "new created reference id",
"tag_id": "5c8fa48dd8e04500b1b2f28c",
"ref_id": "The id of the content to be referenced",
"type": "The id of the content to be referenced"
}
]