All Products
Search
Document Center

Microservices Engine:QueryGatewayType

Last Updated:Apr 17, 2024

Queries available gateway types.

Debugging

OpenAPI Explorer automatically calculates the signature value. For your convenience, we recommend that you call this operation in OpenAPI Explorer.

Authorization information

There is currently no authorization information disclosed in the API.

Request parameters

ParameterTypeRequiredDescriptionExample
AcceptLanguagestringNo

The language of the response. Valid values:

  • zh: Chinese
  • en: English
zh

Response parameters

ParameterTypeDescriptionExample
object

The data structure.

RequestIdstring

The ID of the request.

52BA6DA6-A702-4362-A32F-DFF79655****
HttpStatusCodeinteger

The HTTP status code returned.

200
Messagestring

The message returned. If the request is successful, a success message is returned. If the request fails, an error message is returned.

The request is successfully processed.
Codeinteger

The status code returned. The value 200 indicates that the request was successful. Other values indicate that the request failed.

200
Successboolean

Indicates whether the request was successful. Valid values:

  • true: The request was successful.
  • false: The request failed.
true
Dataarray

The information about the gateway type. The data type of this parameter is List.

string

The type of the gateway.

Ingress

Examples

Sample success responses

JSONformat

{
  "RequestId": "52BA6DA6-A702-4362-A32F-DFF79655****",
  "HttpStatusCode": 200,
  "Message": "The request is successfully processed.\n",
  "Code": 200,
  "Success": true,
  "Data": [
    "Ingress"
  ]
}

Error codes

HTTP status codeError codeError messageDescription
400IllegalRequestInvalid request:%sInvalid request: %s
400InvalidParameterParameter error:%sRequest parameter error: %s
403NoPermissionYou are not authorized to perform this operation:%sYou do not have the permission to use this interface:%s
404NotFoundNot found:%sThe resource does not exist:%s
500InternalErrorConsole error. Try again later:%sConsole error. Try again later: %s

For a list of error codes, visit the Service error codes.

Change history

Change timeSummary of changesOperation
2023-08-24The internal configuration of the API is changed, but the call is not affectedsee changesets
Change itemChange content
The internal configuration of the API is changed, but the call is not affected.
2021-05-26Add Operationsee changesets