1
0
Fork 0
mirror of https://codeberg.org/forgejo/forgejo.git synced 2024-12-27 13:39:19 -05:00
forgejo/routers/api/v1
Harshit Bansal 5ac6da3c41 api: Add missing GET teams endpoints (#5382)
* api: Add an endpoint to list a particular member of team.

* models: Rename `GetUserTeams()` to `GetUserOrgTeams()` in `org_team` model.

`GetUserTeams()` sounds a bit misnomer since it actually returns
the teams that user belongs to in a given organization rather than
all the teams across all the organization that the user has joined.

* models: Add `GetUserTeams()`.

Returns all the teams that a user belongs to.

* api: Add an endpoint for GET '/user/teams'.

A GET request to this endpoint lists all the teams that a user
belongs to.
2019-01-16 19:39:50 -05:00
..
admin Fix Swagger JSON autogeneration issues. (#4845) 2018-10-20 23:40:42 -04:00
convert Fix create team, update team missing units (#5188) 2018-11-10 14:45:32 -05:00
misc Swagger.v1.json template (#3572) 2018-07-28 03:19:01 +03:00
org api: Add missing GET teams endpoints (#5382) 2019-01-16 19:39:50 -05:00
repo Issue is not overdue when it is on the same date #5566 (#5568) 2019-01-01 18:56:47 +01:00
swagger Implement git refs API for listing references (branches, tags and other) (#5354) 2018-11-27 16:52:20 -05:00
user Restrict permission check on repositories and fix some problems (#5314) 2018-11-28 19:26:14 +08:00
utils Slack webhook channel name cannot be empty or just contain an hashtag (#4786) 2018-09-10 10:31:08 -04:00
api.go api: Add missing GET teams endpoints (#5382) 2019-01-16 19:39:50 -05:00