-
Notifications
You must be signed in to change notification settings - Fork 0
Closed
Description
Context
The Google Docs API only has 3 REST methods: get, create, and batchUpdate. gws docs already wraps all three — batchUpdate is used under the hood for append, insert, replace, delete, format, set-paragraph-style, add-list, remove-list, and add-table.
Status: Near-parity
Covered (all 3 API methods)
| API Method | gws commands |
|---|---|
documents.get |
docs read, docs info |
documents.create |
docs create |
documents.batchUpdate |
docs append, docs insert, docs replace, docs delete, docs format, docs set-paragraph-style, docs add-list, docs remove-list, docs add-table |
Potential additions (higher-level wrappers)
These are not new API methods, but useful CLI convenience commands built on batchUpdate:
| Command | Description |
|---|---|
docs add-header |
Insert header/footer |
docs add-page-break |
Insert page break |
docs add-section-break |
Insert section break |
docs update-table-cell |
Modify table cell content |
docs add-inline-image |
Insert image by URL |
These can be added as needed. Docs is effectively at full API parity already.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels