Update
Update general information about a file.
Path parameters
mediaIdstringRequired
Body
titlestringOptional
descriptionstringOptional
contractstringOptional
productstringOptional
offerstringOptional
categorystringOptional
demobooleanOptional
Responses
200
OK
403
Current user isn't the owner of the file/ Error updating the database/ No changes made to content
404
Invalid file ID
patch
PATCH /api/files/update/{mediaId} HTTP/1.1
Host: api.rair.market
Content-Type: application/json
Accept: */*
Content-Length: 117
{
"title": "text",
"description": "text",
"contract": "text",
"product": "text",
"offer": "text",
"category": "text",
"demo": true
}
No content
Was this helpful?