Closed phonedude closed 12 months ago
I think the utility that you are after is that an API Catalog references itself. The API Catalog design is such that:
anchor
member for each interoperability affordance; no other anchors are usedservice-*
link relation types are used; no other link types are usedSticking to this design approach, the following would achieve the intended utility:
anchor
: URL of the API Catalog, e.g. baseURL/.well-known/api-catalogservice-doc
link(s): URL of API Catalog I-D, URL of API Catalog spec on signposting.orgThis would also allow other well-know URI affordances to be handled in the same way.
Added a placeholder example illustrating API Calalog entries for well-know VOID URI and well-known api-catalog.
is there no way to put rels in there? referencing the other issue, putting rel=timemap and rel=timegate would be a huge benefit.
The API Catalog Link Set approach does not work that way. It works this way (for collection-level interop affordances):
anchor
) is the URL of the affordanceservice-doc
, service-desc
, or service-metadata
For Memento, one could handle this either in a collection-level or an item-level manner.
A collection-level approach would be as follows for a timegate affordance (similar for timemap):
anchor
) is the baseURL for the timegateservice-doc
rel is used because the link is to a human-readable specIf one were to handle it in an item-level manner it would look as follows:
timegate
and timemap
links)service-doc
rel is used because the link is to a human-readable specIt looks like this can be closed.
I'm not entirely how this would work in the syntax for link sets, but there would be utility in having:
in the .json file