GET api.ashx/v2/content/{contenttypeid}/services.{json|xml}
GET the services a content type supports.
Scopes
Content › Read Content content.content.readonly
Request Parameters
Name | Type | Location | Description | Required | Default | Options |
---|---|---|---|---|---|---|
ContentTypeId | Guid | Content type | Required |
Example Requests
Widget Javascript
jQuery.telligent.evolution.get({ url: jQuery.telligent.evolution.site.getBaseUrl() + 'api.ashx/v2/content/{contenttypeid}/services.json', data: { 'contenttypeid': '49fec544-6df7-4a82-872b-f8be586d5e9e' } }).then(function(response) { // use response });
Example Responses
JSON
{ "SupportsComments": true, "SupportsRatings": true, "SupportsLikes": true, "SupportsBookmarks": true, "SupportsMarkingAsAbusive": true, "SupportsSubscriptions": true, "SupportsMentioning": true, "SupportsMentions": true, "SupportsFeatures": true, "SupportsTags": true, "SupportsSearch": true, "SupportsContentFiltering": true, "SupportsModeration": true, "SupportsHashtags": true, "SupportsReviewWorkflows": true, "SupportsEmbeddedContent": true, "SupportsEmbeddedFiles": true, "SupportsPreviewing": true, "SupportsPeeking": true, "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> <SupportsComments>true</SupportsComments> <SupportsRatings>true</SupportsRatings> <SupportsLikes>true</SupportsLikes> <SupportsBookmarks>true</SupportsBookmarks> <SupportsMarkingAsAbusive>true</SupportsMarkingAsAbusive> <SupportsSubscriptions>true</SupportsSubscriptions> <SupportsMentioning>true</SupportsMentioning> <SupportsMentions>true</SupportsMentions> <SupportsFeatures>true</SupportsFeatures> <SupportsTags>true</SupportsTags> <SupportsSearch>true</SupportsSearch> <SupportsContentFiltering>true</SupportsContentFiltering> <SupportsModeration>true</SupportsModeration> <SupportsHashtags>true</SupportsHashtags> <SupportsReviewWorkflows>true</SupportsReviewWorkflows> <SupportsEmbeddedContent>true</SupportsEmbeddedContent> <SupportsEmbeddedFiles>true</SupportsEmbeddedFiles> <SupportsPreviewing>true</SupportsPreviewing> <SupportsPeeking>true</SupportsPeeking> </Response>