Class DoraApiAction

java.lang.Object
io.jenkins.plugins.dorametrics.ui.DoraApiAction
All Implemented Interfaces:
ExtensionPoint, Action, ModelObject, RootAction

@Extension public class DoraApiAction extends Object implements RootAction
REST API at /dora-api/ for DORA metrics data.
  • Constructor Details

    • DoraApiAction

      public DoraApiAction()
  • Method Details

    • getIconFileName

      public String getIconFileName()
      Specified by:
      getIconFileName in interface Action
    • getDisplayName

      public String getDisplayName()
      Specified by:
      getDisplayName in interface Action
      Specified by:
      getDisplayName in interface ModelObject
    • getUrlName

      public String getUrlName()
      Specified by:
      getUrlName in interface Action
    • doOverview

      @GET public org.kohsuke.stapler.HttpResponse doOverview(@QueryParameter("days") String daysParam)
    • doPipelines

      @GET public org.kohsuke.stapler.HttpResponse doPipelines(@QueryParameter("days") String daysParam, @QueryParameter("limit") String limitParam)
    • doTrends

      @GET public org.kohsuke.stapler.HttpResponse doTrends(@QueryParameter("days") String daysParam, @QueryParameter("job") String jobName)
    • doExport

      @GET public org.kohsuke.stapler.HttpResponse doExport(@QueryParameter("days") String daysParam, @QueryParameter("format") String format)