Skip to content

[Request] Return season number with season_uuids in TV Show API #1234

@lcandy2

Description

@lcandy2

Currently, the TV Show API returns season_uuids as an array of strings. I can only infer the season number by order, which causes issues when special seasons (e.g., S0) are present.

On the website, seasons are displayed correctly, so the data exists in the database.

Suggestion:
Instead of only returning an array of UUIDs, return a JSON object with both season_number and uuid in a clear format, e.g.:

[
  { "season_number": 0, "uuid": "xxx" },
  { "season_number": 1, "uuid": "yyy" }
]

This would make the API more reliable and easier to use.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    Status

    Wishlist

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions