Hi,

      I am one of the contributors to Jenkinsapi Python library. I started working on scripting Python client to create nodes and found that nodes API is unusable because creation of the SSH node requires id of the credentials to be used, but there is no API to ask for available credentials.

      I can create credential by doing post to credential page, but there is no way to get an id of that credential.

      To make nodes API work again it would be enough to provide API to create credential, which will return credential id and a method to get list of the credentials.

      Thanks!

          [JENKINS-20408] Provide REST API

          The code with API support have been added and merged to master on 12 Feb 2015: https://github.com/jenkinsci/credentials-plugin/pull/8

          Aleksey Maksimov added a comment - The code with API support have been added and merged to master on 12 Feb 2015: https://github.com/jenkinsci/credentials-plugin/pull/8

          As per the comment above, this was merged a while ago (in 2014, not 2015).

          It was released as part of version 1.10.

          Christopher Orr added a comment - As per the comment above, this was merged a while ago (in 2014, not 2015). It was released as part of version 1.10.

            stephenconnolly Stephen Connolly
            lechat Aleksey Maksimov
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: