Sequences
Copy a version into a new draft
POST
projectKeyheader
AuthorizationBearer <token>A project API key (sk_live_…) with read, enroll or admin scope.
id*stringLength
1 <= length <= 128application/json- body
from_version?stringtag*stringLength
1 <= length <= 24created_by?stringLength
length <= 64Default Response
application/json- response
success*trueValue in
truedata*meta*curl -X POST 'http://localhost:8080/v1/sequences/string/versions' \ -H 'Content-Type: application/json' \ -d '{ "tag": "string"}'{ "success": true, "data": { "id": "string", "projectId": "string", "sequenceId": "string", "tag": "string", "status": "draft", "definition": { "property1": null, "property2": null }, "schemaVersion": -9007199254740991, "lockVersion": -9007199254740991, "basedOnVersionId": "string", "createdBy": "string", "publishedBy": "string", "publishedAt": "2019-08-24T14:15:22Z", "archivedAt": "2019-08-24T14:15:22Z", "createdAt": "2019-08-24T14:15:22Z", "updatedAt": "2019-08-24T14:15:22Z" }, "meta": { "request_id": "string" }}