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/27/?format=api
HTTP 200 OK
Allow: GET
Content-Type: application/json
Vary: Accept

{
    "id": 27,
    "name": "Kennedy Space Center, FL, USA",
    "country_code": "USA",
    "description": null,
    "map_image": "https://spacelaunchnow-prod-east.nyc3.digitaloceanspaces.com/media/launch_images/location_27_20200803142447.jpg",
    "timezone_name": "America/New_York",
    "total_launch_count": 232,
    "total_landing_count": 0,
    "pads": [
        {
            "id": 4,
            "url": "https://ll.thespacedevs.com/2.2.0/pad/4/?format=api",
            "agency_id": 44,
            "name": "Launch Complex 39B",
            "description": null,
            "info_url": null,
            "wiki_url": "https://en.wikipedia.org/wiki/Kennedy_Space_Center_Launch_Complex_39#Launch_Pad_39B",
            "map_url": "https://www.google.com/maps?q=28.62711233,-80.62101503",
            "latitude": 28.62711233,
            "longitude": -80.62101503,
            "country_code": "USA",
            "map_image": "https://spacelaunchnow-prod-east.nyc3.digitaloceanspaces.com/media/launch_images/pad_4_20200803143518.jpg",
            "total_launch_count": 58
        },
        {
            "id": 203,
            "url": "https://ll.thespacedevs.com/2.2.0/pad/203/?format=api",
            "agency_id": 121,
            "name": "Launch Complex 39A Starship Pad",
            "description": "",
            "info_url": null,
            "wiki_url": "https://en.wikipedia.org/wiki/Kennedy_Space_Center_Launch_Complex_39A",
            "map_url": "https://www.google.com/maps?q=28.60822681,-80.60428186",
            "latitude": 28.60822681,
            "longitude": -80.60428186,
            "country_code": "USA",
            "map_image": "https://spacelaunchnow-prod-east.nyc3.digitaloceanspaces.com/media/launch_images/pad_launch_complex_39a_20220818090654.jpg",
            "total_launch_count": 0
        },
        {
            "id": 87,
            "url": "https://ll.thespacedevs.com/2.2.0/pad/87/?format=api",
            "agency_id": 121,
            "name": "Launch Complex 39A",
            "description": null,
            "info_url": null,
            "wiki_url": "https://en.wikipedia.org/wiki/Kennedy_Space_Center_Launch_Complex_39#Launch_Pad_39A",
            "map_url": "https://www.google.com/maps?q=28.60822681,-80.60428186",
            "latitude": 28.60822681,
            "longitude": -80.60428186,
            "country_code": "USA",
            "map_image": "https://spacelaunchnow-prod-east.nyc3.digitaloceanspaces.com/media/launch_images/pad_87_20200803143537.jpg",
            "total_launch_count": 174
        },
        {
            "id": 30,
            "url": "https://ll.thespacedevs.com/2.2.0/pad/30/?format=api",
            "agency_id": null,
            "name": "Launch Complex 48",
            "description": null,
            "info_url": null,
            "wiki_url": "https://en.wikipedia.org/wiki/Kennedy_Space_Center_Launch_Complex_48",
            "map_url": "https://www.google.com/maps?q=28.5990626125553,-80.60428186",
            "latitude": 28.5990626125553,
            "longitude": -80.60428186,
            "country_code": "USA",
            "map_image": "https://spacelaunchnow-prod-east.nyc3.digitaloceanspaces.com/media/launch_images/pad_30_20200803143320.jpg",
            "total_launch_count": 0
        }
    ]
}