0
Fork 0
mirror of https://codeberg.org/forgejo/forgejo.git synced 2024-12-27 01:44:10 -05:00
forgejo/vendor/code.gitea.io/sdk/gitea
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_org.go Update gitea/sdk vendor 2016-11-29 11:50:22 +01:00
admin_repo.go Update gitea/sdk vendor 2016-11-29 11:50:22 +01:00
admin_user.go fix: Add secret to all webhook's payload where it has been missing (#5199) 2018-10-28 18:03:02 -04:00
attachment.go Issue due date (#3794) 2018-05-01 22:05:28 +03:00
doc.go Update gitea/sdk vendor 2016-11-29 11:50:22 +01:00
fork.go Update swagger documentation (#2899) 2017-11-13 09:02:25 +02:00
gitea.go Add Attachment API (#3478) 2018-03-06 09:22:16 +08:00
hook.go api: Add missing GET teams endpoints (#5382) 2019-01-16 19:39:50 -05:00
issue.go fix: Add secret to all webhook's payload where it has been missing (#5199) 2018-10-28 18:03:02 -04:00
issue_comment.go Add Attachment API (#3478) 2018-03-06 09:22:16 +08:00
issue_label.go Add Attachment API (#3478) 2018-03-06 09:22:16 +08:00
issue_milestone.go Add Attachment API (#3478) 2018-03-06 09:22:16 +08:00
issue_tracked_time.go Add Attachment API (#3478) 2018-03-06 09:22:16 +08:00
lfs_lock.go Add fingerprint to ssh key endpoints. (#3009) 2017-11-28 17:21:39 +02:00
miscellaneous.go Update swagger documentation (#2899) 2017-11-13 09:02:25 +02:00
org.go Add Attachment API (#3478) 2018-03-06 09:22:16 +08:00
org_member.go Update gitea/sdk vendor 2016-11-29 11:50:22 +01:00
org_team.go api: Add missing GET teams endpoints (#5382) 2019-01-16 19:39:50 -05:00
pull.go Add more webhooks support and refactor webhook templates directory (#3929) 2018-05-16 22:01:55 +08:00
release.go api: Add missing GET teams endpoints (#5382) 2019-01-16 19:39:50 -05:00
repo.go fix: Add secret to all webhook's payload where it has been missing (#5199) 2018-10-28 18:03:02 -04:00
repo_branch.go Update swagger documentation (#2899) 2017-11-13 09:02:25 +02:00
repo_collaborator.go Update swagger documentation (#2899) 2017-11-13 09:02:25 +02:00
repo_file.go Fix import path of go-sdk (#141) 2016-11-11 17:39:44 +08:00
repo_key.go fix: Add secret to all webhook's payload where it has been missing (#5199) 2018-10-28 18:03:02 -04:00
repo_refs.go Implement git refs API for listing references (branches, tags and other) (#5354) 2018-11-27 16:52:20 -05:00
repo_tree.go Git-Trees API (#5403) 2018-11-28 16:17:09 -05:00
repo_watch.go Update swagger documentation (#2899) 2017-11-13 09:02:25 +02:00
status.go Add Attachment API (#3478) 2018-03-06 09:22:16 +08:00
user.go API /admin/users/{username} missing parameter (#4775) 2018-08-23 19:59:47 -04:00
user_app.go Add ability to delete a token (#4235) 2018-07-06 21:54:30 -04:00
user_email.go Update swagger documentation (#2899) 2017-11-13 09:02:25 +02:00
user_follow.go Update gitea/sdk vendor 2016-11-29 11:50:22 +01:00
user_gpgkey.go Add Attachment API (#3478) 2018-03-06 09:22:16 +08:00
user_key.go fix: Add secret to all webhook's payload where it has been missing (#5199) 2018-10-28 18:03:02 -04:00
user_search.go Add Attachment API (#3478) 2018-03-06 09:22:16 +08:00
utils.go Update gitea/sdk vendor 2016-11-29 11:50:22 +01:00