Activity #388
User #8 attached image/webp (2532115 bytes)
5/3/2026, 10:32:52 PM
Overview
attachments / #388
User #8 attached image/webp (2532115 bytes)
5/3/2026, 10:32:52 PM
User #8 attached image/webp (2532115 bytes)
5/3/2026, 10:32:52 PM
View recordUser #8 attached image/webp (2532115 bytes) · 5/3/2026, 10:32:52 PM
Request
curl example
curl -sS \ "https://example-data.com/api/v1/attachments/388" \ -H "Accept: application/json"
JavaScript example
const res = await fetch( "https://example-data.com/api/v1/attachments/388" ); 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/388"
);
const attachment = (await res.json()) as Attachment; Python example
import requests
res = requests.get(
"https://example-data.com/api/v1/attachments/388"
)
attachment = res.json() Response
{
"id": 388,
"userId": 8,
"targetType": "comment",
"targetId": 1112,
"url": "https://picsum.photos/seed/attachment-388/600/800",
"mimeType": "image/webp",
"sizeBytes": 2532115,
"createdAt": "2026-05-03T22:32:52.419Z"
}