Passer au contenu

Designed
Get testing chapter

Requête

Returns the testing chapter with characteristics and control plans. The testing chapter is a library chapter linked to this specification; this endpoint is its read-only projection in document context.

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

The unique identifier of the specification

curl -i -X GET \
  'https://apis.traceone.com/spec/v2/food/specifications/{specificationId}/testing-chapter' \
  -H 'Authorization: Bearer <YOUR_TOKEN_HERE>'

Réponses

Returns the testing chapter

Corpsapplication/json
chapterIdstring or null, (uuid)read-only

The library chapter this content belongs to.

namestring

Library display name of the chapter, as written on its create or replace.

characteristicsArray of objects or null(Characteristic)

The characteristics table, in table order. A characteristic with no photos reads with empty acceptedPhotoFileIds and rejectedPhotoFileIds lists.

controlPlansArray of objects or null(ControlPlan)

The control plans table, one row per controlled characteristic, in the order of the characteristics table.

requirementsArray of objects or null(Requirement)read-only

Requirements attached to this chapter by the specification. A specification-level value: null when the chapter is read at its library address.

documentsobject or null(DocumentSection)read-only

Documents attached to this chapter by the specification. A specification-level value: null when the chapter is read at its library address.

Réponse
{ "chapterId": "2a48aff7-27e7-4ab6-9471-1ee9c5632811", "name": "string", "characteristics": [ { … } ], "controlPlans": [ { … } ], "requirements": [ { … } ], "documents": { "files": [ … ] } }