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

Query a single data

Docker Compose
http://localhost:8190/api
Docker Compose
http://localhost:8190/api
GET
http://localhost:8190/api
/data/info/{id}

Request

Authorization
Provide your bearer token in the
Authorization
header when making requests to protected resources.
Example:
Authorization: Bearer ********************
Path Params
id
integer 
required
Example:
3090418

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 GET 'http://localhost:8190/api/data/info/3090418'

Responses

🟢200Successful
application/json
Body
code
string 
required
message
string 
required
data
object (Dataset) 
required
id
string 
ID
required
datasetId
string 
Dataset ID
required
name
string 
Name
required
content
array [object {4}]  | null 
Json file
required
status
string 
Data status
required
INVALID,VALID
annotationStatus
string 
Annotation status
required
Annotation status (ANNOTATED, NOT_ANNOTATED, INVALID)
lockedBy
string  | null 
Locked by
required
Example
{
    "code": "string",
    "message": "string",
    "data": {
        "id": "string",
        "datasetId": "string",
        "name": "string",
        "content": [
            {
                "name": "string",
                "type": "string",
                "files": [
                    {
                        "name": "string",
                        "fileId": "string",
                        "type": "string",
                        "file": {
                            "id": "string",
                            "name": "string",
                            "originalName": "string",
                            "path": "string",
                            "type": "string",
                            "size": "string",
                            "bucketName": "string",
                            "url": "string",
                            "pathHash": "string",
                            "extraInfo": "string"
                        }
                    }
                ],
                "directoryType": "string"
            }
        ],
        "status": "string",
        "annotationStatus": "string",
        "lockedBy": "string"
    }
}
Modified at 2023-01-04 10:37:09
Previous
Delete multiple data
Next
Query multiple data
Built with