GET api/v2.0/Discussions/GetThreadTags?discussionThreadKey={discussionThreadKey}
Get the tags for a thread by discussion thread key
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
discussionThreadKey |
Discussion thread key to get tags for |
globally unique identifier |
Required |
Body Parameters
None.
Response Information
Resource Description
List of tags
Collection of ItemTagResponseName | Description | Type | Additional information |
---|---|---|---|
Tag |
The actual tag text |
string |
None. |
TagType |
The type of tag that is being returned, possible options include admin or user |
string |
None. |
Response Formats
application/json, text/json
Sample:
[ { "Tag": "sample string 1", "TagType": "sample string 2" }, { "Tag": "sample string 1", "TagType": "sample string 2" } ]
application/xml, text/xml
Sample:
<ArrayOfItemTagResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/HigherLogic.API.Models.Enterprise.Tagging"> <ItemTagResponse> <Tag>sample string 1</Tag> <TagType>sample string 2</TagType> </ItemTagResponse> <ItemTagResponse> <Tag>sample string 1</Tag> <TagType>sample string 2</TagType> </ItemTagResponse> </ArrayOfItemTagResponse>