{ "parameters": [ { "name": "page", "description": "Current page" }, { "name": "sort_by", "description": "Field on which to sort (see responses for possible values)" }, { "name": "sort_direction", "description": "Direction to sort (asc or desc)" } ], "response_fields": [ ], "requests": [ { "request_headers": { }, "request_query_parameters": { "page": "1", "sort_by": "created_at", "sort_direction": "desc" }, "response_headers": { "X-Frame-Options": "SAMEORIGIN", "X-XSS-Protection": "1; mode=block", "X-Content-Type-Options": "nosniff", "X-Download-Options": "noopen", "X-Permitted-Cross-Domain-Policies": "none", "Referrer-Policy": "strict-origin-when-cross-origin", "Content-Type": "application/json; charset=utf-8", "ETag": "W/\"0bda266b97506ffb405aa61a00d58e49\"", "Cache-Control": "no-cache, no-store, must-revalidate", "X-Request-Id": "3e24c479-0c5d-4e21-ac08-e68463ed6b8d", "X-Runtime": "0.007093", "Expires": "0", "Content-Length": "323" }, "request_method": "GET", "request_path": "/api/admin/redirects?page=1&sort_by=created_at&sort_direction=desc", "request_body": null, "request_content_type": null, "response_status": 200, "response_status_text": "OK", "response_body": "{\n \"redirects\": [\n {\n \"_id\": \"5d5dbda0d4322a4b69d79337\",\n \"created_at\": \"2019-08-21T21:54:40.228Z\",\n \"destination\": \"/pages/faq\",\n \"path\": \"/1\",\n \"updated_at\": \"2019-08-21T21:54:40.228Z\"\n },\n {\n \"_id\": \"5d5dbda0d4322a4b69d79336\",\n \"created_at\": \"2019-08-21T21:54:40.224Z\",\n \"destination\": \"/pages/faq\",\n \"path\": \"/0\",\n \"updated_at\": \"2019-08-21T21:54:40.224Z\"\n }\n ]\n}", "response_content_type": "application/json", "curl": "curl -g \"https://www.example.com/api/admin/redirects?page=1&sort_by=created_at&sort_direction=desc\" -X GET " } ], "resource": "Redirects", "description": "Listing redirects", "route": "/api/admin/redirects", "http_method": "GET" }