package cn.com.poc.appbuilder.api.base;

import org.apache.http.Header;
import org.apache.http.HttpHeaders;
import org.apache.http.entity.ContentType;
import org.apache.http.message.BasicHeader;

public interface AppBuilderBaseApi {

    /**
     * 查询用户应用详情
     */
    String APP_DESCRIBE_URL = "https://qianfan.baidubce.com/v2/app?Action=DescribeApp";

    /**
     * 查询用户应用列表
     */
    String APP_DESCRIBE_LIST_URL = "https://qianfan.baidubce.com/v2/app?Action=DescribeApps";

    /**
     * 请求头令牌
     */
    String HEADER_AUTHORIZATION = "Authorization";

    /**
     * token地址
     */
    String TOKEN_SITE = "baidu.appbuilder.token";

    Header jsonHeader = new BasicHeader(HttpHeaders.CONTENT_TYPE, ContentType.APPLICATION_JSON.toString());
}
