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