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

{
    "count": 52,
    "next": null,
    "previous": "https://lldev.thespacedevs.com/2.2.0/location/?format=api&limit=10&offset=40",
    "results": [
        {
            "id": 5,
            "url": "https://lldev.thespacedevs.com/2.2.0/location/5/?format=api",
            "name": "Dombarovskiy, Russian Federation",
            "country_code": "RUS",
            "description": "Dombarovsky is a military airbase near Yasny in Russia's Orenburg Oblast. Operated by the Soviet Air Defence Forces and later by the Russian Air Force, it hosted fighter interceptor squadrons and hosts an ICBM base (which has been adapted for commercial satellite launches) with a supporting helicopter base.",
            "map_image": "https://thespacedevs-dev.nyc3.digitaloceanspaces.com/media/map_images/location_5_20200803142425.jpg",
            "timezone_name": "Asia/Yekaterinburg",
            "total_launch_count": 10,
            "total_landing_count": 0
        },
        {
            "id": 146,
            "url": "https://lldev.thespacedevs.com/2.2.0/location/146/?format=api",
            "name": "Svobodny Cosmodrome, Russian Federation",
            "country_code": "RUS",
            "description": "Svobodny was a Russian rocket launch site located approximately 15 km north of Svobodny, Amur Oblast. The cosmodrome was originally constructed as a launch site for intercontinental ballistic missiles called Svobodny-18. It was initially selected as a replacement for Baikonur Cosmodrome in the Kazakh Soviet Socialist Republic, which became independent as Kazakhstan after the dissolution of the Soviet Union. However the development of Svobodny was subsequently ended in 2007 in favour of a totally new space port, the Vostochny Cosmodrome.",
            "map_image": "https://thespacedevs-dev.nyc3.digitaloceanspaces.com/media/map_images/location_146_20200803142450.jpg",
            "timezone_name": "Asia/Yakutsk",
            "total_launch_count": 5,
            "total_landing_count": 0
        }
    ]
}