All Products
Search
Document Center

Enterprise Distributed Application Service:UpdateSwimmingLaneGroup

Last Updated:Jan 08, 2024

Updates a lane group.

Debugging

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

Debug

Authorization information

There is currently no authorization information disclosed in the API.

Request syntax

PUT /pop/v5/trafficmgnt/swimming_lane_groups

Request parameters

ParameterTypeRequiredDescriptionExample
GroupIdlongYes

The ID of the lane group.

98
NamestringYes

The name of the lane group.

test-swimlanegroup
EntryAppstringNo

The ingress application. The application is in the EDAS:{application ID} format.

EDAS:dd2690a7-3fe4-4975-9a4c-5a60ffd6****
AppIdsstringYes

The list of application IDs related to the lane group.

8e7689af-6ddd-4676-8ee6-5fbecdf2****,f72deaac-26ba-429a-948d-5fa47c4a****,5049d2c8-f997-4fc9-92a2-153506a6****,99a2d4b5-99a5-4e25-a964-1bd03a17****

Response parameters

ParameterTypeDescriptionExample
object

The content that is returned.

Codeinteger

The HTTP status code that is returned.

200
Messagestring

The additional information that is returned.

success
RequestIdstring

The ID of the request.

7580ED24-A2F0-5ECC-9F2B-B92E2509****
Dataobject

The data that is returned.

NamespaceIdstring

The ID of the namespace.

cn-hangzhou:test
Namestring

The name of the lane group.

name
Idlong

The ID of the lane group.

98
ApplicationListobject []

The list of applications related to the lane group.

AppNamestring

The name of the application.

test-app
AppIdstring

The ID of the application.

476d26d9-b54c-40b8-8af9-d898cdc2****
EntryApplicationobject

The EDAS ingress gateway information.

AppNamestring

The name of the application.

test-gateway
AppIdstring

The ID of the application.

d52c9de9-53d0-4191-aa72-88974a6f****

Examples

Sample success responses

JSONformat

{
  "Code": 200,
  "Message": "success",
  "RequestId": "7580ED24-A2F0-5ECC-9F2B-B92E2509****",
  "Data": {
    "NamespaceId": "cn-hangzhou:test",
    "Name": "name",
    "Id": 98,
    "ApplicationList": [
      {
        "AppName": "test-app",
        "AppId": "476d26d9-b54c-40b8-8af9-d898cdc2****"
      }
    ],
    "EntryApplication": {
      "AppName": "test-gateway",
      "AppId": "d52c9de9-53d0-4191-aa72-88974a6f****"
    }
  }
}

Error codes

HTTP status codeError codeError messageDescription
500OperationFailed.AuthExchangeError transforming authentication data into whitelist rules.Error transforming authentication data into whitelist rules.

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

Change history

Change timeSummary of changesOperation
No change history