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

KeyDatatypeRequiredDescription
typestringFilter for the type of route rule
sourcestringFilter for the source path of the route
destinationstringFilter for the destination path of the route
cursorstringCursor to begin retrieving entries for this query
limitnumberMax number of items that can be returned

HEADERS

KeyDatatypeRequiredDescription
Acceptstring

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"}]