Devices

Set up cloud computers for members

Changed on

Creates the cloud computer of each listed member who has none, so it is ready before they first use it. Takes up to 8 members of the current organization and answers one result per member: created, exists, skipped (the member has no OpenWork Web; this never turns it on), not_joined (invited, and has not accepted yet) or not_found. A member keeps exactly one cloud computer, so repeating the call is safe. With Computer sizes on, size chooses small, medium or large for the computers this call creates; a computer that already exists is reported as exists with the size it has and is never resized, and a size this deployment has not set up is refused with 409 size_unavailable before anything is created.

post/v1/org/computers

Request

  • Base URL
    https://api.openworklabs.com
  • Auth
    • API key in header x-api-key
    • or HTTP bearer

Request body

OrganizationComputerSetupRequest required
memberIds, string[] required
size, 'small' | 'medium' | 'large'

Response

One result per member.

OrganizationComputerSetupResponse required
results, union[] required

Changes

    • info

      added the new optional request property size

    • info

      added the non-success response with the status

    • info

      added the optional property results/items/oneOf[subschema #1]/size to the response with the status