Changes between Version 14 and Version 15 of JSON_messaging


Ignore:
Timestamp:
Feb 12, 2007 12:07:55 PM (6 years ago)
Author:
till
Comment:

made changes to delete message request/response

Legend:

Unmodified
Added
Removed
Modified
  • JSON_messaging

    v14 v15  
    158158                        component : 'webmail', 
    159159                        action : 'deleteMessage', 
    160                         messageId : '14312' 
     160                        messageId : '14312', 
     161                        mailbox : 'INBOX' 
     162                } 
     163                { 
     164                        component : 'webmail', 
     165                        action : 'deleteMessage', 
     166                        messageId : '15432', 
     167                        mailbox : 'INBOX' 
    161168                } 
    162169        ] 
    163170} 
    164171}}} 
    165  * we want to be able to delete multiple messages at the same time 
    166  * we should also be able to pass along an optional argv "mailbox" 
    167172 
    168173== Delete Message Response (to client) == 
     
    176181                        component : 'webmail', 
    177182                        actions : 
    178                         { 
    179                                 action : 'confirmDeleteMessage', 
    180                                 messageId : '14312' 
    181                         } 
     183                        [ 
     184                                { 
     185                                        action : 'confirmDeleteMessage', 
     186                                        messageId : '14312' 
     187                                } 
     188                        ] 
    182189                } 
    183190        ] 
    184191} 
    185192}}} 
    186  * messageId should also be an array/object 
    187193 
    188194----