Class ApiRootAction.Questions
java.lang.Object
io.jenkins.plugins.interactiveinput.rest.ApiRootAction.Questions
- Enclosing class:
ApiRootAction
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionorg.kohsuke.stapler.HttpResponsedoIndex(org.kohsuke.stapler.StaplerRequest2 req) GET /questions — list WAITING questions visible to the caller.getDynamic(String id)
-
Constructor Details
-
Questions
public Questions()
-
-
Method Details
-
doIndex
@GET public org.kohsuke.stapler.HttpResponse doIndex(org.kohsuke.stapler.StaplerRequest2 req) GET /questions — list WAITING questions visible to the caller.Scoping:
?job=<fullName>— questions for one job the caller may answer (per-project notification centre). RequiresItem.READon that job; 404 otherwise (no leak).?job=<fullName>&build=<n>— every readable question (any status, with answers) for one build (per-build audit view).?all=true— every WAITING question (requiresOverall/Administer).- default — every WAITING question the caller may answer, across all jobs.
-
getDynamic
-