Search
Contracts

Search contracts

Changed on

Searches for artifacts that have contract metadata labels. Filters by status, owner team, and compatibility group.

get/search/contracts

Request

  • The document declares no server URL.
  • Auth
    none declared

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.

countinteger required

The total number of artifacts that matched the query that produced the result set (may be more than the number of artifacts in the result set).

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"
    }
  ]
}

Changes

    • info

      added the optional property /// to the response with the status

    • info

      added the optional property /// to the response with the status

    • info

      added the optional property /// to the response with the status

    • info

      added the optional property /// to the response with the status

    • info

      added the optional property / to the response with the status

    • info

      added the optional property to the response with the status