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= ...@@ -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 | **RequestHeaders:** 同创作平台请求header
| :------------ | :----------------------------- |
| Content-Type | application/json;charset=utf-8 |
| Authorization | TOKEN |
| botAccount | 在引擎中的帐号 |
| groupId | 组ID |
| mul | true |
| projectId | 作品ID |
FormData: #### 请求param字段说明
| key | value | | key | type | required | description |
| :-------- | :------------- | | ---- | ---- | -------- | ----------- |
| projectId | 作品ID | | 无 | | | |
| jubenFile | 导入的剧本文件 |
ResponseBody: #### 请求body字段说明 form data
``` | key | type | required | description |
SUCCESS: | --------- | ------ | -------- | -------------- |
{ | projectId | number | yes | 作品ID |
"code": 1, | jubenFile | zip | yes | 导入的剧本文件 |
"msg": "成功",
"data": null
}
```
Example: #### 请求示例
``` ```js
curl --location --request POST 'https://hw-gz25.heyqiwu.cn/api/platform/design/package/import/juben' \ curl --location --request POST 'https://hw-gz25.heyqiwu.cn/api/platform/design/package/import/juben' \
--header 'groupId: 400' \ --header 'groupId: 400' \
--header 'mul: true' \ --header 'mul: true' \
...@@ -892,6 +878,16 @@ curl --location --request POST 'https://hw-gz25.heyqiwu.cn/api/platform/design/p ...@@ -892,6 +878,16 @@ curl --location --request POST 'https://hw-gz25.heyqiwu.cn/api/platform/design/p
--form 'jubenFile=@"/home/feng/tmp/xuezunvwang.ai"' --form 'jubenFile=@"/home/feng/tmp/xuezunvwang.ai"'
``` ```
#### 响应实例
```json
{
"code": 1,
"msg": "成功",
"data": null
}
```
### 获取全部作品数据 ### 获取全部作品数据
**METHOD**: GET **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