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

{
    "id": 75,
    "url": "https://lldev.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",
    "location": {
        "id": 4,
        "url": "https://lldev.thespacedevs.com/2.2.0/location/4/?format=api",
        "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
    },
    "country_code": "ISR",
    "map_image": "https://thespacedevs-prod.nyc3.digitaloceanspaces.com/media/map_images/pad_75_20200803143316.jpg",
    "total_launch_count": 12,
    "orbital_launch_attempt_count": 12
}