11117
(Владислав Левин)
April 12, 2019, 2:49pm
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)
April 12, 2019, 4:17pm
2
Did you try the export in the Admin > Users page?
7 Likes
11117
(Владислав Левин)
April 15, 2019, 10:20am
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)
May 7, 2019, 9:22am
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