Unknwon
aff4208244
*: rename "gogits" to "gogs"
7 years ago
Anton Antonov
77c77fbd42
api: add endpoint /api/v1/user/orgs ( #4835 )
...
* Add API endpoint /api/v1/user/orgs
The difference between this endpoint and
/api/v1/admin/users/<username>/orgs,
is that here you're creating a repo with the `user`
that corresponds to the API token you're using.
* Extract duplicate API org creation
7 years ago
Unknwon
4400d2fdd9
Refactoring: rename package routers -> routes
8 years ago
Unknwon
2478b87432
Refactoring: rename ctx -> c
8 years ago
Unknwon
d05395fe90
Refactoring: rename modules -> pkg
...
Reasons to change:
1. Shorter than 'modules'
2. More generally used by other Go projects
3. Corresponds to the naming of '$GOPATH/pkg' directory
8 years ago
Unknwon
90e93b1f3a
Change list teams API to non-admin specific
9 years ago
Unknwon
e6f927f61a
#1692 api: admin list and create team under organization
9 years ago
Unknwon
9bd9ad4205
#1692 add CRUD issue APIs
...
- Fix go-gogs-client#10
- Related to #809
9 years ago
Unknwon
dd6faf7f9b
Convert all API handers to use *context.APIContext
9 years ago
Unknwon
2bf8494332
#13 finish user and repository search
...
Both are possible on explore and admin panel
9 years ago
Unknwon
514382e2eb
Rename module: middleware -> context
9 years ago
Unknwon
9cd16c5b12
#1692 add organization APIs
9 years ago