- From: Toby Inkster <tai@g5n.co.uk>
- Date: Thu, 24 May 2012 10:29:25 +0100
- To: Melvin Carvalho <melvincarvalho@gmail.com>
- Cc: public-rww <public-rww@w3.org>
On Thu, 24 May 2012 09:08:00 +0200
Melvin Carvalho <melvincarvalho@gmail.com> wrote:
> https://datatracker.ietf.org/doc/draft-nottingham-json-home/?include_text=1
"Home Documents for HTTP APIs"
Perhaps it should be re-titled, "POWDER doesn't use JSON so I'll
pretend it doesn't exist and reinvent it"?
<?xml version="1.0"?>
<powder xmlns="http://www.w3.org/2007/05/powder#"
xmlns:hint="http://example.org/http-hints-vocab#">
<attribution>
<issuedby src="/#me" />
<issued>2012-05-24T09:24:00Z</issued>
</attribution>
<dr>
<iriset>
<includeiripattern>^http://example\.com/widget/\d+$</includeiripattern>
</iriset>
<descriptorset>
<hint:allow>GET</hint:allow>
<hint:allow>PUT</hint:allow>
<hint:allow>DELETE</hint:allow>
<hint:allow>PATCH</hint:allow>
<hint:representation>application/json</hint:representation>
<hint:accept-patch>application/json-patch</hint:accept-patch>
<hint:accept-post>application/xml</hint:accept-post>
<hint:accept-ranges>bytes</hint:accept-ranges>
<seealso src="http://example.com/widget/" />
</descriptorset>
</dr>
</powder>
--
Toby A Inkster
<mailto:mail@tobyinkster.co.uk>
<http://tobyinkster.co.uk>
Received on Thursday, 24 May 2012 09:27:44 UTC