Activity #57
User #99 attached image/webp (4354437 bytes)
10/4/2025, 6:01:01 PM
Overview
attachments / #57
User #99 attached image/webp (4354437 bytes)
10/4/2025, 6:01:01 PM
User #99 attached image/webp (4354437 bytes)
10/4/2025, 6:01:01 PM
View recordUser #99 attached image/webp (4354437 bytes) · 10/4/2025, 6:01:01 PM
Request
curl example
curl -sS \ "https://example-data.com/api/v1/attachments/57" \ -H "Accept: application/json"
JavaScript example
const res = await fetch( "https://example-data.com/api/v1/attachments/57" ); 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/57"
);
const attachment = (await res.json()) as Attachment; Python example
import requests
res = requests.get(
"https://example-data.com/api/v1/attachments/57"
)
attachment = res.json() Response
{
"id": 57,
"userId": 99,
"targetType": "recipe",
"targetId": 130,
"url": "https://picsum.photos/seed/attachment-57/1200/600",
"mimeType": "image/webp",
"sizeBytes": 4354437,
"createdAt": "2025-10-04T18:01:01.735Z"
}