Retrieve redirect and rewrite rules
GET {{baseUrl}}/services/:serviceId/routes?type=redirect,redirect&source=sed aliqua qui anim,do&destination=sed aliqua qui anim,do&cursor=Lorem amet sin&limit=20
https://api-docs.render.com/reference/get-routes
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":"rewrite","source":"fugiat Lorem dolor","destination":"in occaecat proident qui incididunt"},"cursor":"anim labore"},{"routes":{"type":"redirect","source":"anim dolor dolore","destination":"ad sint quis"},"cursor":"cillum reprehenderit esse"}]