adding get api for content resource