Request to publish a marketplace demo

View as Markdown
Submit a publish request for review. Requires `justification`. Optional `allowed_orgs_request_text` describes who should receive access if the outcome is not fully public. Optional `tags` assigns tag names to the demo before queuing the request (same rules as demo PATCH; omit to leave tags unchanged). Optional `publisher` sets the publisher on the demo before queuing the request (omit to leave the existing `publisher` unchanged). `name`, `description`, and `documentation` must already be set. `tags` and `publisher` must be set, either previously or in this request, before the demo can be queued for publishing. Set `publish_images` to `true` to automatically publish referenced images that are not yet visible to the demo's target audience. Returns **400** when referenced images need publishing and `publish_images` is `false`. Returns **409** when another visibility or publish change is already pending. **Required scopes (any one):** - `air:marketplace_demo_write` (roles: `air_demo_manager`, `air_org_admin`, `air_user`) - `air:marketplace_demo_publish` (roles: `air_demo_manager`) **Additional permissions:** - Only members of the owning organization, Air admins, or SREs may perform this action on this marketplace demo.

Authentication

AuthorizationBearer

Bearer authentication of the form Bearer <token>, where token is your auth token.

Path parameters

idstringRequiredformat: "uuid"
A UUID string identifying this marketplace demo.

Request

This endpoint expects an object.
prefer_publicbooleanOptionalDefaults to true

When true, the requester prefers a public publish. When false, the requester prefers a restricted-access publish; describe the desired allow list in allowed_orgs_request_text.

tagslist of stringsOptional

Optional tag names to assign to the demo when submitting the publish request, using the same rules as demo PATCH. Each is 2-32 characters; letters, numbers, spaces, hyphens (-), and underscores (_) only; must start and end with a letter or number. Stored lowercased. Omitting the field leaves existing demo tags unchanged.

publisherstringOptional<=32 characters

Optional publisher name to set on the demo when submitting the publish request (e.g. NVIDIA, Google). Omitting the field leaves the existing publisher unchanged. A publisher must be set, either previously or in this request, before the demo can be queued for publishing.

justificationstringOptional1-2048 characters
Required explanation for the review request and notifications.
allowed_orgs_request_textstringOptional<=4096 charactersDefaults to

Optional free-text description of orgs that should have access if the outcome is restricted. Not the authoritative allow list.

publish_imagesbooleanOptionalDefaults to false

When true, queue image publish requests for org-owned images referenced by the demo that are not yet visible to the demo’s target audience. When false (default), the request is rejected with 400 if any such image needs publishing.

Response

idstringRead-onlyformat: "uuid"
createddatetimeRead-only
modifieddatetimeRead-only
namestring<=96 characters
The name of the marketplace demo.
creatorstringRead-only

E-mail of the creator of the marketplace demo.

documentationstring or nullRead-only
The raw markdown documentation for the marketplace demo.
tagslist of stringsRead-only
Names of the tags of the marketplace demo.
publishedbooleanRead-only
Whether the marketplace demo is published.
publicly_publishedbooleanRead-only

Whether the marketplace demo is visible to the entire catalog (true only when the demo is in the published catalog AND its publish access record is set to public).

publish_access_record_idstring or nullRead-only

The id of the marketplace demo publish access record. Returned only to the owning organization, Air admins, and SREs; null otherwise.

provision_countintegerRead-only

Number of times a clone has been provisioned from this marketplace demo (counted when the provision request creates the clone; not decremented if that clone later fails to boot).

demostringformat: "uuid"
Demo simulation to be used as a base for cloned simulations.
demo_simulation_statestringRead-only

The state of the simulation instance associated with this demo which acts as the template for all provisioned simulations from this demo. If the demo was successfully created, this value will be DEMO or CLONING.

expected_resource_usageobject
The expected resource usage for the marketplace demo.
descriptionstring or nullOptional<=256 characters
Description of the marketplace demo.
repostring or nullOptionalformat: "uri"<=200 characters
The code repository of the marketplace demo.
publisherstringOptional<=32 characters

The name of the company or organization the marketplace demo is published under (e.g. NVIDIA, Google). Required before a marketplace demo can be published.

featuredbooleanOptional
Whether the marketplace demo is featured. This can be used to help order a group of marketplace demos before others.
orderinteger or nullOptional1-32767
A field used to help order specific marketplace demos before or after other specific marketplace demos.
iconstring or nullOptional<=1048576 characters

Public URL of the marketplace demo icon stored in the publicly-accessible bucket. Legacy rows may still contain raw icon data in data URL format until the icon is next updated.

Errors

400
Bad Request Error
403
Forbidden Error
404
Not Found Error
409
Conflict Error
500
Internal Server Error