Skip to content
Athena User Guide
Esc
↑↓navigate↵open⌘Jpreview

Read the enabled services a host is sized from, with the revision its allocation must match

GET/api/admin/host/inventory
Authorization
AuthorizationBearer token · headerrequired
Responses
200

Success

revisionstringrequired
servicesobject[]required
Show properties
Array of object
idstringrequired
slugstringrequired
storesnumberrequired
portsnumberrequired
401

Unauthorized

errorstringrequired
500

Unhandled server error

errorstringrequired
Try it
Server
Authorization
Request
curl -X GET '/api/admin/host/inventory' \
  -H 'Authorization: Bearer YOUR_TOKEN' \
  -H 'Accept: application/json'
Response
{
  "revision": "string",
  "services": [
    {
      "id": "string",
      "slug": "string",
      "stores": 0,
      "ports": 0
    }
  ]
}