Activity #682
User #190 attached image/jpeg (48155457 bytes)
6/17/2025, 9:55:25 AM
Overview
attachments / #682
User #190 attached image/jpeg (48155457 bytes)
6/17/2025, 9:55:25 AM
User #190 attached image/jpeg (48155457 bytes)
6/17/2025, 9:55:25 AM
View recordUser #190 attached image/jpeg (48155457 bytes) · 6/17/2025, 9:55:25 AM
Request
curl example
curl -sS \ "https://example-data.com/api/v1/attachments/682" \ -H "Accept: application/json"
JavaScript example
const res = await fetch( "https://example-data.com/api/v1/attachments/682" ); 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/682"
);
const attachment = (await res.json()) as Attachment; Python example
import requests
res = requests.get(
"https://example-data.com/api/v1/attachments/682"
)
attachment = res.json() Response
{
"id": 682,
"userId": 190,
"targetType": "post",
"targetId": 202,
"url": "https://picsum.photos/seed/attachment-682/800/800",
"mimeType": "image/jpeg",
"sizeBytes": 48155457,
"createdAt": "2025-06-17T09:55:25.864Z"
}