API

All features of DrEdition are exposed through a REST API. The API format is based on JSON API.

All payloads are JSON, with Content-Type: application/json.

Authentication

All requests to the API must include an Authorization: apikey <apikey> header. You manage your API keys in the DrEdition GUI.

Example request

POST /products
Authorization: apikey f6cf5a18be07ddf8b07d5aabb468cab3
Content-Type: application/json
{
"data": {
"type": "products",
"attributes": {
"name": "news-mag",
"title": "News Mag",
"productType": "magazine"
}
}
}

Reference

The full API reference can be found at https://dredition-api.aptoma.no/documentation.