Minhaj
(Minhaj Shakeel)
10 Julio, 2020 11:06
1
Quiero consultar tag_groups y asignar una de las etiquetas a un tema que estoy creando usando la API de Discourse. No logro encontrarlo en la documentación de la API; ¿alguien puede orientarme?
osioke
(Osioke Itseuwa)
10 Julio, 2020 11:08
2
Si no puedes encontrarlo en la documentación de la API, tendrás que hacer ingeniería inversa de la API, mira aquí:
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 . You can also use the 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:
[image]
Open Chrome dev tools, switch to the Network tab, select …
3 Me gusta