Pular para o conteúdo principal
GET
List contract versions

Autorizações

Authorization
string
header
obrigatório

A JWT that Access Manager issues.

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.

Opções disponíveis:
ACTIVE,
DEPRECATED
referenceType
string

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

Maximum string length: 128
Exemplo:

"acme.order_id"

limit
integer<int64>
padrão:50

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

Intervalo obrigatório: 1 <= x <= 100
cursor
string

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

Maximum string length: 256

Resposta

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
obrigatório

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

limit
integer<int64>
obrigatório

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.