A rebuilt version of Sites was launched on November 22, 2016. The Sites API cannot access or modify Sites made with this version, but can still access classic Sites.

Access and modify classic Google Sites content programmatically

Entire sites (classic Sites only)

Create new sites or copy existing sites

Pages, comments & other content (classic Sites only)

Retrieve, create, modify, and delete pages, attachments, and other content.

Upload and download (classic Sites only)

Upload and download attachments and files.

Sharing (classic Sites only)

Modify sharing permissions across a site

Revisions (classic Sites only)

Review the revision history across the site.