---
title: "Reddit Komentar Post API (V1)"
description: "Mengambil komentar untuk postingan Reddit dengan dukungan token paginasi. Digunakan untuk meninjau diskusi dalam thread atau melanjutkan pencarian komentar tambahan untuk postingan yang diketahui."
lastUpdated: false
aiUsagePrompt: true
---

# Reddit Komentar Post API \(V1\)

<ApiTester
  method="GET"
  :path='JSON.parse("\"/api/reddit/get-post-comments/v1\"")'
  :summary='JSON.parse("\"Komentar Post (V1)\"")'
  openapiDefinitionUrl="https://docs.justoneapi.com/openapi/reddit/post-comments-v1-id.json"
  openapiVersion="3.1.0"
  :parameters='JSON.parse("[{\"name\":\"token\",\"in\":\"query\",\"description\":\"Token akses untuk layanan API ini.\",\"required\":true,\"schema\":{\"type\":\"string\"}},{\"name\":\"postId\",\"in\":\"query\",\"description\":\"Identifikasi unik postingan Reddit.\",\"required\":true,\"schema\":{\"type\":\"string\"}},{\"name\":\"cursor\",\"in\":\"query\",\"description\":\"Token paginasi untuk halaman hasil berikutnya.\",\"required\":false,\"schema\":{\"type\":\"string\",\"default\":\"\"}}]")'
  :requestBody='JSON.parse("null")'
  :responses='JSON.parse("{\"200\":{\"description\":\"OK\",\"content\":{\"application/json\":{\"schema\":{\"if\":{\"properties\":{\"code\":{\"const\":0}},\"required\":[\"code\"]},\"then\":{\"properties\":{\"data\":{\"type\":\"object\",\"description\":\"Komentar postingan di Reddit dengan metadata thread dan informasi kelanjutan cabang.\",\"properties\":{\"postInfoById\":{\"type\":\"object\",\"description\":\"Data postingan dan komentar yang dikembalikan untuk identifikasi postingan yang diminta.\",\"properties\":{\"id\":{\"type\":\"string\",\"description\":\"Identifikasi postingan di Reddit.\"},\"title\":{\"type\":\"string\",\"description\":\"Judul postingan di Reddit.\"},\"commentCount\":{\"type\":\"integer\",\"description\":\"Jumlah total komentar yang dilaporkan untuk postingan tersebut.\"},\"commentForest\":{\"type\":\"object\",\"description\":\"Daftar lurus dari entri komentar dan entri kelanjutan yang terhubung oleh identifikasi induk.\",\"properties\":{\"pageInfo\":{\"type\":\"object\",\"description\":\"Informasi paginasi yang dikembalikan bersama data komentar.\",\"properties\":{\"commentCount\":{\"type\":[\"integer\",\"null\"],\"description\":\"Jumlah komentar yang dilaporkan untuk data tersebut, atau null jika tidak tersedia.\"},\"hasNextPage\":{\"type\":\"boolean\",\"description\":\"Apakah hasil tambahan dilaporkan untuk data komentar tersebut.\"}}},\"trees\":{\"type\":\"array\",\"description\":\"Entri yang diurutkan dalam data komentar. Setiap entri dapat berisi node komentar atau penanda kelanjutan.\",\"items\":{\"type\":\"object\",\"description\":\"Satu komentar atau entri kelanjutan dalam data tersebut.\",\"properties\":{\"childCount\":{\"type\":\"integer\",\"description\":\"Jumlah anak yang dilaporkan untuk entri pohon ini.\"},\"depth\":{\"type\":\"integer\",\"description\":\"Kedalaman dalam thread komentar. Entri tingkat atas memiliki kedalaman nol.\"},\"parentId\":{\"type\":[\"string\",\"null\"],\"description\":\"Identifikasi komentar induk. Entri tingkat atas dapat mengembalikan null.\"},\"node\":{\"type\":[\"object\",\"null\"],\"description\":\"Konten komentar dan metadata publik untuk entri pohon ini, atau null untuk penanda kelanjutan.\",\"properties\":{\"id\":{\"type\":\"string\",\"description\":\"Identifikasi komentar di Reddit.\"},\"createdAt\":{\"type\":\"string\",\"description\":\"Waktu pembuatan komentar sebagai teks waktu ISO.\"},\"editedAt\":{\"description\":\"Informasi waktu untuk editan komentar terbaru. Sampel yang terverifikasi mengembalikan null.\"},\"permalink\":{\"type\":\"string\",\"description\":\"Jalur permalink komentar di Reddit.\"},\"content\":{\"type\":\"object\",\"description\":\"Format konten yang disediakan untuk komentar ini.\",\"properties\":{\"markdown\":{\"type\":\"string\",\"description\":\"Tegur teks yang dikembalikan dalam format Markdown.\"},\"preview\":{\"type\":\"string\",\"description\":\"Teguran preview yang dikembalikan untuk tegur tersebut.\"},\"richtext\":{\"type\":\"string\",\"description\":\"Dokumen teks kaya diserialisasi sebagai string JSON.\"},\"richtextMedia\":{\"type\":\"array\",\"description\":\"Entri media yang dirujuk oleh teks tebal. Sampel yang terverifikasi mengembalikan daftar kosong.\"},\"typeHint\":{\"type\":\"string\",\"description\":\"Peringatan jenis konten dilaporkan untuk tegur teks.\"},\"translationInfo\":{\"type\":\"object\",\"description\":\"Informasi status terjemahan untuk konten tegur.\",\"properties\":{\"isTranslated\":{\"type\":\"boolean\",\"description\":\"Apakah konten tegur yang dikembalikan ditandai sebagai terjemahan.\"},\"translatedLanguage\":{\"description\":\"Informasi bahasa untuk konten tegur yang terjemahan. Sampel yang terverifikasi mengembalikan null.\"}}}}},\"score\":{\"type\":\"integer\",\"description\":\"Skor tegur dilaporkan oleh Reddit.\"},\"isScoreHidden\":{\"type\":\"boolean\",\"description\":\"Apakah skor tegur ditandai sebagai tersembunyi.\"},\"isAdminTakedown\":{\"type\":\"boolean\",\"description\":\"Apakah tegur ditandai sebagai dihapus oleh administrator Reddit.\"},\"isArchived\":{\"type\":\"boolean\",\"description\":\"Apakah tegur ditandai sebagai terarsipkan.\"},\"isCommercialCommunication\":{\"type\":\"boolean\",\"description\":\"Apakah tegur ditandai sebagai komunikasi komersial.\"},\"isLocked\":{\"type\":\"boolean\",\"description\":\"Apakah tegur ditandai sebagai terkunci.\"},\"isRemoved\":{\"type\":\"boolean\",\"description\":\"Apakah tegur ditandai sebagai dihapus.\"},\"isStickied\":{\"type\":\"boolean\",\"description\":\"Apakah tegur ditandai sebagai terpaku.\"},\"isTranslatable\":{\"type\":\"boolean\",\"description\":\"Apakah tegur ditandai sebagai tersedia untuk terjemahan.\"},\"languageCode\":{\"type\":[\"string\",\"null\"],\"description\":\"Kode bahasa yang dilaporkan untuk tegur, atau null ketika tidak tersedia.\"},\"removedByCategory\":{\"description\":\"Informasi kategori penghapusan yang dikembalikan untuk tegur. Sampel yang terverifikasi mengembalikan null.\"},\"distinguishedAs\":{\"description\":\"Informasi perbedaan peran yang dikembalikan untuk tegur. Sampel yang terverifikasi mengembalikan null.\"},\"authorInfo\":{\"type\":\"object\",\"description\":\"Informasi akun Reddit publik yang dikembalikan untuk penulis tegur.\",\"properties\":{\"id\":{\"type\":\"string\",\"description\":\"Identifikasi akun Reddit untuk penulis tegur.\"},\"name\":{\"type\":\"string\",\"description\":\"Nama akun publik yang ditampilkan untuk penulis tegur.\"},\"accountType\":{\"type\":\"string\",\"description\":\"Jenis akun yang dikembalikan untuk penulis tegur.\"},\"iconSmall\":{\"type\":\"object\",\"description\":\"Gambar avatar kecil yang dikembalikan untuk penulis.\",\"properties\":{\"dimensions\":{\"type\":\"object\",\"description\":\"Dimensi gambar dalam piksel.\",\"properties\":{\"height\":{\"type\":\"integer\",\"description\":\"Tinggi gambar dalam piksel.\"},\"width\":{\"type\":\"integer\",\"description\":\"Lebar gambar dalam piksel.\"}}},\"url\":{\"type\":\"string\",\"description\":\"URL gambar Reddit publik yang dikembalikan untuk avatar.\"}}},\"newIcon\":{\"type\":\"object\",\"description\":\"Gambar avatar yang dikembalikan dalam field icon baru.\",\"properties\":{\"dimensions\":{\"type\":\"object\",\"description\":\"Dimensi gambar dalam piksel.\",\"properties\":{\"height\":{\"type\":\"integer\",\"description\":\"Tinggi gambar dalam piksel.\"},\"width\":{\"type\":\"integer\",\"description\":\"Lebar gambar dalam piksel.\"}}},\"url\":{\"type\":\"string\",\"description\":\"URL gambar Reddit publik yang dikembalikan untuk avatar.\"}}},\"snoovatarIcon\":{\"type\":[\"object\",\"null\"],\"description\":\"Gambar Snoovatar yang dikembalikan untuk penulis, atau null jika tidak tersedia.\",\"properties\":{\"dimensions\":{\"type\":\"object\",\"description\":\"Dimensi gambar dalam piksel.\",\"properties\":{\"height\":{\"type\":\"integer\",\"description\":\"Tinggi gambar dalam piksel.\"},\"width\":{\"type\":\"integer\",\"description\":\"Lebar gambar dalam piksel.\"}}},\"url\":{\"type\":\"string\",\"description\":\"URL gambar Reddit publik yang dikembalikan untuk avatar.\"}}},\"isCakeDayNow\":{\"type\":\"boolean\",\"description\":\"Apakah akun penulis ditandai sebagai yang merayakan ulang tahun Reddit-nya.\"},\"profile\":{\"type\":\"object\",\"description\":\"Atribut profil publik yang dikembalikan untuk penulis komentar.\",\"properties\":{\"isNsfw\":{\"type\":\"boolean\",\"description\":\"Apakah profil penulis ditandai sebagai NSFW.\"}}}}},\"authorCommunityBadge\":{\"type\":[\"object\",\"null\"],\"description\":\"Data badge komunitas publik untuk penulis komentar, atau null jika tidak tersedia.\",\"properties\":{\"accessibilityLabel\":{\"type\":\"string\",\"description\":\"Label aksesibilitas untuk badge komunitas.\"},\"label\":{\"type\":\"string\",\"description\":\"Teks tampilan untuk badge komunitas.\"},\"image\":{\"type\":\"object\",\"description\":\"Informasi gambar untuk badge komunitas.\",\"properties\":{\"url\":{\"type\":\"string\",\"description\":\"URL gambar publik untuk badge komunitas.\"}}}}},\"authorFlair\":{\"type\":[\"object\",\"null\"],\"description\":\"Flair publik yang dikembalikan untuk penulis komentar, atau null jika tidak tersedia.\",\"properties\":{\"text\":{\"type\":\"string\",\"description\":\"Teks tampilan untuk flair penulis.\"}}}}},\"more\":{\"type\":[\"object\",\"null\"],\"description\":\"Metadata kelanjutan untuk cabang ini, atau null jika tidak tersedia.\",\"properties\":{\"count\":{\"type\":\"integer\",\"description\":\"Jumlah komentar yang dilaporkan dalam entri kelanjutan ini.\"},\"cursor\":{\"type\":\"string\",\"description\":\"Kursor kelanjutan yang tidak jelas untuk cabang ini. Serahkan secara tidak berubah sebagai parameter permintaan kursor dengan postId yang sama.\"},\"isTooDeepForCount\":{\"type\":\"boolean\",\"description\":\"Apakah cabang ini dilaporkan terlalu dalam untuk memberikan jumlah.\"}}}}}}}},\"subreddit\":{\"type\":\"object\",\"description\":\"Informasi komunitas publik untuk postingan.\",\"properties\":{\"id\":{\"type\":\"string\",\"description\":\"Identifikasi komunitas Reddit.\"},\"name\":{\"type\":\"string\",\"description\":\"Nama komunitas Reddit.\"},\"prefixedName\":{\"type\":\"string\",\"description\":\"Nama komunitas dengan prefiks Reddit-nya.\"},\"isQuarantined\":{\"type\":\"boolean\",\"description\":\"Apakah komunitas ditandai sebagai quarantined.\"},\"allowedMediaInComments\":{\"type\":\"array\",\"description\":\"Jenis media yang dilaporkan diizinkan dalam komentar di komunitas.\",\"items\":{\"type\":\"string\",\"description\":\"Satu jenis media yang dilaporkan diizinkan dalam komentar.\"}}}}}}}}}},\"allOf\":[{\"type\":\"object\",\"properties\":{\"code\":{\"type\":\"integer\",\"format\":\"int32\",\"enum\":[0,100,101,202,300,301,302,303,400,404,500,503,600,601,602]},\"message\":{\"type\":[\"string\",\"null\"]},\"data\":{},\"recordTime\":{\"type\":[\"string\",\"null\"]},\"requestId\":{\"type\":\"string\"},\"reason\":{\"type\":\"string\"},\"requestParams\":{\"type\":\"object\",\"properties\":{\"query\":{\"type\":\"object\",\"additionalProperties\":{\"type\":\"object\"}},\"body\":{\"type\":\"object\",\"properties\":{\"empty\":{\"type\":\"boolean\"},\"array\":{\"type\":\"boolean\"},\"null\":{\"type\":\"boolean\"},\"object\":{\"type\":\"boolean\"},\"float\":{\"type\":\"boolean\"},\"integralNumber\":{\"type\":\"boolean\"},\"floatingPointNumber\":{\"type\":\"boolean\"},\"valueNode\":{\"type\":\"boolean\"},\"nodeType\":{\"type\":\"string\",\"enum\":[\"ARRAY\",\"BINARY\",\"BOOLEAN\",\"MISSING\",\"NULL\",\"NUMBER\",\"OBJECT\",\"POJO\",\"STRING\"]},\"string\":{\"type\":\"boolean\"},\"missingNode\":{\"type\":\"boolean\"},\"container\":{\"type\":\"boolean\"},\"pojo\":{\"type\":\"boolean\"},\"short\":{\"type\":\"boolean\"},\"int\":{\"type\":\"boolean\"},\"long\":{\"type\":\"boolean\"},\"double\":{\"type\":\"boolean\"},\"bigDecimal\":{\"type\":\"boolean\"},\"bigInteger\":{\"type\":\"boolean\"},\"textual\":{\"type\":\"boolean\",\"deprecated\":true},\"boolean\":{\"type\":\"boolean\"},\"binary\":{\"type\":\"boolean\"},\"number\":{\"type\":\"boolean\"},\"embeddedValue\":{\"type\":\"boolean\"}}}}}},\"required\":[\"code\",\"data\",\"message\",\"recordTime\"]}]}}}},\"400\":{\"description\":\"Parameter atau isi permintaan yang tidak valid\",\"content\":{\"application/json\":{\"schema\":{\"type\":\"object\",\"properties\":{\"code\":{\"type\":\"integer\",\"format\":\"int32\",\"enum\":[0,100,101,202,300,301,302,303,400,404,500,503,600,601,602]},\"message\":{\"type\":[\"string\",\"null\"]},\"data\":{},\"recordTime\":{\"type\":[\"string\",\"null\"]},\"requestId\":{\"type\":\"string\"},\"reason\":{\"type\":\"string\"},\"requestParams\":{\"type\":\"object\",\"properties\":{\"query\":{\"type\":\"object\",\"additionalProperties\":{\"type\":\"object\"}},\"body\":{\"type\":\"object\",\"properties\":{\"empty\":{\"type\":\"boolean\"},\"array\":{\"type\":\"boolean\"},\"null\":{\"type\":\"boolean\"},\"object\":{\"type\":\"boolean\"},\"float\":{\"type\":\"boolean\"},\"integralNumber\":{\"type\":\"boolean\"},\"floatingPointNumber\":{\"type\":\"boolean\"},\"valueNode\":{\"type\":\"boolean\"},\"nodeType\":{\"type\":\"string\",\"enum\":[\"ARRAY\",\"BINARY\",\"BOOLEAN\",\"MISSING\",\"NULL\",\"NUMBER\",\"OBJECT\",\"POJO\",\"STRING\"]},\"string\":{\"type\":\"boolean\"},\"missingNode\":{\"type\":\"boolean\"},\"container\":{\"type\":\"boolean\"},\"pojo\":{\"type\":\"boolean\"},\"short\":{\"type\":\"boolean\"},\"int\":{\"type\":\"boolean\"},\"long\":{\"type\":\"boolean\"},\"double\":{\"type\":\"boolean\"},\"bigDecimal\":{\"type\":\"boolean\"},\"bigInteger\":{\"type\":\"boolean\"},\"textual\":{\"type\":\"boolean\",\"deprecated\":true},\"boolean\":{\"type\":\"boolean\"},\"binary\":{\"type\":\"boolean\"},\"number\":{\"type\":\"boolean\"},\"embeddedValue\":{\"type\":\"boolean\"}}}}}},\"required\":[\"code\",\"data\",\"message\",\"recordTime\"]}}}},\"401\":{\"description\":\"Token akses yang tidak valid atau tidak aktif\",\"content\":{\"application/json\":{\"schema\":{\"type\":\"object\",\"properties\":{\"code\":{\"type\":\"integer\",\"format\":\"int32\",\"enum\":[0,100,101,202,300,301,302,303,400,404,500,503,600,601,602]},\"message\":{\"type\":[\"string\",\"null\"]},\"data\":{},\"recordTime\":{\"type\":[\"string\",\"null\"]},\"requestId\":{\"type\":\"string\"},\"reason\":{\"type\":\"string\"},\"requestParams\":{\"type\":\"object\",\"properties\":{\"query\":{\"type\":\"object\",\"additionalProperties\":{\"type\":\"object\"}},\"body\":{\"type\":\"object\",\"properties\":{\"empty\":{\"type\":\"boolean\"},\"array\":{\"type\":\"boolean\"},\"null\":{\"type\":\"boolean\"},\"object\":{\"type\":\"boolean\"},\"float\":{\"type\":\"boolean\"},\"integralNumber\":{\"type\":\"boolean\"},\"floatingPointNumber\":{\"type\":\"boolean\"},\"valueNode\":{\"type\":\"boolean\"},\"nodeType\":{\"type\":\"string\",\"enum\":[\"ARRAY\",\"BINARY\",\"BOOLEAN\",\"MISSING\",\"NULL\",\"NUMBER\",\"OBJECT\",\"POJO\",\"STRING\"]},\"string\":{\"type\":\"boolean\"},\"missingNode\":{\"type\":\"boolean\"},\"container\":{\"type\":\"boolean\"},\"pojo\":{\"type\":\"boolean\"},\"short\":{\"type\":\"boolean\"},\"int\":{\"type\":\"boolean\"},\"long\":{\"type\":\"boolean\"},\"double\":{\"type\":\"boolean\"},\"bigDecimal\":{\"type\":\"boolean\"},\"bigInteger\":{\"type\":\"boolean\"},\"textual\":{\"type\":\"boolean\",\"deprecated\":true},\"boolean\":{\"type\":\"boolean\"},\"binary\":{\"type\":\"boolean\"},\"number\":{\"type\":\"boolean\"},\"embeddedValue\":{\"type\":\"boolean\"}}}}}},\"required\":[\"code\",\"data\",\"message\",\"recordTime\"]}}}},\"403\":{\"description\":\"Izin ditolak\",\"content\":{\"application/json\":{\"schema\":{\"type\":\"object\",\"properties\":{\"code\":{\"type\":\"integer\",\"format\":\"int32\",\"enum\":[0,100,101,202,300,301,302,303,400,404,500,503,600,601,602]},\"message\":{\"type\":[\"string\",\"null\"]},\"data\":{},\"recordTime\":{\"type\":[\"string\",\"null\"]},\"requestId\":{\"type\":\"string\"},\"reason\":{\"type\":\"string\"},\"requestParams\":{\"type\":\"object\",\"properties\":{\"query\":{\"type\":\"object\",\"additionalProperties\":{\"type\":\"object\"}},\"body\":{\"type\":\"object\",\"properties\":{\"empty\":{\"type\":\"boolean\"},\"array\":{\"type\":\"boolean\"},\"null\":{\"type\":\"boolean\"},\"object\":{\"type\":\"boolean\"},\"float\":{\"type\":\"boolean\"},\"integralNumber\":{\"type\":\"boolean\"},\"floatingPointNumber\":{\"type\":\"boolean\"},\"valueNode\":{\"type\":\"boolean\"},\"nodeType\":{\"type\":\"string\",\"enum\":[\"ARRAY\",\"BINARY\",\"BOOLEAN\",\"MISSING\",\"NULL\",\"NUMBER\",\"OBJECT\",\"POJO\",\"STRING\"]},\"string\":{\"type\":\"boolean\"},\"missingNode\":{\"type\":\"boolean\"},\"container\":{\"type\":\"boolean\"},\"pojo\":{\"type\":\"boolean\"},\"short\":{\"type\":\"boolean\"},\"int\":{\"type\":\"boolean\"},\"long\":{\"type\":\"boolean\"},\"double\":{\"type\":\"boolean\"},\"bigDecimal\":{\"type\":\"boolean\"},\"bigInteger\":{\"type\":\"boolean\"},\"textual\":{\"type\":\"boolean\",\"deprecated\":true},\"boolean\":{\"type\":\"boolean\"},\"binary\":{\"type\":\"boolean\"},\"number\":{\"type\":\"boolean\"},\"embeddedValue\":{\"type\":\"boolean\"}}}}}},\"required\":[\"code\",\"data\",\"message\",\"recordTime\"]}}}},\"429\":{\"description\":\"Laju permintaan atau batas kuota harian terlampaui\",\"content\":{\"application/json\":{\"schema\":{\"type\":\"object\",\"properties\":{\"code\":{\"type\":\"integer\",\"format\":\"int32\",\"enum\":[0,100,101,202,300,301,302,303,400,404,500,503,600,601,602]},\"message\":{\"type\":[\"string\",\"null\"]},\"data\":{},\"recordTime\":{\"type\":[\"string\",\"null\"]},\"requestId\":{\"type\":\"string\"},\"reason\":{\"type\":\"string\"},\"requestParams\":{\"type\":\"object\",\"properties\":{\"query\":{\"type\":\"object\",\"additionalProperties\":{\"type\":\"object\"}},\"body\":{\"type\":\"object\",\"properties\":{\"empty\":{\"type\":\"boolean\"},\"array\":{\"type\":\"boolean\"},\"null\":{\"type\":\"boolean\"},\"object\":{\"type\":\"boolean\"},\"float\":{\"type\":\"boolean\"},\"integralNumber\":{\"type\":\"boolean\"},\"floatingPointNumber\":{\"type\":\"boolean\"},\"valueNode\":{\"type\":\"boolean\"},\"nodeType\":{\"type\":\"string\",\"enum\":[\"ARRAY\",\"BINARY\",\"BOOLEAN\",\"MISSING\",\"NULL\",\"NUMBER\",\"OBJECT\",\"POJO\",\"STRING\"]},\"string\":{\"type\":\"boolean\"},\"missingNode\":{\"type\":\"boolean\"},\"container\":{\"type\":\"boolean\"},\"pojo\":{\"type\":\"boolean\"},\"short\":{\"type\":\"boolean\"},\"int\":{\"type\":\"boolean\"},\"long\":{\"type\":\"boolean\"},\"double\":{\"type\":\"boolean\"},\"bigDecimal\":{\"type\":\"boolean\"},\"bigInteger\":{\"type\":\"boolean\"},\"textual\":{\"type\":\"boolean\",\"deprecated\":true},\"boolean\":{\"type\":\"boolean\"},\"binary\":{\"type\":\"boolean\"},\"number\":{\"type\":\"boolean\"},\"embeddedValue\":{\"type\":\"boolean\"}}}}}},\"required\":[\"code\",\"data\",\"message\",\"recordTime\"]}}}},\"500\":{\"description\":\"Kesalahan server internal\",\"content\":{\"application/json\":{\"schema\":{\"type\":\"object\",\"properties\":{\"code\":{\"type\":\"integer\",\"format\":\"int32\",\"enum\":[0,100,101,202,300,301,302,303,400,404,500,503,600,601,602]},\"message\":{\"type\":[\"string\",\"null\"]},\"data\":{},\"recordTime\":{\"type\":[\"string\",\"null\"]},\"requestId\":{\"type\":\"string\"},\"reason\":{\"type\":\"string\"},\"requestParams\":{\"type\":\"object\",\"properties\":{\"query\":{\"type\":\"object\",\"additionalProperties\":{\"type\":\"object\"}},\"body\":{\"type\":\"object\",\"properties\":{\"empty\":{\"type\":\"boolean\"},\"array\":{\"type\":\"boolean\"},\"null\":{\"type\":\"boolean\"},\"object\":{\"type\":\"boolean\"},\"float\":{\"type\":\"boolean\"},\"integralNumber\":{\"type\":\"boolean\"},\"floatingPointNumber\":{\"type\":\"boolean\"},\"valueNode\":{\"type\":\"boolean\"},\"nodeType\":{\"type\":\"string\",\"enum\":[\"ARRAY\",\"BINARY\",\"BOOLEAN\",\"MISSING\",\"NULL\",\"NUMBER\",\"OBJECT\",\"POJO\",\"STRING\"]},\"string\":{\"type\":\"boolean\"},\"missingNode\":{\"type\":\"boolean\"},\"container\":{\"type\":\"boolean\"},\"pojo\":{\"type\":\"boolean\"},\"short\":{\"type\":\"boolean\"},\"int\":{\"type\":\"boolean\"},\"long\":{\"type\":\"boolean\"},\"double\":{\"type\":\"boolean\"},\"bigDecimal\":{\"type\":\"boolean\"},\"bigInteger\":{\"type\":\"boolean\"},\"textual\":{\"type\":\"boolean\",\"deprecated\":true},\"boolean\":{\"type\":\"boolean\"},\"binary\":{\"type\":\"boolean\"},\"number\":{\"type\":\"boolean\"},\"embeddedValue\":{\"type\":\"boolean\"}}}}}},\"required\":[\"code\",\"data\",\"message\",\"recordTime\"]}}}},\"503\":{\"description\":\"Layanan sementara tidak tersedia\",\"content\":{\"application/json\":{\"schema\":{\"type\":\"object\",\"properties\":{\"code\":{\"type\":\"integer\",\"format\":\"int32\",\"enum\":[0,100,101,202,300,301,302,303,400,404,500,503,600,601,602]},\"message\":{\"type\":[\"string\",\"null\"]},\"data\":{},\"recordTime\":{\"type\":[\"string\",\"null\"]},\"requestId\":{\"type\":\"string\"},\"reason\":{\"type\":\"string\"},\"requestParams\":{\"type\":\"object\",\"properties\":{\"query\":{\"type\":\"object\",\"additionalProperties\":{\"type\":\"object\"}},\"body\":{\"type\":\"object\",\"properties\":{\"empty\":{\"type\":\"boolean\"},\"array\":{\"type\":\"boolean\"},\"null\":{\"type\":\"boolean\"},\"object\":{\"type\":\"boolean\"},\"float\":{\"type\":\"boolean\"},\"integralNumber\":{\"type\":\"boolean\"},\"floatingPointNumber\":{\"type\":\"boolean\"},\"valueNode\":{\"type\":\"boolean\"},\"nodeType\":{\"type\":\"string\",\"enum\":[\"ARRAY\",\"BINARY\",\"BOOLEAN\",\"MISSING\",\"NULL\",\"NUMBER\",\"OBJECT\",\"POJO\",\"STRING\"]},\"string\":{\"type\":\"boolean\"},\"missingNode\":{\"type\":\"boolean\"},\"container\":{\"type\":\"boolean\"},\"pojo\":{\"type\":\"boolean\"},\"short\":{\"type\":\"boolean\"},\"int\":{\"type\":\"boolean\"},\"long\":{\"type\":\"boolean\"},\"double\":{\"type\":\"boolean\"},\"bigDecimal\":{\"type\":\"boolean\"},\"bigInteger\":{\"type\":\"boolean\"},\"textual\":{\"type\":\"boolean\",\"deprecated\":true},\"boolean\":{\"type\":\"boolean\"},\"binary\":{\"type\":\"boolean\"},\"number\":{\"type\":\"boolean\"},\"embeddedValue\":{\"type\":\"boolean\"}}}}}},\"required\":[\"code\",\"data\",\"message\",\"recordTime\"]}}}}}")'
  :servers='JSON.parse("[{\"url\":\"https://api.justoneapi.com\",\"description\":\"API produksi global (default)\"}]")'
  :security='JSON.parse("[]")'
  :securitySchemes='JSON.parse("{}")'
  :schemas='JSON.parse("{}")'
