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