Re: Updated URI Template proposal

Joe Gregorio wrote:
> On Nov 9, 2007 2:09 AM, James M Snell <jasnell@gmail.com> wrote:
>> I can work on distilling a list of uri's from many of our application
>> use cases.  If other can do the same with their applications we can work
>> out a single set that can be used to seed a test suite.
> 
> 
> Here is the GData Notebook example I've given before:
> 
>   http://www.google.com/notebook/feeds/{userID}
>      {-prefix|/notebooks/|notebookID}
>      {-listjoin|/-/|/|categories}
>      {-join|?|&|updated-min,updated-max,alt,start-index,max-results,entryID,orderby}
> 
> Bitworking:
> 
>   http://bitworking.org/news/{-listjoin||/|entrypath}
> 
> Sparklines:
>     http://bitworking.org/projects/sparklines/spark.cgi{-join|?|&|d,type=smooth,height,limits,min-m,max-m,last-m,min-color,max-color,last-color,step=2}
> 
> Code.google.com
> 
>   http://code.google.com/p/{project}/
>   https://{project}.googlecode.com/svn/trunk
> 
> Google Apps for Your Domain
> 
>    http://docs.google.com/a/{domain}/
>    mailto:{userid}@{domain}
> 
> 
>    -joe
> 


Here's a rough run through of various Connections url's.  This is not
complete.

Activities:


/atom/activities?{-join|&|tag,sortfields,sortorder,search,casesensitive,nodetype,page,ps,public,templates,email}


/atom/completed?{-join|&|tag,sortfields,sortorder,search,casesensitive,nodetype,page,ps}


/atom/everything?{-join|&|tag,sortfields,sortorder,search,casesensitive,nodetype,page,ps}


/atom/todos?{-join|&|tag,sortfields,sortorder,search,casesensitive,nodetype,page,ps,assignedto}

  /service/{format}/{view}{-opt|/|sub}{sub}?{-join|&|activityUuid}

    format := [html, atom]
    view   := [activities, categories, tags, completed, tunedout, trash
public, everything, todos, activity, threaded, acl]
    sub    := [history, recent]

  Examples:

https://.../activities/service/atom/activity?activityUuid=44EG091E0EA87543236B2D1B46761A006C80

https://.../activities/service/atom/categories?activityUuid=44EG091E0EA87543236B2D1B46761A006C80

https://.../activities/service/atom/tags?activityUuid=44EG091E0EA87543236B2D1B46761A006C80

https://.../activities/service/atom/threaded?activityUuid=44EG091E0EA87543236B2D1B46761A006C80

https://.../activities/service/atom/acl?activityUuid=F18G091E0EA8EC19B466080F1CF574009B61

https://.../activities/service/atom/activity/history?activityUuid=F18G091E0EA8EC19B466080F1CF574009B61

https://.../activities/service/html/activity/recent?activityUuid=F18G091E0EA8EC19B466080F1CF574009B61



  /service/download/{id}/{filename}

  Example:


https://.../activities/service/download/4F8G091E0EA87543236B2D1B46761A006CA6/activitiesExtendedDescription.html



Dogear:

 Entries:


/{format}?{-join|&|url,email,tag,lang,network,access,search,searchOperator,page,ps}

  format := [html, atom, snippet, lisnippet]

 Tags:

  /tags?{-join|&|url,email,tag,network,access,format}

 Popular:

  /{format}/popular?{-join|&|lang,page,ps}

  format := [atom,snippet,lisnippet]

 Atompub:

  /api/app?email={user}


Profile:

   /atom/profile.do?{-join|&|email,format}

     format := [full,lite]


/atom/search.do?{-join|&|city,country,email,jobTitle,name,organization,phoneNumber,profileTags,search,state,page,ps}

   /atom/peopleManaged.do?{-join|&|email}

   /atom/reportingChain.do?{-join|&|email}


Blogs:

   /{handle}/{view}/{collection}?{-join|&|search,tags,page,ps}

     view := [feed,api,entry]

     collection := [entries,comments,blogs,categories,media,entrycomments]

Received on Saturday, 10 November 2007 04:11:35 UTC