http://bugzilla.novell.com/show_bug.cgi?id=537205
User jsuchome@novell.com added comment
http://bugzilla.novell.com/show_bug.cgi?id=537205#c4
--- Comment #4 from Jiří Suchomel 2009-10-08 01:51:01 MDT ---
Looks like there's not much to discuss about the rest-service, it's simple
Read/Write operation:
Model
singleton class Mail
attributes
string smtp_server
string login
string password
access to the system: using YaPI::MailServer
Policies
org.opensuse.yast.modules.yapi.mail.read
org.opensuse.yast.modules.yapi.mail.write
API
URL: /mail
REST service pseudo-code:
# GET method
def show
read and return current settings
# PUT method
def update (params)
save new settings: smtp server address and credentials
~
--
Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.