Using wildcard for things like ID or Ref in the API

Is it possible to utilize a wildcard such as *, ^ or % in the API where the ID or Ref required fields are?

For example, I want to call /products/attributes/{id}/values like /products/attributes/*/values to grab all product attribute values. This would be easier than writing a for loop to go through each ID on the server making the API call.

I have a feeling this will require a sql query or creating a custom API