获取图片消息详情
POST
/get_image
请求参数
Body 参数application/json
file_id
string
必需
示例
{
"file_id": "000001464e61704361744f6e65426f747c4d736746696c657c327c3739303531343031397c373433313532303534363631393630373832387c373433313532303534363631393630373832377c456851564b524a367737624c702d3739614f3554474752477050585543426a68374155675f776f6f337376687966693169514d794248427962325251674c326a41566f5161325145364b71595356456c5455716f364372676a51.CFCF5923363D36B9A27BC1224F8462A9.jpg"
}
示例代码
Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location --request POST '/get_image' \
--header 'Content-Type: application/json' \
--data-raw '{
"file_id": "000001464e61704361744f6e65426f747c4d736746696c657c327c3739303531343031397c373433313532303534363631393630373832387c373433313532303534363631393630373832377c456851564b524a367737624c702d3739614f3554474752477050585543426a68374155675f776f6f337376687966693169514d794248427962325251674c326a41566f5161325145364b71595356456c5455716f364372676a51.CFCF5923363D36B9A27BC1224F8462A9.jpg"
}'
返回响应
🟢200成功
application/json
Body
status
enum<string>
必需
枚举值:
ok
retcode
number
必需
data
object
必需
file
string
本地路径
url
string
网络路径
file_size
string
文件大小
file_name
string
文件名
base64
string
必需
message
string
必需
wording
string
必需
echo
string | null
必需
示例
{
"status": "ok",
"retcode": 0,
"data": {
"file": "string",
"url": "string",
"file_size": "string",
"file_name": "string",
"base64": "string"
},
"message": "string",
"wording": "string",
"echo": "string"
}
修改于 2024-10-30 13:11:09