Activity #615
User #75 attached image/webp (36584206 bytes)
8/30/2025, 11:49:02 AM
Overview
attachments / #615
User #75 attached image/webp (36584206 bytes)
8/30/2025, 11:49:02 AM
User #75 attached image/webp (36584206 bytes)
8/30/2025, 11:49:02 AM
View recordUser #75 attached image/webp (36584206 bytes) · 8/30/2025, 11:49:02 AM
Request
curl example
curl -sS \ "https://example-data.com/api/v1/attachments/615" \ -H "Accept: application/json"
JavaScript example
const res = await fetch( "https://example-data.com/api/v1/attachments/615" ); 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/615"
);
const attachment = (await res.json()) as Attachment; Python example
import requests
res = requests.get(
"https://example-data.com/api/v1/attachments/615"
)
attachment = res.json() Response
{
"id": 615,
"userId": 75,
"targetType": "post",
"targetId": 205,
"url": "https://picsum.photos/seed/attachment-615/600/400",
"mimeType": "image/webp",
"sizeBytes": 36584206,
"createdAt": "2025-08-30T11:49:02.145Z"
}