githaven-fork/routers/api/v1
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
..
admin Check passwords against HaveIBeenPwned (#12716) 2020-09-08 17:06:39 -05:00
misc API: Move AllowedReactions endpoint into GetGenneralUI endpoint + creat new swagger section settings (#11854) 2020-06-22 14:21:31 -04:00
notify Extend Notifications API and return pinned notifications by default (#12164) 2020-07-12 00:46:01 +03:00
org Add Access-Control-Expose-Headers (#12446) 2020-08-13 18:18:18 +01:00
repo [API] Migration: Change ServiceType String (#12672) 2020-09-10 23:29:19 +01:00
settings Expose Attachemnt Settings by API (#12514) 2020-09-05 08:43:06 +01:00
swagger [API] Migration: Change ServiceType String (#12672) 2020-09-10 23:29:19 +01:00
user [API] Delete Token accept names too (#12366) 2020-08-28 11:09:33 +03:00
utils Granular webhook events (#9626) 2020-03-06 07:10:48 +02:00
api.go [API] Migration: Change ServiceType String (#12672) 2020-09-10 23:29:19 +01:00