{
  "openapi": "3.0.3",
  "info": {
    "title": "Student Travel Advisories API",
    "version": "v1",
    "description": "Read-only static API generated from the project advisory dataset."
  },
  "servers": [
    {
      "url": "https://gis.rhobrowser.com"
    }
  ],
  "paths": {
    "/api/v1/meta.json": {
      "get": {
        "summary": "API metadata"
      }
    },
    "/api/v1/advisories.json": {
      "get": {
        "summary": "All advisories"
      }
    },
    "/api/v1/countries/index.json": {
      "get": {
        "summary": "Country endpoint index"
      }
    },
    "/api/v1/countries/{slug}.json": {
      "get": {
        "summary": "Single country advisory by slug",
        "parameters": [
          {
            "in": "path",
            "name": "slug",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ]
      }
    },
    "/api/v1/states/index.json": {
      "get": {
        "summary": "State endpoint index"
      }
    },
    "/api/v1/states/{slug}.json": {
      "get": {
        "summary": "Single state advisory by slug",
        "parameters": [
          {
            "in": "path",
            "name": "slug",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ]
      }
    },
    "/api/v1/highways/index.json": {
      "get": {
        "summary": "Highway endpoint index"
      }
    },
    "/api/v1/highways/{slug}.json": {
      "get": {
        "summary": "Single highway advisory by slug",
        "parameters": [
          {
            "in": "path",
            "name": "slug",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ]
      }
    },
    "/api/v1/levels/1.json": {
      "get": {
        "summary": "Level 1 advisories"
      }
    },
    "/api/v1/levels/2.json": {
      "get": {
        "summary": "Level 2 advisories"
      }
    },
    "/api/v1/levels/3.json": {
      "get": {
        "summary": "Level 3 advisories"
      }
    },
    "/api/v1/levels/4.json": {
      "get": {
        "summary": "Level 4 advisories"
      }
    },
    "/api/v1/regions/index.json": {
      "get": {
        "summary": "Available region endpoints"
      }
    },
    "/api/v1/types/index.json": {
      "get": {
        "summary": "Available type endpoints"
      }
    },
    "/api/v1/openapi.json": {
      "get": {
        "summary": "OpenAPI spec for this static API"
      }
    }
  },
  "x-region-endpoints": [
    {
      "region": "Africa",
      "count": 104,
      "slug": "africa",
      "endpoint": "/api/v1/regions/africa.json",
      "endpointUrl": "https://gis.rhobrowser.com/api/v1/regions/africa.json"
    },
    {
      "region": "Americas",
      "count": 119,
      "slug": "americas",
      "endpoint": "/api/v1/regions/americas.json",
      "endpointUrl": "https://gis.rhobrowser.com/api/v1/regions/americas.json"
    },
    {
      "region": "Asia",
      "count": 32,
      "slug": "asia",
      "endpoint": "/api/v1/regions/asia.json",
      "endpointUrl": "https://gis.rhobrowser.com/api/v1/regions/asia.json"
    },
    {
      "region": "Europe",
      "count": 57,
      "slug": "europe",
      "endpoint": "/api/v1/regions/europe.json",
      "endpointUrl": "https://gis.rhobrowser.com/api/v1/regions/europe.json"
    },
    {
      "region": "Middle East",
      "count": 16,
      "slug": "middle-east",
      "endpoint": "/api/v1/regions/middle-east.json",
      "endpointUrl": "https://gis.rhobrowser.com/api/v1/regions/middle-east.json"
    },
    {
      "region": "Pacific",
      "count": 31,
      "slug": "pacific",
      "endpoint": "/api/v1/regions/pacific.json",
      "endpointUrl": "https://gis.rhobrowser.com/api/v1/regions/pacific.json"
    },
    {
      "region": "Regional",
      "count": 7,
      "slug": "regional",
      "endpoint": "/api/v1/regions/regional.json",
      "endpointUrl": "https://gis.rhobrowser.com/api/v1/regions/regional.json"
    },
    {
      "region": "United States",
      "count": 71,
      "slug": "united-states",
      "endpoint": "/api/v1/regions/united-states.json",
      "endpointUrl": "https://gis.rhobrowser.com/api/v1/regions/united-states.json"
    }
  ]
}
