Activity #743
User #23 attached image/webp (5479663 bytes)
7/22/2025, 8:32:13 PM
Overview
attachments / #743
User #23 attached image/webp (5479663 bytes)
7/22/2025, 8:32:13 PM
User #23 attached image/webp (5479663 bytes)
7/22/2025, 8:32:13 PM
View recordUser #23 attached image/webp (5479663 bytes) · 7/22/2025, 8:32:13 PM
Request
curl example
curl -sS \ "https://example-data.com/api/v1/attachments/743" \ -H "Accept: application/json"
JavaScript example
const res = await fetch( "https://example-data.com/api/v1/attachments/743" ); 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/743"
);
const attachment = (await res.json()) as Attachment; Python example
import requests
res = requests.get(
"https://example-data.com/api/v1/attachments/743"
)
attachment = res.json() Response
{
"id": 743,
"userId": 23,
"targetType": "comment",
"targetId": 274,
"url": "https://picsum.photos/seed/attachment-743/600/600",
"mimeType": "image/webp",
"sizeBytes": 5479663,
"createdAt": "2025-07-22T20:32:13.052Z"
}