/>

<ApiHealthSection :api='JSON.parse("\"/api/reddit/get-post-comments/v1\"")' />

<p>Mengambil komentar untuk postingan Reddit dengan dukungan token paginasi. Digunakan untuk meninjau diskusi dalam thread atau melanjutkan pencarian komentar tambahan untuk postingan yang diketahui.</p>

## Parameter

<div class="api-doc-table api-doc-table--params">

| Nama | Lokasi | Jenis | Wajib | Bawaan | Deskripsi |
| --- | --- | --- | --- | --- | --- |
| <code>token</code> | query | <code>string</code> | Ya | - | Token akses untuk layanan API ini. |
| <code>postId</code> | query | <code>string</code> | Ya | - | Identifikasi unik postingan Reddit. |
| <code>cursor</code> | query | <code>string</code> | Tidak | <code></code> | Token paginasi untuk halaman hasil berikutnya. |

</div>

## Contoh Kode

::: code-group

```bash [🐚 cURL]
curl --max-time 120 -X GET 'https://api.justoneapi.com/api/reddit/get-post-comments/v1?token=YOUR_API_KEY&postId=VALUE'
```

```text [🤖 Prompt AI]
Saya ingin menggunakan API "Komentar Post (V1)" dari JustOneAPI.
URL dasar: https://api.justoneapi.com.
Jalur API: /api/reddit/get-post-comments/v1?token=YOUR_API_KEY&postId=VALUE
Endpoint API: BASE_URL + /api/reddit/get-post-comments/v1?token=YOUR_API_KEY&postId=VALUE
Metode HTTP: GET
Autentikasi: Tambahkan parameter query "token" ke URL.
Definisi OpenAPI: https://docs.justoneapi.com/openapi/reddit/post-comments-v1-id.json

Parameter:
- token (query): Token akses untuk layanan API ini. (Wajib)
- postId (query): Identifikasi unik postingan Reddit. (Wajib)
- cursor (query): Token paginasi untuk halaman hasil berikutnya.

Format Kembalian: tangani dengan aman JSON atau teks sesuai dengan Content-Type yang sebenarnya.

Penanganan respons dan kode kesalahan:
1. Tentukan hasil pemrosesan dari kolom "code" dalam isi respons (code 0 berarti berhasil).
2. Batas waktu yang disarankan: Atur batas waktu permintaan menjadi 120 detik. Jika 120 detik terlalu lama untuk kebutuhan Anda, gunakan setidaknya 60 detik. Sebagian kecil permintaan mungkin mencapai batas waktu sebelum hasil diterima.
3. Kode hasil:
   - 0: Berhasil
   - 100: Token tidak valid atau tidak aktif
   - 301: Gagal mengambil data. Silakan coba lagi.
   - 302: Batas frekuensi permintaan terlampaui
   - 303: Kuota harian terlampaui
   - 400: Parameter tidak valid
   - 500: Kesalahan internal server
   - 600: Akses ditolak
   - 601: Saldo tidak mencukupi
   - 602: Batas anggaran token tercapai
4. Kode 601 berarti saldo bersama akun tidak mencukupi. Kode 602 berarti token API yang digunakan telah mencapai batas anggaran kumulatifnya sendiri. Menetapkan batas anggaran token tidak memindahkan dana dari saldo bersama akun.

Tolong bantu saya menulis skrip dalam bahasa pemrograman favorit saya untuk memanggil API ini dan menangani responsnya.
```

