Using the HTTP API
Atmosphere’s new HTTP API is based on OpenAPI V3, making it easy to use. Following RESTful best practices, it drastically simplifies the process of registering a new device (a simple POST to /devices
) and exchanging data with the platform (/events/*
).
The API specification is available in the OpenAPI JSON format here. Tools such as Postman can import this URL and automatically generate a comprehensive menu of available operations, with parameters and examples. Just plug in your API key or device token and start submitting requests. We’re even using the spec in combination with swagger-js to automatically generate code in the web UI.
The current HTTP API docs are now available here and will be updated automatically whenever we do a product release.