Activity #663
User #27 attached image/png (3520772 bytes)
6/19/2025, 6:13:08 PM
Overview
attachments / #663
User #27 attached image/png (3520772 bytes)
6/19/2025, 6:13:08 PM
User #27 attached image/png (3520772 bytes)
6/19/2025, 6:13:08 PM
View recordUser #27 attached image/png (3520772 bytes) · 6/19/2025, 6:13:08 PM
Request
curl example
curl -sS \ "https://example-data.com/api/v1/attachments/663" \ -H "Accept: application/json"
JavaScript example
const res = await fetch( "https://example-data.com/api/v1/attachments/663" ); 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/663"
);
const attachment = (await res.json()) as Attachment; Python example
import requests
res = requests.get(
"https://example-data.com/api/v1/attachments/663"
)
attachment = res.json() Response
{
"id": 663,
"userId": 27,
"targetType": "restaurant",
"targetId": 8,
"url": "https://picsum.photos/seed/attachment-663/800/400",
"mimeType": "image/png",
"sizeBytes": 3520772,
"createdAt": "2025-06-19T18:13:08.500Z"
}