Skip to content

PUT /api/v1/notifications only filters by first provided status value #16796

@noerw

Description

@noerw
  • Gitea version (or commit ref): 1.16.0+dev-109-gd17f555fe

Description

API docs say that the status-types parameter can be an array.
In practice, only the first value I provide is considered for the filter.

The repo-specific endpoint /api/v1/repos/<owner>/<repo>/notifications has this issue as well.

Note: this could also be an issue with the go-sdk, didn't check yet

edit: checking this further, it seems only certain status-types values are accepted for each to-status value. If this is intentional, this needs to be documented

Metadata

Metadata

Assignees

No one assigned

    Labels

    modifies/apiThis PR adds API routes or modifies themtype/bug

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions