subutai-io / cdn

Gorjun is a golang replacement for Kurjun project.
Apache License 2.0
19 stars 13 forks source link

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

Open samsonbek opened 6 years ago

samsonbek commented 6 years ago
azretkenzhaliev commented 6 years ago

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

azretkenzhaliev commented 6 years ago

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 commented 6 years ago

Done in Master.