Link Search Menu Expand Document

Connector API Reference v1.0.0

Table of contents

Configuration

Parameters

NameTypeDescriptionDefault ValueRequired
NameStringThe name for this configuration. Connectors reference the configuration with this name. x
ConnectionThe connection types that can be provided to this configuration. x
Expiration PolicyExpirationPolicyConfigures the minimum amount of time that a dynamic configuration instance can remain idle before Mule considers it eligible for expiration.  

Connection Types

Bearer Connection Provider

NameTypeDescriptionDefault ValueRequired
TokenStringService provider API Key for authenticating requests. x
Base UriStringParameter base URI. Each instance or tenant gets its own.https://api.filestage.io/ext/v1x
Default HeadersArray of Default Header   
Query ParametersArray of Default Query Param.   
Connection TimeoutNumberHow long the connector waits before timing out when establishing a connection to the remote service.30 
Connection Timeout UnitEnumeration, one of:
  • NANOSECONDS
  • MICROSECONDS
  • MILLISECONDS
  • SECONDS
  • MINUTES
  • HOURS
  • DAYS
Time unit for the Connection Timeout field.SECONDS 
Use Persistent ConnectionsBooleanIndicates whether to use persistent connections:
true: Mule uses persistent connections.
false: Mule closes the connection after the first request completes.
true 
Max ConnectionsNumberMaximum number of outbound connections to keep open at the same time.-1 
Connection Idle TimeoutNumberHow long the connector waits before timing out when establishing a connection to the remote service.30 
Connection Idle Timeout UnitEnumeration, one of:
  • NANOSECONDS
  • MICROSECONDS
  • MILLISECONDS
  • SECONDS
  • MINUTES
  • HOURS
  • DAYS
Time unit for the Connection Timeout field.SECONDS 
Proxy ConfigProxyConfigures a proxy for outbound connections.  
Stream ResponseBooleanIf this value is true, Mule streams received responses.false 
Response Buffer SizeNumberSize of the buffer that stores the HTTP response, in bytes.-1 
ProtocolEnumeration, one of:
  • HTTP
  • HTTPS
Protocol to use for communication.HTTP 
TLS ConfigurationTLSConfigures TLS. If using the HTTPS protocol, you must configure TLS.  
ReconnectionReconnectionConfigures a reconnection strategy to use when a connector operation fails to connect to an external server.  

Supported Operations

Get all projects

Fetches all the projects for a particular team, this makes a HTTP GET request to /projects.

Parameters

NameTypeDescriptionDefault ValueRequired
ConfigurationStringName of the configuration to use. x
Target VariableStringThe name of a variable on which the operation’s output will be placed.  
Custom Query ParametersObjectCustom query parameters to include in the request. The specified query parameters are merged with the default query parameters that are specified in the configuration.  
Custom HeadersObjectCustom headers to include in the request. The specified custom headers are merged with the default headers that are specified in the configuration.  
Target ValueStringAn expression that will be evaluated against the operation’s output and the outcome of that expression will be stored in the target variable.#[payload] 
Reconnection StrategyRetry strategy in case of connectivity errors.  

Output

TypeAny
Attributes TypeHttp Response Attributes

Configurations

Throws

  • FILESTAGE:UNAUTHORIZED
  • FILESTAGE:BAD_REQUEST
  • FILESTAGE:INTERNAL_SERVER_ERROR

Create a project

Create a project within a folder. You need to specify the name of the project and the folderId of the folder where the project will be created, this makes a HTTP POST request to /projects.

Parameters

NameTypeDescriptionDefault ValueRequired
ConfigurationStringName of the configuration to use. x
BodyanyProperties to create project with.#[payload]x
Custom Query ParametersObjectCustom query parameters to include in the request. The specified query parameters are merged with the default query parameters that are specified in the configuration.  
Custom HeadersObjectCustom headers to include in the request. The specified custom headers are merged with the default headers that are specified in the configuration.  
Target VariableStringThe name of a variable on which the operation’s output will be placed.  
Target ValueStringAn expression that will be evaluated against the operation’s output and the outcome of that expression will be stored in the target variable.#[payload] 
Reconnection StrategyRetry strategy in case of connectivity errors.  

