ResourceUri to create the event subscriptions under.
- Gets a subscription matching the id specified.
Events Subscriptions API (v1)
Welcome to the Aritma Events API!
Over time there will be introduced changes to the API as we continuously introduce improvements. You have the option to use a specific version or the most recent version, supported versions are available in the response header api-supported-versions. Use a specific version of the API by specifying the api-version header, for example api-version: 1.0. If you don't specify the header, the latest version will be used. If a version has been scheduled to be removed, it will be reported through the api-supported-versions header.
Our API uses resource-oriented endpoint paths, accepts Json-Encoded request bodies, returns Json-Encoded responses, and uses standard HTTP response codes and verbs.
Request
Create a subscription for a set of event-types.
To complete provisioning of the subscription you must do a GET request against the validationUrl sent to the Delivery.Url.
Webhooks of the specified event-types will be delivered when provisioning has succeeded.
- application/json
- text/json
- application/*+json
Aritma.Events.Subscription.Api.Models.Requests.CreateSubscriptionRequest
A date and time for when the subscription should expire.
- Mock serverhttps://developer.aritma.com/_mock/apis/platform/events/openapi/events-openapi/api/subscriptions
- Subscriptions API Devhttps://events.dev.aritma.io/api/subscriptions
- Subscriptions APIhttps://events.aritma.io/api/subscriptions
- Payload
- cURL
- C#
- JavaScript
- Python
- Go
- PHP
- Java
- Java 8
- application/json
- text/json
- application/*+json
{ "name": "ExampleName", "events": [ "string" ], "delivery": { "url": "https://localhost.test", "maxEventsPerBatch": 10, "preferredBatchSizeInKiloBytes": 128, "authorizationHeader": "Bearer mF_9.B5f-4.1JqM" }, "expirationTime": "2024-01-01T00:00:00.000Z", "retryPolicy": { "ttl": "00:10:00", "maxEventDeliveryAttempts": 30 }, "deadletterEnabled": true }
Created
- text/plain
- application/json
- text/json
A date and time for when the subscription should expire.
A boolean describing if failed events should be stored in a container.
An event status describing the status for the subscription.
Ok - the subscription is active and operating.
Pending - the subscription is awaiting webhook validation from user.
Processing - the subscription is applying changes, will change status to Ok when done.
Aborted - the last changes was either canceled or failed.
- text/plain
- application/json
- text/json
No response example- Mock serverhttps://developer.aritma.com/_mock/apis/platform/events/openapi/events-openapi/api/subscriptions
- Subscriptions API Devhttps://events.dev.aritma.io/api/subscriptions
- Subscriptions APIhttps://events.aritma.io/api/subscriptions
- Payload
- cURL
- C#
- JavaScript
- Python
- Go
- PHP
- Java
- Java 8
No request payloadSuccess
- text/plain
- application/json
- text/json
A date and time for when the subscription should expire.
A boolean describing if failed events should be stored in a container.
An event status describing the status for the subscription.
Ok - the subscription is active and operating.
Pending - the subscription is awaiting webhook validation from user.
Processing - the subscription is applying changes, will change status to Ok when done.
Aborted - the last changes was either canceled or failed.
- text/plain
- application/json
- text/json
No response example- Mock serverhttps://developer.aritma.com/_mock/apis/platform/events/openapi/events-openapi/api/subscriptions/{subscriptionName}
- Subscriptions API Devhttps://events.dev.aritma.io/api/subscriptions/{subscriptionName}
- Subscriptions APIhttps://events.aritma.io/api/subscriptions/{subscriptionName}
- Payload
- cURL
- C#
- JavaScript
- Python
- Go
- PHP
- Java
- Java 8
No request payloadSuccess
- text/plain
- application/json
- text/json
A date and time for when the subscription should expire.
A boolean describing if failed events should be stored in a container.
An event status describing the status for the subscription.
Ok - the subscription is active and operating.
Pending - the subscription is awaiting webhook validation from user.
Processing - the subscription is applying changes, will change status to Ok when done.
Aborted - the last changes was either canceled or failed.
- text/plain
- application/json
- text/json
No response exampleRequest
Updates a subscription for a set of event-types.
To complete provisioning of the subscription you must do a GET request against the validationUrl sent to the Delivery.Url.
Webhooks of the specified event-types will be delivered when provisioning has succeeded.
- application/json
- text/json
- application/*+json
A Aritma.Events.Subscription.Api.Models.Requests.UpdateSubscriptionRequest object used to Update a subscription.
A date and time for when the subscription should expire.
- Mock serverhttps://developer.aritma.com/_mock/apis/platform/events/openapi/events-openapi/api/subscriptions/{subscriptionName}
- Subscriptions API Devhttps://events.dev.aritma.io/api/subscriptions/{subscriptionName}
- Subscriptions APIhttps://events.aritma.io/api/subscriptions/{subscriptionName}
- Payload
- cURL
- C#
- JavaScript
- Python
- Go
- PHP
- Java
- Java 8
- application/json
- text/json
- application/*+json
{ "events": [ "string" ], "delivery": { "url": "https://localhost.test", "maxEventsPerBatch": 10, "preferredBatchSizeInKiloBytes": 128, "authorizationHeader": "Bearer mF_9.B5f-4.1JqM" }, "expirationTime": "2024-01-01T00:00:00.000Z", "retryPolicy": { "ttl": "00:10:00", "maxEventDeliveryAttempts": 30 }, "deadletterEnabled": true }
- text/plain
- application/json
- text/json
No response example- Mock serverhttps://developer.aritma.com/_mock/apis/platform/events/openapi/events-openapi/api/subscriptions/{subscriptionName}
- Subscriptions API Devhttps://events.dev.aritma.io/api/subscriptions/{subscriptionName}
- Subscriptions APIhttps://events.aritma.io/api/subscriptions/{subscriptionName}
- Payload
- cURL
- C#
- JavaScript
- Python
- Go
- PHP
- Java
- Java 8
No request payload