Pular para o conteúdo principal
POST
Store the next contract version of a file dataset

Autorizações

Authorization
string
header
obrigatório

JWT bearer token issued by the identity provider.

Cabeçalhos

X-Idempotency
string

Client-provided idempotency key that prevents a duplicate contract version

Parâmetros de caminho

fileDatasetId
string
obrigatório

Unique file dataset identifier.

Corpo

application/json

JSON request payload.

{key}
any

Resposta

Created

contract
any
obrigatório

The contract JSON the client sent. The stored bytes and sha256 are those received; an answer shows the same JSON without insignificant whitespace

createdAt
string<date-time>
obrigatório

When the version was stored, in UTC

Exemplo:

"2026-01-01T00:00:00Z"

datasetId
string
obrigatório

Dataset the contract belongs to

Exemplo:

"00000000-0000-0000-0000-000000000000"

sha256
string
obrigatório

Hex SHA-256 of the stored contract bytes

Exemplo:

"e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855"

version
integer<int64>
obrigatório

Version number, from 1 and without gaps

Exemplo:

1