Differences between revisions 1 and 2
Revision 1 as of 2009-04-01 13:48:48
Size: 1212
Editor: p@state-of-mind
Comment:
Revision 2 as of 2009-04-01 13:48:49
Size: 1272
Editor: p@state-of-mind
Comment: Migrated to Confluence 4.0
Deletions are marked like this. Additions are marked like this.
Line 1: Line 1:
#pragma page-filename DEV/versions/14352702 #pragma page-filename DEV/versions/7962740
Line 3: Line 3:
'''URL <<BR>>'''
|| '''Action'''
'''URL <<BR>> '''

|| '''Action '''
Line 6: Line 7:
/
|| ???
/  
|| ??? 
Line 9: Line 11:
/list/
|| returns list of (mailing list name, URL, public/private flag) tuples. <<BR>>POST is used to create a new list and redirect
/list/  
|| returns list of (mailing list name, URL, public/private flag) tuples.
<<BR>> POST is used to create a new list and redirect 
Line 12: Line 16:
/list/<list-id>/
|| XXX what's useful to return here? <<BR>>links to settings and subscriptions, maybe?
/list/<list-id>/  
|| XXX what's useful to return here?
<<BR>> links to settings and subscriptions, maybe? 
Line 15: Line 21:
/list/<list-id>/subscriptions
|| list of (e-mail address, subscription URL) tuples. <<BR>>POST adds one or more subscriptions, providing a mass-subscribe feature.
/list/<list-id>/subscriptions  
|| list of (e-mail address, subscription URL) tuples.
<<BR>> POST adds one or more subscriptions, providing a mass-subscribe feature. 
Line 18: Line 26:
/list/<list-id>/settings
|| dictionary of list settings. PUT updates the settings.
/list/<list-id>/settings  
|| dictionary of list settings. PUT updates the settings. 
Line 21: Line 30:
/list/<list-id>/statistics
|| retrieves statistical info.
/list/<list-id>/statistics  
|| retrieves statistical info. 
Line 24: Line 34:
/user/
|| POST creates a new user account and redirects to the new user's URL.
/user/  
|| POST creates a new user account and redirects to the new user's URL. 
Line 27: Line 38:
/user/?email=bob@example.com
|| redirects to the user's URL, or returns a 404.
/user/?email=bob@example.com  
|| redirects to the user's URL, or returns a 404. 
Line 30: Line 42:
/user/<user-id>/subscriptions
|| list of (mailing-list URL, subscription URL) tuples.
/user/<user-id>/subscriptions  
|| list of (mailing-list URL, subscription URL) tuples. 
Line 33: Line 46:
/user/<user-id>/settings <<BR>>
|| dictionary of site-wide user settings (e.g. password)
/user/<user-id>/settings <<BR>>  
|| dictionary of site-wide user settings (e.g. password) 
Line 36: Line 50:
/user/<user-id>/statistics
|| retrieves statistical info.
/user/<user-id>/statistics  
|| retrieves statistical info. 
Line 39: Line 54:
/subscription/<sub-id>/settings
|| dictionary of settings for this list/user. PUT updates the settings.
/subscription/<sub-id>/settings  
|| dictionary of settings for this list/user. PUT updates the settings. 

URL
Action
/ ???
/list/ returns list of (mailing list name, URL, public/private flag) tuples.
POST is used to create a new list and redirect
/list/<list-id>/ XXX what's useful to return here?
links to settings and subscriptions, maybe?
/list/<list-id>/subscriptions list of (e-mail address, subscription URL) tuples.
POST adds one or more subscriptions, providing a mass-subscribe feature.
/list/<list-id>/settings dictionary of list settings. PUT updates the settings.
/list/<list-id>/statistics retrieves statistical info.
/user/ POST creates a new user account and redirects to the new user's URL.
/user/?email=bob@example.com redirects to the user's URL, or returns a 404.
/user/<user-id>/subscriptions list of (mailing-list URL, subscription URL) tuples.
/user/<user-id>/settings
dictionary of site-wide user settings (e.g. password)
/user/<user-id>/statistics retrieves statistical info.
/subscription/<sub-id>/settings dictionary of settings for this list/user. PUT updates the settings.

MailmanWiki: DEV/Initial URL design (last edited 2009-04-01 13:48:49 by p@state-of-mind)