Activity #747
User #118 attached image/webp (11666930 bytes)
5/10/2026, 9:53:05 PM
Overview
attachments / #747
User #118 attached image/webp (11666930 bytes)
5/10/2026, 9:53:05 PM
User #118 attached image/webp (11666930 bytes)
5/10/2026, 9:53:05 PM
View recordUser #118 attached image/webp (11666930 bytes) · 5/10/2026, 9:53:05 PM
Request
curl example
curl -sS \ "https://example-data.com/api/v1/attachments/747" \ -H "Accept: application/json"
JavaScript example
const res = await fetch( "https://example-data.com/api/v1/attachments/747" ); 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/747"
);
const attachment = (await res.json()) as Attachment; Python example
import requests
res = requests.get(
"https://example-data.com/api/v1/attachments/747"
)
attachment = res.json() Response
{
"id": 747,
"userId": 118,
"targetType": "post",
"targetId": 118,
"url": "https://picsum.photos/seed/attachment-747/800/300",
"mimeType": "image/webp",
"sizeBytes": 11666930,
"createdAt": "2026-05-10T21:53:05.469Z"
}