begin of api for content