Class ApiRootAction.QuestionEndpoint
java.lang.Object
io.jenkins.plugins.interactiveinput.rest.ApiRootAction.QuestionEndpoint
- Enclosing class:
ApiRootAction
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionorg.kohsuke.stapler.HttpResponsedoAbort()POST /questions/{id}/abort — cancel the input (delivers an abort to the pipeline).org.kohsuke.stapler.HttpResponsedoAnswer(org.kohsuke.stapler.StaplerRequest2 req) POST /questions/{id}/answer — submit an answer.org.kohsuke.stapler.HttpResponsedoIndex()GET /questions/{id} — detail.
-
Constructor Details
-
QuestionEndpoint
-
-
Method Details
-
doIndex
@GET public org.kohsuke.stapler.HttpResponse doIndex()GET /questions/{id} — detail. 404 if not found or not readable (avoids existence leak). -
doAnswer
public org.kohsuke.stapler.HttpResponse doAnswer(org.kohsuke.stapler.StaplerRequest2 req) POST /questions/{id}/answer — submit an answer. -
doAbort
public org.kohsuke.stapler.HttpResponse doAbort()POST /questions/{id}/abort — cancel the input (delivers an abort to the pipeline).
-