GithubHelp home page GithubHelp logo

clockworkgeek / magento-extra-restful Goto Github PK

View Code? Open in Web Editor NEW
32.0 9.0 7.0 184 KB

Many more REST resources for Magento's API

License: MIT License

PHP 100.00%
magento-extension api-rest mit-license restful api-server resources json

magento-extra-restful's People

Contributors

clockworkgeek avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

magento-extra-restful's Issues

How to get category tree ?

There is one thing i want to ask you that, how to get category tree i.e
parent category and all its child categories ?
I want to retrieve category tree with default category as parent category.
Like below example
image

Not working on staging server !

Very helpful but facing a problem .This is working in localhost but not working in staging server. Firstly i had tested this extension on localhost, it has been working smoothly but its not working on staging server . Even i had followed the same instructions or path as i did on localhost .Please help.

Installation Issues

I'm hoping the author is still around here, as this extension looks awesome! Nearly every feature included is part of my overall goal in extending the API, so thanks for the great work!

Unfortunately I'm having some issues in installation. I've added the module via modman to my existing Magento setup. However the code does not seem to be calling the included Product.php class on any requests to the API. I do see the additional attributes in the REST API system configuration, and I can even access extra endpoints such as /stores.

I'm currently running v1.9.4.0, so perhaps there were some updates to the core API that clobbered this module. I am failing to see where this module overwrites any read-based resources, as the only config rewrites are for the Admin classes which appear to only handle updating/writing.

Any idea where I could be going wrong or missing something here? Thanks!

HTTP ERROR 500

Good day! I have an error while performing a GET request:
http://ros-cocos.ru/api/rest/products/9?attrs=color
ONLY PHP 7.0.29

PHP Fatal error:  Uncaught TypeError: Argument 1 passed to Mage_Api2_Model_Acl_Filter::_filter() must be of the type array, null given, called in /var/www/www-root/data/www/ros-cocos.ru/app/code/core/Mage/Api2/Model/Acl/Filter.php on line 191 and defined in /var/www/www-root/data/www/ros-cocos.ru/app/code/core/Mage/Api2/Model/Acl/Filter.php:74
Stack trace:
#0 /var/www/www-root/data/www/ros-cocos.ru/app/code/core/Mage/Api2/Model/Acl/Filter.php(191): Mage_Api2_Model_Acl_Filter->_filter(NULL, Array)
#1 /var/www/www-root/data/www/ros-cocos.ru/app/code/core/Mage/Api2/Model/Resource.php(240): Mage_Api2_Model_Acl_Filter->out(Array)
#2 /var/www/www-root/data/www/ros-cocos.ru/app/code/community/Clockworkgeek/Extrarestful/Model/Api2/Abstract.php(128): Mage_Api2_Model_Resource->dispatch()
#3 /var/www/www-root/data/www/ros-cocos.ru/app/code/core/Mage/Api2/Model/Dispatcher.php(74): Clockworkgeek_Extrarestful_Model_Api2_Abstract->dispatch()
#4 /var/www/www-root/data/www/ros-cocos.ru/app/code/core/Mage/Api2/Model/Server.php(239): Mage_Api2_M in /var/www/www-root/data/www/ros-cocos.ru/app/code/core/Mage/Api2/Model/Acl/Filter.php on line 74

Missing get categories recursively

I truely love this extension and made my work a lot easier.
However the only thing I am missing is retrieving the full list of categories recursively.. it already has a parent id so it can just as easy be recursive..

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.