Skip to navigation

Get Bundle Descriptor

Beta

Read what a bundle’s track serves in this workspace: the workspace’s id, the asset and type behind each member key (and an object type’s registry id where the caller may already read it through the records APIs), and each slot’s kind and state (filled, not_used or waiting). A slot carries a value only when the bundle declares it for the app, its fill is in force and the caller can open an application the bundle lists: a text value’s words, or the asset a pointer names where the caller can open that asset; never a secret, a channel or a database. Production unless track names another. The caller needs view access to the bundle as a member of its workspace; a member the caller can’t open is left out. Every refusal is 404, the same answer a key that names nothing gets.

Authentication

X-API-KEYstring
API Key authentication via header

Path parameters

bundle_keystringRequired1-63 characters
The bundle's permanent key.

Headers

X-Athena-Session-CredentialstringOptional

Query parameters

workspace_idstring or nullOptional1-128 characters

The workspace to read in. Optional for a caller with one workspace, and for a credential bound to one; a caller in several names it. The caller must be a member.

trackstring or nullOptional1-32 characters

A track’s key (production, pilot…): answer what it serves. Production when omitted. The caller must be on the track.

Response

Successful Response
bundle_keystring
The bundle's permanent key.
descriptorinteger

The shape’s version: 1.

membersmap from strings to objects

By member key: each member the caller may open. A member the caller can’t open is absent.

slotsmap from strings to objects

By slot key: every slot the served version declares.

trackstring
The track the answer read, e.g. production.
versionstring
The version the track serves, major.minor.
workspace_idstring
The bundle's workspace, one the caller is a member of.

Errors

400
Bad Request Error
404
Not Found Error
422
Unprocessable Entity Error