All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.mobaijun.bim.constant.BimApiConstant Maven / Gradle / Ivy

Go to download

Glodon's bim operation quick launcher, which integrates operations such as uploading files, previewing, deleting, etc.

There is a newer version: 3.0.14
Show newest version
/*
 * Copyright (C) 2022 www.mobaijun.com
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *         https://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */
package com.mobaijun.bim.constant;

/**
 * software:IntelliJ IDEA 2022.1
 * class name: BimApiConstant
 * class description:
 *
 * @author MoBaiJun 2022/10/19 8:41
 */
public class BimApiConstant {

    /**
     * 获取文件直传的policy凭证
     */
    public static final String GET_POLICY = "https://file.bimface.com/upload/policy";

    /**
     * 上传文件地址
     */
    public static final String BIM_UPLOAD = "https://bf-prod-srcfile.oss-cn-beijing.aliyuncs.com";

    /**
     * 断点续传
     */
    public static final String APPEND_FILES = "https://bf-prod-srcfile.oss-cn-beijing.aliyuncs.com";

    /**
     * BIM 模板转化
     */
    public static final String BIM_TRANSLATE = "https://api.bimface.com/translate";


    /**
     * hu获取文件展示 view token URL
     */
    public static final String VIEW_TOKEN_URL = "https://api.bimface.com/view/token";

    /**
     * 用来展示视图url?
     */
    public static final String PREVIEW = "https://bimface.com/api/console/preview?";

    /**
     * 获取文件下载链接
     */
    public static final String DOWNLOAD = "https://file.bimface.com/download/url";

    /**
     * bim源文件删除
     */
    public static final String DELETE_BIM_FILE = "https://file.bimface.com/file";

    /**
     * 发起图纸拆分
     */
    public static final String SPLIT = "https://api.bimface.com/files/%s/split";

    /**
     * 文件上传
     */
    public static final String BIM_UPLOAD_FILE = "https://file.bimface.com/upload?name=";

    /**
     * bim 文件后缀
     */
    public static final String SUFFIX = ".rvt";

    /**
     * 根据policy凭证在web端上传文件
     */
    public static final String UPLOAD_POLICY = "https://file.bimface.com/upload/policy";

    /**
     * 获取文件信息
     */
    public static final String FILE_INFO = "https://file.bimface.com/files/";
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy