Skip to content

Expose generic aggregations in API #25

Description

@jjst

Currently:

GET /stations/<country_code>/<station_id>/now-playing

Replace with:

GET /stations/<country_code>/<station_id>/<aggregation>

Where 'now-playing' becomes one type of aggregation.

The parent endpoint:

GET /stations/<country_code>/<station_id>

now includes the list of aggregations a station supports, e.g. for fr/radiomeuh/:

"aggregations": {
  "now-playing" : {
    "href": "https://hostname/api/stations/fr/radiomeuh/now-playing"
  }
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions