Automation Application Actions

List actions available for an Automation application

SDK Method

Files::Automation.list_application_actions

Return Object

List<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

begin
  automation_application_actions = Files::Automation.list_application_actions(
    application_key: "application_key"
  )
  automation_application_actions.auto_paging_each do |automation_application_action|
    # Operate on automation_application_action
  end
rescue Files::NotAuthenticatedError => e
  puts "Authentication Error Occurred (#{e.class.to_s}): " + e.message
rescue Files::Error => e
  puts "Unknown Error Occurred (#{e.class.to_s}): " + e.message
end

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.