Get File Information and Download Address
GET
/storage/api/v1.0/files/{file_uuid}
Request
Path Params
file_uuid
string
required
Header Params
X-Organization-Key
string
required
Example:
{{orgnazation_key}}
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 '/storage/api/v1.0/files/' \
--header 'X-Organization-Key: {{orgnazation_key}}' \
--header 'X-Organization-Key;'
Responses
🟢200成功
application/json
Body
code
integer
required
message
string
required
data
object
required
id
string
required
name
string
required
size
integer
required
url
string
required
suffix
string
required
updated_at
string
required
created_at
string
required
Example
{
"code": 0,
"message": "success",
"data": {
"id": "",
"name": "NewWP",
"size": 2903,
"url": "https://file-storage.djicdn.com/978baca3-3b5e-4de1-9985-734faccfed1f/d21b5ec4-4bb2-4648-9f12-5f267ced1571/90b1dbb9-cb54-4477-85d2-0cfcb0d17342/%E6%96%B0%E5%BB%BA%E8%88%AA%E7%BA%BF.kmz?auth_key=1729600778-0-0-51cd43a5f1b1b3f53e87c176fbdf76fb&response-content-disposition=attachment;filename=\"NewWP.kmz\";filename*=utf-8''%25E6%2596%25B0%25E5%25BB%25BA%25E8%2588%25AA%25E7%25BA%25BF.kmz",
"suffix": ".kmz",
"updated_at": "2024-03-15T13:03:47.891308Z",
"created_at": "2024-03-15T13:03:22.311572Z"
}
}
🟠401未授权
Modified at 2024-10-22 12:43:04