Activity #778
User #107 attached image/jpeg (30049947 bytes)
11/9/2025, 1:51:05 PM
Overview
attachments / #778
User #107 attached image/jpeg (30049947 bytes)
11/9/2025, 1:51:05 PM
User #107 attached image/jpeg (30049947 bytes)
11/9/2025, 1:51:05 PM
View recordUser #107 attached image/jpeg (30049947 bytes) · 11/9/2025, 1:51:05 PM
Request
curl example
curl -sS \ "https://example-data.com/api/v1/attachments/778" \ -H "Accept: application/json"
JavaScript example
const res = await fetch( "https://example-data.com/api/v1/attachments/778" ); 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/778"
);
const attachment = (await res.json()) as Attachment; Python example
import requests
res = requests.get(
"https://example-data.com/api/v1/attachments/778"
)
attachment = res.json() Response
{
"id": 778,
"userId": 107,
"targetType": "post",
"targetId": 279,
"url": "https://picsum.photos/seed/attachment-778/600/800",
"mimeType": "image/jpeg",
"sizeBytes": 30049947,
"createdAt": "2025-11-09T13:51:05.851Z"
}