[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]
Subject: Re: [oslc-core] JSON-LD of compact resources
Even without that critical distinction, in general I'd be careful about implying anything around resource shapes; in our implementations it has been 1/n-1 (against resource shapes, i.e. exactly 1 product exposes them out of a dozen-plus).
> 4ai)IF the resource really is a compact
representation then it
I think that's: If the server returned a compact representation
...
Which raises a NEW question, if we have >1 compact
representation: how does the client know if it got back a compact representation?
In the contributed document, there is only one media type that covers
both "what it is" semantically and "what syntax does it
use". On our espoused path that relation is no longer 1:1, and
the media type only conveys the syntax (I assert, given what those media
type registrations say).
(and flipping this around) If we allow these json
media types *as a way for a client to ask for a compact representation*,
how does the server know to send a *compact* representation, vs a JSON
or JSON-LD serialization of what a client would receive on a text/turtle
request to the same URL? I.e. how does the server know (given that
the URL for the "compact representation" and the not-compact
one are the same) which the client is really after?
Best Regards, John
Voice US 845-435-9470 BluePages
Tivoli OSLC Lead - Show me the Scenario
[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]