Skip to content

notifications write-APIs should return the modified notifications #16797

@noerw

Description

@noerw
Member
  • 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

Activity

added
type/enhancementAn improvement of existing functionality
modifies/apiThis PR adds API routes or modifies them
on Aug 24, 2021
changed the title [-]notifications with write access should return the modified notifications[/-] [+]notifications write-APIs should return the modified notifications[/+] on Aug 24, 2021
locked and limited conversation to collaborators on Oct 19, 2021
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

    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

      Participants

      @noerw

      Issue actions

        notifications write-APIs should return the modified notifications · Issue #16797 · go-gitea/gitea