Activity #335
User #45 attached image/jpeg (18816622 bytes)
12/23/2025, 9:12:34 PM
Overview
attachments / #335
User #45 attached image/jpeg (18816622 bytes)
12/23/2025, 9:12:34 PM
User #45 attached image/jpeg (18816622 bytes)
12/23/2025, 9:12:34 PM
View recordUser #45 attached image/jpeg (18816622 bytes) · 12/23/2025, 9:12:34 PM
Request
curl example
curl -sS \ "https://example-data.com/api/v1/attachments/335" \ -H "Accept: application/json"
JavaScript example
const res = await fetch( "https://example-data.com/api/v1/attachments/335" ); 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/335"
);
const attachment = (await res.json()) as Attachment; Python example
import requests
res = requests.get(
"https://example-data.com/api/v1/attachments/335"
)
attachment = res.json() Response
{
"id": 335,
"userId": 45,
"targetType": "restaurant",
"targetId": 47,
"url": "https://picsum.photos/seed/attachment-335/600/600",
"mimeType": "image/jpeg",
"sizeBytes": 18816622,
"createdAt": "2025-12-23T21:12:34.299Z"
}