Unlocks

Get File Unlocks

get

Get all unlocks associated with a file.

Path parameters
idstringRequired
Responses
200
OK
get
GET /api/files/{id}/unlocks HTTP/1.1
Host: api.rair.market
Accept: */*
200

OK

No content

Update File Unlock

post

Update unlocks associated with a file

Path parameters
idstringRequired
Body
offersstring[]Optional
Responses
200
OK
post
POST /api/files/{id}/unlocks HTTP/1.1
Host: api.rair.market
Content-Type: application/json
Accept: */*
Content-Length: 19

{
  "offers": [
    "text"
  ]
}
200

OK

No content

Remove File Unlock

delete

Remove an unlock from a file.

Path parameters
idstringRequired
Responses
200
OK
delete
DELETE /api/files/{id}/unlocks HTTP/1.1
Host: api.rair.market
Accept: */*
200

OK

No content

Was this helpful?