Domain name for API request: tcmpp.tencentcloudapi.com.
This API is used to query the mini program version management information
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: DescribeMNPAllStageVersions. |
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. |
MNPId | Yes | String | Mini program ID |
PlatformId | Yes | String | Platform ID |
Parameter Name | Type | Description |
---|---|---|
Data | Array of DescribeMPAllStageVersionsResp | 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: DescribeMNPAllStageVersions
<Common request parameters>
{
"MNPId": "mpg9yjc0qbpkelik",
"PlatformId": "T04257DS9431720WTAG"
}
{
"Response": {
"Data": [
{
"MNPId": "mpg9yjc0qbpkelik",
"MNPVersionId": 2596,
"MNPName": "autotest_miniapp",
"MNPIcon": "http://127.0.0.1/T04257DS9431720WTAG/console/20240820061043-30fc239971.png",
"MNPType": "Logistics Services->1_Pickup/Delivery,Life Service->144_Lilliputian Services",
"MNPIntro": "test",
"MNPDesc": "test",
"CreateUser": "autotest_op",
"CreateTime": "1724142147",
"MNPVersion": "1.0.277",
"MNPVersionIntro": "test",
"Phase": "Platform",
"ApprovalNo": "aud7hnb70973ng51ca",
"ApprovalStatus": 3,
"VersionCurrentStatus": 3,
"ShowCase": 1,
"RollbackVersion": 0,
"Status": 1
},
{
"MNPId": "mpg9yjc0qbpkelik",
"MNPVersionId": 2596,
"MNPName": "autotest_miniapp",
"MNPIcon": "http://127.0.0.1/T04257DS9431720WTAG/console/20240820061043-30fc239971.png",
"MNPType": "Logistics Services->1_Pickup/Delivery,Life Service->144_Lilliputian Services",
"MNPIntro": "test",
"MNPDesc": "test",
"CreateUser": "autotest_op",
"CreateTime": "1724142147",
"MNPVersion": "1.0.277",
"MNPVersionIntro": "test",
"Phase": "Online",
"ApprovalNo": "aud7hnb70973ng51ca",
"ApprovalStatus": 3,
"VersionCurrentStatus": 3,
"ShowCase": 1,
"RollbackVersion": 0,
"Status": 1
},
{
"MNPId": "mpg9yjc0qbpkelik",
"MNPVersionId": 2596,
"MNPName": "autotest_miniapp",
"MNPIcon": "http://127.0.0.1/T04257DS9431720WTAG/console/20240820061043-30fc239971.png",
"MNPType": "Logistics Services->1_Pickup/Delivery,Life Service->144_Lilliputian Services",
"MNPIntro": "test",
"MNPDesc": "test",
"CreateUser": "autotest_op",
"CreateTime": "1724142147",
"MNPVersion": "1.0.277",
"MNPVersionIntro": "test",
"Phase": "Develop",
"ApprovalNo": "aud7hnb70973ng51ca",
"ApprovalStatus": 3,
"VersionCurrentStatus": 3,
"ShowCase": 1,
"RollbackVersion": 0,
"Status": 1
},
{
"MNPId": "mpg9yjc0qbpkelik",
"MNPVersionId": 2395,
"MNPName": "autotest_miniapp",
"MNPIcon": "https://api.tcmpp-staging.tmfcloud.com:80/Mutable/T04257DS9431720WTAG/console/20240802101902-805af7c9bf.png",
"MNPType": "Logistics Services->1_Pickup/Delivery,Life Service->144_Lilliputian Services",
"MNPIntro": "For automatic test 0820163007",
"MNPDesc": "This mini program is used for automatic test 0820163007",
"CreateUser": "admin",
"CreateTime": "1722571328",
"MNPVersion": "1.0.115",
"MNPVersionIntro": "add a new mnp version from console",
"Phase": "Develop",
"ApprovalNo": "",
"ApprovalStatus": 3,
"VersionCurrentStatus": 0,
"ShowCase": 0,
"RollbackVersion": 0,
"Status": 1
},
{
"MNPId": "mpg9yjc0qbpkelik",
"MNPVersionId": 2582,
"MNPName": "autotest_miniapp",
"MNPIcon": "http://127.0.0.1/T04257DS9431720WTAG/console/20240820061043-30fc239971.png",
"MNPType": "Logistics Services->1_Pickup/Delivery,Life Service->144_Lilliputian Services",
"MNPIntro": "test",
"MNPDesc": "test",
"CreateUser": "800001208871",
"CreateTime": "1724127655",
"MNPVersion": "1.0.276",
"MNPVersionIntro": "213123",
"Phase": "Develop",
"ApprovalNo": "audlyeenb7l9rfd51z",
"ApprovalStatus": 3,
"VersionCurrentStatus": 3,
"ShowCase": 0,
"RollbackVersion": 0,
"Status": 1
}
],
"RequestId": "2802e966-d4ab-4a91-8350-00b803e5a49c"
}
}
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 |
InvalidParameter | Incorrect parameter. |
InvalidParameterValue | Invalid parameter value. |
InvalidParameterValue.InvalidMNPId | Invalid mini program ID |
InvalidParameterValue.InvalidPlatformId | Invalid platform ID |
문제 해결에 도움이 되었나요?