Osclass icon indicating copy to clipboard operation
Osclass copied to clipboard

Rest API

Open mkraha opened this issue 4 years ago • 10 comments

Guys, Any idea about implementing Rest API for Osclass ?

mkraha avatar Dec 18 '19 08:12 mkraha

Not for now but sure in future. If someone can contribute to it then this could happen sooner.

navjottomer avatar Dec 18 '19 22:12 navjottomer

wordpress/wp-includes/rest-api/ can be used for ideas (not the same, of course).

dev-101 avatar Dec 18 '19 23:12 dev-101

I think we can add one more case on controller/ajax.php and create a new model to return

fre2mansur avatar Apr 19 '20 19:04 fre2mansur

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/ category

maddrid avatar Aug 21 '20 18:08 maddrid

Looks cool. Could you explain how it works? we just have to install a new plugin or need to be edit core files?

mkraha avatar Aug 22 '20 06:08 mkraha

@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 .

maddrid avatar Aug 22 '20 13:08 maddrid

@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?

arjun0054 avatar Sep 29 '20 12:09 arjun0054

Any update?

Teurn avatar Oct 02 '20 14:10 Teurn

Dear Maddrid,

May I know this plugin is ready if yes please can you contact me at [email protected]

Regards Jay

TheMrshah avatar Dec 24 '20 00:12 TheMrshah

https://github.com/dftd/Osclass-API

patriksh avatar Nov 11 '21 18:11 patriksh