Activity #177
User #64 attached image/png (15429562 bytes)
11/5/2025, 12:43:33 AM
Overview
attachments / #177
User #64 attached image/png (15429562 bytes)
11/5/2025, 12:43:33 AM
User #64 attached image/png (15429562 bytes)
11/5/2025, 12:43:33 AM
View recordUser #64 attached image/png (15429562 bytes) · 11/5/2025, 12:43:33 AM
Request
curl example
curl -sS \ "https://example-data.com/api/v1/attachments/177" \ -H "Accept: application/json"
JavaScript example
const res = await fetch( "https://example-data.com/api/v1/attachments/177" ); 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/177"
);
const attachment = (await res.json()) as Attachment; Python example
import requests
res = requests.get(
"https://example-data.com/api/v1/attachments/177"
)
attachment = res.json() Response
{
"id": 177,
"userId": 64,
"targetType": "post",
"targetId": 433,
"url": "https://picsum.photos/seed/attachment-177/1200/300",
"mimeType": "image/png",
"sizeBytes": 15429562,
"createdAt": "2025-11-05T00:43:33.396Z"
}