Specs

Creates a Spec from a Spec JSON export (spec_json, the file the Spec editor exports) or from an existing schema (schema_id). Send exactly one. issues lists anything that could not be carried over as-is. Importing a Spec JSON export needs the workspace Admin role; importing a schema follows the Spec editor's edit rule. Requires specs:write.

post/v1/specs/import

Request

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

Request body

object required
spec_json, object

A Spec JSON export.

schema_id, string uuid
overwrite_all, boolean

Overwrite every reference table in the export that already exists.

overwrite, string[]

Reference tables (id or name) that may be overwritten.

Response

The imported Spec.

object required
spec_id, string uuid
issues, object[]
links, object

Changes