绘图变化(UPSCALE; VARIATION; REROLL)
POST
/mj/submit/change
任务提交
请求参数
Body 参数application/json
action
enum<string>
必需
枚举值:
UPSCALEVARIATIONREROLL
示例值:
UPSCALE
index
integer <int32>
可选
>= 1<= 4
示例值:
1
notifyHook
string
可选
state
string
自定义参数
taskId
string
任务ID
示例值:
1320098173412546
示例
{
"action": "UPSCALE",
"index": 1,
"notifyHook": "string",
"state": "string",
"taskId": "1320098173412546"
}
示例代码
Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location --request POST '/mj/submit/change' \
--header 'Content-Type: application/json' \
--data-raw '{
"action": "UPSCALE",
"index": 1,
"notifyHook": "string",
"state": "string",
"taskId": "1320098173412546"
}'
返回响应
🟢200OK
application/json
Body
code
integer <int32>
必需
示例值:
1
description
string
描述
示例值:
提交成功
properties
object
扩展字段
result
string
任务ID
示例值:
1320098173412546
示例
{
"code": 1,
"description": "提交成功",
"properties": {},
"result": 1320098173412546
}
🟢201Created
🟠401Unauthorized
🟠403Forbidden
🟠404Not Found
修改于 2024-05-09 06:11:31