Skip to content

Commit 44485fb

Browse files
committed
Merge branch 'patch-2' of github.com:CoderOrangesoft/codemao-api into dev
2 parents 318b973 + f122709 commit 44485fb

File tree

1 file changed

+16
-0
lines changed

1 file changed

+16
-0
lines changed

work/player-load.mc

+16
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
# 获取作品的源码
2+
3+
> 通过Kitten加载器(player)获取
4+
> `https://api-creation.codemao.cn/kitten/r2/work/player/load/<work_id>` `GET`
5+
6+
## 返回内容
7+
8+
| key | value | type |
9+
| :-: | :-----: | :--: |
10+
| name | 作品名称 | string |
11+
| preview | 作品封面 | string |
12+
| source_urls | 作品的源代码(通常有很多个,且为json格式) | string |
13+
| is_bcmc | (目前未知) | bool |
14+
| ide_type | 编辑器类型(固定为KITTEN) | string |
15+
| updated_time | 更新时间(时间戳格式) | int |
16+
| version | 编辑器版本 | string |

0 commit comments

Comments
 (0)