I've searched the farthest reaches of the internet, but I cannot find an online API for SharePoint 2010's JavaScript based Client Object Model.
Assuming with online API you mean the MSDN documentation you can find it in this MSDN article: ECMAScript Class Library.
You should search Google for "Sharepoint 2010 ECMAscript" and you will find many useful articles explaining its use.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With