Comment #1290
· 11/24/2024
Via vel spiritus tardus. Acidus ab creta acsi volo. Alii magnam accommodo cauda auctus. Ducimus iste vinculum armarium autus vivo.
Overview
comments / #1290
Via vel spiritus tardus. Acidus ab creta acsi volo. Alii magnam accommodo cauda auctus. Ducimus iste vinculum armarium autus vivo.
Comment #1290
11/24/2024
Request
curl example
curl -sS \ "https://example-data.com/api/v1/comments/1290" \ -H "Accept: application/json"
JavaScript example
const res = await fetch( "https://example-data.com/api/v1/comments/1290" ); 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/1290"
);
const comment = (await res.json()) as Comment; Python example
import requests
res = requests.get(
"https://example-data.com/api/v1/comments/1290"
)
comment = res.json() Response
{
"id": 1290,
"userId": 200,
"targetType": "post",
"targetId": 20,
"body": "Via vel spiritus tardus. Acidus ab creta acsi volo. Alii magnam accommodo cauda auctus. Ducimus iste vinculum armarium autus vivo.",
"isEdited": true,
"createdAt": "2024-11-24T08:45:50.311Z",
"updatedAt": "2025-01-15T11:15:22.169Z"
}