Osclass
Osclass copied to clipboard
Rest API
Guys, Any idea about implementing Rest API for Osclass ?
Not for now but sure in future. If someone can contribute to it then this could happen sooner.
wordpress/wp-includes/rest-api/ can be used for ideas (not the same, of course).
I think we can add one more case on controller/ajax.php and create a new model to return
Hy . A REST API plugin for is almost ready .
It's on a Test Phase .
All osclass controllers are included + few more goodies !
It's extendable, so you could add your custom api routes to it, same as adding osclass routes .
Jwt auth implemented .
Join the discussion here https://forums.osclasscommunity.com/plugins/rest-api/
Looks cool. Could you explain how it works? we just have to install a new plugin or need to be edit core files?
@mkraha Just install the plugin . This is the "Rest api server" part . you will need to build the client ( php or js ) to consume it . Since it's on develop phase you can request some features here : https://forums.osclasscommunity.com/plugins/rest-api/ Note : All default osclass front controllers is available through the api . We are looking for missing features to make them available as soon as possible to version 1 (v1 ) . Planning the release (v1) in 1 month . Meanwhile test test test it ,write the documentation ( it will be a long one ) and implement some missing features (if possible ) Thanks .
@mkraha Just install the plugin . This is the "Rest api server" part . you will need to build the client ( php or js ) to consume it . Since it's on develop phase you can request some features here : https://forums.osclasscommunity.com/plugins/rest-api/ Note : All default osclass front controllers is available through the api . We are looking for missing features to make them available as soon as possible to version 1 (v1 ) . Planning the release (v1) in 1 month . Meanwhile test test test it ,write the documentation ( it will be a long one ) and implement some missing features (if possible ) Thanks .
Hi, Rest api plugin available in public?
Any update?
Dear Maddrid,
May I know this plugin is ready if yes please can you contact me at [email protected]
Regards Jay
https://github.com/dftd/Osclass-API