{
  "opencollection": "1.0.0",
  "info": {
    "name": "NYPL What's On The Menu Dishes API",
    "version": "1.0"
  },
  "request": {
    "auth": {
      "type": "apikey",
      "key": "token",
      "value": "{{token}}",
      "placement": "query"
    }
  },
  "items": [
    {
      "info": {
        "name": "Dishes",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "List dishes",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "http://api.menus.nypl.org/dishes",
            "params": [
              {
                "name": "min_year",
                "value": "",
                "type": "query"
              },
              {
                "name": "max_year",
                "value": "",
                "type": "query"
              },
              {
                "name": "sort_by",
                "value": "",
                "type": "query"
              }
            ]
          },
          "docs": "List dishes with optional filtering. 100 dishes per page by default."
        },
        {
          "info": {
            "name": "Get dish",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "http://api.menus.nypl.org/dishes/:id",
            "params": [
              {
                "name": "id",
                "value": "",
                "type": "path"
              }
            ]
          },
          "docs": "Retrieve a specific dish by ID."
        },
        {
          "info": {
            "name": "Get menus for a dish",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "http://api.menus.nypl.org/dishes/:id/menus",
            "params": [
              {
                "name": "id",
                "value": "",
                "type": "path"
              }
            ]
          },
          "docs": "List menus that contain the given dish."
        },
        {
          "info": {
            "name": "Search dishes",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "http://api.menus.nypl.org/dishes/search",
            "params": [
              {
                "name": "query",
                "value": "",
                "type": "query"
              },
              {
                "name": "sort_by",
                "value": "",
                "type": "query"
              }
            ]
          },
          "docs": "Full-text search across dishes."
        }
      ]
    }
  ],
  "bundled": true
}