getcahoots / api

The RESTful API
http://cahoots.pw
MIT License
1 stars 0 forks source link

api: ids query parameter will be ignored when only one id has been passed #16

Closed akoenig closed 9 years ago

akoenig commented 9 years ago

The /organizations resource returns all organizations when passing only one id as ids parameter. Example:

GET https://api.cahoots.pw/v1/organizations?ids=30a45eaeae3f2aada0d92a9c9fa49d4fe1787a27

should be handled equivalent to

GET https://api.cahoots.pw/v1/organizations/30a45eaeae3f2aada0d92a9c9fa49d4fe1787a27

akoenig commented 9 years ago

Landed in 5d09b6f