File
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
400
Bad Request
401
Unauthorized
403
Forbidden
500
Internal Server Error
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"
}
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
400
Bad Request
application/json
401
Unauthorized
application/json
403
Forbidden
application/json
500
Internal Server Error
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