Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
J
jiaoyou_doc
Project
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
李进峰
jiaoyou_doc
Commits
3d9768d6
Commit
3d9768d6
authored
Dec 15, 2023
by
jixudong
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Replace 项目列表-作品列表.md
parent
971c6a23
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
25 additions
and
29 deletions
+25
-29
项目列表-作品列表.md
gameditor/前端接口/项目列表-作品列表.md
+25
-29
No files found.
gameditor/前端接口/项目列表-作品列表.md
View file @
3d9768d6
**测试环
境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
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment