Call the GetTagKey operation to retrieve tag keys.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
xtrace:SearchTrace |
get |
*All Resource
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| RegionId |
string |
Yes |
The region ID. |
cn-beijing |
| ServiceName |
string |
No |
The service name, also known as the application name. |
appTest |
| SpanName |
string |
No |
The Span name, also known as the Operation name. |
createOrder |
| StartTime |
integer |
No |
The start timestamp, in milliseconds (ms). Important This parameter is of the Long type. Precision may be lost during serialization and deserialization. The value cannot exceed 9007199254740991. |
1575561600000 |
| EndTime |
integer |
No |
The end timestamp, in milliseconds (ms). Important This parameter is of the Long type. Precision may be lost during serialization and deserialization. The value cannot exceed 9007199254740991. |
1575622455686 |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| RequestId |
string |
The request ID. |
1E2B6A4C-6B83-4062-8B6F-AEEC1F****** |
| TagKeys |
object |
||
| TagKey |
array |
A list of tag keys. |
|
|
string |
A list of tag keys. |
{"TagKey":["date","resultCount","aTid"]} |
Examples
Success response
JSON format
{
"RequestId": "1E2B6A4C-6B83-4062-8B6F-AEEC1F******",
"TagKeys": {
"TagKey": [
"{\"TagKey\":[\"date\",\"resultCount\",\"aTid\"]}"
]
}
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.