{
  "opencollection": "1.0.0",
  "info": {
    "name": "Recreation Information Database (RIDB) Activities Facilities API",
    "version": "1.0"
  },
  "request": {
    "auth": {
      "type": "apikey",
      "key": "apikey",
      "value": "{{apikey}}",
      "placement": "header"
    }
  },
  "items": [
    {
      "info": {
        "name": "Facilities",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "List facilities",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://ridb.recreation.gov/api/v1/facilities",
            "params": [
              {
                "name": "query",
                "value": "",
                "type": "query",
                "description": "Free-text search query"
              },
              {
                "name": "limit",
                "value": "",
                "type": "query",
                "description": "Number of records to return (max 50)"
              },
              {
                "name": "offset",
                "value": "",
                "type": "query",
                "description": "Pagination offset"
              },
              {
                "name": "state",
                "value": "",
                "type": "query"
              },
              {
                "name": "activity",
                "value": "",
                "type": "query"
              },
              {
                "name": "lastupdated",
                "value": "",
                "type": "query"
              }
            ]
          },
          "docs": "Returns a paginated list of federal recreation facilities (campgrounds, day-use areas, visitor centers, etc.)."
        },
        {
          "info": {
            "name": "Get facility",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://ridb.recreation.gov/api/v1/facilities/:id",
            "params": [
              {
                "name": "id",
                "value": "",
                "type": "path"
              }
            ]
          },
          "docs": "Get facility"
        },
        {
          "info": {
            "name": "List activities for a facility",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://ridb.recreation.gov/api/v1/facilities/:id/activities",
            "params": [
              {
                "name": "id",
                "value": "",
                "type": "path"
              }
            ]
          },
          "docs": "List activities for a facility"
        },
        {
          "info": {
            "name": "List campsites for a facility",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://ridb.recreation.gov/api/v1/facilities/:id/campsites",
            "params": [
              {
                "name": "id",
                "value": "",
                "type": "path"
              }
            ]
          },
          "docs": "List campsites for a facility"
        },
        {
          "info": {
            "name": "List media for a facility",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://ridb.recreation.gov/api/v1/facilities/:id/media",
            "params": [
              {
                "name": "id",
                "value": "",
                "type": "path"
              }
            ]
          },
          "docs": "List media for a facility"
        },
        {
          "info": {
            "name": "List links for a facility",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://ridb.recreation.gov/api/v1/facilities/:id/links",
            "params": [
              {
                "name": "id",
                "value": "",
                "type": "path"
              }
            ]
          },
          "docs": "List links for a facility"
        }
      ]
    }
  ],
  "bundled": true
}