Skip to main content

TaskService

Index

Constructors

constructor

Properties

publicreadonlyhttpRequest

httpRequest: BaseHttpRequest

Methods

publictaskAssetAppend

  • Add attachments Adds file attachments to a task.

    @throws

    ApiError


    Parameters

    Returns CancelablePromise<any>

    any Successfully added the attachments to the task.

publictaskAssigneeAdd

publictaskAssigneeRemove

  • Remove an assignee Bot-compatible Removes a member from the managing role for a task.

    @throws

    ApiError


    Parameters

    Returns CancelablePromise<any>

    any Successfully removed the assignee.

publictaskCreate

publictaskFollowAdd

publictaskFollowRemove

  • Remove a collaborator Bot-compatible Removes a collaborator from a task.

    @throws

    ApiError


    Parameters

    Returns CancelablePromise<any>

    any Successfully removed the collaborator.

publictaskInfo

  • Get a task's information Bot-compatible Retrieves information about a task.

    @throws

    ApiError


    Parameters

    • __namedParameters: { bodyType?: plain | json_string; id: string }

    Returns CancelablePromise<{ data?: GetTaskInfoResponse }>

    any Successfully retrieved the task's information.

publictaskList

  • List out tasks Bot-compatible Lists out a given number of tasks from a project. This method uses the Swit API's pagination scheme.

    @throws

    ApiError


    Parameters

    • __namedParameters: { limit?: number; offset?: string; parentId?: string; projectId: string; workspaceId?: string }

    Returns CancelablePromise<{ data?: GetTaskListProjectResponse }>

    any Successfully retrieved the tasks.

publictaskListByColumn

  • List out tasks by bucket Bot-compatible Lists out a given number of tasks from a bucket. This method uses the Swit API's pagination scheme.

    @throws

    ApiError


    Parameters

    • __namedParameters: { bucketId: string; limit?: number; offset?: string; projectId: string }

    Returns CancelablePromise<{ data?: GetTaskListByColumnResponse }>

    any Successfully retrieved the tasks.

publictaskMove

publictaskMyTaskList

  • List out my tasks Bot-compatible Lists out "my tasks" of the user from a workspace.

    @throws

    ApiError


    Parameters

    • __namedParameters: { limit?: number; offset?: string; workspaceId: string }

    Returns CancelablePromise<{ data?: GetTaskListMineResponse }>

    any Successfully retrieved my tasks.

publictaskRemove

  • Delete a task Bot-compatible Deletes a task from a project.

    @throws

    ApiError


    Parameters

    Returns CancelablePromise<any>

    any Successfully deleted the task.

publictaskStatusUpdate

  • taskStatusUpdate(__namedParameters: { requestBody: { project_id?: string; task_id?: string; to_status_id?: string; workspace_id?: string } }): CancelablePromise<TaskResponse>
  • Update the status of a task Updates the status of a task.

    @throws

    ApiError


    Parameters

    • __namedParameters: { requestBody: { project_id?: string; task_id?: string; to_status_id?: string; workspace_id?: string } }

    Returns CancelablePromise<TaskResponse>

    TaskResponse Successfully updated the status of the task.

publictaskUpdate