Output

TypeAny
Attributes TypeHttp Response Attributes

Configurations

Throws

  • FILESTAGE:UNAUTHORIZED
  • FILESTAGE:BAD_REQUEST
  • FILESTAGE:INTERNAL_SERVER_ERROR

Get project by id

Fetch a specific project by Id, this makes a HTTP GET request to /projects/[projectId].

Parameters

NameTypeDescriptionDefault ValueRequired
ConfigurationStringName of the configuration to use. x
Project IdStringUnique identifier (id) for a specific project. x
Custom Query ParametersObjectCustom query parameters to include in the request. The specified query parameters are merged with the default query parameters that are specified in the configuration.  
Custom HeadersObjectCustom headers to include in the request. The specified custom headers are merged with the default headers that are specified in the configuration.  
Target VariableStringThe name of a variable on which the operation’s output will be placed.  
Target ValueStringAn expression that will be evaluated against the operation’s output and the outcome of that expression will be stored in the target variable.#[payload] 
Reconnection StrategyRetry strategy in case of connectivity errors.  

Output

TypeAny
Attributes TypeHttp Response Attributes

Configurations

Throws

  • FILESTAGE:UNAUTHORIZED
  • FILESTAGE:BAD_REQUEST
  • FILESTAGE:NOT_FOUND
  • FILESTAGE:INTERNAL_SERVER_ERROR

Archive/Unarchive a project by id

Archive or Unarchive project by id, this makes a HTTP PUT request to /projects/[projectId]/isArchived.

Parameters

NameTypeDescriptionDefault ValueRequired
ConfigurationStringName of the configuration to use. x
BodyanyAction property to perform on object.#[payload]x
Project IdStringUnique identifier (id) for a specific project. x
Custom Query ParametersObjectCustom query parameters to include in the request. The specified query parameters are merged with the default query parameters that are specified in the configuration.  
Custom HeadersObjectCustom headers to include in the request. The specified custom headers are merged with the default headers that are specified in the configuration.  
Target VariableStringThe name of a variable on which the operation’s output will be placed.  
Target ValueStringAn expression that will be evaluated against the operation’s output and the outcome of that expression will be stored in the target variable.#[payload] 
Reconnection StrategyRetry strategy in case of connectivity errors.  

Output

TypeAny
Attributes TypeHttp Response Attributes

Configurations

Throws

  • FILESTAGE:UNAUTHORIZED
  • FILESTAGE:BAD_REQUEST
  • FILESTAGE:NOT_FOUND
  • FILESTAGE:INTERNAL_SERVER_ERROR

Get Files by project

Fetch all files for the specified project, this makes a HTTP GET request to /projects/[projectId]/files.

Parameters

NameTypeDescriptionDefault ValueRequired
ConfigurationStringName of the configuration to use. x
Project IdStringUnique identifier (id) for a specific project. x
Custom Query ParametersObjectCustom query parameters to include in the request. The specified query parameters are merged with the default query parameters that are specified in the configuration.  
Custom HeadersObjectCustom headers to include in the request. The specified custom headers are merged with the default headers that are specified in the configuration.  
Target VariableStringThe name of a variable on which the operation’s output will be placed.  
Target ValueStringAn expression that will be evaluated against the operation’s output and the outcome of that expression will be stored in the target variable.#[payload] 
Reconnection StrategyRetry strategy in case of connectivity errors.  

Output

TypeAny
Attributes TypeHttp Response Attributes

Configurations

Throws

  • FILESTAGE:UNAUTHORIZED
  • FILESTAGE:BAD_REQUEST
  • FILESTAGE:NOT_FOUND
  • FILESTAGE:INTERNAL_SERVER_ERROR

