Block all API calls

Article ID:217375688
1 minute readKnowledge base


  • It has been observed a lot of threads and slow requests like

"Handling GET /job/FOLDER1/job/JOB1/api/json from : RequestHandlerThread[#2246]" Id=614605 ...
  • It would great to have a way to filter out the number of requests which are processed by Jenkins, so the load can be reduced.


Install the CloudBees Request Filter Plugin and add one of the following rules in Manage Jenkins > Configure System to get the desired behavior:


Block all the api requests which do not use parameters


Block all the api requests including those which use tree and depth parameters