Comment #358
· 6/6/2024
Ullam vitae demergo speculum suasoria sonitus vociferor quod accusamus aperiam.
Overview
comments / #358
Ullam vitae demergo speculum suasoria sonitus vociferor quod accusamus aperiam.
Comment #358
6/6/2024
Request
curl example
curl -sS \ "https://example-data.com/api/v1/comments/358" \ -H "Accept: application/json"
JavaScript example
const res = await fetch( "https://example-data.com/api/v1/comments/358" ); 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/358"
);
const comment = (await res.json()) as Comment; Python example
import requests
res = requests.get(
"https://example-data.com/api/v1/comments/358"
)
comment = res.json() Response
{
"id": 358,
"userId": 100,
"targetType": "post",
"targetId": 181,
"body": "Ullam vitae demergo speculum suasoria sonitus vociferor quod accusamus aperiam.",
"isEdited": true,
"createdAt": "2024-06-06T12:45:35.135Z",
"updatedAt": "2026-04-17T06:34:32.023Z"
}