```python [🐍 Python]
import requests

BASE_URL = "https://api.justoneapi.com"  # Diberikan oleh server OpenAPI

url = BASE_URL + "/api/reddit/get-post-comments/v1?token=YOUR_API_KEY&postId=VALUE"
response = requests.get(url, timeout=120)
print(response.status_code)
if response.content:
    content_type = response.headers.get("content-type", "").lower()
    if "json" in content_type:
        try:
            print(response.json())
        except ValueError:
            print(response.text)
    elif content_type.startswith("text/") or "xml" in content_type or content_type.split(";", 1)[0].strip() in {"application/javascript", "application/x-www-form-urlencoded", "application/graphql"}:
        print(response.text)
    else:
        with open("response.bin", "wb") as output:
            output.write(response.content)
        print(f"Saved {len(response.content)} bytes to response.bin")
```

```js [🌐 JavaScript]
const BASE_URL = "https://api.justoneapi.com"; // Diberikan oleh server OpenAPI
const url = BASE_URL + "/api/reddit/get-post-comments/v1?token=YOUR_API_KEY&postId=VALUE";

const response = await fetch(url, {
  method: "GET",
  signal: AbortSignal.timeout(120000)
});
console.log(response.status);
const responseBytes = await response.arrayBuffer();
if (responseBytes.byteLength) {
  const contentType = (response.headers.get("content-type") || "").toLowerCase();
  const mediaType = contentType.split(";", 1)[0].trim();
  const textual = contentType.startsWith("text/") || contentType.includes("json") || contentType.includes("xml") || ["application/javascript", "application/x-www-form-urlencoded", "application/graphql"].includes(mediaType);
  if (textual) {
    const responseText = new TextDecoder().decode(responseBytes);
    let data = responseText;
    if (contentType.includes("json")) {
      try { data = JSON.parse(responseText); } catch { /* Keep the raw body. */ }
    }
    console.log(data);
  } else {
    console.log(`Received ${responseBytes.byteLength} binary bytes`);
  }
}
```

