# Доступны ли голоса/ответы постов через API?

**URL:** https://meta.discourse.org/t/are-post-voting-votes-replies-accessible-via-api/296640
**Category:** Development
**Tags:** rest-api, post-voting
**Created:** [25.Февраль.2024 05:50:44 UTC](https://meta.discourse.org/t/are-post-voting-votes-replies-accessible-via-api/296640 "2024-02-25T05:50:44Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![dig.gerald.yeong](https://avatars.discourse-cdn.com/v4/letter/d/7bcc69/32.png) [@dig.gerald.yeong](https://meta.discourse.org/u/dig.gerald.yeong)
#### Post date: [25.Февраль.2024 05:50:44 UTC](https://meta.discourse.org/t/are-post-voting-votes-replies-accessible-via-api/296640/1 "2024-02-25T05:50:44Z")

</div>

Будут ли голоса/ответы доступны через API Discourse?

---

<div class="post-metadata">

### Author: ![JammyDodger](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/jammydodger/32/254611_2.png) [@JammyDodger](https://meta.discourse.org/u/JammyDodger)
#### Post date: [25.Февраль.2024 06:31:37 UTC](https://meta.discourse.org/t/are-post-voting-votes-replies-accessible-via-api/296640/2 "2024-02-25T06:31:37Z")

</div>

Я считаю, что лучший способ проверить, доступна ли что-то через API, если это еще не задокументировано на [https://docs.discourse.org/](https://docs.discourse.org/), — это следовать этому руководству:

> [@Reverse engineer the Discourse API](https://meta.discourse.org/t/reverse-engineer-the-discourse-api/20576):
>
> Discourse is backed by a complete JSON api. Anything you can do on the site you can also do using the JSON api. The API is documented at [docs.discourse.org](https://docs.discourse.org). You can also use the [discourse\_api](https://github.com/discourse/discourse_api) Ruby gem as a client library. However, not every endpoint is documented. To determine how to do something with the JSON API here are some steps you can follow. Example: recategorize a topic. Go to a topic and start editing a category: Open Chrome dev tools, switch to the Network tab, select …

---

<div class="post-metadata">

### Author: ![dig.gerald.yeong](https://avatars.discourse-cdn.com/v4/letter/d/7bcc69/32.png) [@dig.gerald.yeong](https://meta.discourse.org/u/dig.gerald.yeong)
#### Post date: [25.Февраль.2024 09:56:14 UTC](https://meta.discourse.org/t/are-post-voting-votes-replies-accessible-via-api/296640/3 "2024-02-25T09:56:14Z")

</div>

Ваш ответ очень ценен!

Спасибо!
