全新司空 2 OpenAPI V1.0(openapi-translation)
  1. Open modeling
全新司空 2 OpenAPI V1.0(openapi-translation)
  • Root Directory
    • Authentication and Authorization
      • Authentication Authorization Tutorial
    • System Services
      • FlightHub 2 Public Cloud Access Point Information
      • Query FlightHub 2 System Status
    • Organization Projects
      • Organization Project Tutorial
      • Get the List of Projects Under the Organization
      • Get the List of Devices Under the Organization
      • Get the List of Devices Under the Project
      • Obtain the storage upload credentials for the project
      • Add Members to the Project
    • Livestream Management
      • Live streaming management tutorial
      • Push Livestream
        • Enable Livestream
      • Stream forwarding (only supports private cloud)
        • Stream Forwarding Error Code
        • Create Stream Forwarder
        • Enable/Disable Stream Forwarder
    • Annotation Management
      • Annotation management tutorial
      • Create Map Annotations
    • Task Management
      • Task management tutorial
      • Create Flight Tasks
      • Update Flight Task Status
      • Get the Flight Task List
      • Get Media Files Generated by the Flight Task
      • Get Flight Trajectory Information
    • Device Management
      • Device management tutorial
      • Get Device Properties
      • Get HMS Information
      • Switch Dock Cameras
      • Switch Aircraft Cameras
      • Custom Network RTK Calibration
      • Specify device to enter relay frequency pairing mode (only supports private cloud and relay)
      • Query relay frequency pairing result (only supports private cloud and relay)
    • Route Management
      • Route management tutorial
      • Flight Route Upload Completion Notification
      • Get the List of Flight Routes Under the Project
      • Get Flight Route Details
    • Model Management
      • Model management tutorial
      • Model reconstruction coordinate system
      • Get the List of Models Under the Project
      • Mapping
      • Get the Model Details
      • Get Model File Download URL
    • Open modeling
      • Open modeling tutorial
      • Model Reconstruction Error Code
      • Algorithm parameter introduction
      • Get upload credential
        POST
      • Upload callback
        POST
      • Get resource details
        GET
      • Delete resource
        DELETE
      • Start reconstruction task
        POST
      • Stop reconstruction task
        POST
      • Get the Model Details
        GET
      • Delete Models
        DELETE
  • Get the Stream Transcoder List
    GET
  • Send Real-Time Control Command
    POST
  • Delete Stream Forwarder
    DELETE
  • Acquire Control
    POST
  • Release Control
    DELETE
  • Video Transmission Quality Settings
    PUT
  • Get the Flight Task Information
    GET
  1. Open modeling

Get upload credential

开发中
POST
/openapi/v0.1/open_model/stores/obtain_token
Obtain upload credentials for uploading files to cloud storage.

请求参数

Header 参数

请求示例代码

Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location --request POST '/openapi/v0.1/open_model/stores/obtain_token' \
--header 'X-Request-Id: {{$string.uuid}}' \
--header 'X-Language: zh' \
--header 'X-Project-Uuid: {{X-Project-Uuid}}' \
--header 'X-User-Token: {{x-user-token}}'

返回响应

🟢200成功
application/json
Body

示例
{
    "code": 0,
    "message": "",
    "data": {
        "cloud_name": "aws",
        "access_key_id": "xxx",
        "secret_access_key": "xx",
        "session_token": "xx",
        "region": "cn-hangzhou",
        "cloud_bucket_name": "xxx",
        "callback_param": "Q1g0Mm1uOUR6ZUJnMlkzb29vUmE0dmNWdnh0b1M1eis0d3B2c0paQmsrUURmT0Z5dHVLblBjbVllYlZ3cnovbE5ZdHRqM2VjMWxDTUwzYVJCTFk0N2tWd2pkSWIwQlU5dHBMZVZkbXJXZ2xJSWFhdHNxWnE2anQrTk9SMzlET0JNUUg0WkdDVDJ0OHNWbC9mMTZ6R01meEp2WGRzMFU4ZFkyMFIyMzJ6Ty9UUWZ2WUhlcEJWYnQ0NjJDdDFISS9Za0FON0srVjdZYnJITXprNHpRS09aSTJMbEZBdkpLNDNlVUd5dmRzMUJSSTVQVVA1VVlWVnEraDlNdkpQbHdSSw==",
        "store_path": "fh/organizations/5a6f9d4b-2a38-4b4b-86f9-3a678da0bf4a/open_reconstruction/tmp/fbe4f0a1-561c-43d1-a880-baf464bed5c6/{fileName}",
        "expire_time": 1768209932,
        "end_point": "https://xxx"
    }
}
修改于 2026-01-22 03:37:29
上一页
Algorithm parameter introduction
下一页
Upload callback
Built with