```java [☕ Java]
import java.net.URI;
import java.net.http.HttpClient;
import java.net.http.HttpRequest;
import java.net.http.HttpResponse;
import java.time.Duration;
import java.nio.charset.StandardCharsets;
import java.nio.file.Files;
import java.nio.file.Path;

public class Main {
    public static void main(String[] args) throws Exception {
        final String BASE_URL = "https://api.justoneapi.com"; // Diberikan oleh server OpenAPI
        final String url = BASE_URL + "/api/reddit/get-post-comments/v1?token=YOUR_API_KEY&postId=VALUE";

        HttpClient client = HttpClient.newBuilder().connectTimeout(Duration.ofSeconds(120)).build();
        HttpRequest.Builder builder = HttpRequest.newBuilder()
            .uri(URI.create(url))
            .timeout(Duration.ofSeconds(120))
            .method("GET", HttpRequest.BodyPublishers.noBody());

        HttpRequest request = builder.build();

        HttpResponse<byte[]> response = client.send(request, HttpResponse.BodyHandlers.ofByteArray());
        System.out.println(response.statusCode());
        String contentType = response.headers().firstValue("content-type").orElse("").toLowerCase();
        String mediaType = contentType.split(";", 2)[0].trim();
        if (contentType.startsWith("text/") || contentType.contains("json") || contentType.contains("xml") || mediaType.equals("application/javascript") || mediaType.equals("application/x-www-form-urlencoded") || mediaType.equals("application/graphql")) {
            System.out.println(new String(response.body(), StandardCharsets.UTF_8));
        } else {
            Files.write(Path.of("response.bin"), response.body());
            System.out.println("Saved " + response.body().length + " bytes to response.bin");
        }
    }
}
```

