Saltar al contenido principal
POST
Store the next contract version of a file dataset

Autorizaciones

Authorization
string
header
requerido

JWT bearer token issued by the identity provider.

Encabezados

X-Idempotency
string

Client-provided idempotency key that prevents a duplicate contract version

Parámetros de ruta

fileDatasetId
string
requerido

Unique file dataset identifier.

Cuerpo

application/json

JSON request payload.

{key}
any

Respuesta

Created

contract
any
requerido

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>
requerido

When the version was stored, in UTC

Ejemplo:

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

datasetId
string
requerido

Dataset the contract belongs to

Ejemplo:

"00000000-0000-0000-0000-000000000000"

sha256
string
requerido

Hex SHA-256 of the stored contract bytes

Ejemplo:

"e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855"

version
integer<int64>
requerido

Version number, from 1 and without gaps

Ejemplo:

1