Closed Bug 933851 Opened 11 years ago Closed 10 years ago

Have sections (esp. browser compatibility) available as JSON as well

Categories

(developer.mozilla.org Graveyard :: General, defect)

All
Other
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED DUPLICATE of bug 989448

People

(Reporter: ronald, Unassigned)

Details

(Whiteboard: [specification][type:feature])

What problems would this solve?
===============================
Currently, if you want to use the Browser-compatibility data, your only choice is to scrape the HTML from that section. By providing the different sections as JSON, this is no longer needed.

Who would use this?
===================
Currently I guess webplatform.org is the only organization this data is shared with. However, any organization that uses the MDN compatibilty data would be able to benefit from this change.

What would users see?
=====================
The JSON-version of data that is used to build the current HTML-table. Most notable difference should be the difference between the prefixed version, and the unprefixed version. These are currently lumped in 1 table-cell, whereas in the JSON it would be preferable to have this data in different properties of the JSON-object.

What would users do? What would happen as a result?
===================================================
Users would use the regular section-URL (ie: https://developer.mozilla.org/en-US/docs/Web/CSS/flex?raw&macros&section=Browser_compatibility ), but including $json in the URL (ie: https://developer.mozilla.org/en-US/docs/Web/CSS/flex$json?raw&macros&section=Browser_compatibility )

Is there anything else we should know?
======================================
Currently the URL with $json already exists, but this seems to bypass the querystring, and only give the overview-data. Using the querystring together with $json might break existing implementations, that expect the querystring to be ignored when requesting JSON.
This is a great idea. It is so great, in fact, that we have started a major effort to create an API serving JSON representations of compatibility data.

Project: https://wiki.mozilla.org/MDN/Development/CompatibilityTables
Bug: https://bugzilla.mozilla.org/show_bug.cgi?id=989448
Docs: http://web-platform-compat.readthedocs.org/en/latest/draft/intro.html

Considering all those, I'm going to close this as a duplicate. Thanks for filing!
Status: UNCONFIRMED → RESOLVED
Closed: 10 years ago
Resolution: --- → DUPLICATE
Product: developer.mozilla.org → developer.mozilla.org Graveyard
You need to log in before you can comment on or make changes to this bug.