Comment #1310
· 6/14/2024
Vallum universe texo degenero explicabo cunabula a placeat caput paens. Textor trepide ventosus. Ciminatio correptius voco careo beneficium theatrum tredecim defetiscor.
Overview
comments / #1310
Vallum universe texo degenero explicabo cunabula a placeat caput paens. Textor trepide ventosus. Ciminatio correptius voco careo beneficium theatrum tredecim defetiscor.
Comment #1310
6/14/2024
Request
curl example
curl -sS \ "https://example-data.com/api/v1/comments/1310" \ -H "Accept: application/json"
JavaScript example
const res = await fetch( "https://example-data.com/api/v1/comments/1310" ); 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/1310"
);
const comment = (await res.json()) as Comment; Python example
import requests
res = requests.get(
"https://example-data.com/api/v1/comments/1310"
)
comment = res.json() Response
{
"id": 1310,
"userId": 202,
"targetType": "post",
"targetId": 98,
"body": "Vallum universe texo degenero explicabo cunabula a placeat caput paens. Textor trepide ventosus. Ciminatio correptius voco careo beneficium theatrum tredecim defetiscor.",
"isEdited": false,
"createdAt": "2024-06-14T03:35:34.055Z",
"updatedAt": "2024-06-14T03:35:34.055Z"
}