Number of new CodeSmells via WebApi

Using the latest SonarQube release.

Is it possible to receive the number of only new CodeSmells via the WebAPI?
Basically, if I run an analysis and then it will give me the number of the new CodeSmells from the analysis before?

Hi,

You’re looking for the issue search call. Use the createdAt parameter to narrow it to the subset you want (plus of course the one to specify your project).

 
HTH,
Ann

Try using
<web_api_url>issues?branch=<branch_name>&id=<project_id>&sinceLeakPeriod=true&types=CODE_SMELL