GET/trusted-schemas-registry/v3/schemas/:schemaId/revisions/:schemaRevisionId/metadata/:metadataId
Returns a trusted schema revision metadata identified by its ID.
Request
Path Parameters
- schemaId
- schemaRevisionId
- metadataId
Description: Valid Pilot schemaId
Example: z3MgUFUkb722uq4x3dv5yAJmnNmzDFeK5UC8x83QoeLJM
Description: Valid Pilot schemaRevisionId
Example: 0x76a2bbfaf876171785a02eaef767f8a2b3d1d67fa995edc03a27a83a73b2ae16
Description: Valid Pilot metadataId
Example: 0x44136fa355b3678a1146ad16f7e8649e94fb4fc21fe77e8310c060f61caaff8a
Responses
- 200
- 400
- 404
- 500
Success
- application/ld+json
- Schema
- Success
Schema
{
"meta": "value",
"data": "2d0859c9d9c2cc06987333c9fe238abe",
"validFrom": "2021-06-10T07:51:36.334Z",
"validTo": "2021-06-10T07:57:36.334Z"
}
Bad Request
- application/problem+json
- Schema
- Invalid {schemaId} Parameter
Schema
Default value: about:blank
An absolute URI that identifies the problem type. When dereferenced, it SHOULD provide human-readable documentation for the problem type.
A short summary of the problem type.
Possible values: >= 400
and <= 600
The HTTP status code generated by the origin server for this occurrence of the problem.
A human readable explanation specific to this occurrence of the problem.
An absolute URI that identifies the specific occurrence of the problem. It may or may not yield further information if dereferenced.
{
"title": "Bad Request",
"status": 400,
"detail": "The format of {schemaId} parameter is not valid"
}
Not found
- application/problem+json
- Schema
- Schema Not Found
- Revision Not Found
Schema
Default value: about:blank
An absolute URI that identifies the problem type. When dereferenced, it SHOULD provide human-readable documentation for the problem type.
A short summary of the problem type.
Possible values: >= 400
and <= 600
The HTTP status code generated by the origin server for this occurrence of the problem.
A human readable explanation specific to this occurrence of the problem.
An absolute URI that identifies the specific occurrence of the problem. It may or may not yield further information if dereferenced.
{
"title": "Not found",
"status": 404,
"detail": "Not found"
}
{
"title": "Not found",
"status": 404,
"detail": "Not found"
}
Internal Server Error
- application/json
- Schema
- Internal Server Error
Schema
Default value: about:blank
An absolute URI that identifies the problem type. When dereferenced, it SHOULD provide human-readable documentation for the problem type.
A short summary of the problem type.
Possible values: >= 400
and <= 600
The HTTP status code generated by the origin server for this occurrence of the problem.
A human readable explanation specific to this occurrence of the problem.
An absolute URI that identifies the specific occurrence of the problem. It may or may not yield further information if dereferenced.
{
"title": "Internal error",
"status": 500,
"detail": "Internal error"
}