API endpoint that allows Location instances to be viewed.

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

FILTERS:
Parameters - 'id', 'agency_id', 'name', 'name__contains', 'latitude', 'latitude__contains', 'longitude',
'longitude__contains', 'location__name', 'location__name__contains', 'location__id', 'orbital_launch_attempt_count',
'total_launch_count'

ORDERING:
Fields - 'id', 'name', 'location__id', 'location__name', 'orbital_launch_attempt_count', 'total_launch_count'

Example - /2.2.0/pad/?ordering=location__name

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

{
    "id": 51,
    "url": "https://ll.thespacedevs.com/2.2.0/pad/51/?format=api",
    "agency_id": null,
    "name": "Orbital Launch Pad",
    "description": null,
    "info_url": null,
    "wiki_url": "https://en.wikipedia.org/wiki/And%C3%B8ya_Space",
    "map_url": "https://www.google.com/maps?q=69.1084,15.5895",
    "latitude": "69.1084",
    "longitude": "15.5895",
    "location": {
        "id": 161,
        "url": "https://ll.thespacedevs.com/2.2.0/location/161/?format=api",
        "name": "Andøya Spaceport",
        "country_code": "NOR",
        "description": "",
        "map_image": "https://spacelaunchnow-prod-east.nyc3.digitaloceanspaces.com/media/launch_images/location_161_20240109072235.jpg",
        "timezone_name": "Europe/Oslo",
        "total_launch_count": 0,
        "total_landing_count": 0
    },
    "country_code": "NOR",
    "map_image": "https://spacelaunchnow-prod-east.nyc3.digitaloceanspaces.com/media/launch_images/pad_51_20200803143605.jpg",
    "total_launch_count": 0,
    "orbital_launch_attempt_count": 0
}