Require endpoint that returns all releases + children with release type
This API is required for the migration of downloads and release endpoints from Drupal to a microservice. This is meant to expose the core public data for releases for consumption downstream, and to remove the need for hardcoded releases and types. From this data, we can extrapolate all of the release metadata we need to query the API and make smart logic for certain API calls.
Christopher and I mocked this out in a call, and shouldn't be too difficult or expensive to implement in Drupal (updated after the fact to make it more API spec/serialization friendly):
{
"releases": [
{
"name": "2021-02",
"versions": [
{
"name": "r",
"type": "release",
"is_current": "true"
},
{
"name": "m1",
"type": "milestone"
}
]
}
]
}