Skip to content

seerr-api no longer always returns email when it's marked as required in the spec #3634

Description

@morgannewman

Description

in 3.5.0, commit 9fda1c62 runs nested users in GET /tv/:id and GET /movie/:id through User.filter(), which removes email and the other fields in User.filteredFields. That change makes sense, but seerr-api.yml still lists email under User.required, so the spec no longer matches what the API returns.

Clients generated from the spec theoretically break due to this. This is what happened in activexray/doplarr_rs#31 because it generates a client based on the API spec, so it began failing to deserialize responses from Seer clients >= 3.5.0.

Version

3.5.0

Steps to Reproduce

Steps to reproduce (Seerr >= 3.5.0, API key auth):

  1. Request any TV show through Seerr, e.g. The Mentalist (TMDB 5920).
  2. Check whether the nested requestedBy user has an email field:
curl -s -H "X-Api-Key: $KEY" "$URL/api/v1/tv/5920" | jq '.mediaInfo.requests[0].requestedBy | has("email")'

This prints false. seerr-api.yml lists email under components.schemas.User.required.

Search Existing Issues

  • Yes, I have searched existing issues.

Code of Conduct

  • I agree to follow Seerr's Code of Conduct

Activity

  1. added
    awaiting triage
    on Oct 20, 2026
  2. added theissue type on Oct 20, 2026
  3. morgannewman commented on Oct 20, 2026

    @morgannewman
    Author

    Basically a sub-issue of #3298. It would probably be pretty straightforward to fix, so I decided to open it as a separate issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    awaiting triage

    Type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions