NEW FlightHub 2 OpenAPI V1.0
  1. Model Management
NEW FlightHub 2 OpenAPI V1.0
  • Root Directory
    • authentication
      • Authentication Tutorial
    • System Service
      • Query FlightHub 2 system status
    • Organize Projects
      • Organize Project Tutorial
      • Get the list of projects under the organization
      • Get the list of devices under the organization
      • Obtain the list of devices under the project
      • Obtain storage upload credentials for the project
      • Add personnel to the project
    • Device Management
      • Device Management Tutorial
      • Device Model Retrieval
      • HMS Information Retrieval
      • Real-time control command distribution
      • Dock camera switch
      • Aircraft Lens Switching
      • Control acquisition
      • Release control
      • Video transmission clarity settings
      • Custom Network RTK Calibration
    • Livestream Management
      • Livestream Management Tutorial
      • Livestream Push
        • Start livestream
      • Bypass Streaming
        • Stream forwarding error code
        • Create Stream Forwarder
        • Enable/Disable stream forwarder
        • Get stream transcoder list
        • Delete stream forwarder
    • Task Management
      • Task Management Tutorial
      • Create Flight Task
      • Updated flight task status
      • Obtain flight task list
      • Obtain media resources generated by the Flight task
      • Obtain Flight task trajectory information
      • Obtain Flight task information
    • Flight Route Management
      • Flight 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
        GET
      • Get Model Details
        GET
      • Model reconstruction
        POST
    • Annotation Management
      • Annotation Management Tutorial
      • Create map annotation
  1. Model Management

Get Model Details

Developing
GET
/openapi/v0.1/model/{model_id}
Get model detail information.

Request

Path Params
model_id
string 
required
Model ID
Header Params
X-Request-Id
string <uuid>
required
Request Unique Identifier
X-Language
enum<string> 
optional
Allowed values:
zhen
Default:
zh
X-Project-Uuid
string 
optional
Project Number
Default:
{{X-Project-Uuid}}

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 '/openapi/v0.1/model/' \
--header 'X-Request-Id;' \
--header 'X-Language: zh' \
--header 'X-Project-Uuid: {{X-Project-Uuid}}'

Responses

🟢200Success
application/json
Body
code
integer 
required
Non-zero indicates an exception
message
string 
required
Message prompt
data
object 
required
id
integer 
required
Model ID
name
string 
required
Model Name
user_name
string 
required
Username
url
string 
required
Download link
preview_url
string 
required
Preview link
show_on_map
boolean 
required
Show on map
size
integer 
required
Size, Unit: Byte
update_at
integer 
optional
Model updated time, millisecond timestamp
create_at
integer 
optional
Model created time, millisecond timestamp
file_type
enum<string> 
required
Model Type
Allowed values:
model_2dmodel_3d
Example
{
  "code": 0,
  "message": "",
  "data": {
    "id": 10,
    "name": "cloud",
    "user_name": "1721360612003670572",
    "url": "http://127.0.0.1:30802/file-storage-privatization/8d72d542-f966-447d-85c6-c440263ca612/f8d836b0-1092-4750-88cf-3a99157c61fb/841a0559-7fb6-42e4-abb7-dd7bd0f72479/cloud.las?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=admin%2F20250124%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20250124T123113Z&X-Amz-Expires=86400&X-Amz-SignedHeaders=host&response-expires=Sat%2C%2025%20Jan%202025%2012%3A31%3A13%20GMT&x-id=GetObject&X-Amz-Signature=702a04b7e2ef7bbfb1f7d1afe6e135284b32fa5f230b4308a3391277aa622fa6",
    "preview_url": "http://127.0.0.1:30802/file-storage-privatization/8d72d542-f966-447d-85c6-c440263ca612/f8d836b0-1092-4750-88cf-3a99157c61fb/5e1c1459-6706-4323-8364-c9ac1a3a7c71/cloud_capture.png?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=admin%2F20250124%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20250124T085904Z&X-Amz-Expires=86400&X-Amz-SignedHeaders=host&response-content-disposition=attachment%3Bfilename%3D%22cloud_capture.png.png%22&response-expires=Sat%2C%2025%20Jan%202025%2008%3A59%3A04%20GMT&x-id=GetObject&X-Amz-Signature=e5dce416b16e7dccf5b5347ec0d71534c6e6e891e96bc806a143de91b21edd45",
    "show_on_map": true,
    "size": 31010130,
    "update_at": 1721372297000,
    "create_at": 1721372296794,
    "file_type": "model_3d"
  }
}
Previous
Get the list of models under the project
Next
Model reconstruction
Built with