Activity #4
User #24 attached image/png (14482418 bytes)
1/15/2026, 1:42:48 AM
Overview
attachments / #4
User #24 attached image/png (14482418 bytes)
1/15/2026, 1:42:48 AM
User #24 attached image/png (14482418 bytes)
1/15/2026, 1:42:48 AM
View recordUser #24 attached image/png (14482418 bytes) · 1/15/2026, 1:42:48 AM
Request
curl example
curl -sS \ "https://example-data.com/api/v1/attachments/4" \ -H "Accept: application/json"
JavaScript example
const res = await fetch( "https://example-data.com/api/v1/attachments/4" ); 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/4"
);
const attachment = (await res.json()) as Attachment; Python example
import requests
res = requests.get(
"https://example-data.com/api/v1/attachments/4"
)
attachment = res.json() Response
{
"id": 4,
"userId": 24,
"targetType": "post",
"targetId": 312,
"url": "https://picsum.photos/seed/attachment-4/1200/400",
"mimeType": "image/png",
"sizeBytes": 14482418,
"createdAt": "2026-01-15T01:42:48.212Z"
}