-
Notifications
You must be signed in to change notification settings - Fork 38
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
Link parameter registry #36
Comments
+0 ... don't really see this as being critical at the moment. There really aren't a lot of extension link parameters being used just yet. |
it's kind of hard to say how many are used, right? one way to look at "link parameters" or "link hints" is to look at them as "unary links" that are associated with the target resource, i.e. they make a statement about the target resource and not one about the source. looking at it this way, they are "just links", and it would be useful to treat them similar to regular web links, i.e. to allow values to be registered and thus to allow people to find out which values are available for reuse. |
Considering how this steps into the realm of API documentation formats such as Hydra, I'm not sure. If, by "registry", you mean "IANA registry", I actually see harm in defining a registry that will duplicate some of the efforts and semantics of schema.org and other vocabularies used in technologies built with, for example, RDF (such as the already mentioned Hydra). |
On 2016-03-29 14:28, Asbjørn Ulsberg wrote:
if there are existing registries for standardized "link hints", then it one possible scenario we just discussed with @hvdsomp was the ability to it would be good if such a mechanism wasn't just specific for one single |
@dret, I wouldn't say the registries (or ontologies) are "link hints" per se, but there's definitely some overlap between link hints and a full-fledged API documentation format such as Hydra. I think the idea of pointing to a |
On 2016-03-30 09:01, Asbjørn Ulsberg wrote:
that's what i wanted to say: in some of these models, "link hints" may my main concern is how to differentiate link hints from links. in https://github.com/dret/hyperpedia/blob/master/concepts.md#target-resource-hints
as with profiles, i'd rather frame that in terms of "identifying a |
Let's see if we can classify the different link types. I see the
The first purpose is what I assume you mean when saying "links" and the second is what "link hints", external schemas, profiles, etc. would do. Since an external resource can do everything "link hints" can do and more, I'm leaning towards favoring that approach over "link hints". |
For me, the underlying issue is that right now, target attributes for a link are defined by:
in a pretty uncoordinated fashion. This is awkward, because it has the possibility of collision -- especially, a parameter that has different syntax or even semantics depending on what serialisation the link occurs within. OTOH new serialisations are pretty rare, and we've got this far. I'm inclined to leave them uncoordinated for now, but to add text advising those creating new link relations on how they should treat target attributes, and also reinforcing that those maintaining/creating serialisations should coordinate their efforts where possible. |
👍 Some "best practice" guidance in an informative section would be good. |
Is it time to add a registry for the namespace of link parameters?
See:
The text was updated successfully, but these errors were encountered: