AnonCreds
Creates a new AnonCreds schema and registers the schema in the AnonCreds registry
post/anoncreds/schemas
Request
- Base URL/ (relative, and the document was published on a file host, not at the API’s origin)
- URL/anoncreds/schemas
- Authnone declared
Headers
x-tenant-idstring
Optional header to set the context to a specific tenant. Only needed when the --multi-tenant feature is enabled. Default value is 'default'
Request body
Example request
{
"schema": {
"issuerId": "did:indy:bcovrin:test:WgWxqztrNooG92RXvxSTWv",
"name": "schema-name",
"version": "1.0",
"attrNames": [
"age"
]
}
}Response
Ok
Changes
- info
the endpoint scheme security
tenantswas removed from the API - info
added the new optional
headerrequest parameterx-tenant-id
- info
- warning
deleted the
headerrequest parameterx-tenant-id - info
the endpoint scheme security
tenantswas added to the API
- warning