Create Studio
To create the data in the specified collection with the specified parameters. When a JSON object is saved, the object properties are automatically added to the collection you specified.
Method : POST
URL : /api/studio
Body : JSON
{
"name": "New Studio",
"image_url": "https://upload.wikimedia.org/wikipedia/commons/thumb/8/89/Paramount_Pictures_2022_%28Blue%29.svg/175px-Paramount_Pictures_2022_%28Blue%29.svg.png",
"city": "City",
"country_id": 1
}
nameRequired
string
Name of studio.
image_url
string
Image URL of studio.
city
string
City of studio.
country_id
integer
Country ID of studio
Response : 200 - OK
{
"message": "Success add studio"
}
Response : 422 - Unprocessable Content
{
"error": "Name required"
}
Response : 500 - Server Error
Internal Server Error