Comment #982
· 1/29/2025
Aestus tremo aperiam vehemens. Cum pel comburo calcar anser ustilo decens depono. Constans ex auditor ultra.
Overview
comments / #982
Aestus tremo aperiam vehemens. Cum pel comburo calcar anser ustilo decens depono. Constans ex auditor ultra.
Comment #982
1/29/2025
Request
curl example
curl -sS \ "https://example-data.com/api/v1/comments/982" \ -H "Accept: application/json"
JavaScript example
const res = await fetch( "https://example-data.com/api/v1/comments/982" ); 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/982"
);
const comment = (await res.json()) as Comment; Python example
import requests
res = requests.get(
"https://example-data.com/api/v1/comments/982"
)
comment = res.json() Response
{
"id": 982,
"userId": 207,
"targetType": "post",
"targetId": 14,
"body": "Aestus tremo aperiam vehemens. Cum pel comburo calcar anser ustilo decens depono. Constans ex auditor ultra.",
"isEdited": false,
"createdAt": "2025-01-29T20:59:20.110Z",
"updatedAt": "2025-01-29T20:59:20.110Z"
}