The path value in git tree response

The rest API to fetch git tree return ‘path’ field in response when recursive flag is not included. This path is not the absolute path. Is there a way to get the absolute path as well.