Using a “me” alias in API design hides the value of the identifier.
GET /customers/me/accounts
I can see how this maintains the collection relations and can still allow specific ids to be used in the case where an “admin” user would be able to use a specific customer ID to see their accounts if they called in to a customer representative.
GET /customers/{customer-provided-to-rep-id}/accounts
I realize this adds a bit of complexity to caching and logging.
Is this considered bad API design and an artifact of days gone by?