Cloud API documentation

We shouldn’t need to go looking into the source code to find available types for Spark.variable etc

I agree. A simple doc with all the veriables for spark and a quick explanation of what data they hold would be very useful

Good feedback guys; will add this to our backlog.

On that note, has anyone who has gone through the source let us know what variables can be returned through Spark.function?

Right now they can only return integers.

And here I’ve been banging my head against the table for a couple of hours now due to this. Now that you mention, I’m pretty sure I read about it somewhere, but can’t find where.

Ah thanks. I was trying to return variables of type double earlier, this explains the odd behaviour.