Activity #194
User #64 attached image/jpeg (11984718 bytes)
7/7/2025, 4:02:51 AM
Overview
attachments / #194
User #64 attached image/jpeg (11984718 bytes)
7/7/2025, 4:02:51 AM
User #64 attached image/jpeg (11984718 bytes)
7/7/2025, 4:02:51 AM
View recordUser #64 attached image/jpeg (11984718 bytes) · 7/7/2025, 4:02:51 AM
Request
curl example
curl -sS \ "https://example-data.com/api/v1/attachments/194" \ -H "Accept: application/json"
JavaScript example
const res = await fetch( "https://example-data.com/api/v1/attachments/194" ); 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/194"
);
const attachment = (await res.json()) as Attachment; Python example
import requests
res = requests.get(
"https://example-data.com/api/v1/attachments/194"
)
attachment = res.json() Response
{
"id": 194,
"userId": 64,
"targetType": "comment",
"targetId": 725,
"url": "https://picsum.photos/seed/attachment-194/400/300",
"mimeType": "image/jpeg",
"sizeBytes": 11984718,
"createdAt": "2025-07-07T04:02:51.967Z"
}