Comment #678
· 3/2/2025
Soleo tredecim quis coniuratio. Peior chirographum patria absens.
Overview
comments / #678
Soleo tredecim quis coniuratio. Peior chirographum patria absens.
Comment #678
3/2/2025
Request
curl example
curl -sS \ "https://example-data.com/api/v1/comments/678" \ -H "Accept: application/json"
JavaScript example
const res = await fetch( "https://example-data.com/api/v1/comments/678" ); 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/678"
);
const comment = (await res.json()) as Comment; Python example
import requests
res = requests.get(
"https://example-data.com/api/v1/comments/678"
)
comment = res.json() Response
{
"id": 678,
"userId": 225,
"targetType": "post",
"targetId": 97,
"body": "Soleo tredecim quis coniuratio. Peior chirographum patria absens.",
"isEdited": false,
"createdAt": "2025-03-02T06:18:46.758Z",
"updatedAt": "2025-03-02T06:18:46.758Z"
}