Add simple versioning with a new string (the previous announced version I'd call 0.1.0; this new one supporting API keys would be 0.2.0)
Dump a (simple, ugly, intrusive, window-dependent) error if apiKey, type or id don't have right values
Examples: add to the HTML element a public API key (intended only for testing Apiary); move entity IDs down to a different container (body)
Update documentation to mention API keys; fix some links to API documentation
Note: there used to be here a couple links to the documentation that now are not retrievable, unless one has their own API key, and one that is not restricted by domain, eg https://api-test.w3.org/doc?apikey=<your-key-here>. There is no way we can link to those resources from here now… :¬( About this, see w3c/w3c-api#22.
This tackles #4.
Authorization
header0.1.0
; this new one supporting API keys would be0.2.0
)window
-dependent) error ifapiKey
,type
orid
don't have right valuesbody
)Note: there used to be here a couple links to the documentation that now are not retrievable, unless one has their own API key, and one that is not restricted by domain, eg
https://api-test.w3.org/doc?apikey=<your-key-here>
. There is no way we can link to those resources from here now… :¬( About this, see w3c/w3c-api#22.