From 8c6a59cd766fead4998c957d86a0e33fd58d1cde Mon Sep 17 00:00:00 2001 From: HampusM Date: Thu, 5 Aug 2021 17:03:36 +0200 Subject: The tree API has a branch query param & made repository branch less hardcoded --- docs_src/API/v1/repos.md | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) (limited to 'docs_src/API') 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:**
-| 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:**
-- cgit v1.2.3-18-g5258