[https://creativecommons.org/licenses/by/4.0/]
This work is licensed under a CC
Attribution 4.0 International License [https://creativecommons.org/licenses/by/4.0/]
@e_methivier
[https://twitter.com/e_methivier]@bottencatalyst
[https://twitter.com/bottencatalyst]@mropenbanking
[https://twitter.com/mropenbanking]@dret
[https://twitter.com/dret]<a href="…">anchors</a>
and page-level <link/>
<img/>
, <form/>
, <blockquote/>
, …)
Link
[https://www.rfc-editor.org/rfc/rfc8288#section-3] HTTP header field
HTTP/1.1 200 OK Date: Mon, 12 Aug 2019 10:35:51 GMT Server: Apache-Coyote/1.1 Content-Type: application/json Content-Length: 1023 Link: <https://authors.example.net/johndoe>; rel="author"; type="application/rdf+xml", <https://example.org/resource1?version=3>; rel="latest-version"; type="text/html", <https://example.org/resource1?version=2>; rel="predecessor-version"; type="text/html"; anchor="https://example.org/resource1?version=3", <https://example.org/resource1?version=1>; rel="predecessor-version"; type="text/html"; anchor="https://example.org/resource1?version=2", <https://example.org/resource1?version=1>; rel="memento"; type="text/html"; datetime="Thu, 13 Jun 2019 09:34:33 GMT", <https://example.org/resource1?version=2>; rel="memento"; type="text/html"; datetime="Sun, 21 Jul 2019 12:22:04 GMT", <https://authors.example.net/alice>; rel="author"; anchor="https://example.org/resource1#comment=1"
HTTP/1.1 200 OK Date: Mon, 12 Aug 2019 10:35:51 GMT Server: Apache-Coyote/1.1 Content-Type: application/linkset Content-Length: 1023 <https://authors.example.net/johndoe> ; rel="author" ; type="application/rdf+xml" ; anchor="https://example.org/resource1", <https://example.org/resource1?version=3> ; rel="latest-version" ; type="text/html" ; anchor="https://example.org/resource1", <https://example.org/resource1?version=2> ; rel="predecessor-version" ; type="text/html" ; anchor="https://example.org/resource1?version=3", <https://example.org/resource1?version=1> ; rel="predecessor-version" ; type="text/html" ; anchor="https://example.org/resource1?version=2", <https://example.org/resource1?version=1> ; rel="memento" ; type="text/html" ; datetime="Thu, 13 Jun 2019 09:34:33 GMT" ; anchor="https://example.org/resource1", <https://example.org/resource1?version=2> ; rel="memento" ; type="text/html" ; datetime="Sun, 21 Jul 2019 12:22:04 GMT" ; anchor="https://example.org/resource1", <https://authors.example.net/alice> ; rel="author" ; anchor="https://example.org/resource1#comment=1"
HTTP/1.1 200 OK Date: Mon, 12 Aug 2019 10:46:22 GMT Server: Apache-Coyote/1.1 Content-Type: application/linkset+json Content-Length: 1246 { "linkset": [ { "anchor": "https://example.org/resource1", "author": [ { "href": "https://authors.example.net/johndoe", "type": "application/rdf+xml" } ], "memento": [ { "href": "https://example.org/resource1?version=1", "type": "text/html", "datetime": "Thu, 13 Jun 2019 09:34:33 GMT" }, { "href": "https://example.org/resource1?version=2", "type": "text/html", "datetime": "Sun, 21 Jul 2019 12:22:04 GMT" } ], "latest-version": [ { "href": "https://example.org/resource1?version=3", "type": "text/html" } ] }, { "anchor": "https://example.org/resource1?version=3", "predecessor-version": [ { "href": "https://example.org/resource1?version=2", "type": "text/html" } ] }, { "anchor": "https://example.org/resource1?version=2", "predecessor-version": [ { "href": "https://example.org/resource1?version=1", "type": "text/html" } ] }, { "anchor": "https://example.org/resource1#comment=1", "author": [ { "href": "https://authors.example.net/alice"} ] } ] }
draft-ietf-httpapi-linkset
[https://datatracker.ietf.org/doc/draft-ietf-httpapi-linkset]github.com/ietf-wg-httpapi/linkset
[https://github.com/ietf-wg-httpapi/linkset]application/linkset
media type for linksets using HTTP Link
syntax [https://www.rfc-editor.org/rfc/rfc9264#name-http-link-document-format-a]application/linkset+json
media type for linksets using JSON syntax [https://www.rfc-editor.org/rfc/rfc9264#name-json-document-format-applic]profile
media type parameter for both linkset media types [https://www.rfc-editor.org/rfc/rfc9264#name-the-profile-parameter-for-m]linkset
link relation type for linking to linksets [https://www.rfc-editor.org/rfc/rfc9264#name-the-linkset-relation-type-f]https://id.dalgiardino.com/01/9506000134352
[https://id.dalgiardino.com/01/9506000134352]id.dalgiardino.com
9506000134352
$ curl -H "Accept: application/linkset+json" https://id.gs1.org/01/09506000134352
{ "linkset": { "anchor": "https://id.gs1.org/01/09506000134352", "itemDescription": "Dal Giardino Risotto Rice with Musrooms 411 gr", "https://gs1.org/voc/defaultLink": [ { "href": "https://dalgiardino.com/risotto-rice-with-mushrooms/", "title": "Product information" } ], "https://gs1.org/voc/defaultLinkMulti": [ { "href": "https://dalgiardino.com/risotto-rice-with-mushrooms/", "title": "Product information", "type": "text/html", "hreflang": [ "en" ] }, { "href": "https://dalgiardino.com/risotto-rice-with-mushrooms/index.html.es", "title": "Información del Producto", "type": "text/html", "hreflang": [ "es" ] }, { "href": "https://dalgiardino.com/risotto-rice-with-mushrooms/index.html.ja", "title": "Product information", "type": "text/html", "hreflang": [ "ja" ] }, { "href": "https://dalgiardino.com/risotto-rice-with-mushrooms/index.html.vi", "title": "Trang thông tin sản phẩm", "type": "text/html", "hreflang": [ "vi" ] } ], "https://gs1.org/voc/hasRetailers": [ { "href": "https://dalgiardino.com/where-to-buy/", "title": "Where to buy", "type": "text/html", "hreflang": [ "en" ] }, { "href": "https://dalgiardino.com/where-to-buy/index.html.es", "title": "Donde comprar Dal Giardino", "type": "text/html", "hreflang": [ "es" ] }, { "href": "https://dalgiardino.com/where-to-buy/index.html.vi", "title": "Nơi bán", "type": "text/html", "hreflang": [ "vi" ] } ], "https://gs1.org/voc/pip": [ { "href": "https://dalgiardino.com/risotto-rice-with-mushrooms/", "title": "Product information", "type": "text/html", "hreflang": [ "en" ] }, { "href": "https://dalgiardino.com/risotto-rice-with-mushrooms/index.html.es", "title": "Información del Producto", "type": "text/html", "hreflang": [ "es" ] }, { "href": "https://dalgiardino.com/risotto-rice-with-mushrooms/index.html.ja", "title": "Product information", "type": "text/html", "hreflang": [ "ja" ] }, { "href": "https://dalgiardino.com/risotto-rice-with-mushrooms/index.html.vi", "title": "Trang thông tin sản phẩm", "type": "text/html", "hreflang": [ "vi" ] } ], "https://gs1.org/voc/recipeInfo": [ { "href": "https://dalgiardino.com/mushroom-squash-risotto/", "title": "Wild Mushroom And Butternut Squash Risotto", "type": "text/html", "hreflang": [ "en" ] }, { "href": "https://dalgiardino.com/mushroom-squash-risotto/index.html.es", "title": "Recetas", "type": "text/html", "hreflang": [ "es" ] }, { "href": "https://dalgiardino.com/mushroom-squash-risotto/index.html.ja", "title": "キノコと砕いたバターナッツ入りのリゾット", "type": "text/html", "hreflang": [ "ja" ] } ], "https://gs1.org/voc/sustainabilityInfo": [ { "href": "https://dalgiardino.com/about/", "title": "About Dal Giardino", "type": "text/html", "hreflang": [ "en" ] }, { "href": "https://dalgiardino.com/about/index.html.es", "title": "Sobre Dal Giardino", "type": "text/html", "hreflang": [ "es" ] }, { "href": "https://dalgiardino.com/about/index.html.vi", "title": "Phát triển bền vững và t", "type": "text/html", "hreflang": [ "vi" ] } ] } }
Acknowledgementssection [https://www.rfc-editor.org/rfc/rfc9264.html#name-acknowledgements]
dret.net/lectures/asc-2022/
[http://dret.net/lectures/asc-2022/]@dret
[https://twitter.com/dret]youtube.com/ErikWilde
[https://www.youtube.com/ErikWilde]linkedin.com/in/erikwilde
[https://www.linkedin.com/in/erikwilde]