data-xreIwW.csv
- ownerUserId
-
Chyna Kozey @chyna_kozey80
- name
- data-xreIwW.csv
- mimeType
- text/csv
- sizeBytes
- 49415004
- url
- https://files.example.com/objects/364/data-xreIwW.csv
- parentFolderId
- files/47
- isFolder
- false
- createdAt
- updatedAt
Overview
files / #364
data-xreIwW.csv
#364
Request
curl example
curl -sS \ "https://example-data.com/api/v1/files/364" \ -H "Accept: application/json"
JavaScript example
const res = await fetch( "https://example-data.com/api/v1/files/364" ); const file = 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 } from "./types/files";
const res = await fetch(
"https://example-data.com/api/v1/files/364"
);
const file = (await res.json()) as File; Python example
import requests
res = requests.get(
"https://example-data.com/api/v1/files/364"
)
file = res.json() Response
{
"id": 364,
"ownerUserId": 140,
"name": "data-xreIwW.csv",
"mimeType": "text/csv",
"sizeBytes": 49415004,
"url": "https://files.example.com/objects/364/data-xreIwW.csv",
"parentFolderId": 47,
"isFolder": false,
"createdAt": "2024-09-09T08:58:05.090Z",
"updatedAt": "2024-10-03T11:02:39.041Z"
}