Comment #847
· 7/30/2024
Quam explicabo caecus virga beatus. Saepe beneficium adamo amissio cimentarius claudeo. Adeo tui xiphias casus coma turba illo pel pel.
Overview
comments / #847
Quam explicabo caecus virga beatus. Saepe beneficium adamo amissio cimentarius claudeo. Adeo tui xiphias casus coma turba illo pel pel.
Comment #847
7/30/2024
Request
curl example
curl -sS \ "https://example-data.com/api/v1/comments/847" \ -H "Accept: application/json"
JavaScript example
const res = await fetch( "https://example-data.com/api/v1/comments/847" ); 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/847"
);
const comment = (await res.json()) as Comment; Python example
import requests
res = requests.get(
"https://example-data.com/api/v1/comments/847"
)
comment = res.json() Response
{
"id": 847,
"userId": 7,
"targetType": "post",
"targetId": 323,
"body": "Quam explicabo caecus virga beatus. Saepe beneficium adamo amissio cimentarius claudeo. Adeo tui xiphias casus coma turba illo pel pel.",
"isEdited": false,
"createdAt": "2024-07-30T14:09:27.212Z",
"updatedAt": "2024-07-30T14:09:27.212Z"
}