Activity #110
User #101 attached application/pdf (40628184 bytes)
6/22/2025, 6:42:29 AM
Overview
attachments / #110
User #101 attached application/pdf (40628184 bytes)
6/22/2025, 6:42:29 AM
User #101 attached application/pdf (40628184 bytes)
6/22/2025, 6:42:29 AM
View recordUser #101 attached application/pdf (40628184 bytes) · 6/22/2025, 6:42:29 AM
Request
curl example
curl -sS \ "https://example-data.com/api/v1/attachments/110" \ -H "Accept: application/json"
JavaScript example
const res = await fetch( "https://example-data.com/api/v1/attachments/110" ); 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/110"
);
const attachment = (await res.json()) as Attachment; Python example
import requests
res = requests.get(
"https://example-data.com/api/v1/attachments/110"
)
attachment = res.json() Response
{
"id": 110,
"userId": 101,
"targetType": "comment",
"targetId": 1433,
"url": "https://example.com/files/attachment-110.pdf",
"mimeType": "application/pdf",
"sizeBytes": 40628184,
"createdAt": "2025-06-22T06:42:29.809Z"
}