Automation Applications

List applications available in the Automation builder

SDK Method

\Files\Model\Automation::listApplications;

Return Object

AutomationApplication[]

Authorization Requirement

Requires a Site-Wide API key, or a User API key or session from a Site Administrator or a Workspace Administrator for the relevant workspace.

Additional Arguments

Example Request

try {
  $automation_applications = \Files\Model\Automation::listApplications();
  foreach ($automation_applications as $automation_application) {
    // Operate on $automation_application
  }
} catch (\Files\Exception\NotAuthenticatedException $e) {
  echo 'Authentication Error Occurred (' . get_class($e) . '): ', $e->getMessage(), "\n";
} catch (\Files\Exception\FilesException $e) {
  echo 'Unknown Error Occurred (' . get_class($e) . '): ', $e->getMessage(), "\n";
}

The AutomationApplication Object

Some of the methods above return a AutomationApplication object. The attributes of this object are listed below.

AttributeDescription
key
string
Stable application key.
name
string
Application display name.
brand
string
Application branding key.
logo_url
string
URL of the application's square logo image.