API endpoint that allows Expeditions to be viewed.

GET: Return a list of all the existing expeditions.

MODE: Normal and Detailed /2.0.0/expedition/?mode=detailed

FILTERS: Fields - 'name', 'crew__astronaut', 'crew__astronaut__agency', 'space_station'

Get all Expeditions with the Space Station ID of 1. Example - /2.0.0/expedition/?space_station=1&mode=detailed

Search for all Expeditions with the Astronaut named John Example - /2.0.0/expedition/?search=John

ORDERING: Fields - 'id', 'start', 'end' Order reverse via Start date. Example - /2.0.0/astronaut/?order=-start

GET /2.0.0/expedition/?format=api&offset=160&ordering=-start
HTTP 200 OK
Allow: GET
Content-Type: application/json
Vary: Accept

{
    "count": 161,
    "next": null,
    "previous": "https://lldev.thespacedevs.com/2.0.0/expedition/?format=api&limit=10&offset=150&ordering=-start",
    "results": [
        {
            "id": 5,
            "url": "https://lldev.thespacedevs.com/2.0.0/expedition/5/?format=api",
            "name": "Soyuz 10",
            "start": "1971-04-23T23:54:06Z",
            "end": "1971-04-24T23:40:00Z",
            "spacestation": {
                "id": 9,
                "url": "https://lldev.thespacedevs.com/2.0.0/spacestation/9/?format=api",
                "name": "Salyut 1",
                "status": {
                    "id": 2,
                    "name": "De-Orbited"
                },
                "orbit": "Low Earth Orbit",
                "image_url": "https://thespacedevs-prod.nyc3.digitaloceanspaces.com/media/images/salyut25201_image_20190217072508.jpeg"
            }
        }
    ]
}