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

שלום לכולם,

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

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

בברכה, ג’ו

לייק 1

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

4 לייקים

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

היית מדהים!

לייק 1

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.