Activity #121
User #177 attached image/png (35683638 bytes)
5/2/2026, 5:19:32 AM
Overview
attachments / #121
User #177 attached image/png (35683638 bytes)
5/2/2026, 5:19:32 AM
User #177 attached image/png (35683638 bytes)
5/2/2026, 5:19:32 AM
View recordUser #177 attached image/png (35683638 bytes) · 5/2/2026, 5:19:32 AM
Request
curl example
curl -sS \ "https://example-data.com/api/v1/attachments/121" \ -H "Accept: application/json"
JavaScript example
const res = await fetch( "https://example-data.com/api/v1/attachments/121" ); 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/121"
);
const attachment = (await res.json()) as Attachment; Python example
import requests
res = requests.get(
"https://example-data.com/api/v1/attachments/121"
)
attachment = res.json() Response
{
"id": 121,
"userId": 177,
"targetType": "restaurant",
"targetId": 71,
"url": "https://picsum.photos/seed/attachment-121/400/800",
"mimeType": "image/png",
"sizeBytes": 35683638,
"createdAt": "2026-05-02T05:19:32.241Z"
}