Publishing Schema based on Schema ID

PUBLISHING SCHEMA BASED ON SCHEMA ID

Publishes the schema

PUT /schemas/{schemaId}/publish

Publishes the schema with the provided (internal) schema ID onto IPFS, sends a message featuring IPFS CID into the corresponding Hedera topic. Only users with the Standard Registry role are allowed to make the request.

Path Parameters

NameTypeDescription

schemaID*

String

Schema ID

Request Body

NameTypeDescription

version*

Object

Object that contains policy version

{
    content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/Schema'
}