-
Story
-
Resolution: Won't Fix
-
Minor
In Scope
- New plugin blueocean-github where the REST and UI for Github integration will live.
- Exposes a REST API to validate an access token against a github API endpoint
- returns OK or error with message (e.g. "scopes were missing")
- Allow any github endpoint (e.g. https://api.github.com or http://github.internal.corp/api)
Notes
- Any REST call to Github will return a header X-OAuth-Scopes with a comma separated list of scopes available for the credentials you are using
- The best REST call to make would be the /user endpoint that returns the authenticated users identity
- blocks
-
JENKINS-36600 API to query all the organizations the user has access to on Github
-
- Resolved
-
-
JENKINS-36601 API to query all the repositories the user has access to on github
-
- Resolved
-
[JENKINS-36599] API to validate github access key and retrieve scopes
Epic Link | New: JENKINS-36588 [ 172614 ] |
Summary | Original: API to test github credentials and retrieve scopes | New: API to test github access key and retrieve scopes |
Description |
Original:
In Scope * New plugin {{blueocean-github}} where the REST and UI for Github integration will live. * Exposes a REST API to test a access token against a github API endpoint * Testing returns the list of oauth scopes that the credentials will allow and the users name * Allow any github endpoint (e.g. https://api.github.com or http://github.internal.corp/api) Notes * [Any REST call to Github https://developer.github.com/v3/oauth/#scopes] will return a header {{X-OAuth-Scopes}} with a comma separated list of scopes available for the credentials you are using * The best REST call to make would be the [/user|https://developer.github.com/v3/users/#get-the-authenticated-user] endpoint that returns the authenticated users identity |
New:
In Scope * New plugin {{blueocean-github}} where the REST and UI for Github integration will live. * Exposes a REST API to test a access token against a github API endpoint * Testing returns the list of oauth scopes that the credentials will allow and the users name * Allow any github endpoint (e.g. https://api.github.com or http://github.internal.corp/api) Notes * [Any REST call to Github|https://developer.github.com/v3/oauth/#scopes] will return a header {{X-OAuth-Scopes}} with a comma separated list of scopes available for the credentials you are using * The best REST call to make would be the [/user|https://developer.github.com/v3/users/#get-the-authenticated-user] endpoint that returns the authenticated users identity |
Link |
New:
This issue blocks |
Link |
New:
This issue blocks |
coervivek michaelneale WDYT of having a blueocean-github plugin that contains all the github specific REST endpoints and UI for the creation flow? See the description above.