How do I get the long SHA index's of a diff from GitHub?

If I make a call to the url below it returns a diff with short index SHA’s that are 7 characters each. Is there another diff API call to get the long 40 character SHA index diffs from GitHub?

curl -u user:token -H “Accept: application/vnd.github.diff” https://api.github.com/repos/user/repo/commits/7919b9733ebedd6ceb3eba59bbab31db2a16f79e 

Result has 7 character SHA’s not 40 character SHA’s.

diff --git a/test b/test
index d1edb92..4bc6ffa 100644
--- a/test
+++ b/test
@@ -1 +1 @@
-bumble bee
+fruit fly

Hi @rongitone,

Thank you for being here! To have control over the format of the diff output, you’ll have to clone the repository locally and perform the git command on the local copy of the repository.