Activity #174
User #106 attached image/jpeg (4838636 bytes)
9/27/2025, 7:07:56 AM
Overview
attachments / #174
User #106 attached image/jpeg (4838636 bytes)
9/27/2025, 7:07:56 AM
User #106 attached image/jpeg (4838636 bytes)
9/27/2025, 7:07:56 AM
View recordUser #106 attached image/jpeg (4838636 bytes) · 9/27/2025, 7:07:56 AM
Request
curl example
curl -sS \ "https://example-data.com/api/v1/attachments/174" \ -H "Accept: application/json"
JavaScript example
const res = await fetch( "https://example-data.com/api/v1/attachments/174" ); 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/174"
);
const attachment = (await res.json()) as Attachment; Python example
import requests
res = requests.get(
"https://example-data.com/api/v1/attachments/174"
)
attachment = res.json() Response
{
"id": 174,
"userId": 106,
"targetType": "recipe",
"targetId": 112,
"url": "https://picsum.photos/seed/attachment-174/400/400",
"mimeType": "image/jpeg",
"sizeBytes": 4838636,
"createdAt": "2025-09-27T07:07:56.667Z"
}