Uploads

Upload presets to park for claiming

Changed on

Accepts preset YAML files, or a .zip laid out like the presets repository, validates each against the pinned schemas, and parks the result as a short-lived draft. Returns the draft id and the admin URL to claim it.

post/v1/uploads

Request

  • The document declares no server URL.
  • Auth: none declared

Query parameters

type'printer' | 'filament'

Default preset type for bare files whose name does not encode one (printers/ or filaments/). Ignored for zip entries, whose kind comes from their path.

Response

Created

$schemastring uri

A URL to the JSON Schema for this object.

claimUrlstring required

Admin app path to review and claim the draft.

expiresAtstring date-time required

When the draft is garbage-collected if unclaimed.

idstring required

Unguessable id of the parked draft.

Example response

{
  "$schema": "https://example.com/v1/schemas/UploadOutputBody.json"
}

Changes