ListTags
Queries the tags of a script. This is a legacy canvas API.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
outboundbot:ListTags |
list |
*All Resource
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| InstanceId |
string |
Yes |
The ID of the instance. |
8fa1953f-4a84-46d8-b80c-8ce9cf684fb3 |
| ScriptId |
string |
Yes |
The ID of the script. |
8a4c6d3d-5ed6-44ca-b779-16c20f8862be |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| HttpStatusCode |
integer |
The HTTP status code. |
200 |
| Code |
string |
The response code. |
OK |
| Message |
string |
The response message. |
Success |
| RequestId |
string |
The request ID. |
254EB995-DEDF-48A4-9101-9CA5B72FFBCC |
| Success |
boolean |
Indicates whether the request was successful. |
true |
| TagGroups |
array<object> |
The list of tag groups. |
|
|
object |
A tag group. |
||
| TagGroupId |
string |
The ID of the tag group. |
38c03261-9fe8-4b9b-8c3b-983a60319012 |
| TagGroupIndex |
integer |
The index of the tag group. |
1 |
| TagGroup |
string |
The name of the tag group. |
当前学历 |
| ScriptId |
string |
The ID of the script. |
365b955d-6f4d-4ab5-a6e1-9a301307f4b1 |
| Tags |
array<object> |
The list of tags. |
|
|
object |
A tag. |
||
| TagGroup |
string |
The name of the tag group. |
当前学历 |
| TagName |
string |
The name of the tag. |
本科 |
| TagIndex |
integer |
The index of the tag. |
1 |
| ScriptId |
string |
The ID of the script. |
8a4c6d3d-5ed6-44ca-b779-16c20f8862be |
| TagId |
string |
The ID of the tag. |
d62be647-6202-4b1f-9708-0baeec552635 |
Examples
Success response
JSON format
{
"HttpStatusCode": 200,
"Code": "OK",
"Message": "Success",
"RequestId": "254EB995-DEDF-48A4-9101-9CA5B72FFBCC",
"Success": true,
"TagGroups": [
{
"TagGroupId": "38c03261-9fe8-4b9b-8c3b-983a60319012",
"TagGroupIndex": 1,
"TagGroup": "当前学历",
"ScriptId": "365b955d-6f4d-4ab5-a6e1-9a301307f4b1"
}
],
"Tags": [
{
"TagGroup": "当前学历",
"TagName": "本科",
"TagIndex": 1,
"ScriptId": "8a4c6d3d-5ed6-44ca-b779-16c20f8862be",
"TagId": "d62be647-6202-4b1f-9708-0baeec552635"
}
]
}
Error codes
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 500 | InternalError | An error occurred while processing your request. Please try again later. Submit a ticket if the error still exists. | |
| 404 | NotExist.Instance | The specified Instance does not exist. | |
| 404 | NotExist.Script | The specified Script does not exist. |
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.