Activity #158
User #170 attached image/webp (42592090 bytes)
10/14/2025, 2:27:25 AM
Overview
attachments / #158
User #170 attached image/webp (42592090 bytes)
10/14/2025, 2:27:25 AM
User #170 attached image/webp (42592090 bytes)
10/14/2025, 2:27:25 AM
View recordUser #170 attached image/webp (42592090 bytes) · 10/14/2025, 2:27:25 AM
Request
curl example
curl -sS \ "https://example-data.com/api/v1/attachments/158" \ -H "Accept: application/json"
JavaScript example
const res = await fetch( "https://example-data.com/api/v1/attachments/158" ); 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/158"
);
const attachment = (await res.json()) as Attachment; Python example
import requests
res = requests.get(
"https://example-data.com/api/v1/attachments/158"
)
attachment = res.json() Response
{
"id": 158,
"userId": 170,
"targetType": "post",
"targetId": 301,
"url": "https://picsum.photos/seed/attachment-158/1200/300",
"mimeType": "image/webp",
"sizeBytes": 42592090,
"createdAt": "2025-10-14T02:27:25.813Z"
}