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

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

    XMLWordPrintable

Details

    • tasman, frank, christmas

    Description

      • 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-..."
      }
      

      Attachments

        Activity

          There are no comments yet on this issue.

          People

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

            Dates

              Created:
              Updated:
              Resolved: