暖暖视频免费观**,国产免费美女被艹视频,毛片一级毛片,不卡三级

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

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

入門(mén)使用

獲取所有終端類(lèi)型

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

描述

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

接口原型

表1 接口原型

請(qǐng)求方法

GET

請(qǐng)求地址

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

傳輸協(xié)議

HTTPS

請(qǐng)求參數(shù)

表2 參數(shù)說(shuō)明

參數(shù)

是否必須

類(lèi)型

位置

描述

Authorization

String

Header

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

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

樣例:Basic Base64(accessToken)

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

表3 參數(shù)說(shuō)明

參數(shù)

類(lèi)型

描述

returnCode

String

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

returnMessage

String

返回描述。

achievementTime

String

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

requestId

String

請(qǐng)求唯一標(biāo)識(shí)。

data

QueryDeviceTypeResultDTO[0..*]

終端類(lèi)型。

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

參數(shù)

類(lèi)型

描述

type

String

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

model

String

終端型號(hào),枚舉類(lèi)型。當(dāng)前支持TE系列硬件終端,具體的終端類(lèi)型可以通過(guò)獲取所有終端類(lèi)型接口查詢(xún)。

enableActiveCode

Boolean

是否支持激活碼。

resolution

String

屏幕分辨率。

supportProjectionCode

Boolean

是否支持投影碼。

supportSVC

Boolean

是否支持SVC。

請(qǐng)求消息示例

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