git-playground
复制页面
1024PaaS-租户业务接口
主要流程
codeZone
获取codeZone列表
GET
创建codeZone
POST
forkCodeZone
POST
导入 CodeZone
POST
设置环境变量,写入config配置文件中
PUT
编辑codeZone
PUT
获取编辑CodeZone的Playground(副本模式)
GET
编辑文件
PUT
获取编辑CodeZone的Playground
GET
从github导入创建codeZone
POST
下载代码文件
GET
导入文件
POST
删除codeZone
DELETE
codeZoneResource
设置codeZone的磁盘资源ID
POST
设置codeZone的URLResource
POST
codeZoneMiddleware
获取codeZone依赖的中间件列表
增加codeZone依赖的中间件
删除codeZone依赖的中间件
查询中间件运行状态
codeZoneSnapshot
复制 codeZoneSnapshot
下载 codeZoneSnapshot 文件
发布codeZoneSnapshot
unitTest
获取依赖引入、初始化、准备、拆除方法行号
获取运行结果
运行单元测试
获取单元测 试测试用例列表
git-codeZone
add
addAndCommit
branch
createBranch
commit
log
reset
revert
查看某次提交变更文件
查看某次提交文件内容
status
docker
下载代码文件
发布 codeSnapshot
查询 docker 状态
下载代码文件
获取代码文件内容
git-docker
add
addAndCommit
branch
createBranch
commit
log
reset
revert
查看某次提交变更文件
查看某次提交文件内容
status
unitTestFramework
获取单元测试框架列表
environment
获取基础环境列表
middleware
获取PaaS支持的中间件类型列表
playground
创建playground
下载代码文件
批量创建Playground并异步激活(返回结果不代表已全部激活完成)
获取代码文件内容
批量释放Playground
获取 playground 状态
导入文件 json
激活playground
获取playground状态
playground绑定CodeZoneSnapshot
playground绑定dockerContainer
切换指定playground的环境版本
删除 playground
暂停playground
playground资源释放
playground 运行脚本
获取运行结果
修改资源配置
获取当前资源
playground 停止运行脚本
git-playground
add
POST
addAndCommit
POST
branch
GET
createBranch
POST
commit
POST
log
GET
reset
POST
revert
POST