API endpoint that allows Location instances to be viewed.

GET: Return a list of all the existing location instances.

FILTERS: Parameters - 'name', 'country_code', 'id' Example - /2.2.0/location/?country_code=USA

GET /2.2.0/location/4/?format=api
HTTP 200 OK
Allow: GET
Content-Type: application/json
Vary: Accept

{
    "id": 4,
    "name": "Palmachim Airbase, State of Israel",
    "country_code": "ISR",
    "description": "Palmachim Airbase is an Israeli Air Force (IAF) base and spaceport, which the IAF and the Israel Space Agency (ISA) operate jointly. It is located west of the city of Yavne on the Mediterranean coast, 12 km south of the Gush Dan metropolitan area with Tel Aviv, named after the Kibbutz Palmachim north of it.",
    "map_image": "https://thespacedevs-prod.nyc3.digitaloceanspaces.com/media/map_images/location_4_20200803142418.jpg",
    "timezone_name": "Asia/Jerusalem",
    "total_launch_count": 12,
    "total_landing_count": 0,
    "pads": [
        {
            "id": 75,
            "url": "https://ll.thespacedevs.com/2.2.0/pad/75/?format=api",
            "agency_id": 95,
            "name": "Shavit Launch Pad",
            "description": "",
            "info_url": null,
            "wiki_url": "https://en.wikipedia.org/wiki/Palmachim_Airbase",
            "map_url": "https://www.google.com/maps?q=31.884444,34.680278",
            "latitude": 31.884444,
            "longitude": 34.680278,
            "country_code": "ISR",
            "map_image": "https://thespacedevs-prod.nyc3.digitaloceanspaces.com/media/map_images/pad_75_20200803143316.jpg",
            "total_launch_count": 12
        }
    ]
}