Activity #220
User #9 attached image/png (2362854 bytes)
10/26/2025, 9:37:42 PM
Overview
attachments / #220
User #9 attached image/png (2362854 bytes)
10/26/2025, 9:37:42 PM
User #9 attached image/png (2362854 bytes)
10/26/2025, 9:37:42 PM
View recordUser #9 attached image/png (2362854 bytes) · 10/26/2025, 9:37:42 PM
Request
curl example
curl -sS \ "https://example-data.com/api/v1/attachments/220" \ -H "Accept: application/json"
JavaScript example
const res = await fetch( "https://example-data.com/api/v1/attachments/220" ); 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/220"
);
const attachment = (await res.json()) as Attachment; Python example
import requests
res = requests.get(
"https://example-data.com/api/v1/attachments/220"
)
attachment = res.json() Response
{
"id": 220,
"userId": 9,
"targetType": "recipe",
"targetId": 5,
"url": "https://picsum.photos/seed/attachment-220/600/600",
"mimeType": "image/png",
"sizeBytes": 2362854,
"createdAt": "2025-10-26T21:37:42.425Z"
}