Activity #112
User #201 attached image/webp (33670793 bytes)
7/9/2025, 7:25:15 AM
Overview
attachments / #112
User #201 attached image/webp (33670793 bytes)
7/9/2025, 7:25:15 AM
User #201 attached image/webp (33670793 bytes)
7/9/2025, 7:25:15 AM
View recordUser #201 attached image/webp (33670793 bytes) · 7/9/2025, 7:25:15 AM
Request
curl example
curl -sS \ "https://example-data.com/api/v1/attachments/112" \ -H "Accept: application/json"
JavaScript example
const res = await fetch( "https://example-data.com/api/v1/attachments/112" ); 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/112"
);
const attachment = (await res.json()) as Attachment; Python example
import requests
res = requests.get(
"https://example-data.com/api/v1/attachments/112"
)
attachment = res.json() Response
{
"id": 112,
"userId": 201,
"targetType": "recipe",
"targetId": 34,
"url": "https://picsum.photos/seed/attachment-112/1200/600",
"mimeType": "image/webp",
"sizeBytes": 33670793,
"createdAt": "2025-07-09T07:25:15.997Z"
}