Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
nom3ad opened this issue Apr 23, 2020 · 0 comments
Open

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

nom3ad opened this issue Apr 23, 2020 · 0 comments

Comments

@nom3ad
Copy link

nom3ad commented Apr 23, 2020

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?

@nom3ad nom3ad changed the title support *status* query parameter for "/v2/tasks" support status query parameter for "/v2/tasks" Apr 23, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant