aboutsummaryrefslogtreecommitdiff
path: root/docs_src/API
diff options
context:
space:
mode:
authorHampusM <hampus@hampusmat.com>2021-08-05 17:03:36 +0200
committerHampusM <hampus@hampusmat.com>2021-08-05 17:03:36 +0200
commit8c6a59cd766fead4998c957d86a0e33fd58d1cde (patch)
treeff2cd43a4a5dafb27348fc320784c39f1fe9c941 /docs_src/API
parent22bf491be5f25bccf779be53b2ad37836f0850b8 (diff)
The tree API has a branch query param & made repository branch less hardcoded
Diffstat (limited to 'docs_src/API')
-rw-r--r--docs_src/API/v1/repos.md9
1 files changed, 5 insertions, 4 deletions
diff --git a/docs_src/API/v1/repos.md b/docs_src/API/v1/repos.md
index 2df611f..9ddfc12 100644
--- a/docs_src/API/v1/repos.md
+++ b/docs_src/API/v1/repos.md
@@ -45,10 +45,11 @@ Retrieves a repository tree.
**Parameters:**<br>
-| Name | Location | Description | Required | Schema |
-|------|----------|------------------|----------|--------|
-| repo | path | The repository | true | string |
-| path | query | Path in the tree | false | string |
+| Name | Location | Description | Required | Schema |
+|--------|----------|------------------|----------|--------|
+| repo | path | The repository | true | string |
+| path | query | Path in the tree | false | string |
+| branch | query | A branch | false | string |
**Response:**<br>