Pretty much the same thing as #24568 but for getting a single commit instead of getting a list of commits
base_ref
head_ref
api_url
ref_type