Activity #51
User #90 attached image/jpeg (21420166 bytes)
9/12/2025, 9:09:12 AM
Overview
attachments / #51
User #90 attached image/jpeg (21420166 bytes)
9/12/2025, 9:09:12 AM
User #90 attached image/jpeg (21420166 bytes)
9/12/2025, 9:09:12 AM
View recordUser #90 attached image/jpeg (21420166 bytes) · 9/12/2025, 9:09:12 AM
Request
curl example
curl -sS \ "https://example-data.com/api/v1/attachments/51" \ -H "Accept: application/json"
JavaScript example
const res = await fetch( "https://example-data.com/api/v1/attachments/51" ); 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/51"
);
const attachment = (await res.json()) as Attachment; Python example
import requests
res = requests.get(
"https://example-data.com/api/v1/attachments/51"
)
attachment = res.json() Response
{
"id": 51,
"userId": 90,
"targetType": "recipe",
"targetId": 239,
"url": "https://picsum.photos/seed/attachment-51/800/600",
"mimeType": "image/jpeg",
"sizeBytes": 21420166,
"createdAt": "2025-09-12T09:09:12.935Z"
}