kinda rest api for occ