How to get the number of changed files in a commit through API

image
I want to get the number of files modified in the commit through the API. /projects/: id/repository/commits/: sha/diff is not all I get

Hello,

I am facing a similar problem. Could you please post the resolution if you have found one ?