Skip to content
New issue

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

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

Already on GitHub? # to your account

Job Type Names fields #1503

Closed
zero-zap opened this issue Feb 21, 2019 · 2 comments
Closed

Job Type Names fields #1503

zero-zap opened this issue Feb 21, 2019 · 2 comments
Assignees
Labels

Comments

@zero-zap
Copy link

If possible I need is_active and is_paused added to the results for the job type names endpoint.

@zero-zap zero-zap added this to the Backlog milestone Feb 21, 2019
@JohnPTobe
Copy link

What is the motivation behind this? So you can hide paused or deprecated job types? Since those flags can differ for multiple versions of a job type for a given name, what value should I use? The latest version? True for active if any is active? False for paused if none of them is paused? Currently you can pass is_active=true to only get names where at least one version is active. I could add something similar for is_paused. These values are given in the job type versions endpoint which I think you would have to call for each name returned in the job type names endpoint anyway.

@JohnPTobe
Copy link

After discussion with Eric and Chris, I'm moving the current job-types endpoint to job-type-names and changing the job-types endpoint to return all job types with the same details as the job-type-versions endpoint. The new job-types endpoint will use the same parameters as job-type-names for filtering.

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants