# Лучший API для всех первых постов в категории

**URL:** https://meta.discourse.org/t/best-api-for-all-first-posts-in-a-category/204883
**Category:** Development
**Tags:** rest-api
**Created:** [30.Сентябрь.2021 16:00:50 UTC](https://meta.discourse.org/t/best-api-for-all-first-posts-in-a-category/204883 "2021-09-30T16:00:50Z")
**Posts on this page:** 1
**Showing post:** 4

<div class="post-metadata">

### Author: ![simonk](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/simonk/32/247950_2.png) [@simonk](https://meta.discourse.org/u/simonk)
#### Post date: [04.Октябрь.2021 15:43:37 UTC](https://meta.discourse.org/t/best-api-for-all-first-posts-in-a-category/204883/4 "2021-10-04T15:43:37Z")

</div>

Можете ли вы написать запрос для #data-explorer, который возвращает нужные вам данные, а затем выполнить этот запрос через API?

> [@Discourse Data Explorer](https://meta.discourse.org/t/data-explorer-plugin/32566?u=simonk):
>
> discourse2Summary Discourse [Data Explorer](https://meta.discourse.org/t/32566?silent=true) allows you to make SQL queries against your live database, allowing for up-to-the-minute stats reporting.open_bookInstall Guide This plugin is bundled with Discourse core. There is no need to install the plugin separately.information_source If you’re looking for examples or support for any custom queries, you can find lots of topics in our #Data & reporting category under the #sql-query tag. If there’s not one to suit your pa…

> [@Run Data Explorer queries with the Discourse API](https://meta.discourse.org/t/how-to-run-data-explorer-queries-with-the-discourse-api/120063?u=simonk):
>
> bookmark This guide explains how to use the Discourse API to create, run, and manage queries with the [Data Explorer](https://meta.discourse.org/t/32566?silent=true) plugin. person_raising_hand Required user level: Administrator Virtually any action that can be performed through the Discourse user interface can also be triggered with the Discourse API. This document provides a comprehensive overview for utilizing the API specifically in conjunction with the [Data Explorer](https://meta.discourse.org/t/32566?silent=true) plugin. For a general overview of how to find the correct API …

---

_[View the full topic](https://meta.discourse.org/t/best-api-for-all-first-posts-in-a-category/204883)._
