Import a Spec's reference tables
Changed onCreates the reference tables a portable Spec carries (its reference_data tables) in this workspace, so its lookups resolve. Returns one outcome per table and a map from each table's old id to its new reference table id for rebinding the Spec. dryRun reports without writing. A table that already exists is reported as a conflict and skipped unless named in overwrite or overwriteAll is set.
Requires the specs:write scope, and the person behind the credential must hold the workspace workspace permission. Send Idempotency-Key to make a retry return the first response instead of importing again.
Request
- Base URLhttps://api.talonic.com
- AuthHTTP bearer
Headers
Unique key for idempotent requests, at most 64 characters (a longer key is refused with 400 invalid_idempotency_key before any work). A retry with the same key, request and API key within 24 hours returns the first response with Idempotent-Replayed: true; the same key on a different request or from another API key answers 422 idempotency_key_reused. On POST /v1/extract the key caches the extraction result for the workspace instead: any key of the workspace sending it gets that result with cached: true.
Request body
Response
Per-table outcome of the import.
Changes
- info
endpoint added
- info