0
Fork 0
mirror of https://codeberg.org/forgejo/forgejo.git synced 2024-12-27 01:44:10 -05:00
forgejo/routers/api/v1/repo
6543 fd60ebfe14
[API] Migration: Change ServiceType String (#12672)
* use different structs for MigrateRepoOptions on UI and API

* Fix TokenAuth and rename UID to an understandable Name

* fix swagger doc

* simplify & mk redable

* R E F A C T O R:
migration has now internal 3 structs to store its options:
 * the Options for WebUI: modules/auth/repo_form.go
 * the Options for API: modules/structs/repo.go
 * the option struct with after validation for internal prossessing: modules/migrations/base/options.go

* Copyright Header

* Deprecate UID - add RepoOwner

* adopt repo.go -> migrate.go

* add comment about each struct purpose

* lint
2020-09-10 23:29:19 +01:00
..
blob.go
branch.go Add API Endpoint for Branch Creation (#11607) 2020-05-29 19:16:20 +01:00
collaborators.go Remove page size limit comment from swagger (#11806) 2020-06-09 00:57:38 -04:00
commits.go Add Access-Control-Expose-Headers (#12446) 2020-08-13 18:18:18 +01:00
file.go Add better Swagger description and a example for GetArchive (#12743) 2020-09-06 12:23:47 -04:00
fork.go Remove page size limit comment from swagger (#11806) 2020-06-09 00:57:38 -04:00
git_hook.go
git_ref.go
hook.go Remove page size limit comment from swagger (#11806) 2020-06-09 00:57:38 -04:00
hook_test.go
issue.go Add Access-Control-Expose-Headers (#12446) 2020-08-13 18:18:18 +01:00
issue_comment.go Remove page size limit comment from swagger (#11806) 2020-06-09 00:57:38 -04:00
issue_label.go Add Organization Wide Labels (#10814) 2020-04-01 01:14:46 -03:00
issue_reaction.go Remove page size limit comment from swagger (#11806) 2020-06-09 00:57:38 -04:00
issue_stopwatch.go Remove page size limit comment from swagger (#11806) 2020-06-09 00:57:38 -04:00
issue_subscription.go Remove page size limit comment from swagger (#11806) 2020-06-09 00:57:38 -04:00
issue_tracked_time.go Remove page size limit comment from swagger (#11806) 2020-06-09 00:57:38 -04:00
key.go Remove page size limit comment from swagger (#11806) 2020-06-09 00:57:38 -04:00
label.go Remove page size limit comment from swagger (#11806) 2020-06-09 00:57:38 -04:00
language.go Add language statistics API endpoint (#11737) 2020-06-07 14:48:41 +03:00
main_test.go
migrate.go [API] Migration: Change ServiceType String (#12672) 2020-09-10 23:29:19 +01:00
milestone.go Add name filter to API for GetMilestoneList (#12336) 2020-07-28 12:30:40 +01:00
mirror.go
pull.go Report error if API merge is not allowed (#12528) 2020-08-19 17:35:06 -04:00
pull_review.go Remove page size limit comment from swagger (#11806) 2020-06-09 00:57:38 -04:00
release.go Add action feed for new release (#12324) 2020-07-29 15:20:54 -04:00
release_attachment.go Add a storage layer for attachments (#11387) 2020-08-18 12:23:45 +08:00
repo.go Kanban board (#8346) 2020-08-16 23:07:38 -04:00
repo_test.go
star.go Remove page size limit comment from swagger (#11806) 2020-06-09 00:57:38 -04:00
status.go Add Access-Control-Expose-Headers (#12446) 2020-08-13 18:18:18 +01:00
subscriber.go Remove page size limit comment from swagger (#11806) 2020-06-09 00:57:38 -04:00
tag.go
topic.go Remove page size limit comment from swagger (#11806) 2020-06-09 00:57:38 -04:00
transfer.go Fix bug preventing transfer to private organization (#12497) 2020-08-16 16:27:08 -04:00
tree.go Remove page size limit comment from swagger (#11806) 2020-06-09 00:57:38 -04:00