Activity #701
User #229 attached image/webp (3624681 bytes)
9/11/2025, 4:27:13 AM
Overview
attachments / #701
User #229 attached image/webp (3624681 bytes)
9/11/2025, 4:27:13 AM
User #229 attached image/webp (3624681 bytes)
9/11/2025, 4:27:13 AM
View recordUser #229 attached image/webp (3624681 bytes) · 9/11/2025, 4:27:13 AM
Request
curl example
curl -sS \ "https://example-data.com/api/v1/attachments/701" \ -H "Accept: application/json"
JavaScript example
const res = await fetch( "https://example-data.com/api/v1/attachments/701" ); 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/701"
);
const attachment = (await res.json()) as Attachment; Python example
import requests
res = requests.get(
"https://example-data.com/api/v1/attachments/701"
)
attachment = res.json() Response
{
"id": 701,
"userId": 229,
"targetType": "post",
"targetId": 484,
"url": "https://picsum.photos/seed/attachment-701/400/300",
"mimeType": "image/webp",
"sizeBytes": 3624681,
"createdAt": "2025-09-11T04:27:13.523Z"
}