Comment #42
· 4/18/2025
Theca ultra quae aer tibi.
Overview
comments / #42
Theca ultra quae aer tibi.
Comment #42
4/18/2025
Request
curl example
curl -sS \ "https://example-data.com/api/v1/comments/42" \ -H "Accept: application/json"
JavaScript example
const res = await fetch( "https://example-data.com/api/v1/comments/42" ); const comment = await res.json();
TypeScript example
// Download once: mkdir -p types && curl -o types/comments.d.ts https://example-data.com/types/comments.d.ts
import type { Comment } from "./types/comments";
const res = await fetch(
"https://example-data.com/api/v1/comments/42"
);
const comment = (await res.json()) as Comment; Python example
import requests
res = requests.get(
"https://example-data.com/api/v1/comments/42"
)
comment = res.json() Response
{
"id": 42,
"userId": 191,
"targetType": "post",
"targetId": 281,
"body": "Theca ultra quae aer tibi.",
"isEdited": false,
"createdAt": "2025-04-18T02:29:47.128Z",
"updatedAt": "2025-04-18T02:29:47.128Z"
}