Description Usage Arguments Details
This method will return a 302 to a URL to download a tarball or zipball archive for a repository. Please make sure your HTTP framework is configured to follow redirects or you will need to use the Location header to make a second GET request. Note: For private repositories, these links are temporary and expire quickly.
1 | gh_repos_get_by_path(owner, repo, archive_format, path, ...)
|
owner |
Name of repository owner. |
repo |
Name of repository. |
archive_format |
archive_format |
path |
Valid Git reference, defaults to 'master'. |
... |
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.