[Registry-dev] Uniform URL pattern for accessing resources

Chathura C. Ekanayake chathura at wso2.com
Sun Jul 13 22:11:46 PDT 2008


We use ; character as the URL separator of the registry. And : character 
is used to separate name and value of parameters. So, path for accessing 
a particular comment of resource /projects/wsas/config.xml would be

/projects/wsas/config.xml;comments:2

There is one exception to above pattern when accessing resource 
versions. There we use = instead of : character. For example, path for 
accessing version 3 of above resource is

/projects/wsas/config.xml;version=3

I think we should make these URL patterns uniform choose either : or = 
character as the name,value separator. I prefer : character as it avoids 
possible confusion with = sign used to separate normal query parameters.

Thanks,
Chathura





More information about the Registry-dev mailing list