Creates a new chart.
POST
/charts请求参数
Body 参数multipart/form-data
Title
string
可选
LevelType
string
必需
Level
string
必需
Difficulty
number
必需
File
file
可选
AuthorName
string
必需
Illustration
file
可选
Illustrator
string
可选
Description
string
可选
Accessibility
string
必需
IsHidden
string
必需
IsLocked
string
必需
IsRanked
string
必需
Tags
array[string]
必需
SongId
string
必需
示例代码
返回响应
Returns the ID of the chart.(201)
When any of the parameters is invalid.(400)
When the user is not authorized.(401)
When the user does not have sufficient permission.(403)
When an internal server error has occurred.(500)
Returns the ID of the chart.
HTTP 状态码: 201
内容格式: JSONapplication/json
数据结构
No schema defined
示例
未设置
修改于 2 个月前