Importing Tool from a Zip file

Imports new tool from a zip file.

post

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
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