Activity #261
User #1 attached image/jpeg (20687789 bytes)
10/15/2025, 7:25:16 AM
Overview
attachments / #261
User #1 attached image/jpeg (20687789 bytes)
10/15/2025, 7:25:16 AM
User #1 attached image/jpeg (20687789 bytes)
10/15/2025, 7:25:16 AM
View recordUser #1 attached image/jpeg (20687789 bytes) · 10/15/2025, 7:25:16 AM
Request
curl example
curl -sS \ "https://example-data.com/api/v1/attachments/261" \ -H "Accept: application/json"
JavaScript example
const res = await fetch( "https://example-data.com/api/v1/attachments/261" ); 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/261"
);
const attachment = (await res.json()) as Attachment; Python example
import requests
res = requests.get(
"https://example-data.com/api/v1/attachments/261"
)
attachment = res.json() Response
{
"id": 261,
"userId": 1,
"targetType": "comment",
"targetId": 1313,
"url": "https://picsum.photos/seed/attachment-261/600/300",
"mimeType": "image/jpeg",
"sizeBytes": 20687789,
"createdAt": "2025-10-15T07:25:16.787Z"
}