```go [🐹 Go]
package main

import (
	"fmt"
	"io"
	"os"
	"strings"
	"net/http"
	"time"
)

const BASE_URL = "https://api.justoneapi.com" // Diberikan oleh server OpenAPI

func main() {
	client := &http.Client{Timeout: 120 * time.Second}
	url := BASE_URL + "/api/reddit/get-post-comments/v1?token=YOUR_API_KEY&postId=VALUE"
	req, _ := http.NewRequest("GET", url, nil)
	resp, _ := client.Do(req)
	defer resp.Body.Close()
	fmt.Println(resp.StatusCode)
	bodyBytes, _ := io.ReadAll(resp.Body)
	contentType := strings.ToLower(resp.Header.Get("Content-Type"))
	mediaType := strings.TrimSpace(strings.SplitN(contentType, ";", 2)[0])
	if strings.HasPrefix(contentType, "text/") || strings.Contains(contentType, "json") || strings.Contains(contentType, "xml") || mediaType == "application/javascript" || mediaType == "application/x-www-form-urlencoded" || mediaType == "application/graphql" {
		fmt.Println(string(bodyBytes))
	} else {
		os.WriteFile("response.bin", bodyBytes, 0600)
		fmt.Printf("Saved %d bytes to response.bin\n", len(bodyBytes))
	}
}
```

