Made example endpoint generic