台湾一级a毛片在线播放,黄色精品偷拍视频大全,精品一区二区在线欧美日韩,日本特黄一级视频播三级片,日韩美女18岁美女视频,偷偷操不一样的99,国产午夜激无码av毛片久

智慧服務(wù),成就美好體驗(yàn) 項(xiàng)目咨詢

主頁 > 服務(wù)與支持 > 開發(fā)平臺(tái) > 服務(wù)端API參考 > 硬終端管理 獲取所有終端類型

入門使用

獲取所有終端類型

更新時(shí)間:2019-11-20

描述

企業(yè)管理員通過該接口獲取所有的終端類型。

接口原型

表1 接口原型

請求方法

GET

請求地址

/rest/usg/datacenter/v1/corp/device/type

傳輸協(xié)議

HTTPS

請求參數(shù)

表2 參數(shù)說明

參數(shù)

是否必須

類型

位置

描述

Authorization

String

Header

授權(quán)令牌。將執(zhí)行鑒權(quán)響應(yīng)的accessToken

進(jìn)行Base64轉(zhuǎn)碼操作。

樣例:Basic Base64(accessToken)

響應(yīng)參數(shù)

表3 參數(shù)說明

參數(shù)

類型

描述

returnCode

String

業(yè)務(wù)返回碼。

returnMessage

String

返回描述。

achievementTime

String

響應(yīng)產(chǎn)生時(shí)間。

requestId

String

請求唯一標(biāo)識。

data

QueryDeviceTypeResultDTO[0..*]

終端類型。

表4 QueryDeviceTypeResultDTO 數(shù)據(jù)結(jié)構(gòu)

參數(shù)

類型

描述

type

String

終端類型,區(qū)分自研和第三方終端。

model

String

終端型號,枚舉類型。當(dāng)前支持TE系列硬件終端,具體的終端類型可以通過獲取所有終端類型接口查詢。

enableActiveCode

Boolean

是否支持激活碼。

resolution

String

屏幕分辨率。

supportProjectionCode

Boolean

是否支持投影碼。

supportSVC

Boolean

是否支持SVC。

請求消息示例

GET /rest/usg/datacenter/v1/corp/device/type 
Connection: keep-alive
Authorization: Basic aEF4SklzOWNQT01nYVBhNHgyUHNodVp1YlFrbkdnWUZx
Host: api.meeting.huaweicloud.com 
User-Agent: Apache-HttpClient/4.5.3 (Java/1.8.0_191)
 

響應(yīng)消息示例

HTTP/1.1 200 
Date: Tue, 16 Apr 2019 10:31:59 GMT
Content-Type: application/json;charset=UTF-8
Content-Length: 1164
Connection: keep-alive
Pragma: No-cache
Cache-Control: no-cache
Expires: Thu, 01 Jan 1970 00:00:00 GMT
Server: api-gateway
X-Request-Id: 8f0e783fe77359870eaccf323db080b5 

{
    "returnCode": "000000000",
    "returnMessage": "Success",
    "achievementTime": "2019-04-16 10:30:42.651",
    "requestId": "8f0e783fe77359870eaccf323db080b5",
    "data": [{
        "type": "3rd",
        "model": "SX20",
        "enableActiveCode": false,
        "resolution": "1080P"
    },
    {
        "type": "TE",
        "model": "DP300",
        "enableActiveCode": true,
        "resolution": "1080P"
    },
    {
        "type": "TE",
        "model": "TE20",
        "enableActiveCode": true,
        "resolution": "1080P"
    },
    {
        "type": "TE",
        "model": "TE30",
        "enableActiveCode": true,
        "resolution": "1080P"
    },
    {
        "type": "TE",
        "model": "TE40",
        "enableActiveCode": true,
        "resolution": "1080P"
    },
    {
        "type": "TE",
        "model": "TE50",
        "enableActiveCode": true,
        "resolution": "1080P"
    },
    {
        "type": "TE",
        "model": "TE60",
        "enableActiveCode": true,
        "resolution": "1080P"
    },
    {
        "type": "TE",
        "model": "HUAWEI Bar 500",
        "enableActiveCode": true,
        "resolution": "1080P"
    },
    {
        "type": "TE",
        "model": "HUAWEI Box 700",
        "enableActiveCode": true,
        "resolution": "1080P"
    },
    {
        "type": "TE",
        "model": "HUAWEI Box 900",
        "enableActiveCode": true,
        "resolution": "1080P"
    },
    {
        "type": "TE",
        "model": "TE10",
        "enableActiveCode": true,
        "resolution": "720P"
    },
    {
        "type": "TE",
        "model": "HUAWEI Board",
        "enableActiveCode": true,
        "resolution": "1080P"
    },
    {
        "type": "TE",
        "model": "HUAWEI Box 500",
        "enableActiveCode": true,
        "resolution": "1080P"
    }]
}
 

CURL命令示例

curl -k -i -X GET -H 'Authorization:Basic T3IxeXdMUGwzeU9Gb3JnWENNWWZldnBHM0JTQVA5N2FS' https://api.meeting.huaweicloud.com/rest/usg/datacenter/v1/corp/device/type