Sha256: 2b24aea7d2b3c599aefba3185827e2942e7f8c1846e49c73f2d9a41c8f357d56

Contents?: true

Size: 1.74 KB

Versions: 1

Compression:

Stored size: 1.74 KB

Contents

{
  "parameters": [

  ],
  "response_fields": [

  ],
  "requests": [
    {
      "request_headers": {
        "Content-Type": "application/json"
      },
      "request_query_parameters": {
      },
      "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",
        "Cache-Control": "no-cache, no-store, must-revalidate",
        "X-Request-Id": "6eea893f-f81e-4669-809c-f9b221fd43b8",
        "X-Runtime": "0.049095",
        "Expires": "0"
      },
      "request_method": "PATCH",
      "request_path": "/api/admin/pages/5d5ecb81d4322a04dfbf79d3",
      "request_body": "{\"active\":true,\"created_at\":\"2019-08-22T17:06:09.402Z\",\"display_h1\":true,\"name\":\"Test Page\",\"show_navigation\":false,\"subscribed_user_ids\":[],\"tags\":[],\"template\":\"generic\",\"updated_at\":\"2019-08-22T17:06:09.402Z\"}",
      "request_content_type": "application/json",
      "response_status": 204,
      "response_status_text": "No Content",
      "response_body": null,
      "response_content_type": null,
      "curl": "curl \"https://www.example.com/api/admin/pages/5d5ecb81d4322a04dfbf79d3\" -d '{\"active\":true,\"created_at\":\"2019-08-22T17:06:09.402Z\",\"display_h1\":true,\"name\":\"Test Page\",\"show_navigation\":false,\"subscribed_user_ids\":[],\"tags\":[],\"template\":\"generic\",\"updated_at\":\"2019-08-22T17:06:09.402Z\"}' -X PATCH \\\n\t-H \"Content-Type: application/json\""
    }
  ],
  "resource": "Pages",
  "description": "Updating a page",
  "route": "/api/admin/pages/:id",
  "http_method": "PATCH"
}

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
workarea-api-4.4.7 doc/api/admin/pages/updating_a_page.json