Search
Contracts
Search contracts
Searches for artifacts that have contract metadata labels. Filters by status, owner team, and compatibility group.
get/search/contracts
Query parameters
statusstring
Filter by contract status (DRAFT, STABLE, DEPRECATED).
ownerTeamstring
Filter by owner team.
compatibilityGroupstring
Filter by compatibility group.
offsetinteger
Number of results to skip.
limitinteger
Maximum number of results to return.
order'asc' | 'desc'
Sort order (asc or desc).
orderby'name' | 'createdOn' | 'modifiedOn'
Field to sort by.
Response
A paginated list of artifacts that have contract metadata.
Example response
{
"artifacts": [
{
"groupId": "My-Group",
"artifactId": "Procurement-Invoice",
"name": "Artifact Name",
"description": "Description of the artifact",
"artifactType": "AVRO",
"owner": "user1",
"createdOn": "2019-03-22T12:51:19Z",
"modifiedBy": "user2",
"modifiedOn": "2019-04-01T12:51:19Z"
}
]
}