Activity #309
User #89 attached image/jpeg (18120407 bytes)
5/6/2026, 9:56:06 PM
Overview
attachments / #309
User #89 attached image/jpeg (18120407 bytes)
5/6/2026, 9:56:06 PM
User #89 attached image/jpeg (18120407 bytes)
5/6/2026, 9:56:06 PM
View recordUser #89 attached image/jpeg (18120407 bytes) · 5/6/2026, 9:56:06 PM
Request
curl example
curl -sS \ "https://example-data.com/api/v1/attachments/309" \ -H "Accept: application/json"
JavaScript example
const res = await fetch( "https://example-data.com/api/v1/attachments/309" ); 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/309"
);
const attachment = (await res.json()) as Attachment; Python example
import requests
res = requests.get(
"https://example-data.com/api/v1/attachments/309"
)
attachment = res.json() Response
{
"id": 309,
"userId": 89,
"targetType": "post",
"targetId": 98,
"url": "https://picsum.photos/seed/attachment-309/400/300",
"mimeType": "image/jpeg",
"sizeBytes": 18120407,
"createdAt": "2026-05-06T21:56:06.403Z"
}