Open GoogleCodeExporter opened 9 years ago
Hi Tim,
OK, correct me if I'm wrong.
staging doesn't have separate /staging/id/ URIs only /staging/doc/ document
URIs. The actual resource ID URIs are the same.
eg:
stagingspec:resource
a api:ItemEndpoint ;
api:uriTemplate "/staging/doc/resource/{identifier}" ;
api:itemTemplate "http://bnb.data.bl.uk/id/resource/{identifier}" ;
api:exampleRequestPath "/staging/doc/resource/013763041" ;
.
spec:resource
a api:ItemEndpoint ;
api:uriTemplate "/doc/resource/{identifier}" ;
api:itemTemplate "http://bnb.data.bl.uk/id/resource/{identifier}" ;
api:exampleRequestPath "/doc/resource/013763041" ;
.
When you request a resource ID URI, puelia is matching it to the first matching
ItemEndpoint it can find - which in your case happens to be a staging one.
So from the info you've provided here, there doesn't seem to be any strange
behaviour. Let me know if I'm misunderstanding something.
Original comment by K.J.W.Al...@gmail.com
on 12 Aug 2011 at 3:07
Original issue reported on code.google.com by
hodson....@gmail.com
on 22 Jul 2011 at 4:00Attachments: