Activity #437
User #213 attached image/png (39895385 bytes)
7/4/2025, 1:16:15 PM
Overview
attachments / #437
User #213 attached image/png (39895385 bytes)
7/4/2025, 1:16:15 PM
User #213 attached image/png (39895385 bytes)
7/4/2025, 1:16:15 PM
View recordUser #213 attached image/png (39895385 bytes) · 7/4/2025, 1:16:15 PM
Request
curl example
curl -sS \ "https://example-data.com/api/v1/attachments/437" \ -H "Accept: application/json"
JavaScript example
const res = await fetch( "https://example-data.com/api/v1/attachments/437" ); 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/437"
);
const attachment = (await res.json()) as Attachment; Python example
import requests
res = requests.get(
"https://example-data.com/api/v1/attachments/437"
)
attachment = res.json() Response
{
"id": 437,
"userId": 213,
"targetType": "restaurant",
"targetId": 51,
"url": "https://picsum.photos/seed/attachment-437/800/400",
"mimeType": "image/png",
"sizeBytes": 39895385,
"createdAt": "2025-07-04T13:16:15.406Z"
}