{
  "/api/v1/menu/": {
    "get": {
      "description": "Get the menu data structure. Returns a forest like structure with the menu the user has access to",
      "responses": {
        "200": {
          "content": {
            "application/json": {
              "schema": {
                "properties": {
                  "result": {
                    "description": "Menu items in a forest like data structure",
                    "items": {
                      "properties": {
                        "childs": {
                          "items": {
                            "type": "object"
                          },
                          "type": "array"
                        },
                        "icon": {
                          "description": "Icon name to show for this menu item",
                          "type": "string"
                        },
                        "label": {
                          "description": "Pretty name for the menu item",
                          "type": "string"
                        },
                        "name": {
                          "description": "The internal menu item name, maps to permission_name",
                          "type": "string"
                        },
                        "url": {
                          "description": "The URL for the menu item",
                          "type": "string"
                        }
                      },
                      "type": "object"
                    },
                    "type": "array"
                  }
                },
                "type": "object"
              }
            }
          },
          "description": "Get menu data"
        },
        "401": {
          "$ref": "#/components/responses/401"
        }
      },
      "security": [
        {
          "jwt": []
        }
      ],
      "tags": [
        "Menu"
      ]
    }
  }
}\n