Skip to content

support status query parameter for "/v2/tasks" #271

@nom3ad

Description

@nom3ad

According to marathon API docs,

GET /v2/tasks Traits: secured
DESCRIPTION
List all running tasks.
QUERY PARAMETERS
status: required, one of (running, staging) string
Filter the list of tasks by status

client.list_tasks() currently not supports this filter.

Also such query parameter is not available for /v2/apps/{app_id}/tasks (which is being used when an appId is passed to client.list_tasks)

Can we have a status filter when appId is None?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions