Importing Zip file containing Schema
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
Name
Type
Description
topicId*
Integer
Topic ID
Request Body
Name
Type
Description
*
file
A zip file containing schema to be imported
{
    content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/Schema'
}{
    // Response
}{
    content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
}Last updated