-
Notifications
You must be signed in to change notification settings - Fork 1.6k
API: Files
geoffwhittington edited this page Feb 7, 2015
·
4 revisions
Retrieve all files in a JSON list
Param | Example | Default | Description |
---|---|---|---|
room | 54bff621a1e1aedf3ccd41e4 |
Room ID | |
skip | 100 |
0 | Specifies the number of rooms to skip |
take | 100 |
500 | Specifies the number of rooms to return (Max: 5000) |
GET /files
[
{
"id": "54b881cc1d0e11af0e0180f9",
"type":"image/jpeg",
"size": "134kb",
"name": "raptor.jpg",
"url":"files/4fc2d9cadf78932542000003/1310.jpg",
"uploaded": "2015-01-16T03:13:16.588Z",
"owner": "54b78f39ab48031b077e1f80"
}
]
An alias for GET /files
, that overrides the room
query parameter using the room
path parameter.
Parameter | Description |
---|---|
room | Room ID or slug |