Importing Tool from a Zip file asynchronously
Last updated
POST /api/v1/tools/push/import/file-metadata
Asynchronously imports a new tool from a multipart zip file with optional metadata, and returns a task ID for polling the result.
Authentication: Bearer token required (Authorization: Bearer <token>)
Permission: Permissions.TOOL_MIGRATION_CREATE
Content-Type: multipart/form-data
file
binary
Yes
ZIP file containing the tool configuration
metadata
binary
No
JSON metadata file for the tool migration
Status: 202 Accepted
{
"taskId": "63e3e5e8a01b3c001234abcd",
"expectation": "Import tool file"
}Poll GET /tasks/{taskId} to retrieve the result.
401 Unauthorized
Missing or invalid token
403 Forbidden
Insufficient permissions
500 Internal Server Error
Unexpected server failure or missing tool file
Last updated