scalar api doc example