Dark Mode

Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

clockworkgeek/Magento-Extra-RESTful

Folders and files

NameName
Last commit message
Last commit date

Latest commit

History

146 Commits

Repository files navigation

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

About

Many more REST resources for Magento's API

Topics

Resources

Readme

License

MIT license

Stars

Watchers

Forks

Packages

Contributors

Languages