{ "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, 27 Nov 2019 00:51:44 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:51:45 GMT", "Cache-Control": "no-cache, no-store, must-revalidate", "X-Request-Id": "f0253702-284d-4760-9307-fea5b0501b10", "X-Runtime": "0.045473", "X-Workarea-Segments": "", "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\": \"5dddc8a01241596aa5204b80\",\n \"name\": \"Men\",\n \"position\": 0,\n \"url\": \"/api/storefront/menus/5dddc8a01241596aa5204b80\",\n \"taxon_url\": \"http://example.com/men\",\n \"content_blocks\": [\n {\n \"id\": \"5dddc8a01241596aa5204b82\",\n \"type\": \"taxonomy\",\n \"area\": \"default\",\n \"data\": {\n \"start\": \"5dddc8a01241596aa5204b7e\",\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\": \"5dddc8a01241596aa5204b86\",\n \"name\": \"Women\",\n \"position\": 1,\n \"url\": \"/api/storefront/menus/5dddc8a01241596aa5204b86\",\n \"taxon_url\": \"http://example.com/women\",\n \"content_blocks\": [\n {\n \"id\": \"5dddc8a01241596aa5204b88\",\n \"type\": \"taxonomy\",\n \"area\": \"default\",\n \"data\": {\n \"start\": \"5dddc8a01241596aa5204b84\",\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\": \"5dddc8a01241596aa5204b8c\",\n \"name\": \"Children\",\n \"position\": 2,\n \"url\": \"/api/storefront/menus/5dddc8a01241596aa5204b8c\",\n \"taxon_url\": \"http://example.com/children\",\n \"content_blocks\": [\n {\n \"id\": \"5dddc8a01241596aa5204b8e\",\n \"type\": \"taxonomy\",\n \"area\": \"default\",\n \"data\": {\n \"start\": \"5dddc8a01241596aa5204b8a\",\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
\nnavigation entry points. Each menu has associated content (composed
\nof content blocks) that represent the navigation to be display when
\nthat menu is selected (usually a hover or a click on a mobile
\ndevice). Each menu points at a particular spot in the taxonomy.

\n", "http_method": "GET" }