Read cue points and add new cue points

Hi, what kind of API function can read existing ad code points(cue point type is ad), and then add code cue points based on the ad code points I get? I want to add code cue point one second ahead of ad cue point.

Thanks!

Jim

Hello,

Please see: https://developer.kaltura.org/recipes/ad_cue_points