files
files
Browse 600 files records. Free mock data API by Draftbit — fetch over REST or browse paginated HTML.
- ownerUserId
- 231
- name
- Shared
- mimeType
- application/x-directory
- sizeBytes
- 0
- url
- https://files.example.com/folders/1
- parentFolderId
- —
- isFolder
- true
- createdAt
- updatedAt
- ownerUserId
- 227
- name
- Resources
- mimeType
- application/x-directory
- sizeBytes
- 0
- url
- https://files.example.com/folders/2
- parentFolderId
- —
- isFolder
- true
- createdAt
- updatedAt
- ownerUserId
- 122
- name
- Documents
- mimeType
- application/x-directory
- sizeBytes
- 0
- url
- https://files.example.com/folders/3
- parentFolderId
- —
- isFolder
- true
- createdAt
- updatedAt
- ownerUserId
- 181
- name
- Resources
- mimeType
- application/x-directory
- sizeBytes
- 0
- url
- https://files.example.com/folders/4
- parentFolderId
- —
- isFolder
- true
- createdAt
- updatedAt
- ownerUserId
- 177
- name
- Templates
- mimeType
- application/x-directory
- sizeBytes
- 0
- url
- https://files.example.com/folders/5
- parentFolderId
- —
- isFolder
- true
- createdAt
- updatedAt
- ownerUserId
- 165
- name
- Documents
- mimeType
- application/x-directory
- sizeBytes
- 0
- url
- https://files.example.com/folders/6
- parentFolderId
- —
- isFolder
- true
- createdAt
- updatedAt
Showing first 6 of 24 on this page.
curl -sS \
"https://example-data.com/api/v1/files?limit=25"const res = await fetch(
"https://example-data.com/api/v1/files?limit=25"
);
const { data, meta } = await res.json();import type { File, ListEnvelope } from "https://example-data.com/types/files.d.ts";
const res = await fetch(
"https://example-data.com/api/v1/files?limit=25"
);
const { data, meta } = (await res.json()) as ListEnvelope<File>;import requests
res = requests.get(
"https://example-data.com/api/v1/files",
params={"limit": 25},
)
data = res.json() {
"data": [
{
"id": 1,
"ownerUserId": 231,
"name": "Shared",
"mimeType": "application/x-directory",
"sizeBytes": 0,
"url": "https://files.example.com/folders/1",
"parentFolderId": null,
"isFolder": true,
"createdAt": "2024-09-29T20:35:10.132Z",
"updatedAt": "2025-02-17T01:19:07.711Z"
},
{
"id": 2,
"ownerUserId": 227,
"name": "Resources",
"mimeType": "application/x-directory",
"sizeBytes": 0,
"url": "https://files.example.com/folders/2",
"parentFolderId": null,
"isFolder": true,
"createdAt": "2025-02-10T03:36:07.389Z",
"updatedAt": "2026-02-09T08:13:05.023Z"
},
{
"id": 3,
"ownerUserId": 122,
"name": "Documents",
"mimeType": "application/x-directory",
"sizeBytes": 0,
"url": "https://files.example.com/folders/3",
"parentFolderId": null,
"isFolder": true,
"createdAt": "2026-05-19T10:52:22.836Z",
"updatedAt": "2026-05-20T19:07:46.781Z"
}
],
"meta": {
"page": 1,
"limit": 25,
"total": 600,
"totalPages": 24
},
"links": {
"self": "/api/v1/files?page=1",
"first": "/api/v1/files?page=1",
"last": "/api/v1/files?page=24",
"next": "/api/v1/files?page=2",
"prev": null
}
}