Activity #627
User #107 attached image/jpeg (30370463 bytes)
11/12/2025, 12:53:55 PM
Overview
attachments / #627
User #107 attached image/jpeg (30370463 bytes)
11/12/2025, 12:53:55 PM
User #107 attached image/jpeg (30370463 bytes)
11/12/2025, 12:53:55 PM
View recordUser #107 attached image/jpeg (30370463 bytes) · 11/12/2025, 12:53:55 PM
Request
curl example
curl -sS \ "https://example-data.com/api/v1/attachments/627" \ -H "Accept: application/json"
JavaScript example
const res = await fetch( "https://example-data.com/api/v1/attachments/627" ); 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/627"
);
const attachment = (await res.json()) as Attachment; Python example
import requests
res = requests.get(
"https://example-data.com/api/v1/attachments/627"
)
attachment = res.json() Response
{
"id": 627,
"userId": 107,
"targetType": "recipe",
"targetId": 225,
"url": "https://picsum.photos/seed/attachment-627/400/400",
"mimeType": "image/jpeg",
"sizeBytes": 30370463,
"createdAt": "2025-11-12T12:53:55.617Z"
}