Sha256: 5fca82977d810b4a4ddf86916ece5f25ef58835a83375fdf3ce182f7d02b93db

Contents?: true

Size: 1.91 KB

Versions: 2

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, 19 Aug 2020 13:57:17 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, 19 Aug 2020 13:57:17 GMT",
        "Cache-Control": "no-cache, no-store, must-revalidate",
        "X-Request-Id": "37826b78-c9b3-4384-a76b-e48eb1abc0af",
        "X-Runtime": "0.010973",
        "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

2 entries across 2 versions & 1 rubygems

Version Path
workarea-api-4.5.6 doc/api/storefront/searches/showing_search_autocomplete_suggestions.json
workarea-api-4.5.5 doc/api/storefront/searches/showing_search_autocomplete_suggestions.json