How can i update the configuration changes to CDB from application?

Dear Team,

I understood the data flow and its usage from the client(netconf, cli, etc.,) to cdb and cdb to application.
Now, i would like to know, how to update the configuration changes directly to cdb from the application code.

With reference to this link, Is the usage of MAAPI api correct to update cdb for the standard yang schema for the mentioned case.
If not, which api supposed to be used.

Thanks in advance.

Yes, you can use the MAAPI API to update configuration data in CDB. In addition to your link, you can also find another example of how to make use of MAAPI at $CONFD_DIR/examples.confd/misc/maapi_cli. This example shows you how you can use MAAPI to build a small proprietary trivial CLI application.