- From: Denis Ah-Kang <denis@w3.org>
- Date: Wed, 24 Jun 2020 15:04:58 +0400
- To: Tobie Langel <tobie.langel@gmail.com>, spec-prod@w3.org
Hi Tobie, That upgrade actually comes from issues raised some time ago [1][2] when people noticed a few inconsistencies between the API and /TR. I expect these discussions to happen on GitHub instead of that mailing list. Next time, I will make sure to ping you and other tools (respec/bikeshed) maintainers in the thread for feedback before we start the implementation. Denis [1] https://github.com/w3c/w3c-api/issues/96 [2] https://github.com/w3c/w3c-api/issues/98 On 6/24/20 2:51 PM, Tobie Langel wrote: > This looks awesome. > > In the future, can you reach out while you’re building those so consumers can have more direct input? > > Apologies if you have and I missed that. > > Thanks, > > —tobie > > On Wed, Jun 24, 2020, at 12:48, Denis Ah-Kang wrote: >> Hi, >> >> I am pleased to announce that the W3C API is now providing >> data about specification series. A series is basically >> a group of specifications published with different level >> numbers, e.g. CSP (for CSP1, CSP2, CSP3) and css-color (for >> css-color-3, css-color-4, css-color-5). >> >> There are 2 new endpoints [1] for the specification series, >> taking the shortname without version as parameter: >> - https://api.w3.org/specification-series/<shortname> >> - https://api.w3.org/specification-series/<shortname>/specifications >> >> These endpoints return the list of specifications associated >> with a series and the 'current' specification which is the one >> that is served when you access >> https://www.w3.org/TR/<shortname-without-version>/ >> >> Regarding the specifications themselves, if there was a change >> of shortname or if you use the series shortname you will be >> redirected to the right specification. See examples below: >> [[ >> $ curl -I -L "https://api.w3.org/specifications/webrtc-dscp?apikey=@apikey@ >> HTTP/1.1 301 Moved Permanently >> ... >> location: /specifications/webrtc-priority?apikey=@apikey@ >> ... >> HTTP/1.1 200 OK >> ... >> >> $ curl -I -L "https://api.w3.org/specifications/CSP?apikey=@apikey@ >> HTTP/1.1 301 Moved Permanently >> ... >> location: /specifications/CSP3?apikey=@apikey@ >> ... >> HTTP/1.1 200 OK >> ... >> ]] >> >> Let me know if you have any questions. >> >> Denis >> >> [1] https://api.w3.org/doc#operations-tag-Series >> >> >
Received on Wednesday, 24 June 2020 11:05:09 UTC