For the complete documentation index, see llms.txt. This page is also available as Markdown.

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
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Body
filestring · binaryOptional
metadatastring · binaryOptional
Responses
200

Successful operation.

application/json
idstringRequired
uuidstringRequired
namestringRequired
descriptionstringRequired
configobjectRequired
statusstringRequired
creatorstringRequired
ownerstringRequired
topicIdstringRequired
messageIdstringRequired
codeVersionstringRequired
createDatestringRequired
post/tools/import/file-metadata
POST /api/v1/tools/import/file-metadata HTTP/1.1
Authorization: Bearer YOUR_SECRET_TOKEN
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"
}

Was this helpful?