日本熟妇hd丰满老熟妇,中文字幕一区二区三区在线不卡 ,亚洲成片在线观看,免费女同在线一区二区

QuerySessionByClientId - 查詢客戶端在線狀態(tài)

更新時間:

**QuerySessionByClientId**接口一般用于線上追蹤單個設備的運行狀態(tài),再根據(jù)查詢到的信息排查問題。輸入Client ID即可查到對應設備是否在線、設備地址等信息。

接口說明

  • QuerySessionByClientId 接口的 QPS 限制為 500。更多信息請參見 QPS 限制
  • 每成功調用一次 QuerySessionByClientId 接口,都會計算為一次消息 TPS,從而影響您的計費。詳情請參見計費說明

調試

您可以在OpenAPI Explorer中直接運行該接口,免去您計算簽名的困擾。運行成功后,OpenAPI Explorer可以自動生成SDK代碼示例。

授權信息

當前API暫無授權信息透出。

請求參數(shù)

名稱類型必填描述示例值
ClientIdstring

需要查詢的目標 Client ID。

GID_test@@@test
InstanceIdstring

云消息隊列 MQTT 版實例的 ID,一定要和客戶端實際使用的實例 ID 匹配。您可以在控制臺實例詳情頁面獲取該 ID。

post-cn-0pp12gl****
說明 更多參數(shù)說明請參見公共參數(shù)服務接入點

返回參數(shù)

名稱類型描述示例值
object
OnlineStatusboolean

設備是否在線,取值說明如下:

  • true:在線
  • false:不在線
true
RequestIdstring

公共參數(shù),每個請求的 ID 都是唯一的。

E4581CCF-62AF-44D9-B5B4-D1DBBC0E****

示例

正常返回示例

JSON格式

{
  "OnlineStatus": true,
  "RequestId": "E4581CCF-62AF-44D9-B5B4-D1DBBC0E****"
}

錯誤碼

HTTP status code錯誤碼錯誤信息描述
400CheckAccountInfoFailedAn error occurred while checking the account information by the STS token.解析STS Token賬號信息失敗。
400InstancePermissionCheckFailedAn error occurred while validating the permissions of the instance. Please verify the account that created the instance and its permissions settings.實例權限校驗失敗,請確認MQTT實例的所屬關系以及授權策略。
400ParameterCheckFailedAn error occurred while validating the parameters. The parameters may be missing or invalid.參數(shù)校驗失敗,可能缺失或者傳入值非法。
400PermissionCheckFailedAn error occurred while validating the resource permissions. Please check the account that created the instance, topic, and GroupId, and check their permission settings.資源權限校驗失敗,請檢查實例、Topic和Group ID的所屬權限和授權策略。
400InvalidParameter.%sAn error occurred while validating the parameter. The parameter may be missing or invalid.參數(shù)校驗失敗,可能缺失或者傳入值非法。
404ApiNotSupportThe specified API is not supported.當前接口不支持,請檢查。
500InternalErrorAn error occurred while processing your request. Try again later.MQTT后端服務異常,請重試。
500SystemOverFlowAn error occurred while processing your request. Please try again.系統(tǒng)限流,請重試。

訪問錯誤中心查看更多錯誤碼。

變更歷史

變更時間變更內容概要操作
暫無變更歷史