Automation Application Actions

List actions available for an Automation application

SDK Method

Automation.ListApplicationActions();

Return Object

FilesList<AutomationApplicationAction>

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.

Method Arguments

ArgumentDescription
application_key
string
Required
Application key returned by the Automation applications list.

Additional Arguments

Example Request

using FilesCom.Models;

var parameters = new Dictionary<string, object>();
parameters.Add("application_key", "application_key");

try
{
    var automationApplicationActionIterator = Automation.ListApplicationActions(parameters);
    await foreach (AutomationApplicationAction automationApplicationAction in automationApplicationActionIterator.ListAutoPagingAsync()) {
        // Operate on automationApplicationAction
    }
}
catch (FilesCom.NotAuthenticatedException e)
{
    Console.WriteLine($"Authentication Error Occurred ({e.GetType().Name}): " + e.Message);
}
catch (FilesCom.SdkException e)
{
    Console.WriteLine($"Unknown Error Occurred ({e.GetType().Name}): " + e.Message);
}

The AutomationApplicationAction Object

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

AttributeDescription
application
AutomationApplication
Application that provides the action.
key
string
Stable action key within the application.
name
string
Action display name.
description
string
What the action does.
fingerprint
string
Fingerprint of the action contract shown to the author.
fields
array(object)
Normalized input fields.
output
object
Normalized output schema.
origins
array(string)
HTTPS origins supported by this action.
authentication
array(object)
Authentication types accepted by this action.