Skip to content
This repository was archived by the owner on Feb 7, 2026. It is now read-only.
This repository was archived by the owner on Feb 7, 2026. It is now read-only.

Git Trees API without path parameter! #29

@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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions