Hi Guys,

Ahmed did a good job starting the admin API. I'm going to pick up from where he left off. These are sample function I'm looking at exposing via the api. Essentially, the admin API exposes basic Ushahidi administrative activities to third party application.

Ahmed has done couple of them already, I'm just going to add more. If you feel something needs to be included let me know. So far I have these drafted. I'm going to go ahead and add them to the wiki.

The functions below requires superadmin/admin/moderator role(s)

Reports
• _list_latest_unapproved_reports
• _list_latest_approved_reports
• _edit_existing_report(s)
• _delete_existing_report(s)
• _approve _report(s)
• _unapprove_report(s)
• _verify_report(s)

Categories
• _add_category(ies)
• _edit_existing_category
• _delete_existing_category
• _list_all_categories

Messages - SMS
• _view_all_sms_messages
• _create_report_from_sms_messages
• _delete_sms_message
Messages - Email
• _view_all_email_messages
• _create_report_from_email_messages
• _delete_email_messages

Messages - Twitter
• _view_all_email_messages
• _create_report_from_email_messages
• _delete_email_messages

Comments
• _flag_unflag_comment_as_spam
• _approve_unapprove_comment
• _list_pending_comments
• _list_all_comments
• _delete_comment
• _delete_spam


--
Henry
Crowdsourcing Crisis Information

www.ushahidi.com | twitter.com/ushahidi
Ghana: +233243581806
Skype: eyedol25
IRC: irc.freenode.net #ushahidi