I have doubt regarding my RESTful or general API solution.
So, the case is that I need to serve same resource but in public and private manner. Meaning, that GET api/products?private=true will return products owned by current user and require authentication, and GET api/products?private=true will return all products without authentication.
I understand that this is bad practice, but would like to hear your opinion.
Thank you