-
Notifications
You must be signed in to change notification settings - Fork 18
接口_Paracraft用到的接口
onedou edited this page Jun 16, 2017
·
8 revisions
登录接口:/api/wiki/models/user/login
世界记录接口
- 获取全部世界列表(GET):/api/mod/worldshare/models/worlds
- 删除单个世界(DELETE):/api/mod/worldshare/models/worlds
- 获取单个世界:/api/mod/worldshare/models/worlds/getOneOpus
- 更新世界列表:/api/mod/worldshare/models/worlds/refresh
worlds.page中用到了user.page和site_data_source.page
- 仓库文件列表:projects/{_projectId}/repository/tree
http://git.keepwork.com/help/api/repositories.md#list-repository-tree
- 提交历史:projects/{_projectId}/repository/commits
http://git.keepwork.com/help/api/commits.md#list-repository-commits
- 上传文件(PUT):projects/{_projectId}/repository/files
http://git.keepwork.com/help/api/repository_files.md#create-new-file-in-repository
- 更新文件(POST):projects/{_projectId}/repository/files
http://git.keepwork.com/help/api/repository_files.md#update-existing-file-in-repository
- 删除文件(DELETE):projects/{_projectId}/repository/files
http://git.keepwork.com/help/api/repository_files.md#delete-existing-file-in-repository
- 获取文件(Get):projects/{_projectId}/repository/files
http://git.keepwork.com/help/api/repository_files.md#get-file-from-repository
- 获取文件(RAW):{dataSourceUsername}/{worldName}/raw/master
- 获取所有Project:projects
- 新增Project:projects
- 删除Project(DELETE):projects/{_projectId}