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