{ "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/\"3d4b32e59c81ecc7e415f152459fe9ef\"", "Cache-Control": "no-cache, no-store, must-revalidate", "X-Request-Id": "c0e56b81-31c9-47f8-bd57-52c8f51aecff", "X-Runtime": "0.008159", "Expires": "0", "Content-Length": "543" }, "request_method": "GET", "request_path": "/api/admin/pages?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 \"pages\": [\n {\n \"_id\": \"5d5dbda9d4322a4b69d793bf\",\n \"active\": true,\n \"created_at\": \"2019-08-21T21:54:49.689Z\",\n \"display_h1\": true,\n \"name\": \"Test Page\",\n \"show_navigation\": false,\n \"slug\": \"test-page-1\",\n \"subscribed_user_ids\": [\n\n ],\n \"tags\": [\n\n ],\n \"template\": \"generic\",\n \"updated_at\": \"2019-08-21T21:54:49.689Z\"\n },\n {\n \"_id\": \"5d5dbda9d4322a4b69d793bd\",\n \"active\": true,\n \"created_at\": \"2019-08-21T21:54:49.626Z\",\n \"display_h1\": true,\n \"name\": \"Test Page\",\n \"show_navigation\": false,\n \"slug\": \"test-page\",\n \"subscribed_user_ids\": [\n\n ],\n \"tags\": [\n\n ],\n \"template\": \"generic\",\n \"updated_at\": \"2019-08-21T21:54:49.626Z\"\n }\n ]\n}", "response_content_type": "application/json", "curl": "curl -g \"https://www.example.com/api/admin/pages?page=1&sort_by=created_at&sort_direction=desc\" -X GET " } ], "resource": "Pages", "description": "Listing pages", "route": "/api/admin/pages", "http_method": "GET" }