public class WorkflowsManager extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
WorkflowsManager.Builder |
| Modifier and Type | Field and Description |
|---|---|
Authentication |
auth |
NetworkSession |
networkSession |
| Modifier | Constructor and Description |
|---|---|
|
WorkflowsManager() |
protected |
WorkflowsManager(WorkflowsManager.Builder builder) |
| Modifier and Type | Method and Description |
|---|---|
Authentication |
getAuth() |
NetworkSession |
getNetworkSession() |
Workflows |
getWorkflows(GetWorkflowsQueryParams queryParams)
Returns list of workflows that act on a given `folder ID`, and have a flow with a trigger type
of `WORKFLOW_MANUAL_START`.
|
Workflows |
getWorkflows(GetWorkflowsQueryParams queryParams,
GetWorkflowsHeaders headers)
Returns list of workflows that act on a given `folder ID`, and have a flow with a trigger type
of `WORKFLOW_MANUAL_START`.
|
void |
startWorkflow(String workflowId,
StartWorkflowRequestBody requestBody)
Initiates a flow with a trigger type of `WORKFLOW_MANUAL_START`.
|
void |
startWorkflow(String workflowId,
StartWorkflowRequestBody requestBody,
StartWorkflowHeaders headers)
Initiates a flow with a trigger type of `WORKFLOW_MANUAL_START`.
|
public Authentication auth
public NetworkSession networkSession
public WorkflowsManager()
protected WorkflowsManager(WorkflowsManager.Builder builder)
public Workflows getWorkflows(GetWorkflowsQueryParams queryParams)
You application must be authorized to use the `Manage Box Relay` application scope within the developer console in to use this endpoint.
queryParams - Query parameters of getWorkflows methodpublic Workflows getWorkflows(GetWorkflowsQueryParams queryParams, GetWorkflowsHeaders headers)
You application must be authorized to use the `Manage Box Relay` application scope within the developer console in to use this endpoint.
queryParams - Query parameters of getWorkflows methodheaders - Headers of getWorkflows methodpublic void startWorkflow(String workflowId, StartWorkflowRequestBody requestBody)
You application must be authorized to use the `Manage Box Relay` application scope within the developer console.
workflowId - The ID of the workflow. Example: "12345"requestBody - Request body of startWorkflow methodpublic void startWorkflow(String workflowId, StartWorkflowRequestBody requestBody, StartWorkflowHeaders headers)
You application must be authorized to use the `Manage Box Relay` application scope within the developer console.
workflowId - The ID of the workflow. Example: "12345"requestBody - Request body of startWorkflow methodheaders - Headers of startWorkflow methodpublic Authentication getAuth()
public NetworkSession getNetworkSession()