Activity #758
User #32 attached image/jpeg (11698602 bytes)
12/30/2025, 5:49:56 AM
Overview
attachments / #758
User #32 attached image/jpeg (11698602 bytes)
12/30/2025, 5:49:56 AM
User #32 attached image/jpeg (11698602 bytes)
12/30/2025, 5:49:56 AM
View recordUser #32 attached image/jpeg (11698602 bytes) · 12/30/2025, 5:49:56 AM
Request
curl example
curl -sS \ "https://example-data.com/api/v1/attachments/758" \ -H "Accept: application/json"
JavaScript example
const res = await fetch( "https://example-data.com/api/v1/attachments/758" ); 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/758"
);
const attachment = (await res.json()) as Attachment; Python example
import requests
res = requests.get(
"https://example-data.com/api/v1/attachments/758"
)
attachment = res.json() Response
{
"id": 758,
"userId": 32,
"targetType": "recipe",
"targetId": 17,
"url": "https://picsum.photos/seed/attachment-758/1200/300",
"mimeType": "image/jpeg",
"sizeBytes": 11698602,
"createdAt": "2025-12-30T05:49:56.694Z"
}