#31 API: implemented contents API service