Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-39790

API to create credential from Github access token (and validate)

XMLWordPrintable

    • Icon: Task Task
    • Resolution: Fixed
    • Icon: Minor Minor
    • blueocean-plugin
    • None
    • tasman, frank, christmas

      • Send access token in request body
      • Response can be
        • 200, returning credential in response body
        • 403 if token is invalid or has insufficient access
      • The access token credential is created on 200 and is User scoped

      Sample request:

      {
          "accessToken": "abcd1234..."
      }
      

      Sample 200 response:

      {
          "credentialId": "1234-..."
      }
      

            vivek Vivek Pandey
            jamesdumay James Dumay
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: