Commit 3d9768d6 by jixudong

Replace 项目列表-作品列表.md

parent 971c6a23
**测试环境URL**:http://tx-gz14.heyqiwu.cn
**测试环境URL**:http://tx-gz14.heyqiwu.cn
......@@ -846,42 +846,28 @@ curl 'http://tx-gz14.heyqiwu.cn/api/platform/design/package/download/6381?types=
### 剧本导入
URL: api/platform/design/package/import/juben
METHOD: POST
**METHOD**: POST
RequestHeaders:
**path**: api/platform/design/package/import/juben
| key | value |
| :------------ | :----------------------------- |
| Content-Type | application/json;charset=utf-8 |
| Authorization | TOKEN |
| botAccount | 在引擎中的帐号 |
| groupId | 组ID |
| mul | true |
| projectId | 作品ID |
**RequestHeaders:** 同创作平台请求header
FormData:
#### 请求param字段说明
| key | value |
| :-------- | :------------- |
| projectId | 作品ID |
| jubenFile | 导入的剧本文件 |
| key | type | required | description |
| ---- | ---- | -------- | ----------- |
| 无 | | | |
ResponseBody:
#### 请求body字段说明 form data
```
SUCCESS:
{
"code": 1,
"msg": "成功",
"data": null
}
```
| key | type | required | description |
| --------- | ------ | -------- | -------------- |
| projectId | number | yes | 作品ID |
| jubenFile | zip | yes | 导入的剧本文件 |
Example:
#### 请求示例
```
```js
curl --location --request POST 'https://hw-gz25.heyqiwu.cn/api/platform/design/package/import/juben' \
--header 'groupId: 400' \
--header 'mul: true' \
......@@ -892,6 +878,16 @@ curl --location --request POST 'https://hw-gz25.heyqiwu.cn/api/platform/design/p
--form 'jubenFile=@"/home/feng/tmp/xuezunvwang.ai"'
```
#### 响应实例
```json
{
"code": 1,
"msg": "成功",
"data": null
}
```
### 获取全部作品数据
**METHOD**: GET
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment