For AI agents: a documentation index is available at the root level at /llms.txt and /llms-full.txt. Append /llms.txt to any URL for a page-level index, or .md for the markdown version of any page.
Open sourceSupportFAQsDocs Home
DocumentationAPI ReferenceRelease notes
DocumentationAPI ReferenceRelease notes
  • Introduction
    • Overview
    • Authentication
  • Guides
    • Integration API routes
    • Operations Manager search APIs
    • Search API
    • URL query parameters
    • Use query parameters in API requests
  • Reference
        • POSTClone existing tag
        • POSTCreate many new tags
        • POSTCreate new tag
        • POSTCreate/Update references for tags
        • POSTDelete existing tag
        • POSTFind tags by name
        • POSTGet tag details given an ID
        • POSTGet tag refs by content ids
        • POSTGet tags by content ID
        • GETList all tags
        • POSTReference a tag to a peice of content
        • POSTUpdating existing tag
LogoLogo
Open sourceSupportFAQsDocs Home
ReferenceTags

Reference a tag to a peice of content

POST
http://localhost:3000/tags/createReference
POST
/tags/createReference
$curl -X POST http://localhost:3000/tags/createReference \
> -H "Content-Type: application/json" \
> -u "<username>:<password>" \
> -d '{}'
1{
2 "_id": "new created reference id",
3 "tag_id": "5c8fa48dd8e04500b1b2f28c",
4 "ref_id": "The id of the content to be referenced",
5 "type": "The id of the content to be referenced"
6}
Creates reference for tag that links it to a peice of content. This allows for content to find the tags related to it.
Was this page helpful?
Previous

Updating existing tag

Next
Built with

Authentication

AuthorizationBasic

Basic authentication of the form Basic <base64(username:password)>.

Request

request body
dataobjectOptional

Response

New Reference Tag data
_idstring
tag_idstring
ref_idstring
typestring

Errors

500
Internal Server Error