Skip to content
On this page

视频资源接口

修改资源标题

请求URL

  • http://域名/api/v1/resource/title/modify

请求方式

  • POST

请求头

  • "content-type": "application/json",
  • Authorization': access_token

参数

参数名必选类型说明
idint资源ID
titlestring资源标题

返回示例

json
  {
    "code": 200,
    "data": null,
    "msg":"ok"
  }

备注

删除资源

请求URL

  • http://域名/api/v1/resource/delete

请求方式

  • POST

请求头

  • "content-type": "application/json",
  • Authorization': access_token

参数

参数名必选类型说明
idint视频id

返回示例

json
  {
    "code": 200,
    "data": null,
    "msg":"ok"
  }

备注

根据 MIT 许可证发布