Importing Tool from a Zip file
Imports new tool and all associated artifacts, such as schemas and VCs, from the provided zip file into the local DB. Only users with the Standard Registry role are allowed to make the request.
Authorizations
Body
filestring Β· binaryOptional
metadatastring Β· binaryOptional
Responses
200
Successful operation.
application/json
401
Unauthorized.
403
Forbidden.
500
Internal server error.
application/json
post
POST /api/v1/tools/import/file-metadata HTTP/1.1
Host:
Authorization: Bearer JWT
Content-Type: multipart/form-data
Accept: */*
Content-Length: 37
{
"file": "binary",
"metadata": "binary"
}
{
"id": "text",
"uuid": "text",
"name": "text",
"description": "text",
"config": {},
"status": "text",
"creator": "text",
"owner": "text",
"topicId": "text",
"messageId": "text",
"codeVersion": "text",
"createDate": "text"
}
Last updated