Spacex-api: Launchpad/Landpad status field

Created on 11 Jul 2020  路  4Comments  路  Source: r-spacex/SpaceX-API

Model returned from the Launchpads endpoint contains Status field which is defined as enum (https://github.com/r-spacex/SpaceX-API/blob/master/docs/v4/launchpads/schema.md):

"status": {
  "type": "String",
  "enum": [
    "active",
    "inactive",
    "unknown",
    "retired",
    "lost",
    "under construction"
  ],
  "required": true
},

The model returned from the Landpads endpoint has also a similar one, but in the schema, it's defined just as a plain string (https://github.com/r-spacex/SpaceX-API/blob/master/docs/v4/landpads/schema.md):

"status": {
  "type": "String",
  "default": null
},

Shouldn't be the second one exactly the same as the first one? From what I saw comparing data from both endpoints, this field has exactly the same meaning and the same values.

Bug

All 4 comments

Whoops, looks like I missed that one, model is updated 馃憤

Cool! It would be also nice to update the schema of Landpads endpoint:
https://github.com/r-spacex/SpaceX-API/blob/master/docs/v4/landpads/schema.md

Updated

Thanx

Was this page helpful?
0 / 5 - 0 ratings

Related issues

russelltwarwick picture russelltwarwick  路  3Comments

markvital picture markvital  路  4Comments

pvegh picture pvegh  路  4Comments

samg11 picture samg11  路  3Comments

Tearth picture Tearth  路  4Comments