ById

Get File Info

get

Fetch information about a single file.

Path parameters
mediaIdstringRequired
Responses
200
OK
get
GET /api/files/byId/{mediaId} HTTP/1.1
Host: api.rair.market
Accept: */*
200

OK

No content

Update Access

put

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
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?