Importing Schema from IPFS

Imports new schema from IPFS.

POST /schemas/push/{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

messageId*

String

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

{
    content:
            application/json:
              schema:
                $ref: '#/components/schemas/Task'
}

Last updated