Fetch an inventory
GET/nevisadmin/api/v1/inventories/:key
Required permission: VIEW_INVENTORY on the inventory, or higher scope
Returns inventory metadata or content depending on the Accept header:
application/json: returns inventory metadata (key, tenant, type, etc.)application/x-yaml: returns the raw inventory YAML content
Request
Responses
- 200
- 400
- 403
- 404
Success
Invalid inventory key
Insufficient permissions.
Inventory not found