Activity #38
User #186 attached image/webp (17743759 bytes)
7/13/2025, 8:54:18 PM
Overview
attachments / #38
User #186 attached image/webp (17743759 bytes)
7/13/2025, 8:54:18 PM
User #186 attached image/webp (17743759 bytes)
7/13/2025, 8:54:18 PM
View recordUser #186 attached image/webp (17743759 bytes) · 7/13/2025, 8:54:18 PM
Request
curl example
curl -sS \ "https://example-data.com/api/v1/attachments/38" \ -H "Accept: application/json"
JavaScript example
const res = await fetch( "https://example-data.com/api/v1/attachments/38" ); 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/38"
);
const attachment = (await res.json()) as Attachment; Python example
import requests
res = requests.get(
"https://example-data.com/api/v1/attachments/38"
)
attachment = res.json() Response
{
"id": 38,
"userId": 186,
"targetType": "post",
"targetId": 334,
"url": "https://picsum.photos/seed/attachment-38/800/300",
"mimeType": "image/webp",
"sizeBytes": 17743759,
"createdAt": "2025-07-13T20:54:18.353Z"
}