Get versions by file

Fetch all versions of the specified file, this makes a HTTP GET request to /files/[fileId]/versions.

Parameters

NameTypeDescriptionDefault ValueRequired
ConfigurationStringName of the configuration to use. x
File IdStringUnique identifier (id) for a specific file. x
Custom Query ParametersObjectCustom query parameters to include in the request. The specified query parameters are merged with the default query parameters that are specified in the configuration.  
Custom HeadersObjectCustom headers to include in the request. The specified custom headers are merged with the default headers that are specified in the configuration.  
Target VariableStringThe name of a variable on which the operation’s output will be placed.  
Target ValueStringAn expression that will be evaluated against the operation’s output and the outcome of that expression will be stored in the target variable.#[payload] 
Reconnection StrategyRetry strategy in case of connectivity errors.  

Output

TypeAny
Attributes TypeHttp Response Attributes

Configurations

Throws

  • FILESTAGE:UNAUTHORIZED
  • FILESTAGE:BAD_REQUEST
  • FILESTAGE:NOT_FOUND
  • FILESTAGE:INTERNAL_SERVER_ERROR

Generate presigned upload URL

Generates a presigned S3 URL (uploadURL) to directly upload a file and a fileURL to use the uploaded file with POST /files endpoint. This makes a HTTP POST request to /files/upload-url.

Parameters

NameTypeDescriptionDefault ValueRequired
ConfigurationStringName of the configuration to use. x
BodyanyProperties to use.#[payload]x
Custom Query ParametersObjectCustom query parameters to include in the request. The specified query parameters are merged with the default query parameters that are specified in the configuration.  
Custom HeadersObjectCustom headers to include in the request. The specified custom headers are merged with the default headers that are specified in the configuration.  
Target VariableStringThe name of a variable on which the operation’s output will be placed.  
Target ValueStringAn expression that will be evaluated against the operation’s output and the outcome of that expression will be stored in the target variable.#[payload] 
Reconnection StrategyRetry strategy in case of connectivity errors.  

Output

TypeAny
Attributes TypeHttp Response Attributes

Configurations

Throws

  • FILESTAGE:UNAUTHORIZED
  • FILESTAGE:BAD_REQUEST
  • FILESTAGE:INTERNAL_SERVER_ERROR

Remove file by id

Remove a specific file by id, this makes a HTTP DELETE request to /files/[fileId].

Parameters

NameTypeDescriptionDefault ValueRequired
ConfigurationStringName of the configuration to use. x
File IdStringUnique identifier (id) for a specific file. x
Custom Query ParametersObjectCustom query parameters to include in the request. The specified query parameters are merged with the default query parameters that are specified in the configuration.  
Custom HeadersObjectCustom headers to include in the request. The specified custom headers are merged with the default headers that are specified in the configuration.  
Target VariableStringThe name of a variable on which the operation’s output will be placed.  
Target ValueStringAn expression that will be evaluated against the operation’s output and the outcome of that expression will be stored in the target variable.#[payload] 
Reconnection StrategyRetry strategy in case of connectivity errors.  

Output

TypeAny
Attributes TypeHttp Response Attributes

Configurations

Throws

  • FILESTAGE:UNAUTHORIZED
  • FILESTAGE:BAD_REQUEST
  • FILESTAGE:NOT_FOUND
  • FILESTAGE:INTERNAL_SERVER_ERROR

Move file to step

Move a file to another review step, this makes a HTTP POST request to /files/[fileId]/move-to-step.

Parameters

NameTypeDescriptionDefault ValueRequired
ConfigurationStringName of the configuration to use. x
File IdStringUnique identifier (id) for a specific file. x
BodyanyProperties to use.#[payload]x
Custom Query ParametersObjectCustom query parameters to include in the request. The specified query parameters are merged with the default query parameters that are specified in the configuration.  
Custom HeadersObjectCustom headers to include in the request. The specified custom headers are merged with the default headers that are specified in the configuration.  
Target VariableStringThe name of a variable on which the operation’s output will be placed.  
Target ValueStringAn expression that will be evaluated against the operation’s output and the outcome of that expression will be stored in the target variable.#[payload] 
Reconnection StrategyRetry strategy in case of connectivity errors.  

