Get artifact metadata
Changed onGets the metadata for an artifact in the registry, based on the latest version. If the latest version of the artifact is marked as DISABLED, the next available non-disabled version will be used. The returned metadata includes both generated (read-only) and editable metadata (such as name and description).
This operation can fail for the following reasons:
- No artifact with this artifactId exists or all versions are DISABLED (HTTP error 404)
- A server error occurred (HTTP error 500)
Request
- The document declares no server URL.
- Authnone declared
Response
The artifact's metadata.
Example response
{
"groupId": "My-Group",
"id": "Procurement-Invoice",
"name": "Artifact Name",
"description": "Description of the artifact",
"type": "AVRO",
"version": 18,
"createdBy": "user1",
"createdOn": "2019-03-22T12:51:19Z",
"modifiedBy": "user2",
"modifiedOn": "2019-07-19T15:09:00Z",
"globalId": 12984719247,
"contentId": 82736,
"labels": [
"label-1",
"label-2"
],
"properties": {
"custom-1": "foo",
"custom-2": "bar"
},
"references": [
{
"groupId": "mygroup",
"artifactId": "13842090-2ce3-11ec-8d3d-0242ac130003",
"version": 2,
"name": "foo.bar.Open"
}
]
}Changes
- info
removed the
ASYNCAPIenum value from theresponse property for the response status - info
removed the
AVROenum value from theresponse property for the response status - info
removed the
GRAPHQLenum value from theresponse property for the response status - info
removed the
JSONenum value from theresponse property for the response status - info
removed the
KCONNECTenum value from theresponse property for the response status - info
removed the
OPENAPIenum value from theresponse property for the response status - info
removed the
PROTOBUFenum value from theresponse property for the response status - info
removed the
WSDLenum value from theresponse property for the response status - info
removed the
XMLenum value from theresponse property for the response status - info
removed the
XSDenum value from theresponse property for the response status
- info
- info
added the optional property
to the response with the status
- info