Comment #472
· 3/24/2025
Aurum sopor creber adfero amoveo minima adeo voluptates. Caritas natus demo vehemens abutor ocer vinculum acceptus.
Overview
comments / #472
Aurum sopor creber adfero amoveo minima adeo voluptates. Caritas natus demo vehemens abutor ocer vinculum acceptus.
Comment #472
3/24/2025
Request
curl example
curl -sS \ "https://example-data.com/api/v1/comments/472" \ -H "Accept: application/json"
JavaScript example
const res = await fetch( "https://example-data.com/api/v1/comments/472" ); 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/472"
);
const comment = (await res.json()) as Comment; Python example
import requests
res = requests.get(
"https://example-data.com/api/v1/comments/472"
)
comment = res.json() Response
{
"id": 472,
"userId": 111,
"targetType": "post",
"targetId": 169,
"body": "Aurum sopor creber adfero amoveo minima adeo voluptates. Caritas natus demo vehemens abutor ocer vinculum acceptus.",
"isEdited": false,
"createdAt": "2025-03-24T00:53:13.415Z",
"updatedAt": "2025-03-24T00:53:13.415Z"
}