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

Add additional parameters to "/list" REST endpoint to filter templates #436

Open
samsonbek opened this issue Jun 2, 2018 · 3 comments
Open

Comments

@samsonbek
Copy link
Member

samsonbek commented Jun 2, 2018

  • version parameter, possible values could be: all, latest. To filter only latest versions of templates.
    Example /list?version=latest

  • another param to filter only templates, which can be selected by user to build containers. Templates like management must be excluded by this parameter.

@crioto crioto added this to the June 4 - June 11 milestone Jun 4, 2018
@azretkenzhaliev azretkenzhaliev self-assigned this Jun 4, 2018
crioto added a commit that referenced this issue Jun 4, 2018
#436 enhancement, removed garbage-cleaning from code, bugfix in garbage-cleaning app
@azretkenzhaliev
Copy link
Contributor

azretkenzhaliev commented Jun 4, 2018

Done in dev. Waiting for the actions from bazaar side.

@azretkenzhaliev
Copy link
Contributor

To test it use the new parameter in ../list endpoint:

https://mastercdn.subutai.io:8338/kurjun/rest/raw/list?version=latest
https://mastercdn.subutai.io:8338/kurjun/rest/template/list?version=latest
https://mastercdn.subutai.io:8338/kurjun/rest/apt/list?version=latest

Should show only latest-version files among those with similar names and owners. I.e. one unique latest-version file per user with each name. If you will have questions ping me.

@ibragim13kz
Copy link

Done in Master.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants