Activity #670
User #202 attached image/webp (32949994 bytes)
9/14/2025, 2:51:11 PM
Overview
attachments / #670
User #202 attached image/webp (32949994 bytes)
9/14/2025, 2:51:11 PM
User #202 attached image/webp (32949994 bytes)
9/14/2025, 2:51:11 PM
View recordUser #202 attached image/webp (32949994 bytes) · 9/14/2025, 2:51:11 PM
Request
curl example
curl -sS \ "https://example-data.com/api/v1/attachments/670" \ -H "Accept: application/json"
JavaScript example
const res = await fetch( "https://example-data.com/api/v1/attachments/670" ); 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/670"
);
const attachment = (await res.json()) as Attachment; Python example
import requests
res = requests.get(
"https://example-data.com/api/v1/attachments/670"
)
attachment = res.json() Response
{
"id": 670,
"userId": 202,
"targetType": "post",
"targetId": 175,
"url": "https://picsum.photos/seed/attachment-670/400/800",
"mimeType": "image/webp",
"sizeBytes": 32949994,
"createdAt": "2025-09-14T14:51:11.868Z"
}