Magento-Extra-RESTful icon indicating copy to clipboard operation
Magento-Extra-RESTful copied to clipboard

Many more REST resources for Magento's API

Extra RESTful

Developers are invited to include this reusable extension in their projects for better connectivity. Extra RESTful is permissively licensed for this reason. Suggestions for more resources to support are welcome, just raise an issue.

Improvements

All Extra RESTful resources have the following advantages over core resources:

  • No sessions.
  • No cookies.
  • No Pragma header.
  • A Content-Length instead of chunked encoding.
  • Cache-Control and Vary headers.

All collections in Extra RESTful have the following further advantages:

  • Result is an array instead of an object.
    (This matters to JSON where objects have no natural order.)
  • An empty array when requesting a page outside of range.
    (Magento API2 erroneously repeats the last page here.)
  • A Link header for easier pagination.
    (This is similar to GitHub's API except URIs are relative to the site's base URL)

Altered Resources

New Resources