Activity #350
User #69 attached image/webp (5632387 bytes)
10/7/2025, 8:10:50 AM
Overview
attachments / #350
User #69 attached image/webp (5632387 bytes)
10/7/2025, 8:10:50 AM
User #69 attached image/webp (5632387 bytes)
10/7/2025, 8:10:50 AM
View recordUser #69 attached image/webp (5632387 bytes) · 10/7/2025, 8:10:50 AM
Request
curl example
curl -sS \ "https://example-data.com/api/v1/attachments/350" \ -H "Accept: application/json"
JavaScript example
const res = await fetch( "https://example-data.com/api/v1/attachments/350" ); 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/350"
);
const attachment = (await res.json()) as Attachment; Python example
import requests
res = requests.get(
"https://example-data.com/api/v1/attachments/350"
)
attachment = res.json() Response
{
"id": 350,
"userId": 69,
"targetType": "post",
"targetId": 217,
"url": "https://picsum.photos/seed/attachment-350/1200/300",
"mimeType": "image/webp",
"sizeBytes": 5632387,
"createdAt": "2025-10-07T08:10:50.697Z"
}