Description Usage Arguments Details
This method returns the contents of a file or directory in a repository. Files and symlinks support a custom media type for getting the raw content. Directories and submodules do not support custom media types. Note: This API supports files up to 1 megabyte in size. Here can be many outcomes. For details see "http://developer.github.com/v3/repos/contents/"
1 | gh_repos_get_contents_by_path(owner, repo, path, ...)
|
owner |
Name of repository owner. |
repo |
Name of repository. |
path |
path |
... |
Additional parameters to pass to |
Additional parameters that can be passed:
It takes values in: all, public, private, forks, sources, member. The default is: all
Is used to set specified media type.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.