Specs

Get a Spec's draft

Changed on

The editable draft: the full Spec document, its revision (send it back on PUT), the published version and whether the draft has unpublished changes. Requires specs:read.

get/v1/specs/{id}/draft

Request

  • Base URL
    https://api.talonic.com
  • Auth
    HTTP bearer

Path parameters

id, string uuid required

Response

The draft.

SpecDraft required
spec_id, string uuid
name, string
description, string nullable
schema_id, string uuid nullable

The schema the Spec runs on; null until first published.

revision, integer nullable

Send it back on PUT /v1/specs/{id}/draft.

updated_at, string date-time nullable
published_version, integer nullable
has_unpublished_changes, boolean
doc, object nullable

The full Spec document.

links, object

Changes