8000 Update Contents.md · gogs/docs-api@eafd054 · GitHub
[go: up one dir, main page]

Skip to content

Commit eafd054

Browse files
authored
Update Contents.md
1 parent 2579e61 commit eafd054

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

Repositories/Contents.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -72,6 +72,12 @@ Content-Type: application/octet-stream
7272
GET /repos/:username/:reponame/contents/:ref/:path
7373
```
7474

75+
### Parameters
76+
77+
|Name|Type|Description|
78+
|----|----|-----------|
79+
|`ref`|`string`|The name of the commit/branch/tag. The default is the default branch of the repository, usually is `master`.|
80+
7581
### Response if content is a file
7682
```
7783
Status: 200 OK

0 commit comments

Comments
 (0)
0