API-Rest directory listing