GET /repos/{owner}/{repo}/git/trees/{tree_sha}
Returns a single tree using the SHA1 value or ref name for that tree.
If truncated
is true
in the response then the number of items in the tree
array exceeded our maximum limit. If you need to fetch more items, use the non-recursive method of fetching trees, and fetch one sub-tree at a time.
[!NOTE] The limit for the
tree
array is 100,000 entries with a maximum size of 7 MB when using therecursive
parameter.
Servers
- https://api.github.com
Path parameters
Name | Type | Required | Description |
---|---|---|---|
repo |
String | Yes |
The name of the repository without the |
tree_sha |
String | Yes |
The SHA1 value or ref (branch or tag) name of the tree. |
owner |
String | Yes |
The account owner of the repository. The name is not case sensitive. |
Query parameters
Name | Type | Required | Description |
---|---|---|---|
recursive |
String | No |
Setting this parameter to any value returns the objects or subtrees referenced by the tree specified in |
How to start integrating
- Add HTTP Task to your workflow definition.
- Search for the API you want to integrate with and click on the name.
- This loads the API reference documentation and prepares the Http request settings.
- Click Test request to test run your request to the API and see the API's response.