@@ -173,18 +173,19 @@ Status: 200 OK
173
173
``` json
174
174
{
175
175
"type" : " submodule" ,
176
+ "submodule_git_url" : " https://github.com/gogs/docs-api.git" ,
176
177
"size" : 0 ,
177
- "name" : " testrepo " ,
178
- "path" : " testrepo " ,
179
- "sha" : " 2ddc5c87f1e6d78ea63a2d5fa19527a804ad252e " ,
180
- "url" : " https://try.gogs.io/api/v1/repos/root/test-symlink /contents/testrepo " ,
181
- "git_url" : " https://try.gogs.io/api/v1/repos/root/test-symlink/trees/2ddc5c87f1e6d78ea63a2d5fa19527a804ad252e " ,
182
- "html_url" : " https://try.gogs.io/api/v1/repos/root/test-symlink/tree/2ddc5c87f1e6d78ea63a2d5fa19527a804ad252e " ,
183
- "download_url" : " https://try.gogs.io/api/v1/root/test-symlink /raw/testrepo " ,
178
+ "name" : " docs-api " ,
179
+ "path" : " gogs/docs-api " ,
180
+ "sha" : " 6b08f76a5313fa3d26859515b30aa17a5faa2807 " ,
181
+ "url" : " https://try.gogs.io/api/v1/repos/unknwon/git-module-testrepo /contents/gogs/docs-api " ,
182
+ "git_url" : " " ,
183
+ "html_url" : " https://try.gogs.io/unknwon/git-module-testrepo/src/master/docs-api " ,
184
+ "download_url" : " https://try.gogs.io/unknwon/git-module-testrepo /raw/master/docs-api " ,
184
185
"_links" : {
185
- "git" : " https://try.gogs.io/api/v1/repos/root/test-symlink/trees/2ddc5c87f1e6d78ea63a2d5fa19527a804ad252e " ,
186
- "self" : " https://try.gogs.io/api/v1/repos/root/test-symlink /contents/testrepo " ,
187
- "html" : " https://try.gogs.io/api/v1/repos/root/test-symlink/tree/2ddc5c87f1e6d78ea63a2d5fa19527a804ad252e "
186
+ "git" : " " ,
187
+ "self" : " https://try.gogs.io/api/v1/repos/unknwon/git-module-testrepo /contents/gogs/docs-api " ,
188
+ "html" : " https://try.gogs.io/unknwon/git-module-testrepo/src/master/docs-api "
188
189
}
189
190
}
190
191
```
0 commit comments