Activity #56
User #114 attached image/webp (3445216 bytes)
5/10/2026, 6:23:59 AM
Overview
attachments / #56
User #114 attached image/webp (3445216 bytes)
5/10/2026, 6:23:59 AM
User #114 attached image/webp (3445216 bytes)
5/10/2026, 6:23:59 AM
View recordUser #114 attached image/webp (3445216 bytes) · 5/10/2026, 6:23:59 AM
Request
curl example
curl -sS \ "https://example-data.com/api/v1/attachments/56" \ -H "Accept: application/json"
JavaScript example
const res = await fetch( "https://example-data.com/api/v1/attachments/56" ); 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/56"
);
const attachment = (await res.json()) as Attachment; Python example
import requests
res = requests.get(
"https://example-data.com/api/v1/attachments/56"
)
attachment = res.json() Response
{
"id": 56,
"userId": 114,
"targetType": "post",
"targetId": 443,
"url": "https://picsum.photos/seed/attachment-56/800/800",
"mimeType": "image/webp",
"sizeBytes": 3445216,
"createdAt": "2026-05-10T06:23:59.187Z"
}