Get Repo File Contents
Get file contents or directory listing from repo repository
get/api/v2/repos/{username}/{repo_name}/contents/{file_path}
Request
- The document declares no server URL.
- Authnone declared
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
usernamestring required
repo_namestring required
file_pathstring required
Query parameters
refstring
Git reference (branch, tag, or commit SHA)
Headers
authorizationstring nullable
Cookies
modaic_sessionstring nullable
Response
Successful Response
unknown required
Changes
No recorded changes to this operation across all 1 revision of this API.