Activity #767
User #202 attached image/png (18760529 bytes)
12/6/2025, 10:40:02 PM
Overview
attachments / #767
User #202 attached image/png (18760529 bytes)
12/6/2025, 10:40:02 PM
User #202 attached image/png (18760529 bytes)
12/6/2025, 10:40:02 PM
View recordUser #202 attached image/png (18760529 bytes) · 12/6/2025, 10:40:02 PM
Request
curl example
curl -sS \ "https://example-data.com/api/v1/attachments/767" \ -H "Accept: application/json"
JavaScript example
const res = await fetch( "https://example-data.com/api/v1/attachments/767" ); 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/767"
);
const attachment = (await res.json()) as Attachment; Python example
import requests
res = requests.get(
"https://example-data.com/api/v1/attachments/767"
)
attachment = res.json() Response
{
"id": 767,
"userId": 202,
"targetType": "post",
"targetId": 246,
"url": "https://picsum.photos/seed/attachment-767/600/400",
"mimeType": "image/png",
"sizeBytes": 18760529,
"createdAt": "2025-12-06T22:40:02.836Z"
}