Passer au contenu

Limited
Link production chapter

Requête

Attaches an existing library production chapter to this specification (replaces the currently linked one, if any). Content updates happen at the chapter's own address (PUT /library/food/production-chapters/{id}). Also the way a specification ADOPTS a new version of its chapter — new versions never propagate automatically.

Sécurité
oauth2(Portées requises: t1_api)
Chemin
specificationIdstring, (uuid)obligatoire

The unique identifier of the specification

Corpsapplication/jsonobligatoire
chapterIdstring, (uuid)obligatoire
curl -i -X POST \
  'https://apis.traceone.com/spec/v2/food/specifications/{specificationId}/production-chapter/link' \
  -H 'Authorization: Bearer <YOUR_TOKEN_HERE>' \
  -H 'Content-Type: application/json' \
  -d '{
    "chapterId": "2a48aff7-27e7-4ab6-9471-1ee9c5632811"
  }'

Réponses

The chapter was linked

Réponse
Aucun contenu