Activity #211
User #14 attached image/png (13790078 bytes)
10/26/2025, 6:40:57 PM
Overview
attachments / #211
User #14 attached image/png (13790078 bytes)
10/26/2025, 6:40:57 PM
User #14 attached image/png (13790078 bytes)
10/26/2025, 6:40:57 PM
View recordUser #14 attached image/png (13790078 bytes) · 10/26/2025, 6:40:57 PM
Request
curl example
curl -sS \ "https://example-data.com/api/v1/attachments/211" \ -H "Accept: application/json"
JavaScript example
const res = await fetch( "https://example-data.com/api/v1/attachments/211" ); 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/211"
);
const attachment = (await res.json()) as Attachment; Python example
import requests
res = requests.get(
"https://example-data.com/api/v1/attachments/211"
)
attachment = res.json() Response
{
"id": 211,
"userId": 14,
"targetType": "post",
"targetId": 14,
"url": "https://picsum.photos/seed/attachment-211/600/300",
"mimeType": "image/png",
"sizeBytes": 13790078,
"createdAt": "2025-10-26T18:40:57.887Z"
}