文件分类操作
创建文件分类
参数
类型
必填
说明
curl -X POST \
-H "Authorization: Bearer 58f6cd9f84b1b0c04941fbd4d87bc5f14a785107" \
-H "Content-Type: application/json" \
-d '{"name": "Category"}' \
https://cloud.minapp.com/oserve/v2.2/file-category/var request = require('request');
var opt = {
uri: 'https://cloud.minapp.com/oserve/v2.2/file-category/',
method: 'POST',
headers: {
Authorization: `Bearer ${token}`
},
json: { // 指定 data 以 "Content-Type": 'application/json' 传送
name: 'testCreateFile'
}
}
request(opt, function(err, res, body) {
console.log(res.statusCode)
})获取分类详情
获取文件分类列表
参数
类型
必填
说明
修改文件分类
删除文件分类
Last updated
Was this helpful?