Activity #355
User #248 attached image/png (6219413 bytes)
9/25/2025, 2:04:04 AM
Overview
attachments / #355
User #248 attached image/png (6219413 bytes)
9/25/2025, 2:04:04 AM
User #248 attached image/png (6219413 bytes)
9/25/2025, 2:04:04 AM
View recordUser #248 attached image/png (6219413 bytes) · 9/25/2025, 2:04:04 AM
Request
curl example
curl -sS \ "https://example-data.com/api/v1/attachments/355" \ -H "Accept: application/json"
JavaScript example
const res = await fetch( "https://example-data.com/api/v1/attachments/355" ); 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/355"
);
const attachment = (await res.json()) as Attachment; Python example
import requests
res = requests.get(
"https://example-data.com/api/v1/attachments/355"
)
attachment = res.json() Response
{
"id": 355,
"userId": 248,
"targetType": "recipe",
"targetId": 142,
"url": "https://picsum.photos/seed/attachment-355/800/800",
"mimeType": "image/png",
"sizeBytes": 6219413,
"createdAt": "2025-09-25T02:04:04.629Z"
}