-
Notifications
You must be signed in to change notification settings - Fork 18
接口_Paracraft用到的接口
onedou edited this page Jun 6, 2017
·
8 revisions
登录接口:/api/wiki/models/user/login
世界记录接口:/api/mod/worldshare/models/worlds
- 仓库文件列表:projects/{_projectId}/repository/tree
- 提交历史:projects/{_projectId}/repository/commits
- 上传文件(PUT):projects/{_projectId}/repository/files
- 更新文件(POST):projects/{_projectId}/repository/files
- 删除文件(DELETE):projects/{_projectId}/repository/files
- 获取文件(Get):projects/{_projectId}/repository/files
- 获取文件(RAW):{dataSourceUsername}/{worldName}/raw/master
- 获取所有Project:projects
- 新增Project:projects