zalando-stups / kio

The application registry in the STUPS ecosystem
http://docs.stups.io/en/latest/components/kio.html
Other
23 stars 11 forks source link

Allow /apps to be filtered by team #46

Closed prayerslayer closed 8 years ago

prayerslayer commented 8 years ago

This would help for zalando-stups/yourturn#386 and general curl usage.

lotharschulz commented 8 years ago

+1

so far a workaround to get all items per team could be:

curl --header "Authorization: Bearer [myToken]"  https://kio.stups.zalan.do/apps | jq '.[] | select(.team_id == "[teamid]")'
hjacobs commented 8 years ago

:+1: obviously I would expect the /apps endpoint to accept "any" application field to filter by (or at least all fields which are indexed in the database).