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
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",
    "results": [
        {
            "id": 145,
            "url": "https://lldev.thespacedevs.com/2.0.0/expedition/145/?format=api",
            "name": "Shenzhou 12",
            "start": "2021-06-17T07:54:00Z",
            "end": "2021-09-17T05:34:00Z",
            "spacestation": {
                "id": 18,
                "url": "https://lldev.thespacedevs.com/2.0.0/spacestation/18/?format=api",
                "name": "Tiangong space station",
                "status": {
                    "id": 1,
                    "name": "Active"
                },
                "orbit": "Low Earth Orbit",
                "image_url": "https://thespacedevs-prod.nyc3.digitaloceanspaces.com/media/images/tiangong_space__image_20231031004146.png"
            }
        }
    ]
}