# Cómo consultar la API topics\_with\_no\_response.json con filtros

**URL:** https://meta.discourse.org/t/how-to-query-the-topics-with-no-response-json-api-with-filters/268694
**Category:** Support
**Created:** [16 Junio, 2023 22:34 UTC](https://meta.discourse.org/t/how-to-query-the-topics-with-no-response-json-api-with-filters/268694 "2023-06-16T22:34:24Z")
**Posts on this page:** 1
**Showing post:** 6

<div class="post-metadata">

### Author: ![simon](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/simon/32/339122_2.png) [@simon](https://meta.discourse.org/u/simon)
#### Post date: [18 Junio, 2023 04:57 UTC](https://meta.discourse.org/t/how-to-query-the-topics-with-no-response-json-api-with-filters/268694/6 "2023-06-18T04:57:34Z")

</div>

Echa un vistazo a [Ingeniería inversa de la API de Discourse](https://meta.discourse.org/t/reverse-engineer-the-discourse-api/20576). Cuando intento ese enfoque para el informe de Temas sin respuesta, veo que realiza solicitudes `GET` similares a:\n\n`http://forum.example.com/admin/reports/bulk?reports%5Btopics_with_no_response%5D%5Bfacets%5D%5B%5D=prev_period&reports%5Btopics_with_no_response%5D%5Bstart_date%5D=2022-02-01&reports%5Btopics_with_no_response%5D%5Bend_date%5D=2023-06-17&reports%5Btopics_with_no_response%5D%5Blimit%5D=50`\n\nPuedes obtener los parámetros de consulta codificados de la pestaña Red del inspector de tu navegador. Con esa URL, deberías poder hacer algo como:\n\n`\ncurl -X GET \"http://localhost:4200/admin/reports/bulk.json?reports%5Btopics_with_no_response%5D%5Bfacets%5D%5B%5D=prev_period&reports%5Btopics_with_no_response%5D%5Bstart_date%5D=2022-05-16&reports%5Btopics_with_no_response%5D%5Bend_date%5D=2022-09-10&reports%5Btopics_with_no_response%5D%5Blimit%5D=50\" \\\n-H \"Api-Key: $api_key\" \\\n-H \"Api-Username: system\"\n`\n\nNecesitarás configurar `api_key` como una clave API global para todos los usuarios; no creo que haya un ámbito específico que se pueda usar para los informes.\n\nTen en cuenta que necesitas añadir la extensión `json` a la URL (`http://localhost:4200/admin/reports/bulk.json`)

---

_[View the full topic](https://meta.discourse.org/t/how-to-query-the-topics-with-no-response-json-api-with-filters/268694)._
