route_create
Create a new route for an Edge Routine to manage traffic routing and security rules for specific site paths or domains.
Instructions
Create a new route associated with an Edge Routine (ER).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| siteId | Yes | The ID of the site | |
| mode | Yes | The mode of the route, default is simple | |
| route | No | The route of the route, if mode is simple, this field is required. For example: test.example.com/* | |
| rule | Yes | The rule of the route, if mode is custom, this field is required | |
| routineName | Yes | The name of the routine | |
| routeName | Yes | The name of the route, use to identify the route. For example: test-route | |
| bypass | Yes | The bypass of the route, default is off | |
| routeEnable | Yes | The enable of the route, default is on | |
| sequence | No | The sequence of the route, if not passed, default is the current number of routes |