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

Generate presigned file upload url

Docker Compose
http://localhost:8190/api
Docker Compose
http://localhost:8190/api
GET
http://localhost:8190/api
/data/generatePresignedUrl

Request

Authorization
Provide your bearer token in the
Authorization
header when making requests to protected resources.
Example:
Authorization: Bearer ********************
Query Params
fileName
string 
optional
File name
Example:
test.png
datasetId
string 
optional
Dataset ID
Example:
750009

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/generatePresignedUrl?fileName=test.png&datasetId=750009'

Responses

🟢200Successful
application/json
Body
code
string 
required
message
string 
required
data
object 
required
accessUrl
string 
Access URL
required
presignedUrl
string 
Pre-signed upload address
required
Example
{
    "code": "string",
    "message": "string",
    "data": {
        "accessUrl": "string",
        "presignedUrl": "string"
    }
}
Modified at 2024-03-07 03:32:51
Previous
Query multiple data
Next
Upload file through presigned url
Built with