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