I'd agree... the URI identifies a resource, so in W3C TAG terms (hello Dan) different representations are fine - though strictly content negotiation should determine the actual representation.
Though content negotiation is a broad church... RFC2616 includes "an origin server ... MAY vary the response based on any aspect of the request..." And strictly speaking aren't they different URIs since the query parameters will be different? There is a need to be pragmatic also - having two different URIs serving content which is effectively describing the same thing, but at a different level of detail, seems a bit wrong - we're effectively minting an identifier for a new concept/thing (and in itself doesn't seem particularly REST-ful). Steve > -----Original Message----- > From: Chris Wilper [mailto:cwil...@duraspace.org] > Sent: 03 August 2011 14:52 > To: fedora-commons-developers@lists.sourceforge.net > Subject: Re: [fcrepo-dev] FCREPO-951 > > > Hi Frank, > > The resource denoted by objects/{pid}/datastreams is not an XML file > -- it is the more abstract notion of the set of datastreams > in the indicated object. In REST, it is fine for a single > resource to have multiple representations, one of which is > more detailed than the other. > > - Chris > > On Wed, Aug 3, 2011 at 9:30 AM, Asseg, Frank > <frank.as...@fiz-karlsruhe.de> wrote: > > Hola guys! > > > > the eSciDoc guys raised a good point about adding the method to the > > listDatastreams is braeking RESTfulness, since two > different resources > > would be referenced by the same URI. > > > > "An important concept in REST is the existence of resources > (sources > > of specific information), each of which is referenced with a global > > identifier (e.g., a URI in HTTP)." --from > > > http://en.wikipedia.org/wiki/Representational_State_Transfer#C > entral_principle > > > > since the two XML files (the datastreamlist and the > > datastreamprofiles) are different resources, they should > have they're > > own respective URIs. > > > > Have fun! > > > > Frank > > > > -- > > Frank Asseg > > ePublishing & eScience > > Development & Applied Research > > Phone +49 7247-808-515 > > Fax +49 7247 808-133 > > frank.as...@fiz-karlsruhe.de > > > > > > FIZ Karlsruhe Leibniz Institute for Information Infrastructure > > Hermann-von-Helmholtz-Platz 1 76344 > Eggenstein-Leopoldshafen, Germany > > > > http://www.fiz-karlsruhe.de/ > > > > > > ------------------------------------------------------- > > > > Fachinformationszentrum Karlsruhe, Gesellschaft für > > wissenschaftlich-technische Information mbH. Sitz der Gesellschaft: > > Eggenstein-Leopoldshafen, Amtsgericht Mannheim HRB 101892. > > Geschäftsführerin: Sabine Brünger-Weilandt. > > Vorsitzender des Aufsichtsrats: MinDirig Dr. Thomas Greiner. > > > > > ---------------------------------------------------------------------- > > -------- > > BlackBerry® DevCon Americas, Oct. 18-20, San Francisco, CA > > The must-attend event for mobile developers. Connect with experts. > > Get tools for creating Super Apps. See the latest technologies. > > Sessions, hands-on labs, demos & much more. Register early & save! > > http://p.sf.net/sfu/rim-blackberry-1 > > _______________________________________________ > > Fedora-commons-developers mailing list > > Fedora-commons-developers@lists.sourceforge.net > > > https://lists.sourceforge.net/lists/listinfo/fedora-commons-developers > > > > -------------------------------------------------------------- > ---------------- > BlackBerry® DevCon Americas, Oct. 18-20, San Francisco, > CA The must-attend event for mobile developers. Connect with experts. > Get tools for creating Super Apps. See the latest > technologies. Sessions, hands-on labs, demos & much more. > Register early & save! http://p.sf.net/sfu/rim-blackberry-1 > _______________________________________________ > Fedora-commons-developers mailing list > Fedora-commons-developers@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/fedora-commons-developers > ------------------------------------------------------------------------------ BlackBerry® DevCon Americas, Oct. 18-20, San Francisco, CA The must-attend event for mobile developers. Connect with experts. Get tools for creating Super Apps. See the latest technologies. Sessions, hands-on labs, demos & much more. Register early & save! http://p.sf.net/sfu/rim-blackberry-1 _______________________________________________ Fedora-commons-developers mailing list Fedora-commons-developers@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/fedora-commons-developers