# 获取转换状态
GET https://api.bimface.com/translate
# 说明
应用发起转换以后,可以通过该接口查询转换状态。
# 参数
# Header
Authorization * | Bearer {accessToken} | string |
# Query
fileId * | 文件ID | integer (int64) |
# 响应
HTTP代码 | 说明 | 类型 |
---|---|---|
200 | OK | GeneralResponse«FileTranslateBean» |
401 | Unauthorized | - |
403 | Forbidden | - |
404 | Not Found | - |
# 200响应参数
GeneralResponse«FileTranslateBean»
名称 | 说明 | 类型 |
---|---|---|
code | 状态代码 | string |
data | 返回数据 | FileTranslateBean |
message | 提示消息 | string |
# 生成
*/*
application/json
# HTTP请求示例
# 请求 path
https://api.bimface.com/translate?fileId=1938888813662976
# 请求 header
"Authorization: Bearer cn-e9725999-0b36-4c0e-bdca-38ea88888888"
# HTTP响应示例
# 响应 200
{
"code": "success",
"message": null,
"data": {
"appKey": "s5nbdcsxZzDYKysjYasjIkL0JAAAAA",
"compressed": false,
"createTime": "2021-09-07 14:38:12",
"databagId": "b32076a584e6f606462855c945e03875",
"config":{
"toBimtiles" : true,
"texture":true
},
"errorCode": null,
"fileId": 10000682106551,
"name": "主文件.rvt",
"outputFormat": "bimtiles",
"priority": 1,
"projectId": "10000620765434",
"reason": null,
"status": "success",
"thumbnail": [
"https://m.bimface.com/b32076a584e6f606462855c945e03875/thumbnail/96.png",
"https://m.bimface.com/b32076a584e6f606462855c945e03875/thumbnail/256.png",
"https://m.bimface.com/b32076a584e6f606462855c945e03875/thumbnail/512.png"
]
}
}
← 发起转换 批量获取转换状态详情 →