addContentTag
- Home
- Categories & Tags
- SvcTagMaster
- addContentTag
addContentTag
Add a tag to a piece of content.
Parameters
| Name | Description |
| xrefID optional | The primary key for that content |
| xrefType optional | The type of content we’re operating on |
| taggerUserID optional | The user leaving the tag |
| tagWord optional | A given tag word |
| tagID optional | A tag ID we’re operating on |
| output optional | The response output format. Accepts JSON and XML. |
Request Syntax
| https://services.onesite.com/rest/svcTagMaster?action=addContentTag&nodeID=188234&xrefID=160548317&xrefType=photo&tagID=326455&taggerUserID=229928503&devkey=[devkey] |
JSON Response
|
1 2 3 4 5 6 |
{ "service":"svcTagMaster", "action":"addContentTag", "code":1, "message":"Added the tag" } |
Service Information
| Service | svcTagMaster |
| Method | addContentTag |
| Type | REST |
| Response Types | JSON, XML |