-
Notifications
You must be signed in to change notification settings - Fork 55
Add the API /user/orgs. #222
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
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Member
|
Thanks very much! CI appears broken due to an issue that's nothing to do with your contribution. I'll fix that up separately and then merge/release your PR :-) |
…/ocaml-github into add-api-current-user-orgs
Member
|
I've pushed a merge to your branch that should now pass CI |
avsm
added a commit
to avsm/opam-repository
that referenced
this pull request
Jun 4, 2019
CHANGES: - Add the interface for `/user/orgs` (mirage/ocaml-github#222 @Aaylor) - Switch to dune-release instead of topkg (mirage/ocaml-github#224 @avsm) - Do not use deprecated `Yojson.Safe.json` (mirage/ocaml-github#224 @avsm) - Support lambda-term/zed 2.0.0 interfaces (mirage/ocaml-github#224 @avsm) - Use wrapped `js_of_ocaml` 3.4.0 interfaces (@avsm)
Member
|
Released into opam. Thanks for the contribution! |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
In order to list the current user organizations, and for which the user has granted the OAuth application the acces to the organizations, we must use the API /user/orgs.
It is different from
/users/:username/orgs: it returns only public organizations, which the OAuth application (via the token) may not have been granted access.