Activity #770
User #17 attached application/pdf (21352262 bytes)
11/4/2025, 12:38:04 AM
Overview
attachments / #770
User #17 attached application/pdf (21352262 bytes)
11/4/2025, 12:38:04 AM
User #17 attached application/pdf (21352262 bytes)
11/4/2025, 12:38:04 AM
View recordUser #17 attached application/pdf (21352262 bytes) · 11/4/2025, 12:38:04 AM
Request
curl example
curl -sS \ "https://example-data.com/api/v1/attachments/770" \ -H "Accept: application/json"
JavaScript example
const res = await fetch( "https://example-data.com/api/v1/attachments/770" ); 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/770"
);
const attachment = (await res.json()) as Attachment; Python example
import requests
res = requests.get(
"https://example-data.com/api/v1/attachments/770"
)
attachment = res.json() Response
{
"id": 770,
"userId": 17,
"targetType": "comment",
"targetId": 1154,
"url": "https://example.com/files/attachment-770.pdf",
"mimeType": "application/pdf",
"sizeBytes": 21352262,
"createdAt": "2025-11-04T00:38:04.531Z"
}