Activity #568
User #139 attached image/webp (22347093 bytes)
1/26/2026, 6:56:40 PM
Overview
attachments / #568
User #139 attached image/webp (22347093 bytes)
1/26/2026, 6:56:40 PM
User #139 attached image/webp (22347093 bytes)
1/26/2026, 6:56:40 PM
View recordUser #139 attached image/webp (22347093 bytes) · 1/26/2026, 6:56:40 PM
Request
curl example
curl -sS \ "https://example-data.com/api/v1/attachments/568" \ -H "Accept: application/json"
JavaScript example
const res = await fetch( "https://example-data.com/api/v1/attachments/568" ); 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/568"
);
const attachment = (await res.json()) as Attachment; Python example
import requests
res = requests.get(
"https://example-data.com/api/v1/attachments/568"
)
attachment = res.json() Response
{
"id": 568,
"userId": 139,
"targetType": "comment",
"targetId": 16,
"url": "https://picsum.photos/seed/attachment-568/400/800",
"mimeType": "image/webp",
"sizeBytes": 22347093,
"createdAt": "2026-01-26T18:56:40.385Z"
}