Importing Schema from IPFS

Imports schemas from a message for the selected topic (policy)

POST /schemas/{topicId}/import/message

Imports new schema from IPFS into the local DB. Only users with the Standard Registry role are allowed to make the request.

Path Parameters

NameTypeDescription

topicID*

String

Topic ID

Request Body

NameTypeDescription

*

Object

Object that contains the identifier of the Hedera message which contains the IPFS CID of the schema.

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

Last updated