Table of Contents |
---|
...
Input can be provided in the form of HTTP GET URL parameters or an HTTP POST/PUT body that is in application/x-www-form-urlencoded
. Most parameters are optional, when this is not the case this is mentioned in the documentation. Dates and times can be specified in one of the following format:
- 'today' or 'tomorrow' for the current or next day at 0:00;
- Unix timestamp format;
- ISO 8601 format (
yyyy-MM-ddTHH:mm:ss±HH:mm
): elements on the right side (time, time zone) are optional; - Legacy format (
YYYY/MM/DD HH:MM
): the time is optional.
Authentication and authorisation
...
Description: Retrieves all subscriptions for the current user (as identified by the OAuth token or elevated API token).
Parameters: none
Name | Description | Default value |
type | Specifies the type of the subscriptions to include, can be specified multiple times, useful to exclude zone and location subscriptions when requesting a personal list of subscriptions. If not specified all subscriptions will be included in the result. | - |
Request URL
Code Block | ||
---|---|---|
| ||
$base_url/api/v0/subscriptions |
...