Skip to content

[API] add GET /orgs endpoint #9560

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 8 commits into from
Jan 12, 2020

Conversation

6543
Copy link
Member

@6543 6543 commented Dec 31, 2019

close #5361

add GET /orgs endpoint: wich return list of all public organizations

@codecov-io
Copy link

codecov-io commented Dec 31, 2019

Codecov Report

❗ No coverage uploaded for pull request base (master@7b52dfb). Click here to learn what that means.
The diff coverage is 35.75%.

Impacted file tree graph

@@            Coverage Diff            @@
##             master    #9560   +/-   ##
=========================================
  Coverage          ?   42.27%           
=========================================
  Files             ?      597           
  Lines             ?    78257           
  Branches          ?        0           
=========================================
  Hits              ?    33080           
  Misses            ?    41126           
  Partials          ?     4051
Impacted Files Coverage Δ
models/repo_generate.go 10.41% <ø> (ø)
modules/repository/repo.go 26.28% <0%> (ø)
services/repository/generate.go 0% <0%> (ø)
modules/repository/generate.go 0% <0%> (ø)
modules/repofiles/update.go 41.28% <0%> (ø)
modules/migrations/gitea.go 7.96% <0%> (ø)
services/mirror/mirror.go 18.75% <0%> (ø)
routers/repo/issue_label.go 42.18% <0%> (ø)
models/task.go 15.45% <100%> (ø)
services/repository/repository.go 56.25% <100%> (ø)
... and 7 more

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 7b52dfb...30d7d72. Read the comment docs.

@GiteaBot GiteaBot added the lgtm/need 2 This PR needs two approvals by maintainers to be considered for merging. label Dec 31, 2019
@lunny lunny added the modifies/api This PR adds API routes or modifies them label Dec 31, 2019
@lunny lunny added this to the 1.12.0 milestone Dec 31, 2019
@6543 6543 force-pushed the api-add-orgGet_endpoint_5361 branch from 3b6cc1f to db216ec Compare January 5, 2020 10:55
@6543
Copy link
Member Author

6543 commented Jan 5, 2020

@bagasme

Only public orgs?

now if user is loged in he will find Limited Orgs also and if he is admin he will get realy all

@GiteaBot GiteaBot added lgtm/need 1 This PR needs approval from one additional maintainer to be merged. and removed lgtm/need 2 This PR needs two approvals by maintainers to be considered for merging. labels Jan 5, 2020
@GiteaBot GiteaBot added lgtm/done This PR has enough approvals to get merged. There are no important open reservations anymore. and removed lgtm/need 1 This PR needs approval from one additional maintainer to be merged. labels Jan 12, 2020
@6543 6543 force-pushed the api-add-orgGet_endpoint_5361 branch from 9634199 to a56aff0 Compare January 12, 2020 09:17
@lunny lunny merged commit 10055bd into go-gitea:master Jan 12, 2020
@6543 6543 deleted the api-add-orgGet_endpoint_5361 branch January 12, 2020 15:59
@go-gitea go-gitea locked and limited conversation to collaborators Nov 24, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
lgtm/done This PR has enough approvals to get merged. There are no important open reservations anymore. modifies/api This PR adds API routes or modifies them
Projects
None yet
Development

Successfully merging this pull request may close these issues.

missing list endpoint for /orgs/
6 participants