Activity #561
User #4 attached image/png (17796631 bytes)
4/22/2026, 9:56:02 PM
Overview
attachments / #561
User #4 attached image/png (17796631 bytes)
4/22/2026, 9:56:02 PM
User #4 attached image/png (17796631 bytes)
4/22/2026, 9:56:02 PM
View recordUser #4 attached image/png (17796631 bytes) · 4/22/2026, 9:56:02 PM
Request
curl example
curl -sS \ "https://example-data.com/api/v1/attachments/561" \ -H "Accept: application/json"
JavaScript example
const res = await fetch( "https://example-data.com/api/v1/attachments/561" ); 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/561"
);
const attachment = (await res.json()) as Attachment; Python example
import requests
res = requests.get(
"https://example-data.com/api/v1/attachments/561"
)
attachment = res.json() Response
{
"id": 561,
"userId": 4,
"targetType": "restaurant",
"targetId": 52,
"url": "https://picsum.photos/seed/attachment-561/600/800",
"mimeType": "image/png",
"sizeBytes": 17796631,
"createdAt": "2026-04-22T21:56:02.382Z"
}