Schemas & file types
Import schemas
Import schemas from a previously exported zip file.
POST
Import schemas
Request · Response · Guide: Extract fields
More details
More details
Request:
- Content-Type:
multipart/form-data file(file, required): The exported zip file
success(boolean): Whether the import was successfulimportedBlueprintsCount(number): Number of blueprints importedimportedSchemasCount(number): Number of schemas importedconflictBlueprintsCount(number): Number of blueprints that had conflictsconflictBlueprints(string[]): List of conflicting blueprint class namesblueprintIds(string[]): IDs of the imported blueprintsschemaIds(string[]): IDs of the imported schemas
- All imported blueprints and schemas will be assigned new IDs
- Metadata (organization, workspace, user) will be updated to the importing user
- If a blueprint with the same class name already exists, the import will fail
Authorizations
API key for authentication
Headers
Optional opaque key (max 255 chars, UUIDv4 recommended) making this request idempotent for 24h: a retry with the same key and body replays the original response with Idempotent-Replayed: true.
Body
application/json
Exported zip file
Response
Schemas imported successfully
Import success status
Number of blueprints imported
Number of schemas imported
Number of conflicting blueprints
List of conflicting blueprint class names
List of imported blueprint IDs
List of imported schema IDs