Skip to content

接口_Paracraft用到的接口

onedou edited this page Jun 6, 2017 · 8 revisions

Paracraft用到的接口

keepwork

登录接口:/api/wiki/models/user/login

gitlab

  • 仓库文件列表: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
Clone this wiki locally