Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Feature] [API] Check If user is subscribed to specific Issue #10962

Closed
6543 opened this issue Apr 4, 2020 · 2 comments · Fixed by #10967
Closed

[Feature] [API] Check If user is subscribed to specific Issue #10962

6543 opened this issue Apr 4, 2020 · 2 comments · Fixed by #10967

Comments

@6543
Copy link
Member

6543 commented Apr 4, 2020

similar to https://gitea.com/api/swagger#/repository/userCurrentCheckSubscription
but for a single issue

Gitea Version: 1.12.0+dev-72-g2c25e75dc

@6543
Copy link
Member Author

6543 commented Apr 4, 2020

  • GH has no direct API endpoint
  • GET ​/repos​/{owner}​/{repo}​/issues​/{index}​/subscriptions​ already taken (return list of subscribers)

Proposal:

-> GET ​/repos​/{owner}​/{repo}​/issues​/{index}​/subscriptions​/{user} -> WatchInfo

@6543
Copy link
Member Author

6543 commented Apr 5, 2020

cange api to GET ​/repos​/{owner}​/{repo}​/issues​/{index}​/subscriptions​/check because of privacy

zeripath pushed a commit that referenced this issue Apr 21, 2020
close #10962

Adds `GET /api/v1​/repos​/{owner}​/{repo}​/issues​/{index}​/subscriptions​/check`
 -> return a `WachInfo`
ydelafollye pushed a commit to ydelafollye/gitea that referenced this issue Jul 31, 2020
close go-gitea#10962

Adds `GET /api/v1​/repos​/{owner}​/{repo}​/issues​/{index}​/subscriptions​/check`
 -> return a `WachInfo`
@go-gitea go-gitea locked and limited conversation to collaborators Nov 24, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant