Skip to main content
GET
List contract versions

Autorizaciones

Authorization
string
header
requerido

JWT issued by the identity provider. A producer calls with a service credential issued for the tenant it sends facts for; a reader calls with a user token or a service credential. The tenant is always taken from the token, never from the request path, query or body.

Parámetros de consulta

producer
string

Only contract versions of this producer.

Maximum string length: 64
namespace
string

Only contract versions in this namespace.

Maximum string length: 128
type
string

Only contract versions of this fact type.

Maximum string length: 128
status
enum<string>

Only contract versions in this lifecycle status; every status by default. Allowed values: ACTIVE, DEPRECATED.

Opciones disponibles:
ACTIVE,
DEPRECATED
referenceType
string

Only contract versions that declare this reference type ("who uses this type").

Maximum string length: 128
Ejemplo:

"acme.order_id"

limit
integer<int64>
predeterminado:50

Page size, from 1 to 100; defaults to 50.

Rango requerido: 1 <= x <= 100
cursor
string

Opaque nextCursor of the previous page; omit it to read the first page.

Maximum string length: 256

Respuesta

One page of contract versions without their payload schemas, in text order, empty when nothing matches; nextCursor is omitted on the last page.

items
object[] | null
requerido

Contract versions of this page in cursor order, without their payload schemas; read one with getContract.

limit
integer<int64>
requerido

Page size applied to this request, after the maximum of 100.

nextCursor
string

Opaque cursor of the next page: send it back as cursor. Omitted on the last page.