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

{
    "count": 51,
    "next": null,
    "previous": "https://ll.thespacedevs.com/2.0.0/location/?format=api&limit=10&offset=40",
    "results": [
        {
            "id": 146,
            "url": "https://ll.thespacedevs.com/2.0.0/location/146/?format=api",
            "name": "Svobodny Cosmodrome, Russian Federation",
            "country_code": "RUS",
            "map_image": "https://thespacedevs-prod.nyc3.digitaloceanspaces.com/media/map_images/location_146_20200803142450.jpg",
            "total_launch_count": 5,
            "total_landing_count": 0
        }
    ]
}