Output

TypeAny
Attributes TypeHttp Response Attributes

Configurations

Throws

  • FILESTAGE:UNAUTHORIZED
  • FILESTAGE:BAD_REQUEST
  • FILESTAGE:NOT_FOUND
  • FILESTAGE:INTERNAL_SERVER_ERROR

Download file version

Download the contents of the original file that was uploaded to Filestage, this makes a HTTP GET request to /versions/[versionId]/contents.

Parameters

NameTypeDescriptionDefault ValueRequired
ConfigurationStringName of the configuration to use. x
Version IdStringUnique identifier (id) for a specific version. x
RefererStringTo be able to download from our servers you need to set the Referer.https://api.filestage.iox
Custom Query ParametersObjectCustom query parameters to include in the request. The specified query parameters are merged with the default query parameters that are specified in the configuration.  
Custom HeadersObjectCustom headers to include in the request. The specified custom headers are merged with the default headers that are specified in the configuration.  
Target VariableStringThe name of a variable on which the operation’s output will be placed.  
Target ValueStringAn expression that will be evaluated against the operation’s output and the outcome of that expression will be stored in the target variable.#[payload] 
Reconnection StrategyRetry strategy in case of connectivity errors.  

Output

TypeAny
Attributes TypeHttp Response Attributes

Configurations

Throws

  • FILESTAGE:UNAUTHORIZED
  • FILESTAGE:BAD_REQUEST
  • FILESTAGE:NOT_FOUND
  • FILESTAGE:INTERNAL_SERVER_ERROR

Download review report

Download the review report of the file (Image & Document file types only) that was reviewed on Filestage, this makes a HTTP GET request to /versions[versionId]/report.

Parameters

NameTypeDescriptionDefault ValueRequired
ConfigurationStringName of the configuration to use. x
Version IdStringUnique identifier (id) for a specific version. x
RefererStringTo be able to download from our servers you need to set the Referer.https://api.filestage.iox
Custom Query ParametersObjectCustom query parameters to include in the request. The specified query parameters are merged with the default query parameters that are specified in the configuration.  
Custom HeadersObjectCustom headers to include in the request. The specified custom headers are merged with the default headers that are specified in the configuration.  
Target VariableStringThe name of a variable on which the operation’s output will be placed.  
Target ValueStringAn expression that will be evaluated against the operation’s output and the outcome of that expression will be stored in the target variable.#[payload] 
Reconnection StrategyRetry strategy in case of connectivity errors.  

Output

TypeAny
Attributes TypeHttp Response Attributes

Configurations

Throws

  • FILESTAGE:UNAUTHORIZED
  • FILESTAGE:BAD_REQUEST
  • FILESTAGE:NOT_FOUND
  • FILESTAGE:INTERNAL_SERVER_ERROR

Approve a file

Approve or revoke specified file, this makes a HTTP PUT request to /files/[fileId]/isApproved.

Parameters

NameTypeDescriptionDefault ValueRequired
ConfigurationStringName of the configuration to use. x
File IdStringUnique identifier (id) for a specific file. x
BodyanyProperties to use.#[payload]x
Custom Query ParametersObjectCustom query parameters to include in the request. The specified query parameters are merged with the default query parameters that are specified in the configuration.  
Custom HeadersObjectCustom headers to include in the request. The specified custom headers are merged with the default headers that are specified in the configuration.  
Target VariableStringThe name of a variable on which the operation’s output will be placed.  
Target ValueStringAn expression that will be evaluated against the operation’s output and the outcome of that expression will be stored in the target variable.#[payload] 
Reconnection StrategyRetry strategy in case of connectivity errors.  

Output

