Hi Sanjiva:

Sanjiva Weerawarana wrote:
I wasn't disagreeing with your proposed API- returning the location of the comment looks good. I was only arguing against the actual URI .. if

Ah, gotcha!

I add a comment against resource /r1, I'd like the URI of that comment to be /r1;comments?n=113 (where 113 is the comment number/id).

I guess I don't much care about the particular URI, although I don't love the "?" thing. If you want the URI to be under the resource URI for aesthetics, how about "/r1;comments:1", etc? The question mark seems like it would actually be a much better way to do the username search, like "/r1;comments?user=username". I'd prefer *that* URI to "/r1;comments:username", which is listed on the wiki....

/tag/foo and /tags is different - those are really queries.

I'm not sure what you mean here?

What I meant is that /tag/foo is really a query meaning give me a list of all resources that are tagged foo. And /tags is a "special URI" which returns a list of tags. (I forget whether we even support that.)

Yep, we do support that.

--Glen

_______________________________________________
Registry-dev mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/registry-dev

Reply via email to