repository
Get the metadata and contents of requested files
See the POST method. This GET method supports using JSON encoded request body in query parameter.
get/repos/{owner}/{repo}/file-contents
Path parameters
ownerstring required
owner of the repo
repostring required
name of the repo
Query parameters
refstring
The name of the commit/branch/tag. Default to the repository’s default branch.
bodystring required
The JSON encoded body (see the POST request): {"files": ["filename1", "filename2"]}
Response
ContentsListResponse