summaryrefslogtreecommitdiffstats
path: root/routers/api/v1/org/member.go
Commit message (Collapse)AuthorAgeFilesLines
* Use gitea forked macaron (#7933)Tamal Saha2019-08-231-2/+1
| | | Signed-off-by: Tamal Saha <tamal@appscode.com>
* fix wrong email when use gitea as OAuth2 provider (#7640)renothing2019-07-271-1/+2
| | | | | | | when you use gitea as OAuth2 provider, the /api/v1/user should return user primary email as identifier, which is unique in OAuth2 clients. this patch use convert.ToUser replace all u.APIFormat in api requests, return primary email when caller is yourself or admin.
* Move sdk structs to modules/structs (#6905)Lunny Xiao2019-05-111-1/+1
| | | | | | | | | | | | * move sdk structs to moduels/structs * fix tests * fix fmt * fix swagger * fix vendor
* Updates to API 404 responses (#6077)John Olheiser2019-03-181-3/+3
|
* Fix Swagger JSON autogeneration issues. (#4845)zeripath2018-10-201-12/+0
| | | | | | | | | | | | | | | | | | | | | * Fix Swagger JSON. Remove unnecessary schema references for the forbidden and empty responses Signed-off-by: Andrew Thornton <art27@cantab.net> * Fix swagger API for CreateAccessToken * Fix admin create org swagger * Fix swagger for adminCreateRepo * More swagger fixes Set int64 format for those which are int64 Some more form fixes * Fix swagger description of GET /repos/{owner}/{repo}/pulls
* Fixes repo membership check in API (#4341)Nicolas Da Mutten2018-07-051-1/+1
| | | Untested, since I can't compile (yet).
* Fix ignored errors when checking if organization, team member (#3177)Ethan Koenig2017-12-211-11/+30
|
* Update swagger documentation (#2899)Ethan Koenig2017-11-131-66/+135
| | | | | | | | | | | * Update swagger documentation Add docs for missing endpoints Add documentation for request parameters Make parameter naming consistent Fix response documentation * Restore delete comments
* Improve swagger doc (#2274)Antoine GIRARD2017-08-211-0/+66
| | | | | | | | | | | | | | | | | | | | * Add swagger comment for adminCreateOrg * Add swagger comment for admin route * add hook swagger doc * Add tags * Add auth * Fix name of responses * Edit name method * Update vendor * make generate-swagger
* Bug fixes for org member APIEthan Koenig2017-06-071-10/+23
|
* Use handlers for API authorization (#723)Ethan Koenig2017-01-261-11/+2
|
* API Endpoints for organization members (#645)Ethan Koenig2017-01-201-0/+141