Activity #709
User #185 attached image/jpeg (42870342 bytes)
10/26/2025, 1:52:52 AM
Overview
attachments / #709
User #185 attached image/jpeg (42870342 bytes)
10/26/2025, 1:52:52 AM
User #185 attached image/jpeg (42870342 bytes)
10/26/2025, 1:52:52 AM
View recordUser #185 attached image/jpeg (42870342 bytes) · 10/26/2025, 1:52:52 AM
Request
curl example
curl -sS \ "https://example-data.com/api/v1/attachments/709" \ -H "Accept: application/json"
JavaScript example
const res = await fetch( "https://example-data.com/api/v1/attachments/709" ); 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/709"
);
const attachment = (await res.json()) as Attachment; Python example
import requests
res = requests.get(
"https://example-data.com/api/v1/attachments/709"
)
attachment = res.json() Response
{
"id": 709,
"userId": 185,
"targetType": "post",
"targetId": 255,
"url": "https://picsum.photos/seed/attachment-709/1200/600",
"mimeType": "image/jpeg",
"sizeBytes": 42870342,
"createdAt": "2025-10-26T01:52:52.284Z"
}