|
@@ -28,7 +28,7 @@ public interface BimFaceClient {
|
|
|
* 获取文件状态
|
|
|
*/
|
|
|
@Request(
|
|
|
- url = "/bdfs/data/v2/projects/{projectId}/fileItems/status?fileItemId={fileItemId}",
|
|
|
+ url = "/bdfs/data/v1/projects/{projectId}/fileItems/status?fileItemId={fileItemId}",
|
|
|
type = "get"
|
|
|
)
|
|
|
BimResult<FileStatusBean> getFileStatusInfo(@Var("projectId")String projectId, @Var("fileItemId")String fileItemId);
|
|
@@ -38,7 +38,7 @@ public interface BimFaceClient {
|
|
|
* 查询项目
|
|
|
*/
|
|
|
@Request(
|
|
|
- url = "/bdfs/domain/v2/hubs/10000000000020001/projects?name={name}",
|
|
|
+ url = "/bdfs/domain/v1/hubs/10000000000020001/projects?name={name}",
|
|
|
type = "get"
|
|
|
)
|
|
|
BimResult<List<ProjectBean>> getProjectInfo(@Var("name")String name);
|
|
@@ -48,7 +48,7 @@ public interface BimFaceClient {
|
|
|
* 创建项目
|
|
|
*/
|
|
|
@Request(
|
|
|
- url = "/bdfs/domain/v2/hubs/10000000000020001/projects",
|
|
|
+ url = "/bdfs/domain/v1/hubs/10000000000020001/projects",
|
|
|
type = "post"
|
|
|
)
|
|
|
BimResult<ProjectBean> saveProject(@JSONBody ProjectDTO projectDTO);
|
|
@@ -57,7 +57,7 @@ public interface BimFaceClient {
|
|
|
* 发送File类型数据
|
|
|
*/
|
|
|
@Request(
|
|
|
- url = "/bdfs/data/v2/projects/{projectId}/fileItems/sourceUrl?url={url}&parentId={parentId}&name={name}",
|
|
|
+ url = "/bdfs/data/v1/projects/{projectId}/fileItems/sourceUrl?url={url}&parentId={parentId}&name={name}",
|
|
|
type = "post",
|
|
|
contentType = "application/octet-stream"
|
|
|
)
|
|
@@ -71,7 +71,7 @@ public interface BimFaceClient {
|
|
|
* 发送translate转换文件请求
|
|
|
*/
|
|
|
@Request(
|
|
|
- url = "/translate",
|
|
|
+ url = "/v2/translate",
|
|
|
type = "put"
|
|
|
)
|
|
|
BimResult<FileBean> translate(@JSONBody TranslateDTO translateDTO);
|