ldp-ISSUE-43 (slug): hint at naming a resource on creation [Linked Data Platform core]

ldp-ISSUE-43 (slug): hint at naming a resource on creation [Linked Data Platform core]

http://www.w3.org/2012/ldp/track/issues/43

Raised by: Henry Story
On product: Linked Data Platform core

There are many cases when creating resources the user 
would like to be able to suggest the name 
or the final part of the name of the resource created  
(excluding the extension). It makes  sense for example 
that a foaf profile be named by a URI ending in 
"card" when created in a  collection.

So for example if one POSTs a foaf Profile to a 
collection

  http://co.example/customer/joe/

a client may like it to be called "card" ie have the URL

  http://co.example/customer/card

Or if joe wishes to create an image in a collection that
he names "Family on the Beach" he would like the server
to not just name the resource

  http://co.example/customer/joe/pix/ASDASFD123.jpg

but perhaps more something like 

 http://co.example/customer/joe/pix/2013-FamilyOnTheBeach.jpg

Of course the server may not respect this for good reasons
such as the server having a policy of only giving obscure names to 
resources for security reasons to avoid information leakage through
names, or in order because strict adherence to the name would create
a name clash with an existing resource.

Received on Tuesday, 8 January 2013 12:29:41 UTC