Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface ITasks

export
interface

ITasks

Hierarchy

  • ITasks

Implemented by

Index

Methods

create

  • create(projectId: string, body: object): Promise<object>
  • description

    Creates a task in the project. Requires Manage tasks admin right.

    memberof

    ITasks

    Parameters

    • projectId: string
    • body: object

    Returns Promise<object>

    }

delete

  • delete(projectId: string, taskId: number): Promise<object>
  • description

    Deletes a task from the project. Requires Manage tasks admin right.

    memberof

    ITasks

    Parameters

    • projectId: string
    • taskId: number

    Returns Promise<object>

    }

get

  • get(projectId: string, taskId: number): Promise<object>
  • description

    Retrieves a Task object.

    memberof

    ITasks

    Parameters

    • projectId: string
    • taskId: number

    Returns Promise<object>

    }

list

  • list(projectId: string, query?: ITaskQuery): Promise<object>
  • description

    Lists all tasks in the project.

    memberof

    ITasks

    Parameters

    Returns Promise<object>

    }

update

  • update(projectId: string, taskId: number, body: object): Promise<object>
  • description

    Updates the properties of a task. Requires Manage tasks admin right.

    memberof

    ITasks

    Parameters

    • projectId: string
    • taskId: number
    • body: object

    Returns Promise<object>

    }

Generated using TypeDoc