Activity #223
User #63 attached image/png (11689647 bytes)
9/19/2025, 1:11:36 PM
Overview
attachments / #223
User #63 attached image/png (11689647 bytes)
9/19/2025, 1:11:36 PM
User #63 attached image/png (11689647 bytes)
9/19/2025, 1:11:36 PM
View recordUser #63 attached image/png (11689647 bytes) · 9/19/2025, 1:11:36 PM
Request
curl example
curl -sS \ "https://example-data.com/api/v1/attachments/223" \ -H "Accept: application/json"
JavaScript example
const res = await fetch( "https://example-data.com/api/v1/attachments/223" ); 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/223"
);
const attachment = (await res.json()) as Attachment; Python example
import requests
res = requests.get(
"https://example-data.com/api/v1/attachments/223"
)
attachment = res.json() Response
{
"id": 223,
"userId": 63,
"targetType": "comment",
"targetId": 1324,
"url": "https://picsum.photos/seed/attachment-223/800/300",
"mimeType": "image/png",
"sizeBytes": 11689647,
"createdAt": "2025-09-19T13:11:36.264Z"
}