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

Expose id query param in list_apps #129

Merged
merged 1 commit into from
Jul 19, 2016
Merged

Conversation

moonkev
Copy link
Contributor

@moonkev moonkev commented Jul 19, 2016

The API call GET /v2/apps has a query parameter called id that will let you pass in either the id of an app itself or a portion of the id. This is quite useful when you only want to list apps in a certain group, and would like them all returned in a flat list instead of the the nested group style that is returned when calling get_group. Chose app_id as parameter name instead of the query param's name 'id' so as not to shadow the python built-in id function.

@solarkennedy
Copy link
Contributor

Thanks!

@solarkennedy solarkennedy merged commit 1b95c80 into thefactory:master Jul 19, 2016
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

Successfully merging this pull request may close these issues.

2 participants