tanuki v0.1.0 Tanuki.Projects.Repositories
Summary
Functions
GET /projects/:id/repository/archive
GET /projects/:id/repository/blobs/:sha
GET /projects/:id/repository/contributors
GET /projects/:id/repository/compare
GET /projects/:id/repository/raw_blobs/:sha
GET /projects/:id/repository/tree
Functions
GET /projects/:id/repository/archive
Get an archive of the repository
Parameters:
- sha (optional) - The commit SHA to download defaults to the tip of the default branch
GET /projects/:id/repository/blobs/:sha
Get the raw file contents for a file by commit SHA and path.
Parameters:
- filepath (required) - The path the file
GET /projects/:id/repository/compare
Compare branches, tags or commits
Parameters:
- from (required) - the commit SHA or branch name
- to (required) - the commit SHA or branch name
GET /projects/:id/repository/raw_blobs/:sha
Get the raw file contents for a blob by blob SHA.
GET /projects/:id/repository/tree
Get a list of repository files and directories in a project.
Parameters:
- path (optional) - The path inside repository. Used to get contend of subdirectories
- ref_name (optional) - The name of a repository branch or tag or if not given the default branch