Activity #567
User #247 attached image/webp (41400406 bytes)
12/14/2025, 3:55:49 PM
Overview
attachments / #567
User #247 attached image/webp (41400406 bytes)
12/14/2025, 3:55:49 PM
User #247 attached image/webp (41400406 bytes)
12/14/2025, 3:55:49 PM
View recordUser #247 attached image/webp (41400406 bytes) · 12/14/2025, 3:55:49 PM
Request
curl example
curl -sS \ "https://example-data.com/api/v1/attachments/567" \ -H "Accept: application/json"
JavaScript example
const res = await fetch( "https://example-data.com/api/v1/attachments/567" ); 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/567"
);
const attachment = (await res.json()) as Attachment; Python example
import requests
res = requests.get(
"https://example-data.com/api/v1/attachments/567"
)
attachment = res.json() Response
{
"id": 567,
"userId": 247,
"targetType": "post",
"targetId": 229,
"url": "https://picsum.photos/seed/attachment-567/400/400",
"mimeType": "image/webp",
"sizeBytes": 41400406,
"createdAt": "2025-12-14T15:55:49.232Z"
}