I really love the new Google Sites!
Is there a way to Publish Sites through an API? It's great that we can create and share new Google Sites using the Google Drive API, but I can't see a way to publish a site using the API yet.
Is this feature available, or is there a plan to expose some functionality of the new Google Sites through an API?
The feature for Publishing Website is deprecated through Drive API. However, you can use Google Sites API which allows client application to access and modify Google Site data using Google Data API feeds. Using the API, applications can create and modify the content of a Google Site, upload and download attachments, review the revision history across a Site, and display recent user activity.
There is a single supported version of the Sites Data API. The documentation includes a guide for each supported way to use the API:
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