11117
(Владислав Левин)
12 april 2019 om 14:49
1
Hello,
Is there a way to fetch all users so the result for each one contains the external id ?
Didn’t find this on API documentation page, but maybe i missed something
Falco
(Falco)
12 april 2019 om 16:17
2
Did you try the export in the Admin > Users page?
7 likes
11117
(Владислав Левин)
15 april 2019 om 10:20
3
Thank you for the reply! It works.
So, there is no way to do this using api request, only by Discourse UI ?
zogstrip
(Régis Hanol)
7 mei 2019 om 09:22
4
Everything you do with the UI can be done via the API.
Discourse is backed by a complete JSON api. Anything you can do on the site you can also do using the JSON api.
Many of the endpoints are properly documented in the discourse_api gem, however some endpoints lack documentation.
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 XHR filter:
[image]
Perform the op…
2 likes