add rest api for content categories