To be honest I've just put it here as I've already done it. http://hostname/-/script/v1/Examples/API/ChildrenAsJson?item=content
API URI: /-/script/v1/
Library Relative script path Examples/API/ChildrenAsJson
Variables sent to script - everything after the ? in this case: ?item=content
Script Metadata Editing enables editing security by default - to disable the script for non privileged users.
Internal Zen Garden demo script update
Sample API Scripts updated
Shell runner has Type Info enabled by default to be in sync with ISE settings.