```php [🐘 PHP]
<?php
$BASE_URL = 'https://api.justoneapi.com'; // Diberikan oleh server OpenAPI
$url = $BASE_URL . '/api/reddit/get-post-comments/v1?token=YOUR_API_KEY&postId=VALUE';

$ch = curl_init();
curl_setopt($ch, CURLOPT_URL, $url);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
curl_setopt($ch, CURLOPT_TIMEOUT, 120);
curl_setopt($ch, CURLOPT_CUSTOMREQUEST, "GET");
$response = curl_exec($ch);
$status = curl_getinfo($ch, CURLINFO_RESPONSE_CODE);
$contentType = strtolower((string) curl_getinfo($ch, CURLINFO_CONTENT_TYPE));
curl_close($ch);
echo $status . PHP_EOL;
$mediaType = trim(explode(';', $contentType, 2)[0]);
if (str_starts_with($contentType, 'text/') || str_contains($contentType, 'json') || str_contains($contentType, 'xml') || in_array($mediaType, ['application/javascript', 'application/x-www-form-urlencoded', 'application/graphql'], true)) {
    echo $response;
} else {
    file_put_contents('response.bin', $response);
    echo 'Saved ' . strlen($response) . ' bytes to response.bin' . PHP_EOL;
}
```

:::

<div style="text-align: right; margin-top: -20px; margin-bottom: 20px;">
<a href="/openapi/reddit/post-comments-v1-id.json" target="_blank" style="font-size: 12px; color: var(--vp-c-text-3); text-decoration: none; opacity: 0.8;">[Definisi OpenAPI (JSON)]</a>
</div>

## Field Respons

Field Kunci dalam respons yang sukses (`code = 0`).

<div class="api-doc-table api-doc-table--response">

