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.0.0/location/?country_code=USA

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

{
  "id": 20,
  "name": "Air launch to orbit",
  "country_code": "???",
  "map_image": "https://thespacedevs-dev.nyc3.digitaloceanspaces.com/media/map_images/location_20_20200803142433.jpg",
  "total_launch_count": 51,
  "total_landing_count": 0,
  "pads": [
    {
      "id": 46,
      "url": "https://lldev.thespacedevs.com/2.0.0/pad/46/?format=api",
      "agency_id": 100,
      "name": "Gran Canaria",
      "info_url": null,
      "wiki_url": "https://en.wikipedia.org/wiki/Gran_Canaria",
      "map_url": "https://www.google.com/maps?q=27.966667,-15.6",
      "latitude": 27.966667,
      "longitude": -15.6,
      "map_image": "https://thespacedevs-dev.nyc3.digitaloceanspaces.com/media/map_images/pad_46_20200803143312.jpg",
      "total_launch_count": 1
    },
    {
      "id": 59,
      "url": "https://lldev.thespacedevs.com/2.0.0/pad/59/?format=api",
      "agency_id": null,
      "name": "Kwajalein Atoll",
      "info_url": null,
      "wiki_url": "https://en.wikipedia.org/wiki/Kwajalein_Atoll",
      "map_url": "https://www.google.com/maps?q=8.716667,167.733333",
      "latitude": 8.716667,
      "longitude": 167.733333,
      "map_image": "https://thespacedevs-dev.nyc3.digitaloceanspaces.com/media/map_images/pad_59_20200803143427.jpg",
      "total_launch_count": 4
    },
    {
      "id": 52,
      "url": "https://lldev.thespacedevs.com/2.0.0/pad/52/?format=api",
      "agency_id": null,
      "name": "Wallops Flight Facility",
      "info_url": null,
      "wiki_url": "https://en.wikipedia.org/wiki/Wallops_Flight_Facility",
      "map_url": "https://www.google.com/maps?q=37.938611,-75.457222",
      "latitude": 37.938611,
      "longitude": -75.457222,
      "map_image": "https://thespacedevs-dev.nyc3.digitaloceanspaces.com/media/map_images/pad_52_20200803143305.jpg",
      "total_launch_count": 6
    },
    {
      "id": 62,
      "url": "https://lldev.thespacedevs.com/2.0.0/pad/62/?format=api",
      "agency_id": null,
      "name": "Vandenberg Space Force Base",
      "info_url": null,
      "wiki_url": "https://en.wikipedia.org/wiki/Vandenberg_Space_Force_Base",
      "map_url": "https://www.google.com/maps?q=34.732778,-120.568056",
      "latitude": 34.732778,
      "longitude": -120.568056,
      "map_image": "https://thespacedevs-dev.nyc3.digitaloceanspaces.com/media/map_images/pad_62_20200803143441.jpg",
      "total_launch_count": 22
    },
    {
      "id": 70,
      "url": "https://lldev.thespacedevs.com/2.0.0/pad/70/?format=api",
      "agency_id": 100,
      "name": "Edwards Air Force Base",
      "info_url": null,
      "wiki_url": "https://en.wikipedia.org/wiki/Edwards_Air_Force_Base",
      "map_url": "https://www.google.com/maps?q=34.905556,-117.883611",
      "latitude": 34.905556,
      "longitude": -117.883611,
      "map_image": "https://thespacedevs-dev.nyc3.digitaloceanspaces.com/media/map_images/pad_70_20200803143352.jpg",
      "total_launch_count": 5
    },
    {
      "id": 189,
      "url": "https://lldev.thespacedevs.com/2.0.0/pad/189/?format=api",
      "agency_id": 199,
      "name": "Spaceport Cornwall",
      "info_url": "https://spaceportcornwall.com/",
      "wiki_url": "https://en.wikipedia.org/wiki/Newquay_Airport",
      "map_url": "https://www.google.com/maps?q=50.4408333,-4.9974718",
      "latitude": 50.4408333,
      "longitude": -4.9974718,
      "map_image": "https://thespacedevs-dev.nyc3.digitaloceanspaces.com/media/map_images/pad_spaceport_cornwall_20210514102058.jpg",
      "total_launch_count": 1
    },
    {
      "id": 53,
      "url": "https://lldev.thespacedevs.com/2.0.0/pad/53/?format=api",
      "agency_id": null,
      "name": "Mojave Air and Space Port",
      "info_url": null,
      "wiki_url": "https://en.wikipedia.org/wiki/Mojave_Air_and_Space_Port",
      "map_url": "https://www.google.com/maps?q=35.059444,-118.151667",
      "latitude": 35.059444,
      "longitude": -118.151667,
      "map_image": "https://thespacedevs-dev.nyc3.digitaloceanspaces.com/media/map_images/pad_53_20200803143612.jpg",
      "total_launch_count": 5
    },
    {
      "id": 109,
      "url": "https://lldev.thespacedevs.com/2.0.0/pad/109/?format=api",
      "agency_id": null,
      "name": "Cecil Air and Space Port",
      "info_url": null,
      "wiki_url": "https://en.wikipedia.org/wiki/Cecil_Airport",
      "map_url": "https://www.google.com/maps?q=30.224166,-81.876236",
      "latitude": 30.224166,
      "longitude": -81.876236,
      "map_image": "https://thespacedevs-dev.nyc3.digitaloceanspaces.com/media/map_images/pad_109_20200803143535.jpg",
      "total_launch_count": 0
    },
    {
      "id": 110,
      "url": "https://lldev.thespacedevs.com/2.0.0/pad/110/?format=api",
      "agency_id": null,
      "name": "Andersen Air Force Base",
      "info_url": null,
      "wiki_url": "https://en.wikipedia.org/wiki/Andersen_Air_Force_Base",
      "map_url": "https://www.google.com/maps?q=13.581111,144.924444",
      "latitude": 13.581111,
      "longitude": 144.924444,
      "map_image": "https://thespacedevs-dev.nyc3.digitaloceanspaces.com/media/map_images/pad_110_20200803143558.jpg",
      "total_launch_count": 0
    },
    {
      "id": 84,
      "url": "https://lldev.thespacedevs.com/2.0.0/pad/84/?format=api",
      "agency_id": null,
      "name": "Cape Canaveral",
      "info_url": null,
      "wiki_url": "https://en.wikipedia.org/wiki/Cape_Canaveral",
      "map_url": "https://www.google.com/maps?q=28.455556,-80.527778",
      "latitude": 28.455556,
      "longitude": -80.527778,
      "map_image": "https://thespacedevs-dev.nyc3.digitaloceanspaces.com/media/map_images/pad_84_20200803143436.jpg",
      "total_launch_count": 7
    },
    {
      "id": 104,
      "url": "https://lldev.thespacedevs.com/2.0.0/pad/104/?format=api",
      "agency_id": null,
      "name": "Guam International Airport",
      "info_url": null,
      "wiki_url": "https://en.wikipedia.org/wiki/Antonio_B._Won_Pat_International_Airport",
      "map_url": "https://www.google.com/maps?q=13.483889,144.797222",
      "latitude": 13.483889,
      "longitude": 144.797222,
      "map_image": "https://thespacedevs-dev.nyc3.digitaloceanspaces.com/media/map_images/pad_104_20200803143546.jpg",
      "total_launch_count": 0
    }
  ]
}