Skip to content

Git Trees API without path parameter! #29

Open
@jianboy

Description

@jianboy

Git Trees

param:
    owner
    repo
    sha(ref)

GET /repos/:owner/:repo/git/trees/:sha

The API only get root dir. but the sub directory can not get tree list. Here is github api:

param:
    owner
    repo
    ref
    path

https://api.github.com/repos/${owner}/${repo}/git/trees/${ref}${path.replace(/^\//, ':')}

it can not get a sub-tree.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

      Development

      No branches or pull requests

        Participants

        @jianboy

        Issue actions

          Git Trees API without path parameter! · Issue #29 · gogs/docs-api