Get Schema
get
/api/v1/Schema/{id}
Fetch a Schema
Parameters
Path
id*
ID of Schema to be fetched
Header
content-type*
Set to
application/json
authorization
Set to
Bearer {access-token}
. The token should be a admin tokenResponses
200: OK
Success Response
curl --location --request GET '{registry-url}/api/v1/Schema/{id}' \
--header 'Authorization: Bearer {access-token}' \
--header 'Content-Type: application/json'
http GET '{registry-url}/api/v1/Schema/{id}' \
Authorization:'Bearer {access-token}' \
Content-Type:'application/json'
{registry-url}
is usually http://localhost:{port}. The port can be found under the registry
section in the docker-compose.yml
file and is usually 8081
Last modified 9mo ago