All URIs are relative to https://api-sandbox.circle.com
Method | HTTP request | Description |
---|---|---|
create_subscription | POST /v1/notifications/subscriptions | Create a notification subscription |
delete_subscription | DELETE /v1/notifications/subscriptions/{id} | Remove a notification subscription |
list_subscriptions | GET /v1/notifications/subscriptions | List all notification subscriptions |
models::CreateSubscriptionResponse create_subscription(subscription_request) Create a notification subscription
Subscribe to receiving notifications at a given endpoint. The endpoint should be able to handle AWS SNS subscription requests. For more details see https://docs.aws.amazon.com/mobile/sdkforxamarin/developerguide/sns-send-http.html. Note, the sandbox environment allows a maximum of 3 active subscriptions; otherwise, this is limited to 1 active subscription and subsequent create requests will be rejected with a Limit Exceeded error.
Name | Type | Description | Required | Notes |
---|---|---|---|---|
subscription_request | Option<SubscriptionRequest> |
models::CreateSubscriptionResponse
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
models::DeleteSubscriptionResponse delete_subscription(id) Remove a notification subscription
To remove a subscription, all its subscription requests' statuses must be either 'confirmed', 'deleted' or a combination of those. A subscription with at least one 'pending' subscription request cannot be removed.
Name | Type | Description | Required | Notes |
---|---|---|---|---|
id | uuid::Uuid | Universally unique identifier (UUID v4) of a resource. | [required] |
models::DeleteSubscriptionResponse
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
models::ListSubscriptionsResponse list_subscriptions() List all notification subscriptions
Retrieve a list of existing notification subscriptions with details.
This endpoint does not need any parameter.
models::ListSubscriptionsResponse
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]