Contains information returned by an API component.
Properties:
component -
string
The name of the component that was executed (ie 'Medal.unlock').
data -
object
/ array<object>
An object, or array of one-or-more objects (follows the structure of the corresponding 'execute' property), containing any returned properties or errors.
echo -
mixed
If you passed an 'echo' value in your execute object, it will be echoed here.
error -
Error
This will contain any error info if the success property is false.
success -
boolean
If false, there was a problem with your 'request' object. Details will be in the error property.
Notes:
The 'data' object will always contain a 'success' property. If the call was unsuccessful, there will also be an 'error' property.