Hey! All the features you are proposing make sense to me. The one about "additional data on resources" would be covered by https://github.com/jenkinsci/lockable-resources-plugin/pull/20 maybe... unfortunately that's a big one that I did not have time to review yet.
Feel free to file JIRA issues for the others and even work on them and contribute if you feel comfortable with it. On 18 May 2018 at 23:42, Kevin Werner <kdd...@gmail.com> wrote: > Thanks Jesse, that should get me started. I appreciate the pointers. :) > > kddubb > > On Friday, May 18, 2018 at 3:39:39 PM UTC-6, Jesse Glick wrote: >> >> On Fri, May 18, 2018 at 5:11 PM, Kevin Werner <kdd...@gmail.com> wrote: >> > it seems like #1 >> > on my list should be implemented by adding a .../api to the >> > /lockable-resources/ URL? >> >> Perhaps for “querying current reservations”, but Stapler export API >> (`hudson.model.Api`, what you linked to) is read-only. For general >> operations you need to implement Stapler web methods in various >> patterns. >> >> > Any suggestions on good plugin examples to use? >> >> Some plugins implement RESTish APIs, some implement CLI commands, some >> implement both, and the quality is quite variable I am afraid. Jenkins >> core implements plenty of RESTish APIs; sometimes they are documented >> in `_api.jelly` files, but usually they are not. You can find APIs >> very roughly by searching for usages of `StaplerRequest`, >> `StaplerResponse`, `HttpResponse`, and a few other things. >> >> http://stapler.kohsuke.org/reference.html >> > -- > You received this message because you are subscribed to the Google Groups > "Jenkins Developers" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to jenkinsci-dev+unsubscr...@googlegroups.com. > To view this discussion on the web visit https://groups.google.com/d/ > msgid/jenkinsci-dev/fc2d26a6-977b-47f6-ab04-cf1f78d116ba% > 40googlegroups.com > <https://groups.google.com/d/msgid/jenkinsci-dev/fc2d26a6-977b-47f6-ab04-cf1f78d116ba%40googlegroups.com?utm_medium=email&utm_source=footer> > . > > For more options, visit https://groups.google.com/d/optout. > -- Antonio Muñiz Software Engineer CloudBees, Inc. -- You received this message because you are subscribed to the Google Groups "Jenkins Developers" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-dev+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-dev/CAJc7kzSLb%2B442XkNPVZ%2BoHkfFtTkZw2GKSqJ95dO0UbNUsg3ug%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.