Edit type is not made available through the API. http://javadoc.jenkins-ci.org/hudson/scm/ChangeLogSet.Entry.html
It's the difference between getAffectedFiles (which has the information) and getAffectedPaths (which is made available to the API). On 01.05.2015, at 03:58, Brent Scriver <[email protected]> wrote: > > Hi all, > > I can currently get some information for the changeSet of a job using: > http://<jenkins>/job/<jobname>/<jobid>/api/json > > However this is not the entire set of change information (such as the edit > type (add, edit, delete), and the perforce revision of the file). > > There is additional information provided by: > http://<jenkins>/job/<jobname>/<jobid>/changes > > that I have been unsuccessful at trying to acquire from the api/json data. > What I've tried: > * changes/api/json > * api/json/changes > * api/json/?depth=# for various # > * api/json/?tree=changeSet[*[*]] > > Is there a a simple way to get the extended information? > > Thank you, > Brent > > -- > You received this message because you are subscribed to the Google Groups > "Jenkins Users" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To view this discussion on the web visit > https://groups.google.com/d/msgid/jenkinsci-users/67f3ef3b-a54c-4e55-ac35-51a9e0ee6308%40googlegroups.com. > For more options, visit https://groups.google.com/d/optout. -- You received this message because you are subscribed to the Google Groups "Jenkins Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/39115E19-946A-417C-9EFB-F76ADA99138F%40beckweb.net. For more options, visit https://groups.google.com/d/optout.
