Search for artifacts by content
Changed onReturns a paginated list of all artifacts with at least one version that matches the posted content.
Request
- The document declares no server URL.
- Authnone declared
Query parameters
Parameter that can be set to true to indicate that the server should "canonicalize" the content when searching for matching artifacts. Canonicalization is unique to each artifact type, but typically involves removing any extra whitespace and formatting the content in a consistent manner. Must be used along with the artifactType query parameter.
Indicates the type of artifact represented by the content being used for the search. This is only needed when using the canonical query parameter, so that the server knows how to canonicalize the content prior to searching for matching artifacts.
The number of artifacts to skip before starting to collect the result set. Defaults to 0.
The number of artifacts to return. Defaults to 20.
Sort order, ascending (asc) or descending (desc).
The field to sort by. Can be one of:
- name
- createdOn
Request body */*
Response
On a successful response, returns a result set of artifacts - one for each artifact in the registry that matches the criteria.
Example response
{
"artifacts": [
{
"groupId": "My-Group",
"id": "Procurement-Invoice",
"name": "Artifact Name",
"description": "Description of the artifact",
"labels": [
"current",
"internal"
],
"type": "AVRO",
"state": "ENABLED",
"createdBy": "user1",
"createdOn": "2019-03-22T12:51:19Z"
}
]
}Changes
- breaking
removed the enum value
ASYNCAPIfrom thequeryrequest parameterartifactType - breaking
removed the enum value
AVROfrom thequeryrequest parameterartifactType - breaking
removed the enum value
GRAPHQLfrom thequeryrequest parameterartifactType - breaking
removed the enum value
JSONfrom thequeryrequest parameterartifactType - breaking
removed the enum value
KCONNECTfrom thequeryrequest parameterartifactType - breaking
removed the enum value
OPENAPIfrom thequeryrequest parameterartifactType - breaking
removed the enum value
PROTOBUFfrom thequeryrequest parameterartifactType - breaking
removed the enum value
WSDLfrom thequeryrequest parameterartifactType - breaking
removed the enum value
XMLfrom thequeryrequest parameterartifactType - breaking
removed the enum value
XSDfrom thequeryrequest parameterartifactType - info
removed the
ASYNCAPIenum value from the//response property for the response status - info
removed the
AVROenum value from the//response property for the response status - info
removed the
GRAPHQLenum value from the//response property for the response status - info
removed the
JSONenum value from the//response property for the response status - info
removed the
KCONNECTenum value from the//response property for the response status - info
removed the
OPENAPIenum value from the//response property for the response status - info
removed the
PROTOBUFenum value from the//response property for the response status - info
removed the
WSDLenum value from the//response property for the response status - info
removed the
XMLenum value from the//response property for the response status - info
removed the
XSDenum value from the//response property for the response status
- breaking
- breaking
removed the enum value
PROTOBUF_FDfrom thequeryrequest parameterartifactType - info
removed the
PROTOBUF_FDenum value from the//response property for the response status
- breaking