aboutsummaryrefslogtreecommitdiff
path: root/docs_src/API/v1
diff options
context:
space:
mode:
Diffstat (limited to 'docs_src/API/v1')
-rw-r--r--docs_src/API/v1/repos.md27
1 files changed, 25 insertions, 2 deletions
diff --git a/docs_src/API/v1/repos.md b/docs_src/API/v1/repos.md
index 9ddfc12..e5c24b9 100644
--- a/docs_src/API/v1/repos.md
+++ b/docs_src/API/v1/repos.md
@@ -41,7 +41,7 @@ Retrieves a repository.
**Method:** GET
**Description:**<br>
-Retrieves a repository tree.
+Retrieves a repository's tree.
**Parameters:**<br>
@@ -60,6 +60,29 @@ Retrieves a repository tree.
<br>
+## /repos/:repo/tree/history
+**Method:** GET
+
+**Description:**<br>
+Retrieves a tree entry's commit history.
+
+**Parameters:**<br>
+
+| Name | Location | Description | Required | Schema |
+|--------|----------|------------------|----------|--------|
+| repo | path | The repository | true | string |
+| path | query | Path in the tree | true | string |
+| branch | query | A branch | false | string |
+
+**Response:**<br>
+
+| Code | Description | Schema |
+|---------|---------------------------------|---------------------------------------|
+| 200 | The tree entry's commit history | [\[Commit\]](/docs/modules/api.html#Commit) |
+| 400-599 | An error | [Error](/docs/modules/api.html#Error) |
+
+<br>
+
## /repos/:repo/tags
**Method:** GET
@@ -164,4 +187,4 @@ Retrieves a branch from a repository.
| Code | Description | Schema |
|---------|-------------|--------------------------------------------|
| 200 | A branch | [Branch](/docs/interfaces/api.Branch.html) |
-| 400-599 | An error | [Error](/docs/modules/api.html#Error) | \ No newline at end of file
+| 400-599 | An error | [Error](/docs/modules/api.html#Error) |