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.
Authentication: Bearer token required (Authorization: Bearer <token>)
Authorization: Bearer <token>
Permission: Permissions.SCHEMAS_SCHEMA_CREATE
Permissions.SCHEMAS_SCHEMA_CREATE
topicId
String
Yes
Topic ID
Content-Type: application/zip
application/zip
A zip file containing the schema to be imported.
Status: 201 Created
201 Created
Returns an array of the imported schema objects.
401 Unauthorized
Missing or invalid token
403 Forbidden
Insufficient permissions
422 Unprocessable Entity
Validation error
500 Internal Server Error
Unexpected server failure
Last updated 1 month ago
[ { "id": "f3b2a9c1e4d5678901234567", "uuid": "f3b2a9c1e4d5678901234567", "name": "Schema name", "status": "PUBLISHED", "topicId": "f3b2a9c1e4d5678901234567" } ]