5d197e4b12
- Add pagination, limits, and Link header - Add schema endpoints and dummy /settings endpoint - Add /file endpoints - Browser security restrictions prevent the web library from actually loading the file: URIs that the local API returns, but out-of-browser use will work fine - Add toResponseJSONAsync() DataObject function: delegates to toResponseJSON() by default, adds information that requires awaiting promises - Best attachment (links.attachment) and file size (links.enclosure.length) for items, meta.numItems for groups - Separate function for compatibility with the existing test code that uses toResponseJSON(), but we could consider unifying This commit does not add the Access-Control headers that allow webpages to make requests to the local API, since I don't think we actually want that. |
||
---|---|---|
.. | ||
components | ||
content | ||
resource | ||
tests | ||
chrome.manifest | ||
runtests.sh |