Activity #632
User #105 attached image/jpeg (47579081 bytes)
8/29/2025, 6:10:46 AM
Overview
attachments / #632
User #105 attached image/jpeg (47579081 bytes)
8/29/2025, 6:10:46 AM
User #105 attached image/jpeg (47579081 bytes)
8/29/2025, 6:10:46 AM
View recordUser #105 attached image/jpeg (47579081 bytes) · 8/29/2025, 6:10:46 AM
Request
curl example
curl -sS \ "https://example-data.com/api/v1/attachments/632" \ -H "Accept: application/json"
JavaScript example
const res = await fetch( "https://example-data.com/api/v1/attachments/632" ); 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/632"
);
const attachment = (await res.json()) as Attachment; Python example
import requests
res = requests.get(
"https://example-data.com/api/v1/attachments/632"
)
attachment = res.json() Response
{
"id": 632,
"userId": 105,
"targetType": "post",
"targetId": 360,
"url": "https://picsum.photos/seed/attachment-632/600/300",
"mimeType": "image/jpeg",
"sizeBytes": 47579081,
"createdAt": "2025-08-29T06:10:46.819Z"
}