mirror of
https://codeberg.org/forgejo/forgejo.git
synced 2024-12-27 01:44:10 -05:00
5ac6da3c41
* 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. |
||
---|---|---|
.. | ||
admin_org.go | ||
admin_repo.go | ||
admin_user.go | ||
attachment.go | ||
doc.go | ||
fork.go | ||
gitea.go | ||
hook.go | ||
issue.go | ||
issue_comment.go | ||
issue_label.go | ||
issue_milestone.go | ||
issue_tracked_time.go | ||
lfs_lock.go | ||
miscellaneous.go | ||
org.go | ||
org_member.go | ||
org_team.go | ||
pull.go | ||
release.go | ||
repo.go | ||
repo_branch.go | ||
repo_collaborator.go | ||
repo_file.go | ||
repo_key.go | ||
repo_refs.go | ||
repo_tree.go | ||
repo_watch.go | ||
status.go | ||
user.go | ||
user_app.go | ||
user_email.go | ||
user_follow.go | ||
user_gpgkey.go | ||
user_key.go | ||
user_search.go | ||
utils.go |