Skip to content

beingsane/Joomla-REST-API

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 

Repository files navigation

Joomla REST API

This is a REST API server for Joomla 1.5 & 1.6, along with a lot of bundled plugins

Following plugins are available

  • Create/Update/List/Delete users with Jomsocial support

  • Create/Update/List/Delete Jomsocial groups

  • Create/Update/List/Delete Jomsocial group discussions, announcements and wall posts

  • Create/Update/List/Delete Jomsocial events (1.5 only)

  • Create content (1.5 only)

  • List categories/sections (1.5 only)

  • Joomla Search (1.5 only)

Installation

  • cd YOUR_JOOMLA_FOLDER/rest

  • Copy contents of ‘server’ folder from either the Joomla 1.5 or 1.6 to the above folder

  • Install & enable the plugins. Unfortunately I have not provided installable plugins yet, but you can zip the php & xml and create packages

  • you’re done

Using the API

  • Requests to the create, update & delete methods need a username and password. You can use any Joomla Super admin account username & password for this.

  • Send the username as auth_user and password as auth_pass

  • Send other relevant fields according to method

Querying the API (at last)

Troubleshooting / Notes / FAQs

  • If you see 404 error make sure you have correctly copied the .htaccess file in the ‘rest’ folder. This is a hidden file and would normally not get copied.

  • Note that you need to copy the .htaccess from the ‘server’ folder and not Joomla’s .htaccess file. These 2 are different

  • In spite of adding the .htaccess if you get a 404 error, you should try URLs in the following format - yoursite.com/rest/index.php/user_update.json

About

The RESTful server and a lot of ready methods for Joomla 1.5. Brought to you by Techjoomla! For support, please log on to - http://techjoomla.com/joomla-rest-api/

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • PHP 94.4%
  • CSS 4.6%
  • Other 1.0%