Authorization: Bearer ********************{
"title": "string",
"description": "string",
"releaseDate": "string",
"duration": "string",
"coverImage": "string",
"videoUrl": "string",
"region": "string",
"isVip": 0,
"score": 0,
"movieTypeIds": [
0
],
"directorIds": [
0
],
"actorIds": [
0
]
}curl --location --request POST '/api/admin/movies' \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data-raw '{
"title": "string",
"description": "string",
"releaseDate": "string",
"duration": "string",
"coverImage": "string",
"videoUrl": "string",
"region": "string",
"isVip": 0,
"score": 0,
"movieTypeIds": [
0
],
"directorIds": [
0
],
"actorIds": [
0
]
}'{
"code": 0,
"message": "",
"data": {
"createTime": "",
"updateTime": "",
"id": 0,
"title": "",
"description": "",
"releaseDate": "",
"duration": 0,
"coverImage": "",
"region": "",
"isVip": 0,
"playCount": 0,
"score": 0.0,
"movieTypes": [
{
"id": 0,
"name": ""
}
],
"directors": [
{
"id": 0,
"name": "",
"photo": "",
"description": ""
}
],
"actors": [
{
"id": 0,
"name": "",
"photo": "",
"description": "",
"role": ""
}
]
}
}