https://bugzilla.wikimedia.org/show_bug.cgi?id=28692
Bug #: 28692
Summary: Allow "image" contents to be deliverable by API
Product: MediaWiki
Version: unspecified
Platform: All
OS/Version: All
Status: NEW
Severity: normal
Priority: Unprioritized
Component: API
AssignedTo: [email protected]
ReportedBy: [email protected]
CC: [email protected], [email protected],
[email protected], [email protected]
Classification: Unclassified
While server-side applications may be able to grab image contents (e.g., for an
SVG file) by directly visiting the image URL they obtain from a prior API
query, for JSONP in particular, it would be great if image contents could be
exposed to be returned as content via the API (called maybe "image" or
"filecontent" or whatever).
For example:
/w/api.php?action=query&titles=File:Example.svg&prop=imageinfo&iiprop=image&format=json
might return something like:
..."imageinfo": {"image": {"*": "<svg>....</svg>"}}
Thanks!
--
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l