Activity #108
User #49 attached image/webp (841749 bytes)
9/7/2025, 12:12:18 PM
Overview
attachments / #108
User #49 attached image/webp (841749 bytes)
9/7/2025, 12:12:18 PM
User #49 attached image/webp (841749 bytes)
9/7/2025, 12:12:18 PM
View recordUser #49 attached image/webp (841749 bytes) · 9/7/2025, 12:12:18 PM
Request
curl example
curl -sS \ "https://example-data.com/api/v1/attachments/108" \ -H "Accept: application/json"
JavaScript example
const res = await fetch( "https://example-data.com/api/v1/attachments/108" ); 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/108"
);
const attachment = (await res.json()) as Attachment; Python example
import requests
res = requests.get(
"https://example-data.com/api/v1/attachments/108"
)
attachment = res.json() Response
{
"id": 108,
"userId": 49,
"targetType": "post",
"targetId": 80,
"url": "https://picsum.photos/seed/attachment-108/1200/400",
"mimeType": "image/webp",
"sizeBytes": 841749,
"createdAt": "2025-09-07T12:12:18.644Z"
}