tencent cloud

Real-time Teleoperation

Product Introduction
Overview
Features
Use Cases
Purchase Guide
Free Trial
Billing Overview
Renewal and discontinuation
Quick Start Demo
Development Guide
Multi-Path Network Transmission
Control data transfer
Operation Permission Management
Voice Interaction
Video Viewing and Stream Switching
Field Device SDK
Basic Introduction
SDK Call Procedure
C Field Device SDK API
Field Device Configuration Instructions
Error Codes
Remote Device SDK
Basic Introduction
SDK Call Procedure
C Remote Device SDK API
Remote Device Configuration Description
Error Codes
API Documentation
History
Introduction
API Category
Making API Requests
Project APIs
Device APIs
Session APIs
Authorization APIs
Other APIs
Data Types
Error Codes
SDK and Demo Download
Field Device Side
Remote Device Side
FAQs
Common Issues
Service Agreement
Privacy Policy Module Real-Time Teleoperation
Data Processing and Security Agreement Module Real-Time Teleoperation
Service Level Agreement

GetDevices

PDF
포커스 모드
폰트 크기
마지막 업데이트 시간: 2025-11-13 21:02:31

1. API Description

Domain name for API request: trro.intl.tencentcloudapi.com.

Query the authorization binding status of user devices

A maximum of 20 requests can be initiated per second for this API.

We recommend you to use API Explorer
Try it
API Explorer provides a range of capabilities, including online call, signature authentication, SDK code generation, and API quick search. It enables you to view the request, response, and auto-generated examples.

2. Input Parameters

The following request parameter list only provides API request parameters and some common parameters. For the complete common parameter list, see Common Request Parameters.

Parameter Name Required Type Description
Action Yes String Common Params. The value used for this API: GetDevices.
Version Yes String Common Params. The value used for this API: 2022-03-25.
Region Yes String Common Params. For more information, please see the list of regions supported by the product.
PageNum Yes Integer Page number.
PageSize Yes Integer Number of pages.
ProjectId No String Project id.
DeviceId No String Device id.

3. Output Parameters

Parameter Name Type Description
Devices Array of Device Device authorization list.
TotalCount Integer Number of tables in the list.
RequestId String The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.

4. Example

Example1 Query License List

Query the list of licenses purchased by the user and device binding status

Input Example

POST / HTTP/1.1
Host: trro.intl.tencentcloudapi.com
Content-Type: application/json
X-TC-Action: GetDevices
<Common request parameters>

{
    "PageNum": 1,
    "PageSize": 10,
    "ProjectId": "m82k5408n675phvb",
    "DeviceId": "dev1"
}

Output Example

{
    "Response": {
        "RequestId": "468bf31b-b5f7-44c4-8663-8d9548693cf5",
        "Devices": [
            {
                "DeviceId": "dev1",
                "DeviceName": "vin234",
                "LicenseCount": 2,
                "RemainDay": 30,
                "ExpireTime": "167840945",
                "Duration": "86400",
                "MonthlyRemainTime": 66000,
                "LimitedTime": 60000,
                "LicenseIds": [
                    "trro-2e24a74a-67ea-1732-076d-75bf772529a",
                    "trro-2e24a74a-67ea-1732-073d-75bf772579a"
                ]
            },
            {
                "DeviceId": "dev1",
                "DeviceName": "vin123",
                "LicenseCount": 2,
                "RemainDay": 30,
                "ExpireTime": "167840945",
                "Duration": "86400",
                "MonthlyRemainTime": 66000,
                "LimitedTime": 60000,
                "LicenseIds": [
                    "trro-2e24a74a-67ea-1732-076d-75bf772529a",
                    "trro-2e24a74a-67ea-1732-073d-75bf772579a"
                ]
            }
        ],
        "TotalCount": 2
    }
}

5. Developer Resources

SDK

TencentCloud API 3.0 integrates SDKs that support various programming languages to make it easier for you to call APIs.

Command Line Interface

6. Error Code

The following only lists the error codes related to the API business logic. For other error codes, see Common Error Codes.

Error Code Description
InternalError Internal error.
InvalidParameterValue Parameter value error.

도움말 및 지원

문제 해결에 도움이 되었나요?

피드백