Skip to content

notifications write-APIs should return the modified notifications #16797

Closed
@noerw

Description

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

Description

The following endpoints return an empty response, whereas it would be useful to get the notifications back that were affected by the request:

  • PUT /api/v1/notifications
  • PUT /api/v1/repos/:owner/:repo/notifications
  • PATCH /api/v1/notifications/threads/:id

also, while we're at it:
The NotificationSubject struct contains URL and LatestCommentURL fields, but a fieldf WebURL and LatestCommentWebURL would be quite handy

Metadata

Metadata

Assignees

No one assigned

    Labels

    modifies/apiThis PR adds API routes or modifies themtype/enhancementAn improvement of existing functionality

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions