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

{
  "count": 163,
  "next": null,
  "previous": "https://lldev.thespacedevs.com/2.0.0/expedition/?format=api&limit=10&offset=150&ordering=-end",
  "results": [
    {
      "id": 2,
      "url": "https://lldev.thespacedevs.com/2.0.0/expedition/2/?format=api",
      "name": "Skylab II",
      "start": "1973-05-25T13:00:00Z",
      "end": "1973-06-22T13:49:48Z",
      "spacestation": {
        "id": 6,
        "url": "https://lldev.thespacedevs.com/2.0.0/spacestation/6/?format=api",
        "name": "Skylab",
        "status": {
          "id": 2,
          "name": "De-Orbited"
        },
        "orbit": "Low Earth Orbit",
        "image_url": "https://thespacedevs-dev.nyc3.digitaloceanspaces.com/media/images/skylab_image_20190215230143.jpeg"
      }
    },
    {
      "id": 6,
      "url": "https://lldev.thespacedevs.com/2.0.0/expedition/6/?format=api",
      "name": "Soyuz 11",
      "start": "1971-06-06T04:55:09Z",
      "end": "1971-06-29T23:16:52Z",
      "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-dev.nyc3.digitaloceanspaces.com/media/images/salyut25201_image_20190217072508.jpeg"
      }
    },
    {
      "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-dev.nyc3.digitaloceanspaces.com/media/images/salyut25201_image_20190217072508.jpeg"
      }
    }
  ]
}