Activity #189
User #166 attached image/png (42142855 bytes)
12/7/2025, 12:06:03 AM
Overview
attachments / #189
User #166 attached image/png (42142855 bytes)
12/7/2025, 12:06:03 AM
User #166 attached image/png (42142855 bytes)
12/7/2025, 12:06:03 AM
View recordUser #166 attached image/png (42142855 bytes) · 12/7/2025, 12:06:03 AM
Request
curl example
curl -sS \ "https://example-data.com/api/v1/attachments/189" \ -H "Accept: application/json"
JavaScript example
const res = await fetch( "https://example-data.com/api/v1/attachments/189" ); 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/189"
);
const attachment = (await res.json()) as Attachment; Python example
import requests
res = requests.get(
"https://example-data.com/api/v1/attachments/189"
)
attachment = res.json() Response
{
"id": 189,
"userId": 166,
"targetType": "post",
"targetId": 93,
"url": "https://picsum.photos/seed/attachment-189/400/300",
"mimeType": "image/png",
"sizeBytes": 42142855,
"createdAt": "2025-12-07T00:06:03.110Z"
}