com.bimface.sdk.interfaces.ApiInterface Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of bimface-java-sdk Show documentation
Show all versions of bimface-java-sdk Show documentation
Bimface provide the required call java sdk.
The newest version!
package com.bimface.sdk.interfaces;
import com.bimface.api.bean.compatible.response.BatchDeleteResultBean;
import com.bimface.api.bean.compatible.response.ShareLinkBean;
import com.bimface.api.bean.request.clashDetective.ClashDetectiveRequest;
import com.bimface.api.bean.request.extraction.ExtractionQueryRequest;
import com.bimface.api.bean.request.extraction.ExtractionRequest;
import com.bimface.api.bean.request.integrate.FileIntegrateRequest;
import com.bimface.api.bean.request.integrate.IntegrateQueryRequest;
import com.bimface.api.bean.request.modelCompare.CompareRequest;
import com.bimface.api.bean.request.modelCompare.ModelCompareQueryRequest;
import com.bimface.api.bean.request.modelCompare.ModelCompareRequest;
import com.bimface.api.bean.request.scene.AutoUpdateSceneLayerRequest;
import com.bimface.api.bean.request.translate.FileTranslateRequest;
import com.bimface.api.bean.request.translate.TranslateQueryRequest;
import com.bimface.api.bean.request.v1.FileTranslateRequestV1;
import com.bimface.api.bean.response.*;
import com.bimface.api.bean.response.clashDetective.ClashDetectiveList;
import com.bimface.api.bean.response.clashDetective.ClashDetectiveResponse;
import com.bimface.api.bean.response.databagDerivative.IntegrateDatabagDerivativeBean;
import com.bimface.api.bean.response.databagDerivative.ModelCompareDatabagDerivativeBean;
import com.bimface.api.bean.response.databagDerivative.TranslateDatabagDerivativeBean;
import com.bimface.api.bean.response.extraction.ExtractionInfoBean;
import com.bimface.api.bean.response.extraction.ExtractionResponse;
import com.bimface.api.bean.response.scene.AutoUpdateSceneLayerResponse;
import com.bimface.api.bean.response.v1.FileTranslateResponseV1;
import com.bimface.bean.v1.GeneralResponseV1;
import com.bimface.page.PagedList;
import com.bimface.scene.bean.CreateSceneRequest;
import com.bimface.scene.bean.CreateSceneResp;
import com.bimface.scene.bean.response.SceneInfoResponse;
import com.bimface.sdk.bean.request.DatabagDerivativeRequest;
import com.bimface.sdk.bean.response.AccessTokenBean;
import com.glodon.paas.foundation.restclient.RESTResponse;
import io.swagger.annotations.ApiOperation;
import io.swagger.annotations.ApiParam;
import retrofit2.Call;
import retrofit2.http.*;
import java.util.List;
public interface ApiInterface {
@POST("oauth2/token")
Call> applyOAuthToken(@Header("Authorization") String credential);
@GET("view/token")
Call> getViewToken(@Query("fileId") Long fileId, @Query("integrateId") Long integrateId, @Query("compareId") Long compareId, @Query("sceneId") Long sceneId, @Query("clashDetectiveId") Long clashDetectiveId, @Header("Authorization") String accessToken);
@PUT("translate")
Call> translate(@Body FileTranslateRequest request, @Header("Authorization") String accessToken);
@GET("translate")
Call> getTranslation(@Query("fileId") Long fileId, @Header("Authorization") String accessToken);
@POST("translateDetails")
Call>> getTranslates(@Body TranslateQueryRequest translateQueryRequest, @Header("Authorization") String accessToken);
@PUT("v2/translate")
Call> translate2Bimtiles(@Body FileTranslateRequest request,
@Header("Authorization") String accessToken);
//获取转换资源列表
@POST("v1/{projectId}/translations")
Call>> fileTranslateList(@Path("projectId") Long projectId,
@Body FileTranslateRequestV1 request,
@Header("Authorization") String accessToken);
@POST("share")
Call> createShare(@Query("fileId") Long fileId, @Query("integrateId") Long integrateId, @Query("sceneId") Long sceneId,
@Query("activeHours") Integer activeDurationInHours, @Query("expireDate") String expireDate,
@Query("needPassword") Boolean needPassword, @Header("Authorization") String accessToken);
@DELETE("share")
Call> deleteShare(@Query("fileId") Long fileId, @Query("integrateId") Long integrateId, @Query("sceneId") Long sceneId, @Header("Authorization") String accessToken);
@DELETE("shares")
Call>> batchDeteleShare(@Query("sourceIds") List sourceIds, @Header("Authorization") String accessToken);
@GET("share")
Call> getShareLink(@Query("token") String token, @Query("fileId") Long fileId, @Query("integrateId") Long integrateId, @Query("sceneId") Long sceneId, @Header("Authorization") String accessToken);
@GET("shares")
Call>> shareList(@Header("Authorization") String accessToken,
@Query("pageNo") Integer pageNo,
@Query("pageSize") Integer pageSize);
@PUT("files/{fileId}/offlineDatabag")
Call> createTranslateOfflineDatabag(@Path("fileId") Long fileId,
@Query("callback") String callback,
@Body DatabagDerivativeRequest request,
@Header("Authorization") String accessToken);
@PUT("integrations/{integrateId}/offlineDatabag")
Call> createIntegateOfflineDatabag(@Path("integrateId") Long integrateId,
@Query("callback") String callback,
@Body DatabagDerivativeRequest request,
@Header("Authorization") String accessToken);
@PUT("comparisions/{compareId}/offlineDatabag")
Call> createCompareOfflineDatabag(@Path("compareId") Long compareId,
@Query("callback") String callback,
@Body DatabagDerivativeRequest request,
@Header("Authorization") String accessToken);
@GET("files/{fileId}/offlineDatabag")
Call>> getTranslateOfflineDatabag(@Path("fileId") Long fileId, @Header("Authorization") String accessToken);
@GET("integrations/{integrateId}/offlineDatabag")
Call>> getIntegrateOfflineDatabag(@Path("integrateId") Long integrateId, @Header("Authorization") String accessToken);
@GET("comparisions/{compareId}/offlineDatabag")
Call>> getCompareOfflineDatabag(@Path("compareId") Long compareId, @Header("Authorization") String accessToken);
@PUT("files/{fileId}/export/gltf")
Call> exportTranslateGltfDatabag(@Path("fileId") Long fileId,
@Query("callback") String callback,
@Header("Authorization") String accessToken);
@GET("files/{fileId}/export/gltf")
Call>> getTranslateGltfDatabag(@Path("fileId") Long fileId,
@Header("Authorization") String accessToken);
@PUT("integrate")
Call> integrate(@Body FileIntegrateRequest request, @Header("Authorization") String accessToken);
@GET("integrate")
Call> getIntegrate(@Query("integrateId") Long integrateId, @Header("Authorization") String accessToken);
@POST("integrateDetails")
Call>> getIntegrates(@Body IntegrateQueryRequest integrateQueryRequest, @Header("Authorization") String accessToken);
@PUT("v2/integrate")
Call> integrate2Bimtiles(@Body FileIntegrateRequest request,
@Header("Authorization") String accessToken);
@DELETE("integrate")
Call> deleteIntegrate(@Query("integrateId") Long integrateId, @Header("Authorization") String accessToken);
@PATCH("integrate")
Call> modify(@Query("integrateId") Long integrateId,
@Query("name") String name,
@Header("Authorization") String accessToken);
@POST("compare")
Call> invokeModelCompare(@Body ModelCompareRequest request, @Header("Authorization") String accessToken);
@POST("v2/compare")
Call> invokeModelCompareV2(@Body CompareRequest request, @Header("Authorization") String accessToken);
@GET("v2/compare")
Call> getModelCompareV2(@Query("compareId") Long compareId, @Header("Authorization") String accessToken);
@POST("compares")
Call>> getModelCompares(@Body ModelCompareQueryRequest modelCompareQueryRequest, @Header("Authorization") String accessToken);
@DELETE("v2/compare")
Call> deleteModelCompareV2(@Query("compareId") Long compareId, @Header("Authorization") String accessToken);
@PUT("files/{fileId}/split")
Call> createDrawingSplit(@Path("fileId") Long fileId, @Query("callback") String callback,
@Body DatabagDerivativeRequest request, @Header("Authorization") String accessToken);
@GET("files/{fileId}/split")
Call> getDrawingSplit(@Path("fileId") Long fileId, @Header("Authorization") String accessToken);
@PUT("integrations/{integrateId}/export/gltf")
Call> exportIntegrateGltfDatabag(@Path("integrateId") Long integrateId, @Query("callback") String callback,
@Header("Authorization") String accessToken);
@GET("integrations/{integrateId}/export/gltf")
Call>> getIntegrateGltfDatabags(@Path("integrateId") Long integrateId, @Header("Authorization") String accessToken);
@PUT("files/{fileId}/export/3dtiles")
Call> exportTranslate3DTilesDatabag(@Path("fileId") Long fileId, @Query("callback") String callback,
@Body DatabagDerivativeRequest request, @Header("Authorization") String accessToken);
@GET("files/{fileId}/export/3dtiles")
Call>> getTranslate3DTilesDatabags(@Path("fileId") Long fileId, @Header("Authorization") String accessToken);
@PUT("integrations/{integrateId}/export/3dtiles")
Call> exportIntegrate3DTilesDatabag(@Path("integrateId") Long integrateId, @Query("callback") String callback,
@Body DatabagDerivativeRequest request, @Header("Authorization") String accessToken);
@GET("integrations/{integrateId}/export/3dtiles")
Call>> getIntegrate3DTilesDatabags(@Path("integrateId") Long integrateId, @Header("Authorization") String accessToken);
@PUT("files/{fileId}/bake")
Call> createTranslateBakeDatabag(@Path("fileId") Long fileId, @Query("callback") String callback,
@Body DatabagDerivativeRequest request, @Header("Authorization") String accessToken);
@GET("files/{fileId}/bake")
Call>> getTranslateBakeDatabags(@Path("fileId") Long fileId, @Header("Authorization") String accessToken);
@PUT("integrations/{integrateId}/bake")
Call> createIntegrateBakeDatabag(@Path("integrateId") Long integrateId, @Query("callback") String callback,
@Body DatabagDerivativeRequest request, @Header("Authorization") String accessToken);
@GET("integrations/{integrateId}/bake")
Call>> getIntegrateBakeDatabags(@Path("integrateId") Long integrateId, @Header("Authorization") String accessToken);
@POST("scene")
Call> createScene(@Body CreateSceneRequest sceneInfo, @Header("Authorization") String accessToken);
@PATCH("scene/{sceneId}")
Call> updateScene(@Path("sceneId") Long sceneId, @Body CreateSceneRequest sceneInfo, @Header("Authorization") String accessToken);
@GET("scene/{sceneId}")
Call> getScene(@Path("sceneId") Long sceneId, @Header("Authorization") String accessToken);
@POST("scene/{sceneId}/updateLayers")
Call> autoUpdateSceneLayers(@Path("sceneId") Long sceneId,
@Body AutoUpdateSceneLayerRequest request,
@Header("Authorization") String accessToken);
@POST("clashDetective")
Call> createClashDetective(@Body ClashDetectiveRequest request, @Header("Authorization") String accessToken);
@GET("clashDetective")
Call> queryClashDetective(@Query("clashDetectiveId") Long clashDetectiveId, @Header("Authorization") String accessToken);
@GET("clashDetectiveList")
Call> queryClashDetectiveByModelId(@Query("fileId") Long fileId, @Query("integrateId") Long integrateId, @Header("Authorization") String accessToken);
@PUT("feature-management/v1/domain/extraction")
Call> createExtraction(@Body ExtractionRequest request, @Header("Authorization") String accessToken);
@POST("feature-management/v1/domain/extraction-states")
Call>> queryExtraction(@Body ExtractionQueryRequest queryRequest, @Query("pageNo") Integer pageNo, @Query("pageSize") Integer pageSize, @Header("Authorization") String accessToken);
@DELETE("feature-management/v1/domain/extraction")
Call> deleteExtraction(@Query("fileId") Long fileId, @Query("integrateId") Long integrateId, @Query("extractType") String extractType, @Header("Authorization") String accessToken);
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy