Update individual fields of a marketplace demo

View as Markdown
Update specific fields of the marketplace demo. Returns **409** when a publish or visibility request is already pending. **Required scope:** `air:marketplace_demo_write` (roles: `air_demo_manager`, `air_org_admin`, `air_user`) **Additional permissions:** - Published marketplace demos may only be deleted by Air admins or SREs, and may only be modified via `PATCH` by Air admins, SREs, or members of the owning organization. - Once the demo is published, `tags` may only be changed by Air admins or SREs.

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.
namestringOptional1-96 characters
The name of the marketplace demo.
descriptionstring or nullOptional1-256 characters
Description of the marketplace demo.
documentationstring or nullOptional
The raw markdown documentation for the marketplace demo. Pass an empty string to blank the documentation. For backwards compatibility null is accepted and treated as an empty string.
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.

tagslist of stringsOptional

At least one tag name for the demo is required. Each is 2-32 characters; letters, numbers, spaces, hyphens (-), and underscores (_) only; must start and end with a letter or number. Stored lowercased.

iconstring or nullOptional>=1 character

Icon for the marketplace demo as a base64-encoded image data URL (e.g. data:image/png;base64,...), up to 65536 bytes when decoded. Must be one of the following MIME types: image/gif, image/jpeg, image/png, image/svg+xml, image/webp, image/x-icon. Pass null to remove the icon.

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