Retrieve redirect and rewrite rules
GET {{baseUrl}}/services/:serviceId/routes?type=rewrite,redirect&source=<string>,<string>&destination=<string>,<string>&cursor=<string>&limit=20
Request Params
Key | Datatype | Required | Description |
---|---|---|---|
type | string | Filter for the type of route rule | |
source | string | Filter for the source path of the route | |
destination | string | Filter for the destination path of the route | |
cursor | string | Cursor to begin retrieving entries for this query | |
limit | number | Max number of items that can be returned |
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
Accept | string |
RESPONSES
status: OK
[{"routes":{"type":"redirect","source":"\u003cstring\u003e","destination":"\u003cstring\u003e"},"cursor":"\u003cstring\u003e"},{"routes":{"type":"redirect","source":"\u003cstring\u003e","destination":"\u003cstring\u003e"},"cursor":"\u003cstring\u003e"}]