Anyone have any suggested methods for really familiarizing oneself with the scripting docs? Specifically, the PHP scripts.
I know the engineers are working on the documentation for DF 2.0, but I’m just wondering where the best place to learn the methods, functions, etc… that I can call within a script. Where should I look within the install directory to gain more insight into the available methods?
For example, I am trying to call something like “platform.api.get()” using PHP, but it doesn’t seem to work so I’m trying to figure out how to use the following code from the PHP scripting example to create an internal GET request from within a custom script to download a file:
“Message” => “A new Todo named “.$payload[‘name’].” was just created.”,
“Subject” => “New Todo Created”,
(obviously I need to modify that code)
I’m trying to basically make a custom pre_process script for my file storage service which changes the inbound URL request. It seems the pre/post processing server scripts do not fire for some reason currently. Someone else reported this issue, but I can’t find the link ATM. Like the user who reported the issue, I’m trying to take an inbound folder request and internally modify the link to their folder.