files
files
Browse 600 files records. Explore sample records and fetch JSON over a free REST API for prototypes, tests, and learning.
Overview
Cards
Compact
Detailed
Shared
- ownerUserId
-
Adelia Roberts @adelia_roberts0
- name
- Shared
- mimeType
- application/x-directory
- sizeBytes
- 0
- url
- https://files.example.com/folders/1
- parentFolderId
- —
- isFolder
- true
- createdAt
- updatedAt
Resources
- ownerUserId
-
Cassidy Price-Schimmel @cassidy.price-schimmel
- name
- Resources
- mimeType
- application/x-directory
- sizeBytes
- 0
- url
- https://files.example.com/folders/2
- parentFolderId
- —
- isFolder
- true
- createdAt
- updatedAt
Documents
- ownerUserId
-
Nikko Kuhlman @nikko_kuhlman
- name
- Documents
- mimeType
- application/x-directory
- sizeBytes
- 0
- url
- https://files.example.com/folders/3
- parentFolderId
- —
- isFolder
- true
- createdAt
- updatedAt
Resources
- ownerUserId
-
Lazaro Herzog @lazaro_herzog
- name
- Resources
- mimeType
- application/x-directory
- sizeBytes
- 0
- url
- https://files.example.com/folders/4
- parentFolderId
- —
- isFolder
- true
- createdAt
- updatedAt
Templates
- ownerUserId
-
Americo Hoppe @americo_hoppe57
- name
- Templates
- mimeType
- application/x-directory
- sizeBytes
- 0
- url
- https://files.example.com/folders/5
- parentFolderId
- —
- isFolder
- true
- createdAt
- updatedAt
Documents
- ownerUserId
-
Cindy Barrows @cindy_barrows20
- 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.
Request
curl example
curl -sS \ "https://example-data.com/api/v1/files?limit=25"
JavaScript example
const res = await fetch(
"https://example-data.com/api/v1/files?limit=25"
);
const { data, meta } = await res.json(); TypeScript example
// Download once: mkdir -p types && curl -o types/files.d.ts https://example-data.com/types/files.d.ts
import type { File, ListEnvelope } from "./types/files";
const res = await fetch(
"https://example-data.com/api/v1/files?limit=25"
);
const { data, meta } = (await res.json()) as ListEnvelope<File>; Python example
import requests
res = requests.get(
"https://example-data.com/api/v1/files",
params={"limit": 25},
)
data = res.json() Response
{
"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
}
}