This API is used to query tags of specified streams.
GET /v2/{project_id}/stream/{stream_id}/tags
Parameter |
Mandatory |
Type |
Description |
|---|---|---|---|
project_id |
Yes |
String |
Project ID. |
stream_id |
Yes |
String |
Stream ID. |
Parameter |
Mandatory |
Type |
Description |
|---|---|---|---|
X-Auth-Token |
Yes |
String |
User token. The token can be obtained by calling the IAM API (value of X-Subject-Token in the response header). |
Status code: 200
Parameter |
Type |
Description |
|---|---|---|
tags |
Array of Tag objects |
Label list. |
Parameter |
Type |
Description |
|---|---|---|
key |
String |
Key.
Minimum: 1 Maximum: 36 |
value |
String |
Value.
Minimum: 0 Maximum: 43 |
This API is used to query tags of specified streams.
GET https://{Endpoint}/v2/{project_id}/stream/{stream_id}/tags
Status code: 200
Response body of the stream tag information.
{
"tags" : [ {
"key" : "key1",
"value" : "value1"
}, {
"key" : "key2",
"value" : "value3"
} ]
}
Status Code |
Description |
|---|---|
200 |
Response body of the stream tag information. |
See Error Codes.