JSON Service
The JSON Service packages a folder's content for use as a REST service
Any folder in any of SAEON's portal environments can be accessed as a JSON service. This service is easy to use: just add /jsonContent to the end of any folder. Examples:
A list of all the stubs in the Egagasini Personnel folder:
http://skp.dirisa.org/repository/Egagasini/personnel/jsonContent?types=Stub&depth=1
A list of all the custodians in the SAEON Data Portal:
http://data.saeon.ac.za/jsonContent?types=Custodian&depth=1
A list of all the news items in all of the portals hosted by SAEON (data.dirisa.org is the root site containing all other sites):
http://data.dirisa.org/jsonContent?types=News%20Item&%20depth=-1
The Item Types (types=) supported include
page
stub
news item
custodian
file
image
event
window
etc.
The 'depth' parameter determines whether subfolders are returned or not.
-1: All subfolders
0: Root folder only
1: Root plus 1 set of child folders
etc.