Activity #456
User #30 attached image/webp (8789529 bytes)
4/25/2026, 4:53:37 AM
Overview
attachments / #456
User #30 attached image/webp (8789529 bytes)
4/25/2026, 4:53:37 AM
User #30 attached image/webp (8789529 bytes)
4/25/2026, 4:53:37 AM
View recordUser #30 attached image/webp (8789529 bytes) · 4/25/2026, 4:53:37 AM
Request
curl example
curl -sS \ "https://example-data.com/api/v1/attachments/456" \ -H "Accept: application/json"
JavaScript example
const res = await fetch( "https://example-data.com/api/v1/attachments/456" ); 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/456"
);
const attachment = (await res.json()) as Attachment; Python example
import requests
res = requests.get(
"https://example-data.com/api/v1/attachments/456"
)
attachment = res.json() Response
{
"id": 456,
"userId": 30,
"targetType": "comment",
"targetId": 664,
"url": "https://picsum.photos/seed/attachment-456/600/600",
"mimeType": "image/webp",
"sizeBytes": 8789529,
"createdAt": "2026-04-25T04:53:37.595Z"
}