gh_repos_get_contents_by_path: Get contents.

Description Usage Arguments Details

Description

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/"

Usage

1
gh_repos_get_contents_by_path(owner, repo, path, ...)

Arguments

owner

Name of repository owner.

repo

Name of repository.

path

path

...

Additional parameters to pass to gh. See details.

Details

Additional parameters that can be passed:

type

It takes values in: all, public, private, forks, sources, member. The default is: all

Accept

Is used to set specified media type.


ramnathv/gh3 documentation built on May 7, 2019, 12:53 a.m.