Activity #583
User #220 attached image/png (27638069 bytes)
10/25/2025, 11:52:47 AM
Overview
attachments / #583
User #220 attached image/png (27638069 bytes)
10/25/2025, 11:52:47 AM
User #220 attached image/png (27638069 bytes)
10/25/2025, 11:52:47 AM
View recordUser #220 attached image/png (27638069 bytes) · 10/25/2025, 11:52:47 AM
Request
curl example
curl -sS \ "https://example-data.com/api/v1/attachments/583" \ -H "Accept: application/json"
JavaScript example
const res = await fetch( "https://example-data.com/api/v1/attachments/583" ); 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/583"
);
const attachment = (await res.json()) as Attachment; Python example
import requests
res = requests.get(
"https://example-data.com/api/v1/attachments/583"
)
attachment = res.json() Response
{
"id": 583,
"userId": 220,
"targetType": "recipe",
"targetId": 92,
"url": "https://picsum.photos/seed/attachment-583/1200/600",
"mimeType": "image/png",
"sizeBytes": 27638069,
"createdAt": "2025-10-25T11:52:47.713Z"
}