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

{
  "id": 144,
  "name": "Air launch to Suborbital flight",
  "country_code": "???",
  "map_image": "https://thespacedevs-dev.nyc3.digitaloceanspaces.com/media/map_images/location_144_20200803142439.jpg",
  "total_launch_count": 86,
  "total_landing_count": 0,
  "pads": [
    {
      "id": 145,
      "url": "https://lldev.thespacedevs.com/2.0.0/pad/145/?format=api",
      "agency_id": null,
      "name": "Naval Air Weapons Station China Lake",
      "info_url": null,
      "wiki_url": "https://en.wikipedia.org/wiki/Naval_Air_Weapons_Station_China_Lake",
      "map_url": "https://www.google.com/maps?q=35.6855556,-117.6941384",
      "latitude": 35.6855556,
      "longitude": -117.6941384,
      "map_image": "https://thespacedevs-dev.nyc3.digitaloceanspaces.com/media/map_images/pad_145_20200803143330.jpg",
      "total_launch_count": 6
    },
    {
      "id": 112,
      "url": "https://lldev.thespacedevs.com/2.0.0/pad/112/?format=api",
      "agency_id": null,
      "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_112_20200803143214.jpg",
      "total_launch_count": 13
    },
    {
      "id": 190,
      "url": "https://lldev.thespacedevs.com/2.0.0/pad/190/?format=api",
      "agency_id": 1024,
      "name": "Mojave Air and Space Port",
      "info_url": "https://www.mojaveairport.com/",
      "wiki_url": "https://en.wikipedia.org/wiki/Mojave_Air_and_Space_Port",
      "map_url": "https://www.google.com/maps?q=35.0594444,-118.1538607",
      "latitude": 35.0594444,
      "longitude": -118.1538607,
      "map_image": "https://thespacedevs-dev.nyc3.digitaloceanspaces.com/media/map_images/pad_190_20210522160913.jpg",
      "total_launch_count": 53
    },
    {
      "id": 191,
      "url": "https://lldev.thespacedevs.com/2.0.0/pad/191/?format=api",
      "agency_id": 1024,
      "name": "Spaceport America",
      "info_url": "https://www.spaceportamerica.com/",
      "wiki_url": "https://en.wikipedia.org/wiki/Spaceport_America",
      "map_url": "https://www.google.com/maps?q=32.9902778,-106.9719162",
      "latitude": 32.9902778,
      "longitude": -106.9719162,
      "map_image": "https://thespacedevs-dev.nyc3.digitaloceanspaces.com/media/map_images/pad_spaceport_america_20210522162030.jpg",
      "total_launch_count": 14
    }
  ]
}