w3c / w3c-api

The W3C API
https://w3c.github.io/w3c-api/
214 stars 92 forks source link

New endpoint to retrieve levels of a "shortname without level" #98

Closed tidoust closed 4 years ago

tidoust commented 4 years ago

My understanding of the discussion in #96 is that it deals with what the API should return for a request on a "shortname without level", e.g. for queries "hr-time" instead of on "hr-time-2".

Another information that would be useful for me is a mechanism to list the different levels that exist for a given "shortname without level". Right now, I can either query:

Actually, I do not know whether that association between a "shortname without level" and existing levels exists in our system. It may be that our system only knows about the association of a "shortname without level" with the current "shortname with level"?

If we do have that information, could it be exposed somehow?

vivienlacourba commented 4 years ago

Hi @tidoust,

Actually, I do not know whether that association between a "shortname without level" and existing levels exists in our system. It may be that our system only knows about the association of a "shortname without level" with the current "shortname with level"?

You guessed right we do not have that info in our db yet.

Good news is that @deniak is currently working on adding it by implementing levels in addition to shortnames with and without the level info. You comment is quite timely to help sketch up the changes on the API, @deniak will get back to you in the next 2-3 weeks.

deniak commented 4 years ago

/specification-series/ has been deployed.