All Products
Search
Document Center

Enterprise Distributed Application Service:InsertSwimmingLaneGroup

Last Updated:Jan 08, 2024

Creates 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

POST /pop/v5/trafficmgnt/swimming_lane_groups

Request parameters

ParameterTypeRequiredDescriptionExample
NamestringYes

The name of the lane group.

test
EntryAppstringYes

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

EDAS:5cc89013-9232-4b36-b3eb-ff89b3d2****
AppIdsstringYes

IDs of all applications that are related to the lane group. Separate multiple applications with commas (,).

bdb251cc-02a6-48dd-891b-2ab21b25****,ee33ed0c-fddc-47b5-9f63-e1ccc4be****
LogicalRegionIdstringYes

The ID of the custom namespace. The ID is in the physical region ID:custom namespace identifier format. Example: cn-hangzhou:test.

cn-hangzhou:test

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.

D5268CAC-D356-5C8D-BC7C-FBE0D13B****
Dataobject

The data that is returned.

NamespaceIdstring

The ID of the namespace.

cn-hangzhou:test
Namestring

The name of the lane group.

test
Idlong

The ID of the lane group.

64
ApplicationListobject []

The list of all applications that are related to the lane group.

AppNamestring

The name of the application.

test-app
AppIdstring

The ID of the application.

bdb251cc-02a6-48dd-891b-2ab21b25****
EntryApplicationobject

The information about the Enterprise Distributed Application Service (EDAS) ingress gateway.

AppNamestring

The name of the application.

test-app
AppIdstring

The ID of the application.

bdb251cc-02a6-48dd-891b-2ab21b25c****

Examples

Sample success responses

JSONformat

{
  "Code": 200,
  "Message": "success",
  "RequestId": "D5268CAC-D356-5C8D-BC7C-FBE0D13B****",
  "Data": {
    "NamespaceId": "cn-hangzhou:test",
    "Name": "test",
    "Id": 64,
    "ApplicationList": {
      "Application": [
        {
          "AppName": "test-app",
          "AppId": "bdb251cc-02a6-48dd-891b-2ab21b25****"
        }
      ]
    },
    "EntryApplication": {
      "AppName": "test-app",
      "AppId": "bdb251cc-02a6-48dd-891b-2ab21b25c****"
    }
  }
}

Error codes

HTTP status codeError codeError messageDescription
605Edas.errorcode.ParameterInvalid.PointedParameter.messageThe value of parameter {0} is invalid.Invalid parameters: {0}

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