Method: /group_tags
Retrieve a list of tags associated with this group.
Invocation
- This method can be invoked using either HTTP GET or HTTP POST.
- This method requires an API key
Request Parameters
| Parameter | Description | Type | Extra |
| key | Zvents Developer API key | String | required |
| id | ID of the group | Integer | required |
Example Request
- http://www.zvents.com/rest/group_tags?id=82&key=YOUR_API_KEY
Response Parameters
The response lists all tags applied to this group.
| Parameter | Description | Type |
| id | The unique ID for the tag. | Integer |
| name | The name of the tag. | String |
Example Response
<?xml version="1.0" encoding="UTF-8"?>
<rsp status="ok">
<stream_count>8</stream_count>
<tag id="4">
<name>performance</name>
</tag>
<tag id="5">
<name>arts</name>
</tag>
<tag id="6">
<name>stage</name>
</tag>
<tag id="9">
<name>jazz</name>
</tag>
<tag id="17">
<name>live music</name>
</tag>
<tag id="273">
<name>concert</name>
</tag>
<tag id="309">
<name>show</name>
</tag>
<tag id="1680">
<name>band</name>
</tag>
</rsp>
Output Fields
Note: The REST API does not return all possible fields for each item by default. Since some response fields are not used by most API users, these fields are suppressed from the response by default in order to reduce latency for the common calls. Additional fields can be enabled in the response using the fields parameters documented in the 'Optimizing API calls for performance' section.
Output Formats
REST responses can be returned in a number of different formats include XML, JSON and CSV. Read the documentation on output formats.
Possible Errors
This method may return one of the following errors.
- Unknown Group ID: The group ID requested does not exist.
- Insufficient Permissions: You are not allowed to see the list of tags associated with this group.
- Invalid API Key: The API key supplied is not valid.
- Call Limit Exceeded: The API key has exceeded the daily maximum number of calls.