Welcome to the new Golem Cloud Docs! 👋
Application

Application API

Get 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{"errors":["string"]}
401Unauthorized request{"error":"string"}
403Forbidden Request{"error":"string"}
404Entity not found{"error":"string"}
409{"error":"string"}
422Limits of the plan exceeded{"error":"string"}
500Internal server error{"error":"string"}