Get reactions
Pagination can be controlled using start
, end
and limit
parameters, where start
> end
. If start
is not provided, the server uses the current time. Providing no end
or limit
means there is no limit to the number of actions being requested. In this event the server will try and retrieve all actions for the channel, going back in time forever. In some cases, due to internal limitations on the number of queries performed per request, the server will not be able to give the full range of actions requested. In these cases a more
link will be provided. This is a signal that internal limiting has occurred, and the more
link itself can be used to continue fetching the originally requested range of actions.
Path Parameters |
---|
sub_key string — REQUIREDYour app's subscribe key from Admin Portal. Example:
|
channel string — REQUIREDThe channel name to perform the operation on. Example:
|
Query Parameters |
---|
start stringReaction timetoken denoting the start of the range requested. Returned values will be less than Example:
|
end stringReaction timetoken denoting the end of the range requested. Returned values will be greater than or equal to Example:
|
limit integerNumber of reactions to return in response. Example:
|
auth stringString which is either the auth key (PAM v2) or a valid token (Access Manager) used to authorize the operation if access control is enabled. Example:
|
signature stringSignature used to verify that the request was signed with the secret key associated with the subscribe key. If Access Manager is enabled, either a valid authorization token or a signature are required. Check Access Manager documentation for details on how to compute the signature. |
timestamp integerUnix epoch timestamp used as a nonce for signature computation. Must have no more than ± 60 seconds offset from NTP. Required if the |
Responses | |||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|
200 The reactions were fetched.
| |||||||||||||
400 The subscribe key is invalid.
| |||||||||||||
403 The client isn't authorized to perform this operation.
|