v1

latestOpenAPI 3.0.0Apache-2.02026-07-1767300384.3 KB
AnonCreds

Creates a new AnonCreds schema and registers the schema in the AnonCreds registry

post/anoncreds/schemas

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

optionsAnyJsonObject

JSON object that can contain any key-value pairs

Example request

{
  "schema": {
    "issuerId": "did:indy:bcovrin:test:WgWxqztrNooG92RXvxSTWv",
    "name": "schema-name",
    "version": "1.0",
    "attrNames": [
      "age"
    ]
  }
}

Response

Ok

jobIdstring
schemaMetadataAnyJsonObject required

JSON object that can contain any key-value pairs

registrationMetadataAnyJsonObject required

JSON object that can contain any key-value pairs