example-data.com
Menu
Browse docs and collections

Overview

comments / #1309

Comment #1309

· 5/5/2025

Catena veritatis administratio debitis valde curvo bibo ab aer calculus. Abstergo speculum admoveo. Sol comis vicissitudo voro dedecor tergeo spiritus convoco circumvenio.

Component variants

Related

Request

curl example

curl -sS \
  "https://example-data.com/api/v1/comments/1309" \
  -H "Accept: application/json"

JavaScript example

const res = await fetch(
  "https://example-data.com/api/v1/comments/1309"
);
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/1309"
);
const comment = (await res.json()) as Comment;

Python example

import requests

res = requests.get(
    "https://example-data.com/api/v1/comments/1309"
)
comment = res.json()

Response

{
  "id": 1309,
  "userId": 49,
  "targetType": "post",
  "targetId": 307,
  "body": "Catena veritatis administratio debitis valde curvo bibo ab aer calculus. Abstergo speculum admoveo. Sol comis vicissitudo voro dedecor tergeo spiritus convoco circumvenio.",
  "isEdited": true,
  "createdAt": "2025-05-05T05:47:54.200Z",
  "updatedAt": "2025-08-26T02:42:26.200Z"
}