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

Skip to content

Commit bf24353

Browse files
authored
Update Contents.md
1 parent 3b6fa13 commit bf24353

File tree

1 file changed

+28
-10
lines changed

1 file changed

+28
-10
lines changed

Repositories/Contents.md

Lines changed: 28 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -107,18 +107,36 @@ Status: 200 OK
107107
[
108108
{
109109
"type": "file",
110+
"encoding": "base64",
111+
"size": 50,
112+
"name": "Sum.groovy",
113+
"path": "src/Sum.groovy",
114+
"content": "c3RhdGljIGludCBzdW0oaW50IHZhbDEsIHZhbDIpIHsKICAgIHZhbDEgKyB2YWwyCn0=",
115+
"sha": "9f221918607d78c1db3f6c6d5afa68a66b1146a8",
116+
"url": "https://try.gogs.io/api/v1/repos/unknwon/git-module-testrepo/contents/src/Sum.groovy",
117+
"git_url": "https://try.gogs.io/api/v1/repos/unknwon/git-module-testrepo/git/blobs/9f221918607d78c1db3f6c6d5afa68a66b1146a8",
118+
"html_url": "https://try.gogs.io/unknwon/git-module-testrepo/src/master/Sum.groovy",
119+
"download_url": "https://try.gogs.io/unknwon/git-module-testrepo/raw/master/Sum.groovy",
120+
"_links": {
121+
"git": "https://try.gogs.io/api/v1/repos/unknwon/git-module-testrepo/git/blobs/9f221918607d78c1db3f6c6d5afa68a66b1146a8",
122+
"self": "https://try.gogs.io/api/v1/repos/unknwon/git-module-testrepo/contents/src/Sum.groovy",
123+
"html": "https://try.gogs.io/unknwon/git-module-testrepo/src/master/Sum.groovy"
124+
}
125+
},
126+
{
127+
"type": "dir",
110128
"size": 0,
111-
"name": "README.md",
112-
"path": "d1",
113-
"sha": "e69de29bb2d1d6434b8b29ae775ad8c2e48c5391",
114-
"url": "https://try.gogs.io/api/v1/repos/root/test-symlink/contents/d1",
115-
"git_url": "https://try.gogs.io/api/v1/repos/root/test-symlink/trees/e69de29bb2d1d6434b8b29ae775ad8c2e48c5391",
116-
"html_url": "https://try.gogs.io/api/v1/repos/root/test-symlink/tree/e69de29bb2d1d6434b8b29ae775ad8c2e48c5391",
117-
"download_url": "https://try.gogs.io/api/v1/root/test-symlink/raw/d1",
129+
"name": "main",
130+
"path": "src/main",
131+
"sha": "b312d30ddff2f204d6b6aa78dd4beda593d9d787",
132+
"url": "https://try.gogs.io/api/v1/repos/unknwon/git-module-testrepo/contents/src/main",
133+
"git_url": "https://try.gogs.io/api/v1/repos/unknwon/git-module-testrepo/git/trees/b312d30ddff2f204d6b6aa78dd4beda593d9d787",
134+
"html_url": "https://try.gogs.io/unknwon/git-module-testrepo/src/master/main",
135+
"download_url": "https://try.gogs.io/unknwon/git-module-testrepo/raw/master/main",
118136
"_links": {
119-
"git": "https://try.gogs.io/api/v1/repos/root/test-symlink/trees/e69de29bb2d1d6434b8b29ae775ad8c2e48c5391",
120-
"self": "https://try.gogs.io/api/v1/repos/root/test-symlink/contents/d1",
121-
"html": "https://try.gogs.io/api/v1/repos/root/test-symlink/tree/e69de29bb2d1d6434b8b29ae775ad8c2e48c5391"
137+
"git": "https://try.gogs.io/api/v1/repos/unknwon/git-module-testrepo/git/trees/b312d30ddff2f204d6b6aa78dd4beda593d9d787",
138+
"self": "https://try.gogs.io/api/v1/repos/unknwon/git-module-testrepo/contents/src/main",
139+
"html": "https://try.gogs.io/unknwon/git-module-testrepo/src/master/main"
122140
}
123141
}
124142
]

0 commit comments

Comments
 (0)
0