Get Schema

Request

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 token
Responses
200: OK
Success Response

Usage

cURL

curl --location --request GET '{registry-url}/api/v1/Schema/{id}' \
--header 'Authorization: Bearer {access-token}' \
--header 'Content-Type: application/json'

HTTPie

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