notifications write-APIs should return the modified notifications #7740

Closed
opened 2025-11-02 07:35:03 -06:00 by GiteaMirror · 0 comments
Owner

Originally created by @noerw on GitHub (Aug 24, 2021).

  • 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

Originally created by @noerw on GitHub (Aug 24, 2021). - 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
GiteaMirror added the type/enhancementmodifies/api labels 2025-11-02 07:35:03 -06:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/gitea#7740