{ "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/\"d7528c040d4815d64596afb056b425cc\"", "Cache-Control": "no-cache, no-store, must-revalidate", "X-Request-Id": "cb2d5b47-e8d4-42a5-b843-77b9af108d29", "X-Runtime": "0.006066", "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\": \"5d5ecb80d4322a04dfbf79ce\",\n \"active\": true,\n \"created_at\": \"2019-08-22T17:06:08.667Z\",\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-22T17:06:08.667Z\"\n },\n {\n \"_id\": \"5d5ecb80d4322a04dfbf79cc\",\n \"active\": true,\n \"created_at\": \"2019-08-22T17:06:08.597Z\",\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-22T17:06:08.597Z\"\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" }