forgejo/modules/structs
Romain d0a681fbc3
[API] Add endpount to get user org permissions (#17232)
* Add endpoint

* Add swagger response + generate swagger

* Stop execution if user / org is not found

* Add tests


Co-authored-by: 6543 <6543@obermui.de>
2021-10-12 12:47:19 +02:00
..
admin_user.go Add Visible modes function from Organisation to Users too (#16069) 2021-06-26 20:53:14 +01:00
attachment.go Fix wrong hint when status checking is running on pull request view (#9886) 2020-01-22 11:46:04 +08:00
commit_status.go [Refactor] CombinedStatus and CommitStatus related functions & structs (#14026) 2020-12-18 11:33:32 +08:00
cron.go Add cron running API (#12421) 2020-08-24 11:48:15 -04:00
doc.go
fork.go
git_blob.go
git_hook.go
hook.go Add an abstract json layout to make it's easier to change json library (#16528) 2021-07-24 18:03:58 +02:00
issue.go rm gogs relict (#14665) 2021-02-14 00:07:17 +08:00
issue_comment.go
issue_label.go [API] Fix inconsistent label color format (#10129) 2020-02-09 14:33:03 +00:00
issue_milestone.go Add Created & Updated to Milestone (#12662) 2020-09-05 13:38:54 -04:00
issue_reaction.go [API] Fix 9544 | return 200 when reaction already exist (#9550) 2019-12-31 03:21:21 -05:00
issue_stopwatch.go Display current stopwatch in navbar (#14122) 2021-01-21 15:51:52 +01:00
issue_tracked_time.go [API] Extend times API (#9200) 2019-12-27 20:30:58 +00:00
lfs_lock.go
miscellaneous.go
nodeinfo.go Add nodeinfo endpoint for federation purposes (#16953) 2021-09-28 01:38:06 +02:00
notifications.go API: add html urls to notification subjects (#17178) 2021-09-30 07:17:39 +03:00
org.go [API] Add endpount to get user org permissions (#17232) 2021-10-12 12:47:19 +02:00
org_member.go
org_team.go Add missing repo.projects unit into swagger (#14876) 2021-03-03 23:44:30 +01:00
org_type.go
pull.go Add option to API to update PullRequest base branch (#11666) 2020-06-07 20:13:40 +01:00
pull_review.go Expose resolver via API (#15167) 2021-03-28 00:37:51 +01:00
release.go Add single release page and latest redirect (#11102) 2020-04-18 11:47:15 -03:00
repo.go Add migrate from OneDev (#16356) 2021-08-22 00:47:45 +02:00
repo_branch.go Support unprotected file patterns (#16395) 2021-09-11 16:21:17 +02:00
repo_collaborator.go
repo_commit.go [API] Add affected files of commits to commit struct (#14579) 2021-02-07 15:43:40 +01:00
repo_file.go enhancement: add signoff option in commit form (#14516) 2021-01-29 16:57:45 +08:00
repo_key.go
repo_note.go Add an api endpoint to fetch git notes (#15373) (#16649) 2021-08-11 03:01:40 +02:00
repo_refs.go
repo_tag.go [API] Add repoCreateTag (#16165) 2021-06-17 18:04:10 +02:00
repo_topic.go
repo_tree.go
repo_watch.go
settings.go Add custom emoji support (#16004) 2021-06-29 16:28:38 +02:00
status.go [Refactor] CombinedStatus and CommitStatus related functions & structs (#14026) 2020-12-18 11:33:32 +08:00
task.go
user.go Add an abstract json layout to make it's easier to change json library (#16528) 2021-07-24 18:03:58 +02:00
user_app.go Remove Unused Functions (#10516) 2020-03-02 00:05:44 +02:00
user_email.go
user_gpgkey.go Add option to provide signature for a token to verify key ownership (#14054) 2021-07-13 15:28:07 +02:00
user_key.go