Sha256: 2f27c125524f834aedff9f8d19af03a00bf8a56b3689f9c0aa029131ba9cc917

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": "cc036fdb-e3e2-41d5-a56b-fba3d0f63da0",
        "X-Runtime": "0.048711",
        "Expires": "0"
      },
      "request_method": "PATCH",
      "request_path": "/api/admin/pages/5d5dbdaad4322a4b69d793c9",
      "request_body": "{\"active\":true,\"created_at\":\"2019-08-21T21:54:50.980Z\",\"display_h1\":true,\"name\":\"Test Page\",\"show_navigation\":false,\"subscribed_user_ids\":[],\"tags\":[],\"template\":\"generic\",\"updated_at\":\"2019-08-21T21:54:50.980Z\"}",
      "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/5d5dbdaad4322a4b69d793c9\" -d '{\"active\":true,\"created_at\":\"2019-08-21T21:54:50.980Z\",\"display_h1\":true,\"name\":\"Test Page\",\"show_navigation\":false,\"subscribed_user_ids\":[],\"tags\":[],\"template\":\"generic\",\"updated_at\":\"2019-08-21T21:54:50.980Z\"}' -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.6 doc/api/admin/pages/updating_a_page.json