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

Name
Type
Description

topicID*

String

Topic ID

Request Body

Name
Type
Description

*

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'
}