Is it stupid to have a REST API return a different ⓣ

By David E. Wheeler

Is it stupid to have a REST API return a different JSON structure based on the value of a query parameter?