tencent cloud

Tencent Cloud Agent Development Platform

Release Notes and Announcements
Release Notes
Product Announcement
Product Introduction
Product Overview
Advantages
Use Cases
Model Introduction
Purchase Guide
Package Subscription
Previous Version
Getting Started
Agent Application and Its Three Modes
Creating a "Content Summary Assistant" in Standard Mode
Creating a “Webpage Scraping Assistant” in Single Workflow Mode
Creating a “Stand-up Comedy Content Creation Assistant” in Multi-Agent Mode
Operation Guide
Application Development
Workflow
Multi-Agent
Knowledge Base
Widget
Plugin Marketplace
Model List 
Prompt Templates
Application Templates
Platform Management
Business, Workspace and Permissions
API Documentation
History
API Category
Making API Requests
Atomic Capability APIs
Operation Optimization APIs
Document Library APIs
Q&A Database APIs
Knowledge Tag APIs
Application Management APIs
Enterprise Management APIs
Billing APIs
Release Management APIs
Dialogue Endpoint APIs
Data Statistics APIs
Data Types
Error Codes
Application API Documentation
Dialogue API Overview
Dialog API Documentation (WebSocket)
Dialog API Documentation (HTTP SSE)
Image Chat or File Chat (Real-time Document Parsing + Chat)
Offline Document Upload
Tencent Cloud Agent Development Platform Operation COS Guide
ADP Document Parsing Protocol
FAQs
Product FAQs
Technical FAQs
Related Agreements
Tencent Cloud Agent Development Platform Service Level Agreement
Tencent Cloud Agent Development Platform Service Specific Terms
Tencent Cloud Agent Development Platform Privacy Policy
Tencent Cloud Agent Development Platform Data Processing and Security Agreement
Open-Source License Statement
Lighthouse OpenClaw Connector Plugin Service Agreement
Contact Us
Glossary

GetLikeDataCount

PDF
Modo Foco
Tamanho da Fonte
Última atualização: 2025-10-30 21:48:59

1. API Description

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

This API is used to get likes and dislikes data statistics.

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: GetLikeDataCount.
Version Yes String Common Params. The value used for this API: 2023-11-30.
Region Yes String Common Params. For more information, please see the list of regions supported by the product. This API only supports: ap-jakarta.
StartTime Yes Integer Start date.
EndTime Yes Integer End date.
AppBizId.N No Array of String Application ID.
Type No Integer Message source (1. shared from user end, 2. chat api).
LoginUin No String Login to user's root account (required in integrator mode).
LoginSubAccountUin No String Login to user's sub-account (required in integrator mode).

3. Output Parameters

Parameter Name Type Description
Total Integer Number of messages that can be evaluated.
AppraisalTotal Integer Number of comments.
ParticipationRate Float Participation rate.
LikeTotal Integer Number of likes.
LikeRate Float Like rate.
DislikeTotal Integer Number of dislikes.
DislikeRate Float Dislike rate.
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 Data Statistics of Likes and Dislikes

Data statistics of likes and dislikes.

Input Example

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

{
    "StartTime": 1715396806,
    "EndTime": 1716435550,
    "AppBizId": [
        "1",
        "1778345918658510848"
    ],
    "Type": 1,
    "LoginUin": "600000562346",
    "LoginSubAccountUin": "600000562346"
}

Output Example

{
    "Response": {
        "AppraisalTotal": 7,
        "DislikeRate": 0.57,
        "DislikeTotal": 4,
        "LikeRate": 0.43,
        "LikeTotal": 3,
        "ParticipationRate": 1.75,
        "RequestId": "cf081be6-ae5f-4840-9324-d60f748d60b6",
        "Total": 4
    }
}

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
FailedOperation Operation failed.
MissingParameter Missing required parameters.

Ajuda e Suporte

Esta página foi útil?

comentários