Activity #113
User #242 attached image/webp (48741985 bytes)
6/8/2025, 12:50:23 AM
Overview
attachments / #113
User #242 attached image/webp (48741985 bytes)
6/8/2025, 12:50:23 AM
User #242 attached image/webp (48741985 bytes)
6/8/2025, 12:50:23 AM
View recordUser #242 attached image/webp (48741985 bytes) · 6/8/2025, 12:50:23 AM
Request
curl example
curl -sS \ "https://example-data.com/api/v1/attachments/113" \ -H "Accept: application/json"
JavaScript example
const res = await fetch( "https://example-data.com/api/v1/attachments/113" ); 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/113"
);
const attachment = (await res.json()) as Attachment; Python example
import requests
res = requests.get(
"https://example-data.com/api/v1/attachments/113"
)
attachment = res.json() Response
{
"id": 113,
"userId": 242,
"targetType": "comment",
"targetId": 825,
"url": "https://picsum.photos/seed/attachment-113/400/600",
"mimeType": "image/webp",
"sizeBytes": 48741985,
"createdAt": "2025-06-08T00:50:23.449Z"
}