New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
@id vs. url #45
Comments
@elf-pavlik thanks for the overview on this. with some reflection, you're right that we should use |
@elf-pavlik @ahdinosaur I agree. |
@elf-pavlik this is open and also on the meeting agenda.... wondering if there are any open questions on this one..... ? |
@fosterlynn @ahdinosaur unless you use HTTP 303 for URIs which you use as value of More background (which I don't necessary suggest to dive into) https://www.w3.org/wiki/HttpRange14Webography Myself I will still decide if I will also add |
@elf-pavlik If you're fearful, then I'm terrified!! 😄 Can I leave this to you guys? (I think I am now just returning empty result when the @id doesn't find anything in the database. I will change it when we decide what is best.) |
Reading through this, I just remember having read about naming conventions in hypermedia APIs yesterday. Of course this is not of concern here anymore, as
|
We have moved the ValueFlows organization from GitHub to https://lab.allmende.io/valueflows. This issue has been closed here, and all further discussion on this issue can be done at If you have not done so, you are very welcome to register at https://lab.allmende.io and join the ValueFlows organization there. |
I should clarify my current use of
@id
vs urlMany platforms nowadays separate their API and web pages eg.
Besides that Linked Data deals with an issue, which many people find very tricky httpRange-14
Schema.org tends to use url and still doesn't make it clear how it relates to
@id
schemaorg/schemaorg#410As you can find in examples elf-pavlik & hackers4peace, I use graph. subdomain for
@id
(~API) and top level domains for url. This way people can follow url and use standard browser which requests text/html. While 'smart clients' can follow@id
and content negotiate for application/ld+json or text/turtle. In my case I will use 'httpRange-14' compliant pattern and use HTTP 303 redirect from@id
to url for text/html, similar@id
+ ".jsonld" for application/ld+json and@id
+ ".ttl" for text/turtleI will provide more explainations soon, but I see interesting possibility of using this pattern. In practice top level domain will act as one of rendering proxies to present data stored on graph. subdomain. Some more explanations available here: solid/solid-spec#20 (comment)
@ahdinosaur do you plan to support content negotiation application/ld+json (MUST) and text/turtle (MAY) for values which you use for
@id
?More details to come...
The text was updated successfully, but these errors were encountered: