BasicAI CE Open & Plugin API
  1. Dataset
BasicAI CE Open & Plugin API
  • Open API
    • Dataset
      • Create Dataset
        POST
      • Edit Dataset
        POST
      • Delete Dataset
        POST
      • Query a single dataset
        GET
      • Query the list of datasets
        GET
      • Upload the dataset compressed package
        POST
      • Query the processing progress of the compressed dataset
        GET
      • Query the data under the dataset
        GET
      • Delete multiple data
        POST
      • Query a single data
        GET
      • Query multiple data
        GET
      • Generate presigned file upload url
        GET
      • Upload file through presigned url
        PUT
    • Annotation
      • Get data and result information
      • Download dataset annotation results
    • Model
      • Image object detection
      • Point cloud object detection
  • Plugin API
    • Model
      • Point cloud object detection
      • Image object detection
  1. Dataset

Upload the dataset compressed package

Docker Compose
http://localhost:8190/api
Docker Compose
http://localhost:8190/api
POST
http://localhost:8190/api
/data/upload

Request

Authorization
Provide your bearer token in the
Authorization
header when making requests to protected resources.
Example:
Authorization: Bearer ********************
Body Params application/json
fileUrl
string 
File path
required
datasetId
string 
Dataset ID
required
source
string 
Source
required
LOCAL, URL
resultType
string 
optional
GROUND_TRUTH,MODEL_RUN
Example
{
    "fileUrl": "string",
    "datasetId": "string",
    "source": "string",
    "resultType": "string"
}

Request samples

Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request POST 'http://localhost:8190/api/data/upload' \
--header 'Content-Type: application/json' \
--data-raw '{
    "fileUrl": "string",
    "datasetId": "string",
    "source": "string",
    "resultType": "string"
}'

Responses

🟢200Successful
application/json
Body
code
string 
required
message
string 
required
data
string 
Serial number
required
Example
{
    "code": "string",
    "message": "string",
    "data": "string"
}
Modified at 2024-03-07 02:45:49
Previous
Query the list of datasets
Next
Query the processing progress of the compressed dataset
Built with