[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/]
@dret
) [http://twitter.com/dret]draft-dalal-deprecation-header
[https://datatracker.ietf.org/doc/draft-dalal-deprecation-header]The Sunset Header Field [https://tools.ietf.org/html/rfc8594]is useful but has limited semantics
Deprecationrefers to an API being still functional, but not recommended to use anymore
API Lifecycle Management: Deprecation and Sunsetting [https://apifriends.com/api-management/api-lifecycle-management-deprecation-and-sunsetting/]
API Lifecycle Management: Deprecation and Sunsetting [https://www.youtube.com/watch?v=twfufQn1mD0]
Deprecation: Sun, 11 Nov 2018 23:59:59 GMT
deprecation
links
draft-dalal-deprecation-header
[https://datatracker.ietf.org/doc/draft-dalal-deprecation-header]github.com/sdatspun2/deprecation-header
[https://github.com/sdatspun2/deprecation-header]github.com/sdatspun2/deprecation-header/issues
[https://github.com/sdatspun2/deprecation-header/issues]draft-wilde-linkset
[https://datatracker.ietf.org/doc/draft-wilde-linkset]Web Linking [https://tools.ietf.org/html/rfc8288]only defines an HTTP header field but no media types
Web Linking [https://tools.ietf.org/html/rfc8288]defines a model and a serialization for web links
application/linkset
is registered as a media type for RFC 8288 syntax
application/linkset+json
is defined and registered as a JSON syntax for web links
linksets as resourcesscenarios
linkset
link relation
{ "linkset": [ { "anchor": "http://example.net/bar", "next": [ {"href": "http://example.com/foo1"} ] }, { "anchor": "http://example.net/boo", "http://example.com/relations/baz": [ {"href": "http://example.com/foo2"} ] } ]}
draft-wilde-linkset
[https://datatracker.ietf.org/doc/draft-wilde-linkset]github.com/dret/I-D/tree/master/linkset
[https://github.com/dret/I-D/tree/master/linkset]github.com/dret/I-D/labels/linkset/issues
[https://github.com/dret/I-D/labels/linkset/issues]draft-cedik-http-warning
[https://datatracker.ietf.org/doc/draft-cedik-http-warning]Problem Details for HTTP APIs [https://tools.ietf.org/html/rfc7807]only cover error scenarios
Communicating Warning Information in HTTP APIs [https://www.youtube.com/watch?v=fdELvQt_Yvw]
Content-Warning: "embedded-warning"; 1590190500
embedded-warning
content warning type
Content-Warning: "embedded-warning"; 1590190500
embedded-warning
content warning type
POST /example HTTP/1.1 Host: example.com Accept: application/json HTTP/1.1 200 OK Content-Type: application/json Content-Warning: "embedded-warning"; 1590190500 { "request_id": "2326b087-d64e-43bd-a557-42171155084f", "warnings": [ { "detail": "Street name was too long. It has been shortened ...", "instance": "https://example.com/shipments/3a186c51/msgs/c94d", "status": "200", "title": "Street name too long. It has been shortened.", "type": "https://example.com/errors/shortened_entry" }, { "detail": "City for this zipcode unknown. Code for shipment ...", "instance": "https://example.com/shipments/3a186c51/msgs/5927", "status": "200", "title": "City for zipcode unknown.", "type": "https://example.com/errors/city_unknown" } ], "id": "3a186c51d4281acb", "carrier_tracking_no": "84168117830018", "tracking_url": "http://example.com/3a186c51d", "label_url": "http://example.com/shipping_label_3a186c51d.pdf", "price": 3.4 }
draft-cedik-http-warning
[https://datatracker.ietf.org/doc/draft-cedik-http-warning]github.com/dret/I-D/tree/master/http-warning
[https://github.com/dret/I-D/tree/master/http-warning]github.com/dret/I-D/labels/http-warning
[https://github.com/dret/I-D/labels/http-warning]draft-dalal-deprecation-header
[https://datatracker.ietf.org/doc/draft-dalal-deprecation-header]github.com/sdatspun2/deprecation-header
[https://github.com/sdatspun2/deprecation-header]github.com/sdatspun2/deprecation-header/issues
[https://github.com/sdatspun2/deprecation-header/issues]draft-wilde-linkset
[https://datatracker.ietf.org/doc/draft-wilde-linkset]github.com/dret/I-D/tree/master/linkset
[https://github.com/dret/I-D/tree/master/linkset]github.com/dret/I-D/labels/linkset
[https://github.com/dret/I-D/labels/linkset]draft-cedik-http-warning
[https://datatracker.ietf.org/doc/draft-cedik-http-warning]github.com/dret/I-D/tree/master/http-warning
[https://github.com/dret/I-D/tree/master/http-warning]github.com/dret/I-D/labels/http-warning
[https://github.com/dret/I-D/labels/http-warning]dret.net/lectures/ietf-109
[http://dret.net/lectures/ietf-109]@dret
[http://twitter.com/dret]youtube.com/ErikWilde
[https://www.youtube.com/ErikWilde]linkedin.com/in/netdret
[http://www.linkedin.com/in/netdret]