Create metacounter
This action creates one or more items of a metacounter to store 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.
Required
Parameter name | Type | Description |
---|---|---|
channel_type | string | Specifies the type of the channel. Acceptable values are |
channel_url | string | Specifies the URL of the channel. |
Request body
The following table lists the properties of an HTTP request that this action supports.
Required
Property name | Type | Description |
---|---|---|
metacounter | object | Specifies a |
Response
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.