Creates a new AnonCreds schema and registers the schema in the AnonCreds registry
Headers
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
Changed in 2 of the 3 revisions of this API.13
- ○
the endpoint scheme security
tenantswas removed from the APIapi-security-removed
- ○
added the new optional
headerrequest parameterx-tenant-idnew-optional-request-parameter
This revision also has 2 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog
- ○
- ●
deleted the
headerrequest parameterx-tenant-idrequest-parameter-removed
- ○
the endpoint scheme security
tenantswas added to the APIapi-security-added
This revision also has 145 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog
- ●