ById
Update access information about a single file.
Path parameters
mediaIdstringRequired
Body
_idstringOptional
authorstringOptional
uploaderstringOptional
titlestringOptional
descriptionstringOptional
contractstringOptional
productstringOptional
offerstringOptional
categorystringOptional
demostringOptional
ageRestrictedstringOptional
hiddenstringOptional
Responses
200
OK
403
Current user isn't the owner of the file
put
PUT /api/files/byId/{mediaId} HTTP/1.1
Host: api.rair.market
Content-Type: application/json
Accept: */*
Content-Length: 205
{
"_id": "text",
"author": "text",
"uploader": "text",
"title": "text",
"description": "text",
"contract": "text",
"product": "text",
"offer": "text",
"category": "text",
"demo": "text",
"ageRestricted": "text",
"hidden": "text"
}
No content
Was this helpful?