File

Upload file to the platform storage.

post

This endpoint allows users to upload files to the platform storage.

Authorizations
Path parameters
workspaceIdinteger · int32Required

Workspace Id.

Body
Filestring · binaryRequired

File that will to be uploaded to the platform storage.

Responses
200
OK
post
POST /api/workspaces/{workspaceId}/file/upload HTTP/1.1
Host: 
X-Api-Key: YOUR_API_KEY
Content-Type: multipart/form-data
Accept: */*
Content-Length: 17

{
  "File": "binary"
}
{
  "fileId": "123e4567-e89b-12d3-a456-426614174000"
}

Upload CSV file for Custom Dataset

post

This endpoint allows users to upload a CSV file containing custom dataset information for probes. The uploaded file will be validated and return fileId, fileName and rowsCount information.

Authorizations
Path parameters
workspaceIdstringRequired
Body
Filestring · binaryRequired

File that will to be uploaded to the platform storage.

Responses
200
OK
application/json
post
POST /api/workspaces/{workspaceId}/probe/custom/dataset/upload HTTP/1.1
Host: 
X-Api-Key: YOUR_API_KEY
Content-Type: multipart/form-data
Accept: */*
Content-Length: 17

{
  "File": "binary"
}
{
  "entriesRowCount": 1,
  "fileId": "123e4567-e89b-12d3-a456-426614174000",
  "fileName": "text"
}

Last updated