Skip to content

Get schema

Request

Security
bearerAuth
Path
typestringrequired

Type of schema

  • policy - the main scheme for any product
namestringrequired

Name of schema

  • {product} - the product name in case of type: policy
Headers
X-TENANT-IDstringrequired

Tenant tag

Example:{$inputs.tenant}
curl -i -X GET \
  'https://ledger.app.beta.insly.training/api/v1/ledger/schemes/{type}/regular/{name}' \
  -H 'Authorization: Bearer <YOUR_JWT_HERE>' \
  -H 'X-TENANT-ID: {$inputs.tenant}'

Responses

Schema of product or other object, https://json-schema.org/

Bodyapplication/json
object
Response
{}