Suggestion: "users.select", "users.get_meta" and "users.get_one"
leiger 26 Oct 2010 21:39
Method: users.select (site)
Returns:
- List of users that are members of the given site
Method: users.get_meta ( site, list of user names ) — list is max. 10 elements per method call
Returns:
- Meta data for users, assuming that they are valid members of the given site
- name: normal user name
- unix_name: user name with lowercase and spaces replaced with a hyphen
- id: User ID number
- type: Site membership level
- created_at: date the user joined the wiki
- updated_at: date the user last created/edited a page on the wiki
- profile: URL for their profile (changes depending on whether per-site profiles are enabled or not)
Method: users.get_one ( site, user name )
Returns:
- Exactly the same as users.get_meta, plus:
- avatar: User avatar image in base64 format
~ Leiger - Wikidot Community Admin - Volunteer
Wikidot: Official Documentation | Wikidot Discord server | NEW: Wikiroo, backup tool (in development)
Unfold
Suggestion: "users.select", "users.get_meta" and "users.get_one" by leiger, 26 Oct 2010 21:39