You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
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.
6 years ago
..
admin_org.go Update gitea/sdk vendor 8 years ago
admin_repo.go Update gitea/sdk vendor 8 years ago
admin_user.go fix: Add secret to all webhook's payload where it has been missing (#5199) 6 years ago
attachment.go Issue due date (#3794) 6 years ago
doc.go Update gitea/sdk vendor 8 years ago
fork.go Update swagger documentation (#2899) 7 years ago
gitea.go Add Attachment API (#3478) 6 years ago
hook.go api: Add missing GET teams endpoints (#5382) 6 years ago
issue.go fix: Add secret to all webhook's payload where it has been missing (#5199) 6 years ago
issue_comment.go Add Attachment API (#3478) 6 years ago
issue_label.go Add Attachment API (#3478) 6 years ago
issue_milestone.go Add Attachment API (#3478) 6 years ago
issue_tracked_time.go Add Attachment API (#3478) 6 years ago
lfs_lock.go Add fingerprint to ssh key endpoints. (#3009) 7 years ago
miscellaneous.go Update swagger documentation (#2899) 7 years ago
org.go Add Attachment API (#3478) 6 years ago
org_member.go Update gitea/sdk vendor 8 years ago
org_team.go api: Add missing GET teams endpoints (#5382) 6 years ago
pull.go Add more webhooks support and refactor webhook templates directory (#3929) 6 years ago
release.go api: Add missing GET teams endpoints (#5382) 6 years ago
repo.go fix: Add secret to all webhook's payload where it has been missing (#5199) 6 years ago
repo_branch.go Update swagger documentation (#2899) 7 years ago
repo_collaborator.go Update swagger documentation (#2899) 7 years ago
repo_file.go Fix import path of go-sdk (#141) 8 years ago
repo_key.go fix: Add secret to all webhook's payload where it has been missing (#5199) 6 years ago
repo_refs.go Implement git refs API for listing references (branches, tags and other) (#5354) 6 years ago
repo_tree.go Git-Trees API (#5403) 6 years ago
repo_watch.go Update swagger documentation (#2899) 7 years ago
status.go Add Attachment API (#3478) 6 years ago
user.go API /admin/users/{username} missing parameter (#4775) 6 years ago
user_app.go Add ability to delete a token (#4235) 6 years ago
user_email.go Update swagger documentation (#2899) 7 years ago
user_follow.go Update gitea/sdk vendor 8 years ago
user_gpgkey.go Add Attachment API (#3478) 6 years ago
user_key.go fix: Add secret to all webhook's payload where it has been missing (#5199) 6 years ago
user_search.go Add Attachment API (#3478) 6 years ago
utils.go Update gitea/sdk vendor 8 years ago