{ "parameters": [ ], "response_fields": [ ], "requests": [ { "request_headers": { }, "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", "Date": "Wed, 21 Aug 2019 21:51:25 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-Flash-Messages", "Cache-Control": "no-cache, no-store, must-revalidate", "ETag": "W/\"ce1a70f96858d1bd8110d3bf433a90d1\"", "X-Request-Id": "60d379ab-2db5-403f-b348-4bea997434d5", "X-Runtime": "0.052184", "Expires": "0", "Content-Length": "5185" }, "request_method": "GET", "request_path": "/api/storefront/menus", "request_body": null, "request_content_type": null, "response_status": 200, "response_status_text": "OK", "response_body": "{\n \"menus\": [\n {\n \"id\": \"5d5dbcdcd4322a4b69d789d2\",\n \"name\": \"Men\",\n \"position\": 0,\n \"url\": \"/api/storefront/menus/5d5dbcdcd4322a4b69d789d2\",\n \"taxon_url\": \"http://example.com/men\",\n \"content_blocks\": [\n {\n \"id\": \"5d5dbcdcd4322a4b69d789d4\",\n \"type\": \"taxonomy\",\n \"area\": \"default\",\n \"data\": {\n \"start\": \"5d5dbcdcd4322a4b69d789d0\",\n \"header\": \"\",\n \"show_starting_taxon\": true,\n \"image\": \"\",\n \"image_alt\": \"\",\n \"image_link\": \"\",\n \"image_position\": \"\"\n },\n \"hidden_breakpoints\": [\n\n ],\n \"position\": 0,\n \"html\": \"\\n\"\n }\n ]\n },\n {\n \"id\": \"5d5dbcdcd4322a4b69d789d8\",\n \"name\": \"Women\",\n \"position\": 1,\n \"url\": \"/api/storefront/menus/5d5dbcdcd4322a4b69d789d8\",\n \"taxon_url\": \"http://example.com/women\",\n \"content_blocks\": [\n {\n \"id\": \"5d5dbcdcd4322a4b69d789da\",\n \"type\": \"taxonomy\",\n \"area\": \"default\",\n \"data\": {\n \"start\": \"5d5dbcdcd4322a4b69d789d6\",\n \"header\": \"\",\n \"show_starting_taxon\": true,\n \"image\": \"\",\n \"image_alt\": \"\",\n \"image_link\": \"\",\n \"image_position\": \"\"\n },\n \"hidden_breakpoints\": [\n\n ],\n \"position\": 0,\n \"html\": \"\\n\"\n }\n ]\n },\n {\n \"id\": \"5d5dbcddd4322a4b69d789de\",\n \"name\": \"Children\",\n \"position\": 2,\n \"url\": \"/api/storefront/menus/5d5dbcddd4322a4b69d789de\",\n \"taxon_url\": \"http://example.com/children\",\n \"content_blocks\": [\n {\n \"id\": \"5d5dbcddd4322a4b69d789e0\",\n \"type\": \"taxonomy\",\n \"area\": \"default\",\n \"data\": {\n \"start\": \"5d5dbcdcd4322a4b69d789dc\",\n \"header\": \"\",\n \"show_starting_taxon\": true,\n \"image\": \"\",\n \"image_alt\": \"\",\n \"image_link\": \"\",\n \"image_position\": \"\"\n },\n \"hidden_breakpoints\": [\n\n ],\n \"position\": 0,\n \"html\": \"\\n\"\n }\n ]\n }\n ]\n}", "response_content_type": "application/json", "curl": "curl -g \"https://www.example.com/api/storefront/menus\" -X GET " } ], "resource": "Menus", "description": "Listing menus", "route": "/api/storefront/menus", "explanation": " In the base HTML storefront, menus are used as the primary top-level\n navigation entry points. Each menu has associated content (composed\n of content blocks) that represent the navigation to be display when\n that menu is selected (usually a hover or a click on a mobile\n device). Each menu points at a particular spot in the taxonomy.\n", "http_method": "GET" }