Function asana::apis::projects_api::get_task_counts_for_project[][src]

pub async fn get_task_counts_for_project(
    configuration: &Configuration,
    project_gid: &str,
    opt_pretty: Option<bool>,
    opt_fields: Option<Vec<String>>,
    limit: Option<i32>,
    offset: Option<&str>
) -> Result<InlineResponse20017, Error<GetTaskCountsForProjectError>>

Get an object that holds task count fields. All fields are excluded by default. You must opt in using opt_fields to get any information from this endpoint. This endpoint has an additional rate limit and each field counts especially high against our cost limits. Milestones are just tasks, so they are included in the num_tasks, num_incomplete_tasks, and num_completed_tasks counts.