Passer au contenu

Designed
Get specification history

Requête

Returns the change log of this specification, newest first: field and document changes, section validations and requirement validations.

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

The unique identifier of the specification

Requête
fromDateUtcstring, (date-time)

Only changes made at or after this date

toDateUtcstring, (date-time)

Only changes made at or before this date

languageCodestring

Language of names and values. Defaults to English.

pageNumberinteger, >= 1
Par défaut:1
pageSizeinteger, [ 1 .. 100 ]
Par défaut:50
curl -i -X GET \
  'https://apis.traceone.com/spec/v2/food/specifications/{specificationId}/history?fromDateUtc=2019-08-24T14%3A15%3A22Z&toDateUtc=2019-08-24T14%3A15%3A22Z&languageCode=string&pageNumber=1&pageSize=50' \
  -H 'Authorization: Bearer <YOUR_TOKEN_HERE>'

Réponses

Returns the specification history

Corpsapplication/json
itemsArray of objects(HistoryEntry)
totalCountinteger
pageNumberinteger
pageSizeinteger
totalPagesinteger
hasNextPageboolean
hasPreviousPageboolean
Réponse
{ "items": [ { … } ], "totalCount": 0, "pageNumber": 0, "pageSize": 0, "totalPages": 0, "hasNextPage": true, "hasPreviousPage": true }