Sha256: 3c87539b693b8c585380c9b6e274807f64cb8d351a0069c320b25bcd2c4322c1

Contents?: true

Size: 1.88 KB

Versions: 4

Compression:

Stored size: 1.88 KB

Contents

{
  "parameters": [

  ],
  "response_fields": [

  ],
  "requests": [
    {
      "request_headers": {
        "Content-Type": "application/x-www-form-urlencoded"
      },
      "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",
        "Content-Type": "application/json",
        "Access-Control-Allow-Origin": "*",
        "Access-Control-Allow-Headers": "*",
        "Access-Control-Allow-Methods": "GET, POST, PATCH, PUT, DELETE, OPTIONS",
        "X-Requested-With": "",
        "Vary": "X-Requested-With, X-Workarea-Segments",
        "Last-Modified": "Wed, 27 Nov 2019 00:49:50 GMT",
        "Cache-Control": "no-cache, no-store, must-revalidate",
        "X-Request-Id": "c90fb4ed-3560-41d0-bebf-9093dc49aebb",
        "X-Runtime": "0.007557",
        "X-Workarea-Segments": "",
        "Expires": "0",
        "Content-Length": "0"
      },
      "request_method": "POST",
      "request_path": "/api/storefront/analytics/product_view/12345",
      "request_body": null,
      "request_content_type": "application/x-www-form-urlencoded",
      "response_status": 200,
      "response_status_text": "OK",
      "response_body": null,
      "response_content_type": "application/json",
      "curl": "curl \"https://www.example.com/api/storefront/analytics/product_view/12345\" -d '' -X POST \\\n\t-H \"Content-Type: application/x-www-form-urlencoded\""
    }
  ],
  "resource": "Analytics",
  "description": "saving a product view",
  "route": "/api/storefront/analytics/product_view/:product_id",
  "explanation": "<p>saving a product view will be reflected in admin reports</p>\n",
  "http_method": "POST"
}

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
workarea-api-4.5.4 doc/api/storefront/analytics/saving_a_product_view.json
workarea-api-4.5.3 doc/api/storefront/analytics/saving_a_product_view.json
workarea-api-4.5.2 doc/api/storefront/analytics/saving_a_product_view.json
workarea-api-4.5.0 doc/api/storefront/analytics/saving_a_product_view.json