ISSUE-43: hint at naming a resource on creation

slug

hint at naming a resource on creation

State:
CLOSED
Product:
Linked Data Platform Spec
Raised by:
Henry Story
Opened on:
2013-01-08
Description:
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.



http://www.w3.org/2013/03/13-ldp-irc#T17-14-44
Related Actions Items:
Related emails:
  1. LDP Rec (from eric@w3.org on 2015-02-20)
  2. Re: Question regarding POST versus PUT for creating an LDPC (from andy.seaborne@epimorphics.com on 2013-04-19)
  3. Re: ldp-ISSUE-59 (recursive-delete): Reconsider usage of Aggregate/Composite construct to get predictable container delete behavior [Linked Data Platform core] (from ashok.malhotra@oracle.com on 2013-04-05)
  4. Re: naming resources - Slug-Header - ISSUE-43 (from Erik.Wilde@emc.com on 2013-01-10)
  5. Re: naming resources - Slug-Header - ISSUE-43 (from henry.story@bblfish.net on 2013-01-10)
  6. ldp-ISSUE-43 (slug): hint at naming a resource on creation [Linked Data Platform core] (from sysbot+tracker@w3.org on 2013-01-08)

Related notes:

One proposal is to simply use the Slug Header from the Atom Protocol

https://tools.ietf.org/html/rfc5023#section-9.7

Henry Story, 8 Jan 2013, 12:31:56

Another proposal is for the server to use some relation in the RDF content to guide his naming.

See discussion:

http://lists.w3.org/Archives/Public/public-ldp-wg/2013Jan/0018.html

Henry Story, 8 Jan 2013, 12:33:40

Resolution: Use slug.

See http://www.w3.org/2012/ldp/meeting/2013-03-13#resolution_2
and http://www.w3.org/2012/ldp/meeting/2013-03-13#resolution_3

Arnaud Le Hors, 14 Mar 2013, 04:05:17

Display change log ATOM feed


Chair, Staff Contact
Tracker: documentation, (configuration for this group), originally developed by Dean Jackson, is developed and maintained by the Systems Team <w3t-sys@w3.org>.
$Id: 43.html,v 1.1 2015/08/17 04:43:09 denis Exp $