Get metacounter
This action retrieves one or more items of a channel metacounter that are stored in a channel. Metacounter is additional information about a channel that is a collection of of key-value pairs where the value is always an integer.
Note: See the channel overview page to learn more about differences among data properties.
HTTP request
Parameters
The following table lists the parameters that this action supports.
Parameters
Required | Type | Description |
---|---|---|
channel_type | string | Specifies the type of a channel. Acceptable values are |
channel_url | string | Specifies the URL of a channel. |
Optional | Type | Description |
---|---|---|
key | string | Specifies the key of a metacounter item. If not specified, all items of the metacounter are returned. If specified, only the item that matches the parameter value is returned. URL encoding a key is recommended. |
keys | array of strings | In a query string, specifies an array of one or more metacounter keys. If not specified, all items of the metacounter are returned. If specified, only the items that match the parameter values are returned. URL encoding each key is recommended (for example, |
Responses
If successful, this action returns a stored metacounter in the response body.
Error
In the case of an error, an error object like below is returned. See the error codes section for more details.