Create_version
POST
Record the caller-uploaded snapshot root identified by versionId, a UUIDv7. Multiple successors of one base are valid. Publish through the Catalog to make it visible.
bearerAuthheader
AuthorizationBearer <token>table_id*stringStable identity of a Table.
Format
uuidapplication/json- body
baseVersionId?|nullversionId*stringFormat
uuidSuccess
application/json- response
parentVersionId?|nullseqNo*|versionId*stringFormat
uuidcurl -X POST 'https://api.spiraldb.dev/api/tables/497f6eca-6276-4993-bfeb-53cbbbba6f08/versions' \ -H 'Content-Type: application/json' \ -d '{ "versionId": "14707576-2549-4848-82ed-f68f8a1b47c7"}'{ "parentVersionId": "abf80970-9686-419e-bc00-5ddcccc33ba6", "seqNo": "string", "versionId": "14707576-2549-4848-82ed-f68f8a1b47c7"}