Activity #582
User #138 attached image/webp (23556190 bytes)
11/29/2025, 7:46:07 PM
Overview
attachments / #582
User #138 attached image/webp (23556190 bytes)
11/29/2025, 7:46:07 PM
User #138 attached image/webp (23556190 bytes)
11/29/2025, 7:46:07 PM
View recordUser #138 attached image/webp (23556190 bytes) · 11/29/2025, 7:46:07 PM
Request
curl example
curl -sS \ "https://example-data.com/api/v1/attachments/582" \ -H "Accept: application/json"
JavaScript example
const res = await fetch( "https://example-data.com/api/v1/attachments/582" ); 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/582"
);
const attachment = (await res.json()) as Attachment; Python example
import requests
res = requests.get(
"https://example-data.com/api/v1/attachments/582"
)
attachment = res.json() Response
{
"id": 582,
"userId": 138,
"targetType": "comment",
"targetId": 1055,
"url": "https://picsum.photos/seed/attachment-582/800/400",
"mimeType": "image/webp",
"sizeBytes": 23556190,
"createdAt": "2025-11-29T19:46:07.071Z"
}