forkjo/routers/api/v1/repo
6543 6baa5d7588 [API] Add notification endpoint (#9488)
* [API] Add notification endpoints

 * add func GetNotifications(opts FindNotificationOptions)
 * add func (n *Notification) APIFormat()
 * add func (nl NotificationList) APIFormat()
 * add func (n *Notification) APIURL()
 * add func (nl NotificationList) APIFormat()
 * add LoadAttributes functions (loadRepo, loadIssue, loadComment, loadUser)
 * add func (c *Comment) APIURL()
 * add func (issue *Issue) GetLastComment()
 * add endpoint GET /notifications
 * add endpoint PUT /notifications
 * add endpoint GET /repos/{owner}/{repo}/notifications
 * add endpoint PUT /repos/{owner}/{repo}/notifications
 * add endpoint GET /notifications/threads/{id}
 * add endpoint PATCH /notifications/threads/{id}

* Add TEST

* code format

* code format
2020-01-09 11:56:32 +00:00
..
blob.go Swagger info corrections (#9441) 2019-12-20 19:07:12 +02:00
branch.go Swagger info corrections (#9441) 2019-12-20 19:07:12 +02:00
collaborators.go Swagger info corrections (#9441) 2019-12-20 19:07:12 +02:00
commits.go Swagger info corrections (#9441) 2019-12-20 19:07:12 +02:00
file.go [API] Extend contents with dates (#9464) 2019-12-24 10:33:52 +08:00
fork.go Swagger info corrections (#9441) 2019-12-20 19:07:12 +02:00
git_hook.go Swagger info corrections (#9441) 2019-12-20 19:07:12 +02:00
git_ref.go Swagger info corrections (#9441) 2019-12-20 19:07:12 +02:00
hook.go Swagger info corrections (#9441) 2019-12-20 19:07:12 +02:00
hook_test.go API endpoint for testing webhook (#3550) 2018-04-29 14:21:33 +08:00
issue.go Fix #9189 - API Allow only specific Colums to be updated on Issue (#9539) 2020-01-01 17:51:10 -05:00
issue_comment.go [API] add comments endpoint for single comment (#9494) 2020-01-08 15:00:59 +08:00
issue_label.go Swagger info corrections (#9441) 2019-12-20 19:07:12 +02:00
issue_reaction.go fix swagger description of reaction API (#9617) 2020-01-06 06:58:13 +02:00
issue_stopwatch.go Swagger info corrections (#9441) 2019-12-20 19:07:12 +02:00
issue_subscription.go Swagger info corrections (#9441) 2019-12-20 19:07:12 +02:00
issue_tracked_time.go times Add filters (#9373) 2020-01-08 16:14:00 -05:00
key.go Swagger info corrections (#9441) 2019-12-20 19:07:12 +02:00
label.go Swagger info corrections (#9441) 2019-12-20 19:07:12 +02:00
main_test.go API endpoint for testing webhook (#3550) 2018-04-29 14:21:33 +08:00
milestone.go Swagger info corrections (#9441) 2019-12-20 19:07:12 +02:00
pull.go [API] Add notification endpoint (#9488) 2020-01-09 11:56:32 +00:00
release.go Swagger info corrections (#9441) 2019-12-20 19:07:12 +02:00
release_attachment.go Swagger info corrections (#9441) 2019-12-20 19:07:12 +02:00
repo.go Swagger info corrections (#9441) 2019-12-20 19:07:12 +02:00
repo_test.go Fixes #5960 - Adds API Endpoint for Repo Edit (#7006) 2019-05-30 11:09:05 -04:00
star.go Swagger info corrections (#9441) 2019-12-20 19:07:12 +02:00
status.go Swagger info corrections (#9441) 2019-12-20 19:07:12 +02:00
subscriber.go Swagger info corrections (#9441) 2019-12-20 19:07:12 +02:00
tag.go Swagger info corrections (#9441) 2019-12-20 19:07:12 +02:00
topic.go Swagger info corrections (#9441) 2019-12-20 19:07:12 +02:00
tree.go Swagger info corrections (#9441) 2019-12-20 19:07:12 +02:00