Sha256: 51cf4845babab7593c435a31584b6d8bdbe42b605832a8810feb18f24ef9fd46

Contents?: true

Size: 1.91 KB

Versions: 4

Compression:

Stored size: 1.91 KB

Contents

{
  "parameters": [

  ],
  "response_fields": [

  ],
  "requests": [
    {
      "request_headers": {
      },
      "request_query_parameters": {
        "q": "red"
      },
      "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",
        "Date": "Wed, 27 Nov 2019 00:55:07 GMT",
        "Content-Type": "application/json; charset=utf-8",
        "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:55:07 GMT",
        "Cache-Control": "no-cache, no-store, must-revalidate",
        "X-Request-Id": "4c7ada86-44f8-4488-a832-5ff1a8535956",
        "X-Runtime": "0.012656",
        "X-Workarea-Segments": "",
        "Expires": "0",
        "Content-Length": "16"
      },
      "request_method": "GET",
      "request_path": "/api/storefront/searches?q=red",
      "request_body": null,
      "request_content_type": null,
      "response_status": 200,
      "response_status_text": "OK",
      "response_body": "{\n  \"results\": null\n}",
      "response_content_type": "application/json",
      "curl": "curl -g \"https://www.example.com/api/storefront/searches?q=red\" -X GET "
    }
  ],
  "resource": "Searches",
  "description": "Showing search autocomplete suggestions",
  "route": "/api/storefront/searches",
  "explanation": "<p>This list will be based on popular search terms and matching<br>\nproducts, categories, etc. Useful for showing a autocomplete<br>\ndrop-down as a customer types in a search bar.</p>\n",
  "http_method": "GET"
}

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
workarea-api-4.5.4 doc/api/storefront/searches/showing_search_autocomplete_suggestions.json
workarea-api-4.5.3 doc/api/storefront/searches/showing_search_autocomplete_suggestions.json
workarea-api-4.5.2 doc/api/storefront/searches/showing_search_autocomplete_suggestions.json
workarea-api-4.5.0 doc/api/storefront/searches/showing_search_autocomplete_suggestions.json