Activity #565
User #181 attached image/webp (37798356 bytes)
12/15/2025, 11:57:30 AM
Overview
attachments / #565
User #181 attached image/webp (37798356 bytes)
12/15/2025, 11:57:30 AM
User #181 attached image/webp (37798356 bytes)
12/15/2025, 11:57:30 AM
View recordUser #181 attached image/webp (37798356 bytes) · 12/15/2025, 11:57:30 AM
Request
curl example
curl -sS \ "https://example-data.com/api/v1/attachments/565" \ -H "Accept: application/json"
JavaScript example
const res = await fetch( "https://example-data.com/api/v1/attachments/565" ); 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/565"
);
const attachment = (await res.json()) as Attachment; Python example
import requests
res = requests.get(
"https://example-data.com/api/v1/attachments/565"
)
attachment = res.json() Response
{
"id": 565,
"userId": 181,
"targetType": "comment",
"targetId": 643,
"url": "https://picsum.photos/seed/attachment-565/800/800",
"mimeType": "image/webp",
"sizeBytes": 37798356,
"createdAt": "2025-12-15T11:57:30.886Z"
}