Domain name for API request: tcmpp.tencentcloudapi.com.
This API is used to list the approval requests related with a mini program version.
A maximum of 20 requests can be initiated per second for this API.
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: DescribeMNPApprovalList. |
Version | Yes | String | Common Params. The value used for this API: 2024-08-01. |
Region | Yes | String | Common Params. For more information, please see the list of regions supported by the product. |
Offset | Yes | Integer | Page offset |
Limit | Yes | Integer | Number of results per page |
PlatformId | Yes | String | Platform ID |
ApprovalStatusList.N | No | Array of Integer | Approval status. 1: Processing; 2: Rejected; 3: Approved; 4 Cancelled |
Keyword | No | String | Keywords of the mini program name to search |
ApplicationId | No | String | Application ID |
TeamId | No | String | Team ID |
Parameter Name | Type | Description |
---|---|---|
Data | DescribeMNPApprovalListResp | Response data Note: This field may return null, indicating that no valid values can be obtained. |
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. |
POST / HTTP/1.1
Host: tcmpp.tencentcloudapi.com
Content-Type: application/json
X-TC-Action: DescribeMNPApprovalList
<Common request parameters>
{
"Limit": 20,
"Offset": 0,
"ApprovalStatusList": [
0
],
"Keyword": "",
"TeamId": "",
"ApplicationId": "",
"PlatformId": "T04257DS9431720WTAG"
}
{
"Response": {
"Data": {
"TotalCount": 2,
"DataList": [
{
"ApprovalNo": "aud4u4c07kp6rxiobb",
"ApplicationId": "app-cc6g35711m",
"ApprovalStatus": 0,
"MNPId": "mpg9yjc0qbpkelik",
"MNPVersion": "1.0.278",
"MNPVersionId": 2597,
"ApplyUser": "800001208871",
"ApplyTime": "1724142667",
"MNPName": "autotest_miniapp",
"MNPIcon": "http://127.0.0.1/T04257DS9431720WTAG/console/20240820163008-be93fce134.png",
"ApplicationName": "autotest_app",
"ApplicationLogo": "https://api.tcmpp-staging.tmfcloud.com:80/Mutable/T04257DS9431720WTAG/console/20240802112441-cf9ba6bd4c.png",
"TeamId": "1363731006",
"TeamName": "autotest_mini_team",
"MNPQrCodeUrl": "",
"MNPType": "Logistics Services->1_Pickup/Delivery,Life Service->144_Lilliputian Services",
"ApprovalUser": "",
"ApprovalTime": "0",
"ApprovalNote": ""
},
{
"ApprovalNo": "aud6ad75lmlbhkt4gw",
"ApplicationId": "app-2850c8no39",
"ApprovalStatus": 0,
"MNPId": "mp7u6lgkgphi64zo",
"MNPVersion": "1.0.1",
"MNPVersionId": 2575,
"ApplyUser": "vinya",
"ApplyTime": "1724120926",
"MNPName": "vinya_mini1",
"MNPIcon": "http://127.0.0.1/T04257DS9431720WTAG/tcmpp/20240820-595579dd-a7bd-4d98-b0ec-91ede0738c5b.png",
"ApplicationName": "eric_app",
"ApplicationLogo": "http://127.0.0.1/T04257DS9431720WTAG/console/20240819190628-466c76bda4.png",
"TeamId": "7681161954",
"TeamName": "vinya_mini",
"MNPQrCodeUrl": "",
"MNPType": "Education Services->4_Driving School Training",
"ApprovalUser": "",
"ApprovalTime": "0",
"ApprovalNote": ""
}
]
},
"RequestId": "3effa0e6-397c-4d51-b6ad-7626b32013bb"
}
}
TencentCloud API 3.0 integrates SDKs that support various programming languages to make it easier for you to call APIs.
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. |
FailedOperation.PackageAlreadyExpired | The TCMPP plan under the current account has expired. |
InternalError | Internal error |
InvalidParameterValue | Invalid parameter value. |
InvalidParameterValue.InvalidPlatformId | Invalid platform ID |
InvalidParameterValue.QueryParameterLengthExceedLimit | The length of the query parameter exceeds 64 characters. |
문제 해결에 도움이 되었나요?