Closed fmigneault closed 1 year ago
I'm in favor of this change. Doing so would remove:
"icon_url"
key (replaced by icon
)We should still support the following keys:
So that we can rely on this static data that can be displayed even if the node is down.
All of those links can be optional, except maybe collection that should be expected for the node-registry itself to know where to redirect for the service-listing of an instance.
If we're going to refer to the services endpoint here and make is required, why not also do the same for the version endpoint and maybe even the landing page for the node.
@fmigneault do you have any suggestions for what the best "rel"
value would be for the version endpoint and the node's landing page?
@dchandan what do you think about that?
The best "official" one would be latest-version
. You could also use just version
.
In the context of the node-registry, the remote landing page of the node should probably use service
.
It could also report it using current
, but I think I prefer service
personally, since it aligns with service-desc
, service-doc
and service-meta
that can be used for human/machine-readable references. The service-desc
could also refer to /components
now that they are available.
As mentioned in
On top of
links
under eachservice
of eachnode
, thenode
themselves could have alinks
section that provides useful metadata references. A few typical items from https://www.iana.org/assignments/link-relations/link-relations.xhtml to consider:rel
about
author
acl
/magpie
endpoint or another access management methodcollection
/services
endpoint of the nodecite-as
publication
copyright
license
terms-of-service
describedby
edit
icon
status
/canarie
or another alternativeversion-history
All of those links can be optional, except maybe
collection
that should be expected for the node-registry itself to know where to redirect for the service-listing of an instance. Providing an example with as many references as possible would guide users into a strongly recommended set of definitions.