Machine Pools

List project machine pool grants

Changed on

Lists the machine pools a project can create machines from, one grant per pool, most recently granted first by default.

get/orgs/{orgID}/projects/{projectID}/machine-pool-grants

Request

  • Base URL
    https://api.omnara.com/v1
  • Auth
    • HTTP bearer
    • or API key in cookie __Host-omnara_session

Path parameters

orgID, string required

Organization ID (org_...).

projectID, string required

Project ID (proj_...).

Query parameters

name, string

Case-insensitive glob over the list's logical name. * matches zero or more characters, ? matches one character, and \ escapes a wildcard.

machine_pool_id, string

Machine pool ID (mpo_...).

Return only the grant for this machine pool.

sort, 'name' | '-name' | '-updated_at' | 'updated_at' | '-created_at' | 'created_at'

Field to sort by; prefix with - for descending order. Defaults to -created_at (newest first).

limit, integer

Maximum number of items to return in one page.

cursor, string

Opaque pagination cursor from a previous response's next_cursor. Omit for the first page.

Response

Project machine pool grants.

ListProjectMachinePoolGrantsResponse required
data, ProjectMachinePoolGrantListItem[] required
next_cursor, string nullable required

Changes

    • info

      added the new optional query request parameter machine_pool_id

    • info

      added the optional property current_digest to the response with the status

    • info

      added the optional property current_digest to the response with the status

    157 more changes in this revision