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

Delete multiple data

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

Request

Authorization
Provide your bearer token in the
Authorization
header when making requests to protected resources.
Example:
Authorization: Bearer ********************
Body Params application/json
ids
array[integer]
Dataset ID
required
datasetId
integer 
required
dataset id
Example
{
  "ids": [
    0
  ],
  "datasetId": 0
}

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/deleteBatch' \
--header 'Content-Type: application/json' \
--data-raw '{
    "ids": [
        0
    ],
    "datasetId": 0
}'

Responses

🟢200Successful
application/json
Body
code
string 
Error code
required
Error code. OK means success, the rest are failures
message
string 
Error description
required
Error description. It can be empty
data
string  | integer  | boolean  | array  | object  | number  | null 
Data
required
Data
Example
{
  "code": "OK",
  "message": "",
  "data": null
}
Previous
Query the data under the dataset
Next
Query a single data
Built with