POST api.ashx/v2/contenttags.{json|xml}
CREATE a content tag or tags on content.
Request Parameters
Name | Type | Location | Description | Required | Default | Options |
---|---|---|---|---|---|---|
ContentId | Guid? | Content identifier. This or ContentUrl is required. | Optional | |||
ContentTypeId | Guid? | Content type identifier, required with ContentId. | Optional | |||
ContentUrl | string | Either ContentUrl or ContentId are required | Optional | |||
Tags | string | A comma-seperated list of tags to filter by | Required | |||
TypeId | Guid? | Categorization type | Optional |
Example Requests
Widget Javascript
jQuery.telligent.evolution.post({ url: jQuery.telligent.evolution.site.getBaseUrl() + 'api.ashx/v2/contenttags.json', data: { 'Tags': 'tags' } }).then(function(response) { // use response });
Example Responses
JSON
{ "Info": [ "string", "string" ], "Warnings": [ "string", "string" ], "Errors": [ "string", "string" ] }
XML
<?xml version="1.0" encoding="utf-16"?> <Response> <Info> <Message>string</Message> <Message>string</Message> </Info> <Warnings> <Message>string</Message> <Message>string</Message> </Warnings> <Errors> <Message>string</Message> <Message>string</Message> </Errors> </Response>