Activity #154
User #61 attached image/jpeg (3250592 bytes)
6/24/2025, 11:12:05 PM
Overview
attachments / #154
User #61 attached image/jpeg (3250592 bytes)
6/24/2025, 11:12:05 PM
User #61 attached image/jpeg (3250592 bytes)
6/24/2025, 11:12:05 PM
View recordUser #61 attached image/jpeg (3250592 bytes) · 6/24/2025, 11:12:05 PM
Request
curl example
curl -sS \ "https://example-data.com/api/v1/attachments/154" \ -H "Accept: application/json"
JavaScript example
const res = await fetch( "https://example-data.com/api/v1/attachments/154" ); 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/154"
);
const attachment = (await res.json()) as Attachment; Python example
import requests
res = requests.get(
"https://example-data.com/api/v1/attachments/154"
)
attachment = res.json() Response
{
"id": 154,
"userId": 61,
"targetType": "post",
"targetId": 459,
"url": "https://picsum.photos/seed/attachment-154/800/800",
"mimeType": "image/jpeg",
"sizeBytes": 3250592,
"createdAt": "2025-06-24T23:12:05.374Z"
}