משיכת מיילים דרך API

סיכום מבוסס בינה מלאכותית

Joe_F asks how to pull user emails via the API for all users, not just one. NateDhaliwal notes that while /admin/users/{id}.json doesn’t return emails, the /admin/users/list/{flag}.json endpoint does. Pfaffman suggests using the Data Explorer plugin, providing a sample query to fetch user data including email and activity, and explaining how to run the query via the API using a POST request to /admin/plugins/explorer/queries/{query_id}/run. Joe_F confirms the issue is resolved, thanking the community for the help Joe_F, NateDhaliwal, pfaffman.

שלום לכולם,

הקמתי צינור שמושך את כל פרטי המשתמשים, אך האפשרות למשוך את כתובת הדוא"ל שלהם אינה זמינה.

יש לי תפקיד מנהל ואת מפתח ה-API, וכו’, האם אני יכול להגדיר זאת, ואם כן, כיצד? אני רוצה להוסיף עמודה זו בטבלה עבור כל המשתמשים ולא שאילתה של משתמש בודד.

בברכה, ג’ו

Interestingly, something like /admin/users/{id}.json doesn’t return the user’s email as part of the response, but getting a list of users (/admin/users/list/{flag}.json) does. If you pass a parameter like username, you can probably get the specific user.

אני רוצה לקבל רשימה מלאה של משתמשים, הפעילות שלהם בקהילה וגם את כתובת הדוא"ל שלהם, נראה שזו לא אפשרות.

The data explorer plugin is probably the way to do that. And then you can request a particular query via the API.

תודה, לא ראיתי את זה קודם, אבל נראה שזה לא אפשרי שם אלא אם כן אני מפספס משהו!

You could probably search here and find some examples or at ask.discourse.com, I asked

I’m unclear about who this link can work for:
https://ask.discourse.com/discourse-ai/ai-bot/shared-ai-conversations/oeofVCGwHrYuzKrtLV6PeQ

פתרתי את זה תודה!

היית מדהים!