TypeAny
Attributes TypeHttp Response Attributes

Configurations

Throws

  • FILESTAGE:UNAUTHORIZED
  • FILESTAGE:BAD_REQUEST
  • FILESTAGE:NOT_FOUND
  • FILESTAGE:INTERNAL_SERVER_ERROR

Import website

You need to specify the URL (https) of the website and because this operation can potentially take a long time we also need you to provide a callback URL so we can notify you when the import has been completed. If you provide a file id then a new version will be created for the existing file. This makes a HTTP POST request to /files/import-website.

Parameters

NameTypeDescriptionDefault ValueRequired
ConfigurationStringName of the configuration to use. x
BodyanyProperties to use.#[payload]x
Custom Query ParametersObjectCustom query parameters to include in the request. The specified query parameters are merged with the default query parameters that are specified in the configuration.  
Custom HeadersObjectCustom headers to include in the request. The specified custom headers are merged with the default headers that are specified in the configuration.  
Target VariableStringThe name of a variable on which the operation’s output will be placed.  
Target ValueStringAn expression that will be evaluated against the operation’s output and the outcome of that expression will be stored in the target variable.#[payload] 
Reconnection StrategyRetry strategy in case of connectivity errors.  

Output

TypeAny
Attributes TypeHttp Response Attributes

Configurations

Throws

  • FILESTAGE:UNAUTHORIZED
  • FILESTAGE:BAD_REQUEST
  • FILESTAGE:INTERNAL_SERVER_ERROR

Upload file

Upload a file to a review step. You need to specify the URL from which we download the file to our server. Because this operation can potentially take a long time we also need you to provide a callback URL so we can notify you when the file has been uploaded. If you provide a file id then a new version will be created for the existing file. This makes a HTTP POST request to /files.

Parameters

NameTypeDescriptionDefault ValueRequired
ConfigurationStringName of the configuration to use. x
BodyanyProperties to use.#[payload]x
Custom Query ParametersObjectCustom query parameters to include in the request. The specified query parameters are merged with the default query parameters that are specified in the configuration.  
Custom HeadersObjectCustom headers to include in the request. The specified custom headers are merged with the default headers that are specified in the configuration.  
Target VariableStringThe name of a variable on which the operation’s output will be placed.  
Target ValueStringAn expression that will be evaluated against the operation’s output and the outcome of that expression will be stored in the target variable.#[payload] 
Reconnection StrategyRetry strategy in case of connectivity errors.  

Output

TypeAny
Attributes TypeHttp Response Attributes

Configurations

Throws

  • FILESTAGE:UNAUTHORIZED
  • FILESTAGE:BAD_REQUEST
  • FILESTAGE:INTERNAL_SERVER_ERROR

Get file by id

Fetch a specific file by Id, this makes a HTTP GET request to /files/[fileId].

Parameters

NameTypeDescriptionDefault ValueRequired
ConfigurationStringName of the configuration to use. x
File IdStringUnique identifier (id) for a specific file. x
Custom Query ParametersObjectCustom query parameters to include in the request. The specified query parameters are merged with the default query parameters that are specified in the configuration.  
Custom HeadersObjectCustom headers to include in the request. The specified custom headers are merged with the default headers that are specified in the configuration.  
Target VariableStringThe name of a variable on which the operation’s output will be placed.  
Target ValueStringAn expression that will be evaluated against the operation’s output and the outcome of that expression will be stored in the target variable.#[payload] 
Reconnection StrategyRetry strategy in case of connectivity errors.  

Output

TypeAny
Attributes TypeHttp Response Attributes

Configurations

Throws

  • FILESTAGE:UNAUTHORIZED
  • FILESTAGE:BAD_REQUEST
  • FILESTAGE:NOT_FOUND
  • FILESTAGE:INTERNAL_SERVER_ERROR

Get file versions by id

Fetch a specific file by Id, this makes a HTTP GET request to /versions/[versionId].

Parameters

