Activity #617
User #102 attached image/webp (38085843 bytes)
3/28/2026, 11:10:36 AM
Overview
attachments / #617
User #102 attached image/webp (38085843 bytes)
3/28/2026, 11:10:36 AM
User #102 attached image/webp (38085843 bytes)
3/28/2026, 11:10:36 AM
View recordUser #102 attached image/webp (38085843 bytes) · 3/28/2026, 11:10:36 AM
Request
curl example
curl -sS \ "https://example-data.com/api/v1/attachments/617" \ -H "Accept: application/json"
JavaScript example
const res = await fetch( "https://example-data.com/api/v1/attachments/617" ); 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/617"
);
const attachment = (await res.json()) as Attachment; Python example
import requests
res = requests.get(
"https://example-data.com/api/v1/attachments/617"
)
attachment = res.json() Response
{
"id": 617,
"userId": 102,
"targetType": "post",
"targetId": 62,
"url": "https://picsum.photos/seed/attachment-617/600/400",
"mimeType": "image/webp",
"sizeBytes": 38085843,
"createdAt": "2026-03-28T11:10:36.999Z"
}