Sha256: 12f1798ba639a983ce2f261b2104b1be88ea623a18ddc0f1d12b5bc64ca1ca08

Contents?: true

Size: 1.91 KB

Versions: 2

Compression:

Stored size: 1.91 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",
        "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, 19 Aug 2020 13:56:53 GMT",
        "Cache-Control": "no-cache, no-store, must-revalidate",
        "X-Request-Id": "8fead0ec-227d-4ff5-87dd-188d539c8fc1",
        "X-Runtime": "0.008364",
        "X-Workarea-Segments": "",
        "Expires": "0",
        "Content-Length": "0"
      },
      "request_method": "POST",
      "request_path": "/api/storefront/analytics/search",
      "request_body": "{\"q\":\"foo\",\"total_results\":5}",
      "request_content_type": "application/json",
      "response_status": 200,
      "response_status_text": "OK",
      "response_body": null,
      "response_content_type": "application/json",
      "curl": "curl \"https://www.example.com/api/storefront/analytics/search\" -d '{\"q\":\"foo\",\"total_results\":5}' -X POST \\\n\t-H \"Content-Type: application/json\""
    }
  ],
  "resource": "Analytics",
  "description": "Saving a search",
  "route": "/api/storefront/analytics/search",
  "explanation": "<p>Saving a search will be reflected in admin reports. This is intended<br>\nto be called once per search performed by a customer.</p>\n",
  "http_method": "POST"
}

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
workarea-api-4.5.6 doc/api/storefront/analytics/saving_a_search.json
workarea-api-4.5.5 doc/api/storefront/analytics/saving_a_search.json