repository
Get the metadata and contents of requested files
Uses automatic pagination based on default page size and max response size and returns the maximum allowed number of files. Files which could not be retrieved are null. Files which are too large are being returned with encoding == null, content == null and size > 0, they can be requested separately by using the download_url.
post/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.
Request body
Response
ContentsListResponse