NameTypeDescriptionDefault ValueRequired
ConfigurationStringName of the configuration to use. x
Version IdStringUnique identifier (id) for a specific version. x
Custom Query ParametersObjectCustom query parameters to include in the request. The specified query parameters are merged with the default query parameters that are specified in the configuration.  
Custom HeadersObjectCustom headers to include in the request. The specified custom headers are merged with the default headers that are specified in the configuration.  
Target VariableStringThe name of a variable on which the operation’s output will be placed.  
Target ValueStringAn expression that will be evaluated against the operation’s output and the outcome of that expression will be stored in the target variable.#[payload] 
Reconnection StrategyRetry strategy in case of connectivity errors.  

Output

TypeAny
Attributes TypeHttp Response Attributes

Configurations

Throws

  • FILESTAGE:UNAUTHORIZED
  • FILESTAGE:BAD_REQUEST
  • FILESTAGE:NOT_FOUND
  • FILESTAGE:INTERNAL_SERVER_ERROR

Create comment reply

Create a comment reply. You need to specify the body of the comment and specify if it is team only or not. This makes a HTTP POST request to /comments/[commentId]/replies.

Parameters

NameTypeDescriptionDefault ValueRequired
ConfigurationStringName of the configuration to use. x
Comment IdStringUnique identifier (id) for a specific comment. x
BodyanyProperties to use.#[payload]x
Custom Query ParametersObjectCustom query parameters to include in the request. The specified query parameters are merged with the default query parameters that are specified in the configuration.  
Custom HeadersObjectCustom headers to include in the request. The specified custom headers are merged with the default headers that are specified in the configuration.  
Target VariableStringThe name of a variable on which the operation’s output will be placed.  
Target ValueStringAn expression that will be evaluated against the operation’s output and the outcome of that expression will be stored in the target variable.#[payload] 
Reconnection StrategyRetry strategy in case of connectivity errors.  

Output

TypeAny
Attributes TypeHttp Response Attributes

Configurations

Throws

  • FILESTAGE:UNAUTHORIZED
  • FILESTAGE:BAD_REQUEST
  • FILESTAGE:NOT_FOUND
  • FILESTAGE:INTERNAL_SERVER_ERROR

Create version comment

Create a general commment for a version. You need to specify the body of the comment and specify if it is team only or not. This makes a HTTP POST request to /versions/[versionId]/comments.

Parameters

NameTypeDescriptionDefault ValueRequired
ConfigurationStringName of the configuration to use. x
Version IdStringUnique identifier (id) for a specific version. x
BodyanyProperties to use.#[payload]x
Custom Query ParametersObjectCustom query parameters to include in the request. The specified query parameters are merged with the default query parameters that are specified in the configuration.  
Custom HeadersObjectCustom headers to include in the request. The specified custom headers are merged with the default headers that are specified in the configuration.  
Target VariableStringThe name of a variable on which the operation’s output will be placed.  
Target ValueStringAn expression that will be evaluated against the operation’s output and the outcome of that expression will be stored in the target variable.#[payload] 
Reconnection StrategyRetry strategy in case of connectivity errors.  

Output

TypeAny
Attributes TypeHttp Response Attributes

Configurations

Throws

  • FILESTAGE:UNAUTHORIZED
  • FILESTAGE:BAD_REQUEST
  • FILESTAGE:NOT_FOUND
  • FILESTAGE:INTERNAL_SERVER_ERROR

Get comments by version

Fetch all comments for the specified file version. This makes a HTTP GET request to /versions/[versionId]/comments.

Parameters

NameTypeDescriptionDefault ValueRequired
ConfigurationStringName of the configuration to use. x
Version IdStringUnique identifier (id) for a specific version. x
Custom Query ParametersObjectCustom query parameters to include in the request. The specified query parameters are merged with the default query parameters that are specified in the configuration.  
Custom HeadersObjectCustom headers to include in the request. The specified custom headers are merged with the default headers that are specified in the configuration.  
Target VariableStringThe name of a variable on which the operation’s output will be placed.  
Target ValueStringAn expression that will be evaluated against the operation’s output and the outcome of that expression will be stored in the target variable.#[payload] 
Reconnection StrategyRetry strategy in case of connectivity errors.  

