Activity #78
User #250 attached image/jpeg (33943357 bytes)
12/13/2025, 2:56:26 PM
Overview
attachments / #78
User #250 attached image/jpeg (33943357 bytes)
12/13/2025, 2:56:26 PM
User #250 attached image/jpeg (33943357 bytes)
12/13/2025, 2:56:26 PM
View recordUser #250 attached image/jpeg (33943357 bytes) · 12/13/2025, 2:56:26 PM
Request
curl example
curl -sS \ "https://example-data.com/api/v1/attachments/78" \ -H "Accept: application/json"
JavaScript example
const res = await fetch( "https://example-data.com/api/v1/attachments/78" ); const attachment = await res.json();
TypeScript example
// Download once: mkdir -p types && curl -o types/attachments.d.ts https://example-data.com/types/attachments.d.ts
import type { Attachment } from "./types/attachments";
const res = await fetch(
"https://example-data.com/api/v1/attachments/78"
);
const attachment = (await res.json()) as Attachment; Python example
import requests
res = requests.get(
"https://example-data.com/api/v1/attachments/78"
)
attachment = res.json() Response
{
"id": 78,
"userId": 250,
"targetType": "recipe",
"targetId": 252,
"url": "https://picsum.photos/seed/attachment-78/400/400",
"mimeType": "image/jpeg",
"sizeBytes": 33943357,
"createdAt": "2025-12-13T14:56:26.187Z"
}