Activity #22
User #22 attached application/pdf (6752007 bytes)
5/8/2026, 1:26:02 AM
Overview
attachments / #22
User #22 attached application/pdf (6752007 bytes)
5/8/2026, 1:26:02 AM
User #22 attached application/pdf (6752007 bytes)
5/8/2026, 1:26:02 AM
View recordUser #22 attached application/pdf (6752007 bytes) · 5/8/2026, 1:26:02 AM
Request
curl example
curl -sS \ "https://example-data.com/api/v1/attachments/22" \ -H "Accept: application/json"
JavaScript example
const res = await fetch( "https://example-data.com/api/v1/attachments/22" ); 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/22"
);
const attachment = (await res.json()) as Attachment; Python example
import requests
res = requests.get(
"https://example-data.com/api/v1/attachments/22"
)
attachment = res.json() Response
{
"id": 22,
"userId": 22,
"targetType": "comment",
"targetId": 536,
"url": "https://example.com/files/attachment-22.pdf",
"mimeType": "application/pdf",
"sizeBytes": 6752007,
"createdAt": "2026-05-08T01:26:02.424Z"
}