Class ApiRootAction.Views

java.lang.Object
io.jenkins.plugins.interactiveinput.rest.ApiRootAction.Views
Enclosing class:
ApiRootAction

public static class ApiRootAction.Views extends Object
  • Constructor Details

    • Views

      public Views()
  • Method Details

    • doIndex

      @GET public org.kohsuke.stapler.HttpResponse doIndex(org.kohsuke.stapler.StaplerRequest2 req)
      GET /views — list review documents visible to the caller.

      Scoping mirrors /questions:

      • ?job=<fullName> — OPEN, notify-enabled reviews for one job the caller may read (the per-project notification list). Requires Item.READ; 404 otherwise (no leak).
      • ?job=<fullName>&build=<n> — every readable review (any status) for one build (per-build list/audit).
      • ?all=true — every OPEN readable review (requires Overall/Administer).
      • default — every OPEN, notify-enabled review the caller may read, across all jobs.
    • getDynamic

      public ApiRootAction.ViewEndpoint getDynamic(String id)