Activity #633
User #170 attached image/png (16621708 bytes)
11/29/2025, 3:55:00 AM
Overview
attachments / #633
User #170 attached image/png (16621708 bytes)
11/29/2025, 3:55:00 AM
User #170 attached image/png (16621708 bytes)
11/29/2025, 3:55:00 AM
View recordUser #170 attached image/png (16621708 bytes) · 11/29/2025, 3:55:00 AM
Request
curl example
curl -sS \ "https://example-data.com/api/v1/attachments/633" \ -H "Accept: application/json"
JavaScript example
const res = await fetch( "https://example-data.com/api/v1/attachments/633" ); 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/633"
);
const attachment = (await res.json()) as Attachment; Python example
import requests
res = requests.get(
"https://example-data.com/api/v1/attachments/633"
)
attachment = res.json() Response
{
"id": 633,
"userId": 170,
"targetType": "post",
"targetId": 176,
"url": "https://picsum.photos/seed/attachment-633/400/800",
"mimeType": "image/png",
"sizeBytes": 16621708,
"createdAt": "2025-11-29T03:55:00.731Z"
}