Output

TypeAny
Attributes TypeHttp Response Attributes

Configurations

Throws

  • FILESTAGE:UNAUTHORIZED
  • FILESTAGE:BAD_REQUEST
  • FILESTAGE:NOT_FOUND
  • FILESTAGE:INTERNAL_SERVER_ERROR

Add reviewers to step

Add reviewers to a specific step. This makes a HTTP POST request to /steps/[stepId]/reviewers.

Parameters

NameTypeDescriptionDefault ValueRequired
ConfigurationStringName of the configuration to use. x
Step IdStringUnique identifier (id) for a specific step. x
BodyanyProperties to use.#[payload]x
Custom Query ParametersObjectCustom query parameters to include in the request. The specified query parameters are merged with the default query parameters that are specified in the configuration.  
Custom HeadersObjectCustom headers to include in the request. The specified custom headers are merged with the default headers that are specified in the configuration.  
Target VariableStringThe name of a variable on which the operation’s output will be placed.  
Target ValueStringAn expression that will be evaluated against the operation’s output and the outcome of that expression will be stored in the target variable.#[payload] 
Reconnection StrategyRetry strategy in case of connectivity errors.  

Output

TypeAny
Attributes TypeHttp Response Attributes

Configurations

Throws

  • FILESTAGE:UNAUTHORIZED
  • FILESTAGE:BAD_REQUEST
  • FILESTAGE:NOT_FOUND
  • FILESTAGE:INTERNAL_SERVER_ERROR

Get steps by project

Fetch all review steps for a specific project. This makes a HTTP GET request to /projects/[projectId]/steps.

Parameters

NameTypeDescriptionDefault ValueRequired
ConfigurationStringName of the configuration to use. x
Project IdStringUnique identifier (id) for a specific project. x
Custom Query ParametersObjectCustom query parameters to include in the request. The specified query parameters are merged with the default query parameters that are specified in the configuration.  
Custom HeadersObjectCustom headers to include in the request. The specified custom headers are merged with the default headers that are specified in the configuration.  
Target VariableStringThe name of a variable on which the operation’s output will be placed.  
Target ValueStringAn expression that will be evaluated against the operation’s output and the outcome of that expression will be stored in the target variable.#[payload] 
Reconnection StrategyRetry strategy in case of connectivity errors.  

Output

TypeAny
Attributes TypeHttp Response Attributes

Configurations

Throws

  • FILESTAGE:UNAUTHORIZED
  • FILESTAGE:BAD_REQUEST
  • FILESTAGE:NOT_FOUND
  • FILESTAGE:INTERNAL_SERVER_ERROR

Add step to project

Create a review step within a project. Optionally, you can invite reviewers directly to the new review step. This makes a HTTP POST request to /steps.

Parameters

NameTypeDescriptionDefault ValueRequired
ConfigurationStringName of the configuration to use. x
BodyanyProperties to use.#[payload]x
Custom Query ParametersObjectCustom query parameters to include in the request. The specified query parameters are merged with the default query parameters that are specified in the configuration.  
Custom HeadersObjectCustom headers to include in the request. The specified custom headers are merged with the default headers that are specified in the configuration.  
Target VariableStringThe name of a variable on which the operation’s output will be placed.  
Target ValueStringAn expression that will be evaluated against the operation’s output and the outcome of that expression will be stored in the target variable.#[payload] 
Reconnection StrategyRetry strategy in case of connectivity errors.  

Output

TypeAny
Attributes TypeHttp Response Attributes

Configurations

Throws

  • FILESTAGE:UNAUTHORIZED
  • FILESTAGE:BAD_REQUEST
  • FILESTAGE:NOT_FOUND
  • FILESTAGE:INTERNAL_SERVER_ERROR

