Is it possible to populate fields when requesting the next launch?
Tried:
POST: https://api.spacexdata.com/v4/launches/next/query
Body:
{
"options": {
"populate": [
"rocket"
]
}
}
Not possible currently, but it can be done though the general launches query endpoint like this:
POST https://api.spacexdata.com/v4/launches/query
Body:
{
"query": {
"upcoming": true
},
"options": {
"populate": [
"rocket"
],
"sort": {
"flight_number": "asc"
},
"limit": 1,
}
}
Perfect! Thanks for the quick reply.
Always appreicate your great work 馃殌
Had the same request, thanks @jakewmeyer!
Most helpful comment
Not possible currently, but it can be done though the general launches query endpoint like this:
Body: