Importing Zip file containing Schema

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

POST /schemas/{topicId}/import/file

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

Path Parameters

NameTypeDescription

topicId*

Integer

Topic ID

Request Body

NameTypeDescription

*

file

A zip file containing schema to be imported

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

Last updated