Skip to Content
REST APIApplication API

Application API

List all applications in the account

PathMethodProtected
/v1/accounts/{account_id}/appsGETYes

Example Response JSON

{ "values": [ { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "revision": 0, "accountId": "3d07c219-0a88-45be-9cfc-91e9d095a1e9", "name": "string" } ] }

Create an application in the account

PathMethodProtected
/v1/accounts/{account_id}/appsPOSTYes

Example Request JSON

{ "name": "string" }

Example Response JSON

{ "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "revision": 0, "accountId": "3d07c219-0a88-45be-9cfc-91e9d095a1e9", "name": "string" }

Get application in the account by name

PathMethodProtected
/v1/accounts/{account_id}/apps/{application_name}GETYes

Example Response JSON

{ "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "revision": 0, "accountId": "3d07c219-0a88-45be-9cfc-91e9d095a1e9", "name": "string" }

Get application by id.

PathMethodProtected
/v1/apps/{application_id}GETYes

Example Response JSON

{ "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "revision": 0, "accountId": "3d07c219-0a88-45be-9cfc-91e9d095a1e9", "name": "string" }

Update application by id.

PathMethodProtected
/v1/apps/{application_id}DELETEYes

Query Parameters

NameTypeRequiredDescription
current_revisionintegerYes-

Update application by id.

PathMethodProtected
/v1/apps/{application_id}PATCHYes

Example Request JSON

{ "currentRevision": 0, "name": "string" }

Example Response JSON

{ "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "revision": 0, "accountId": "3d07c219-0a88-45be-9cfc-91e9d095a1e9", "name": "string" }

Application API Errors

Status CodeDescriptionBody
400Invalid request, returning with a list of issues detected in the request{"code":"string","errors":["string"]}
401Unauthorized request{"code":"string","error":"string"}
403Forbidden Request{"code":"string","error":"string"}
404Entity not found{"code":"string","error":"string"}
409{"code":"string","error":"string"}
422Limits of the plan exceeded{"code":"string","error":"string"}
500Internal server error{"code":"string","error":"string"}
Last updated on