Activity #668
User #46 attached image/webp (10020697 bytes)
11/13/2025, 12:12:34 AM
Overview
attachments / #668
User #46 attached image/webp (10020697 bytes)
11/13/2025, 12:12:34 AM
User #46 attached image/webp (10020697 bytes)
11/13/2025, 12:12:34 AM
View recordUser #46 attached image/webp (10020697 bytes) · 11/13/2025, 12:12:34 AM
Request
curl example
curl -sS \ "https://example-data.com/api/v1/attachments/668" \ -H "Accept: application/json"
JavaScript example
const res = await fetch( "https://example-data.com/api/v1/attachments/668" ); 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/668"
);
const attachment = (await res.json()) as Attachment; Python example
import requests
res = requests.get(
"https://example-data.com/api/v1/attachments/668"
)
attachment = res.json() Response
{
"id": 668,
"userId": 46,
"targetType": "comment",
"targetId": 585,
"url": "https://picsum.photos/seed/attachment-668/800/600",
"mimeType": "image/webp",
"sizeBytes": 10020697,
"createdAt": "2025-11-13T00:12:34.937Z"
}