push/log
Retrieve details from the message log.
https://api.datasift.com/push/log
| Parameter: | Description: |
|
id optional |
The id of a Subscription. Example values: 08b923395b6ce8bfa4d96f57f863a1c3 |
|
page optional default = 1 |
The page number. Example values: 42 |
|
per_page optional default = 20 |
The number of items to return per page. Example values: 25 |
|
order_by optional default = request_time |
The field that DataSift will use to order the results. Example values: request_time |
|
order_dir optional default = desc |
The direction of the ordering. Example values: desc |
All calls to the API must be properly authenticated with a DataSift username and API key.
The push/log API call allows you to retrieve log messages relating to a single subscription or to all your Subscriptions.
For more details, take a look at the Push API overview.
1. Retrieve log messages for all your Subscriptions
2. Here's an example of some typical errors that you might see:
https://api.datasift.com/push/log
| Property: | Description: |
|---|---|
| count | The number of entries in the log. |
| success | Subscription state. |
| log_entries | A list of subscription log entries as a JSON list. |
| request_time | The time the request was made. A Unix timestamp. |
| success | The status of the request. |
| subscription_id | Subscription ID. |
| message | Error message. |
