Queries application metadata by ID and type.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
arms:QueryAppMetadata |
get |
*All Resource
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| MetaIds |
string |
Yes |
The metadata IDs. Use a comma (,) to separate multiple IDs. You can obtain the exception ID on the exception analysis page of the target application in the ARMS console. |
4c9dd447,3c76c565 |
| MetaType |
string |
Yes |
The type of the metadata. Valid values:
Valid values:
|
sql |
| Pid |
string |
Yes |
The application ID. To obtain the ID, call the ListTraceApps operation. |
ggxw4lnjuz@54364d85b****** |
| RegionId |
string |
Yes |
The region ID. |
cn-hangzhou |
| StartTimeMs |
integer |
No |
||
| EndTimeMs |
integer |
No |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
The response object. |
||
| RequestId |
string |
The request ID. |
51877BAC-330C-5845-BDFD-C7859AD33FB7 |
| Data |
object |
The returned object. |
{'408d5533': 'SELECT * FROM user_base_info'} |
| Code |
integer |
The API call status.
|
200 |
| HttpStatusCode |
integer |
The HTTP status code. |
200 |
| Success |
boolean |
Indicates whether the query was successful.
|
True |
Examples
Success response
JSON format
{
"RequestId": "51877BAC-330C-5845-BDFD-C7859AD33FB7",
"Data": {
"test": "test",
"test2": 1
},
"Code": 200,
"HttpStatusCode": 200,
"Success": true
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.