Passer au contenu

Designed
Create a new version of a packaging system

Requête

Not implemented yet. Creates the next version of a locked system, born published and active, with the content of the previous version. Specifications that link the previous version keep it; a specification adopts the new version by linking it again.

Sécurité
oauth2(Portées requises: t1_api)
Chemin
packagingSystemIdstring, (uuid)obligatoire
curl -i -X POST \
  'https://apis.traceone.com/spec/v2/library/packaging-systems/{packagingSystemId}/new-version' \
  -H 'Authorization: Bearer <YOUR_TOKEN_HERE>'

Réponses

The new version was created

Corpsapplication/json
packagingSystemIdstring, (uuid)

Id of the new version

versionNumberinteger
Réponse
{ "packagingSystemId": "04dbf7ac-1d58-4c7b-a7c1-0e70b0d8f3d3", "versionNumber": 0 }