Get folders

Fetches all the folders for the team. This makes a HTTP GET request to /folders.

Parameters

NameTypeDescriptionDefault ValueRequired
ConfigurationStringName of the configuration to use. x
Custom Query ParametersObjectCustom query parameters to include in the request. The specified query parameters are merged with the default query parameters that are specified in the configuration.  
Custom HeadersObjectCustom headers to include in the request. The specified custom headers are merged with the default headers that are specified in the configuration.  
Target VariableStringThe name of a variable on which the operation’s output will be placed.  
Target ValueStringAn expression that will be evaluated against the operation’s output and the outcome of that expression will be stored in the target variable.#[payload] 
Reconnection StrategyRetry strategy in case of connectivity errors.  

Output

TypeAny
Attributes TypeHttp Response Attributes

Configurations

Throws

  • FILESTAGE:UNAUTHORIZED
  • FILESTAGE:BAD_REQUEST
  • FILESTAGE:NOT_FOUND
  • FILESTAGE:INTERNAL_SERVER_ERROR

Create Folder

Create a folder, you need to specify the name of the folder. This makes a HTTP POST request to /folders.

Parameters

NameTypeDescriptionDefault ValueRequired
ConfigurationStringName of the configuration to use. x
BodyanyProperties to use.#[payload]x
Custom Query ParametersObjectCustom query parameters to include in the request. The specified query parameters are merged with the default query parameters that are specified in the configuration.  
Custom HeadersObjectCustom headers to include in the request. The specified custom headers are merged with the default headers that are specified in the configuration.  
Target VariableStringThe name of a variable on which the operation’s output will be placed.  
Target ValueStringAn expression that will be evaluated against the operation’s output and the outcome of that expression will be stored in the target variable.#[payload] 
Reconnection StrategyRetry strategy in case of connectivity errors.  

Output

TypeAny
Attributes TypeHttp Response Attributes

Configurations

Throws

  • FILESTAGE:UNAUTHORIZED
  • FILESTAGE:BAD_REQUEST
  • FILESTAGE:NOT_FOUND
  • FILESTAGE:INTERNAL_SERVER_ERROR

Reconnection

Configures a reconnection strategy for an operation.

FieldTypeDescriptionDefault ValueRequired
Fails DeploymentBooleanWhat to do if, when an app is deployed, a connectivity test does not pass after exhausting the associated reconnection strategy:
true: Allow the deployment to fail.
false: Ignore the results of the connectivity test.
  
Reconnection StrategyReconnection strategy to use.  

Reconnect

Configures a standard reconnection strategy, which specifies how often to reconnect and how many reconnection attempts the connector source or operation can make.

FieldTypeDescriptionDefault ValueRequired
FrequencyNumberHow often to attempt to reconnect, in milliseconds.  
BlockingBooleanIf false, the reconnection strategy will run in a separate, non-blocking thread.  
CountNumberHow many reconnection attempts the Mule app can make.  

Reconnect Forever

Configures a forever reconnection strategy by which the connector source or operation attempts to reconnect at a specified frequency for as long as the Mule app runs.

FieldTypeDescriptionDefault ValueRequired
FrequencyNumberHow often to attempt to reconnect, in milliseconds.  
BlockingBooleanIf false, the reconnection strategy will run in a separate, non-blocking thread.  

Expiration Policy

FieldTypeDescriptionDefault ValueRequired
Max Idle TimeNumberConfigures the maximum amount of time that a dynamic configuration instance can remain idle before Mule considers it eligible for expiration.  
Time UnitEnumeration, one of:
  • NANOSECONDS
  • MICROSECONDS
  • MILLISECONDS
  • SECONDS
  • MINUTES
  • HOURS
  • DAYS
Time unit for the Max Idle Time field.  

See Also


Back to top

Copyright © Filestage Gmbh - All Rights Reserved