Obtaining the DevServer Supernode Tags
Function
This API is used to obtain the DevServer supernode tags.
Debugging
You can debug this API through automatic authentication in API Explorer or use the SDK sample code generated by API Explorer.
URI
GET /v1/{project_id}/dev-servers/hyperinstance/{id}/tags
Parameter |
Mandatory |
Type |
Description |
---|---|---|---|
id |
Yes |
String |
Definition: ID of the DevServer supernode |
project_id |
Yes |
String |
Definition: Project ID Constraints: For details, see Obtaining a Project ID and Name. Range: N/A Default Value: N/A |
Request Parameters
None
Response Parameters
Status code: 200
Parameter |
Type |
Description |
---|---|---|
X-Request-Id |
String |
Link trace ID. |
Parameter |
Type |
Description |
---|---|---|
tags |
Array of TmsTag objects |
Tag list. |
Parameter |
Type |
Description |
---|---|---|
key |
String |
Definition: Key of a TMS tag. Constraints: N/A Range: The value allows up to 128 characters, including letters, digits, spaces, and special characters (_.:=+-@). The value cannot start or end with a space or start with sys. Default Value: N/A |
value |
String |
Definition: Value of a TMS tag. Constraints: N/A Range: The value allows up to 255 characters, including letters, digits, spaces, and special characters (_.:/=+-@). Default Value: N/A |
Status code: 400
Parameter |
Type |
Description |
---|---|---|
X-Request-Id |
String |
Link trace ID. |
Parameter |
Type |
Description |
---|---|---|
error_code |
String |
Range: N/A |
error_msg |
String |
Definition: Error message. Range: N/A |
Status code: 401
Parameter |
Type |
Description |
---|---|---|
X-Request-Id |
String |
Link trace ID. |
Parameter |
Type |
Description |
---|---|---|
error_code |
String |
Range: N/A |
error_msg |
String |
Definition: Error message. Range: N/A |
Status code: 403
Parameter |
Type |
Description |
---|---|---|
X-Request-Id |
String |
Link trace ID. |
Parameter |
Type |
Description |
---|---|---|
error_code |
String |
Range: N/A |
error_msg |
String |
Definition: Error message. Range: N/A |
Status code: 500
Parameter |
Type |
Description |
---|---|---|
X-Request-Id |
String |
Link trace ID. |
Parameter |
Type |
Description |
---|---|---|
error_code |
String |
Range: N/A |
error_msg |
String |
Definition: Error message. Range: N/A |
Example Requests
GET https://{endpoint}/v1/{project_id}/dev-servers/hyperinstance/{id}/tags
Example Responses
Status code: 200
Definition: Response body of the tag list
{ "tags" : [ { "key" : "k1", "value" : "v1" }, { "key" : "k2", "value" : "v2" }, { "key" : "k3", "value" : "v3" }, { "key" : "k4", "value" : "v4" } ] }
Status Codes
Status Code |
Description |
---|---|
200 |
Definition: Response body of the tag list |
400 |
Bad Request |
401 |
Unauthorized |
403 |
Forbidden |
500 |
Server Internal Error |
Error Codes
See Error Codes.
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.See the reply and handling status in My Cloud VOC.
For any further questions, feel free to contact us through the chatbot.
Chatbot