forgejo/routers/api/v1/repo
zeripath f761a37a0f
Provide diff and patch API endpoints (#11751)
* Provide diff and patch API endpoints

The diff and patch endpoints on the main routes are not accessible by token
therefore we provide new API based endpoints for these

Fix #10923

Signed-off-by: Andrew Thornton <art27@cantab.net>

* placate swagger

Signed-off-by: Andrew Thornton <art27@cantab.net>

* Make the response an actual string

Signed-off-by: Andrew Thornton <art27@cantab.net>

Co-authored-by: techknowlogick <techknowlogick@gitea.io>
Co-authored-by: Lauris BH <lauris@nix.lv>
2020-06-05 14:03:12 +03:00
..
blob.go Swagger info corrections (#9441) 2019-12-20 19:07:12 +02:00
branch.go Add API Endpoint for Branch Creation (#11607) 2020-05-29 19:16:20 +01:00
collaborators.go API add/generalize pagination (#9452) 2020-01-24 14:00:29 -05:00
commits.go Consolidate API for getting single commit (#11368) 2020-05-11 12:44:36 +03:00
file.go Handle expected errors in FileCreate & FileUpdate API (#11643) 2020-05-31 21:59:34 +01:00
fork.go API add/generalize pagination (#9452) 2020-01-24 14:00:29 -05: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 API add/generalize pagination (#9452) 2020-01-24 14:00:29 -05:00
hook_test.go
issue.go Make API EditIssue and EditPullRequest issue notifications (#11123) 2020-05-17 00:05:19 +03:00
issue_comment.go API add/generalize pagination (#9452) 2020-01-24 14:00:29 -05:00
issue_label.go Add Organization Wide Labels (#10814) 2020-04-01 01:14:46 -03:00
issue_reaction.go API add/generalize pagination (#9452) 2020-01-24 14:00:29 -05:00
issue_stopwatch.go Prevent panic in stopwatch (#10670) 2020-03-08 14:46:24 -03:00
issue_subscription.go Return issue subscription status from API subscribe (#10966) 2020-04-30 23:55:24 +01:00
issue_tracked_time.go Fix tracked time issues (#11349) 2020-05-09 11:18:44 -03:00
key.go API add/generalize pagination (#9452) 2020-01-24 14:00:29 -05:00
label.go Add Organization Wide Labels (#10814) 2020-04-01 01:14:46 -03:00
main_test.go
migrate.go Fix bug with globally disabling mirror (#11760) 2020-06-04 19:06:24 +01:00
milestone.go Refactor Milestone related (#11225) 2020-05-12 22:54:35 +01:00
mirror.go Refactor api repo dir (#10048) 2020-01-29 13:55:23 +08:00
pull.go Provide diff and patch API endpoints (#11751) 2020-06-05 14:03:12 +03:00
pull_review.go Add default CommitID for create pull review api (#11334) 2020-05-08 19:50:23 +01:00
release.go API add/generalize pagination (#9452) 2020-01-24 14:00:29 -05:00
release_attachment.go Swagger info corrections (#9441) 2019-12-20 19:07:12 +02:00
repo.go Fix repo-list private and total count bugs (#11500) 2020-05-20 22:15:30 -03:00
repo_test.go
star.go API add/generalize pagination (#9452) 2020-01-24 14:00:29 -05:00
status.go API add/generalize pagination (#9452) 2020-01-24 14:00:29 -05:00
subscriber.go API add/generalize pagination (#9452) 2020-01-24 14:00:29 -05:00
tag.go [API] enable paggination for ListRepoTags (#10454) 2020-02-25 14:07:07 -05:00
topic.go API add/generalize pagination (#9452) 2020-01-24 14:00:29 -05:00
transfer.go API endpoint for repo transfer (#9947) 2020-01-31 15:49:04 +00:00
tree.go Swagger info corrections (#9441) 2019-12-20 19:07:12 +02:00