| Jalur Field | Jenis | Deskripsi |
| --- | --- | --- |
| <code>data</code> | <code>object</code> | Komentar postingan di Reddit dengan metadata thread dan informasi kelanjutan cabang. |
| <code>data.postInfoById</code> | <code>object</code> | Data postingan dan komentar yang dikembalikan untuk identifikasi postingan yang diminta. |
| <code>data.postInfoById.id</code> | <code>string</code> | Identifikasi postingan di Reddit. |
| <code>data.postInfoById.title</code> | <code>string</code> | Judul postingan di Reddit. |
| <code>data.postInfoById.commentCount</code> | <code>integer</code> | Jumlah total komentar yang dilaporkan untuk postingan tersebut. |
| <code>data.postInfoById.commentForest</code> | <code>object</code> | Daftar lurus dari entri komentar dan entri kelanjutan yang terhubung oleh identifikasi induk. |
| <code>data.postInfoById.commentForest.pageInfo</code> | <code>object</code> | Informasi paginasi yang dikembalikan bersama data komentar. |
| <code>data.postInfoById.commentForest.pageInfo.commentCount</code> | <code>integer &#124; null</code> | Jumlah komentar yang dilaporkan untuk data tersebut, atau null jika tidak tersedia. |
| <code>data.postInfoById.commentForest.pageInfo.hasNextPage</code> | <code>boolean</code> | Apakah hasil tambahan dilaporkan untuk data komentar tersebut. |
| <code>data.postInfoById.commentForest.trees</code> | <code>array</code> | Entri yang diurutkan dalam data komentar. Setiap entri dapat berisi node komentar atau penanda kelanjutan. |
| <code>data.postInfoById.commentForest.trees[]</code> | <code>object</code> | Satu komentar atau entri kelanjutan dalam data tersebut. |
| <code>data.postInfoById.commentForest.trees[].childCount</code> | <code>integer</code> | Jumlah anak yang dilaporkan untuk entri pohon ini. |
| <code>data.postInfoById.commentForest.trees[].depth</code> | <code>integer</code> | Kedalaman dalam thread komentar. Entri tingkat atas memiliki kedalaman nol. |
| <code>data.postInfoById.commentForest.trees[].parentId</code> | <code>string &#124; null</code> | Identifikasi komentar induk. Entri tingkat atas dapat mengembalikan null. |
| <code>data.postInfoById.commentForest.trees[].node</code> | <code>object &#124; null</code> | Konten komentar dan metadata publik untuk entri pohon ini, atau null untuk penanda kelanjutan. |
| <code>data.postInfoById.commentForest.trees[].node.id</code> | <code>string</code> | Identifikasi komentar di Reddit. |
| <code>data.postInfoById.commentForest.trees[].node.createdAt</code> | <code>string</code> | Waktu pembuatan komentar sebagai teks waktu ISO. |
| <code>data.postInfoById.commentForest.trees[].node.editedAt</code> | - | Informasi waktu untuk editan komentar terbaru. Sampel yang terverifikasi mengembalikan null. |
| <code>data.postInfoById.commentForest.trees[].node.permalink</code> | <code>string</code> | Jalur permalink komentar di Reddit. |
| <code>data.postInfoById.commentForest.trees[].node.content</code> | <code>object</code> | Format konten yang disediakan untuk komentar ini. |
| <code>data.postInfoById.commentForest.trees[].node.content.markdown</code> | <code>string</code> | Tegur teks yang dikembalikan dalam format Markdown. |
| <code>data.postInfoById.commentForest.trees[].node.content.preview</code> | <code>string</code> | Teguran preview yang dikembalikan untuk tegur tersebut. |
| <code>data.postInfoById.commentForest.trees[].node.content.richtext</code> | <code>string</code> | Dokumen teks kaya diserialisasi sebagai string JSON. |
| <code>data.postInfoById.commentForest.trees[].node.content.richtextMedia</code> | <code>array</code> | Entri media yang dirujuk oleh teks tebal. Sampel yang terverifikasi mengembalikan daftar kosong. |
| <code>data.postInfoById.commentForest.trees[].node.content.typeHint</code> | <code>string</code> | Peringatan jenis konten dilaporkan untuk tegur teks. |
| <code>data.postInfoById.commentForest.trees[].node.content.translationInfo</code> | <code>object</code> | Informasi status terjemahan untuk konten tegur. |
| <code>data.postInfoById.commentForest.trees[].node.content.translationInfo.isTranslated</code> | <code>boolean</code> | Apakah konten tegur yang dikembalikan ditandai sebagai terjemahan. |
| <code>data.postInfoById.commentForest.trees[].node.content.translationInfo.translatedLanguage</code> | - | Informasi bahasa untuk konten tegur yang terjemahan. Sampel yang terverifikasi mengembalikan null. |
| <code>data.postInfoById.commentForest.trees[].node.score</code> | <code>integer</code> | Skor tegur dilaporkan oleh Reddit. |
| <code>data.postInfoById.commentForest.trees[].node.isScoreHidden</code> | <code>boolean</code> | Apakah skor tegur ditandai sebagai tersembunyi. |
| <code>data.postInfoById.commentForest.trees[].node.isAdminTakedown</code> | <code>boolean</code> | Apakah tegur ditandai sebagai dihapus oleh administrator Reddit. |
| <code>data.postInfoById.commentForest.trees[].node.isArchived</code> | <code>boolean</code> | Apakah tegur ditandai sebagai terarsipkan. |
| <code>data.postInfoById.commentForest.trees[].node.isCommercialCommunication</code> | <code>boolean</code> | Apakah tegur ditandai sebagai komunikasi komersial. |
| <code>data.postInfoById.commentForest.trees[].node.isLocked</code> | <code>boolean</code> | Apakah tegur ditandai sebagai terkunci. |
| <code>data.postInfoById.commentForest.trees[].node.isRemoved</code> | <code>boolean</code> | Apakah tegur ditandai sebagai dihapus. |
| <code>data.postInfoById.commentForest.trees[].node.isStickied</code> | <code>boolean</code> | Apakah tegur ditandai sebagai terpaku. |
| <code>data.postInfoById.commentForest.trees[].node.isTranslatable</code> | <code>boolean</code> | Apakah tegur ditandai sebagai tersedia untuk terjemahan. |
| <code>data.postInfoById.commentForest.trees[].node.languageCode</code> | <code>string &#124; null</code> | Kode bahasa yang dilaporkan untuk tegur, atau null ketika tidak tersedia. |
| <code>data.postInfoById.commentForest.trees[].node.removedByCategory</code> | - | Informasi kategori penghapusan yang dikembalikan untuk tegur. Sampel yang terverifikasi mengembalikan null. |
| <code>data.postInfoById.commentForest.trees[].node.distinguishedAs</code> | - | Informasi perbedaan peran yang dikembalikan untuk tegur. Sampel yang terverifikasi mengembalikan null. |
| <code>data.postInfoById.commentForest.trees[].node.authorInfo</code> | <code>object</code> | Informasi akun Reddit publik yang dikembalikan untuk penulis tegur. |
| <code>data.postInfoById.commentForest.trees[].node.authorInfo.id</code> | <code>string</code> | Identifikasi akun Reddit untuk penulis tegur. |
| <code>data.postInfoById.commentForest.trees[].node.authorInfo.name</code> | <code>string</code> | Nama akun publik yang ditampilkan untuk penulis tegur. |
| <code>data.postInfoById.commentForest.trees[].node.authorInfo.accountType</code> | <code>string</code> | Jenis akun yang dikembalikan untuk penulis tegur. |
| <code>data.postInfoById.commentForest.trees[].node.authorInfo.iconSmall</code> | <code>object</code> | Gambar avatar kecil yang dikembalikan untuk penulis. |
| <code>data.postInfoById.commentForest.trees[].node.authorInfo.iconSmall.dimensions</code> | <code>object</code> | Dimensi gambar dalam piksel. |
| <code>data.postInfoById.commentForest.trees[].node.authorInfo.iconSmall.dimensions.height</code> | <code>integer</code> | Tinggi gambar dalam piksel. |
| <code>data.postInfoById.commentForest.trees[].node.authorInfo.iconSmall.dimensions.width</code> | <code>integer</code> | Lebar gambar dalam piksel. |
| <code>data.postInfoById.commentForest.trees[].node.authorInfo.iconSmall.url</code> | <code>string</code> | URL gambar Reddit publik yang dikembalikan untuk avatar. |
| <code>data.postInfoById.commentForest.trees[].node.authorInfo.newIcon</code> | <code>object</code> | Gambar avatar yang dikembalikan dalam field icon baru. |
| <code>data.postInfoById.commentForest.trees[].node.authorInfo.newIcon.dimensions</code> | <code>object</code> | Dimensi gambar dalam piksel. |
| <code>data.postInfoById.commentForest.trees[].node.authorInfo.newIcon.dimensions.height</code> | <code>integer</code> | Tinggi gambar dalam piksel. |
| <code>data.postInfoById.commentForest.trees[].node.authorInfo.newIcon.dimensions.width</code> | <code>integer</code> | Lebar gambar dalam piksel. |
| <code>data.postInfoById.commentForest.trees[].node.authorInfo.newIcon.url</code> | <code>string</code> | URL gambar Reddit publik yang dikembalikan untuk avatar. |
| <code>data.postInfoById.commentForest.trees[].node.authorInfo.snoovatarIcon</code> | <code>object &#124; null</code> | Gambar Snoovatar yang dikembalikan untuk penulis, atau null jika tidak tersedia. |
| <code>data.postInfoById.commentForest.trees[].node.authorInfo.snoovatarIcon.dimensions</code> | <code>object</code> | Dimensi gambar dalam piksel. |
| <code>data.postInfoById.commentForest.trees[].node.authorInfo.snoovatarIcon.dimensions.height</code> | <code>integer</code> | Tinggi gambar dalam piksel. |
| <code>data.postInfoById.commentForest.trees[].node.authorInfo.snoovatarIcon.dimensions.width</code> | <code>integer</code> | Lebar gambar dalam piksel. |
| <code>data.postInfoById.commentForest.trees[].node.authorInfo.snoovatarIcon.url</code> | <code>string</code> | URL gambar Reddit publik yang dikembalikan untuk avatar. |
| <code>data.postInfoById.commentForest.trees[].node.authorInfo.isCakeDayNow</code> | <code>boolean</code> | Apakah akun penulis ditandai sebagai yang merayakan ulang tahun Reddit-nya. |
| <code>data.postInfoById.commentForest.trees[].node.authorInfo.profile</code> | <code>object</code> | Atribut profil publik yang dikembalikan untuk penulis komentar. |
| <code>data.postInfoById.commentForest.trees[].node.authorInfo.profile.isNsfw</code> | <code>boolean</code> | Apakah profil penulis ditandai sebagai NSFW. |
| <code>data.postInfoById.commentForest.trees[].node.authorCommunityBadge</code> | <code>object &#124; null</code> | Data badge komunitas publik untuk penulis komentar, atau null jika tidak tersedia. |
| <code>data.postInfoById.commentForest.trees[].node.authorCommunityBadge.accessibilityLabel</code> | <code>string</code> | Label aksesibilitas untuk badge komunitas. |
| <code>data.postInfoById.commentForest.trees[].node.authorCommunityBadge.label</code> | <code>string</code> | Teks tampilan untuk badge komunitas. |
| <code>data.postInfoById.commentForest.trees[].node.authorCommunityBadge.image</code> | <code>object</code> | Informasi gambar untuk badge komunitas. |
| <code>data.postInfoById.commentForest.trees[].node.authorCommunityBadge.image.url</code> | <code>string</code> | URL gambar publik untuk badge komunitas. |
| <code>data.postInfoById.commentForest.trees[].node.authorFlair</code> | <code>object &#124; null</code> | Flair publik yang dikembalikan untuk penulis komentar, atau null jika tidak tersedia. |
| <code>data.postInfoById.commentForest.trees[].node.authorFlair.text</code> | <code>string</code> | Teks tampilan untuk flair penulis. |
| <code>data.postInfoById.commentForest.trees[].more</code> | <code>object &#124; null</code> | Metadata kelanjutan untuk cabang ini, atau null jika tidak tersedia. |
| <code>data.postInfoById.commentForest.trees[].more.count</code> | <code>integer</code> | Jumlah komentar yang dilaporkan dalam entri kelanjutan ini. |
| <code>data.postInfoById.commentForest.trees[].more.cursor</code> | <code>string</code> | Kursor kelanjutan yang tidak jelas untuk cabang ini. Serahkan secara tidak berubah sebagai parameter permintaan kursor dengan postId yang sama. |
| <code>data.postInfoById.commentForest.trees[].more.isTooDeepForCount</code> | <code>boolean</code> | Apakah cabang ini dilaporkan terlalu dalam untuk memberikan jumlah. |
| <code>data.postInfoById.subreddit</code> | <code>object</code> | Informasi komunitas publik untuk postingan. |
| <code>data.postInfoById.subreddit.id</code> | <code>string</code> | Identifikasi komunitas Reddit. |
| <code>data.postInfoById.subreddit.name</code> | <code>string</code> | Nama komunitas Reddit. |
| <code>data.postInfoById.subreddit.prefixedName</code> | <code>string</code> | Nama komunitas dengan prefiks Reddit-nya. |
| <code>data.postInfoById.subreddit.isQuarantined</code> | <code>boolean</code> | Apakah komunitas ditandai sebagai quarantined. |
| <code>data.postInfoById.subreddit.allowedMediaInComments</code> | <code>array</code> | Jenis media yang dilaporkan diizinkan dalam komentar di komunitas. |
| <code>data.postInfoById.subreddit.allowedMediaInComments[]</code> | <code>string</code> | Satu jenis media yang dilaporkan diizinkan dalam komentar. |

</div>

## Contoh Respons

<ApiExampleSection :api='JSON.parse("\"/api/reddit/get-post-comments/v1\"")' />

