Grist/Pygrister/Gry API list.¶
This is a list of all the documented Grist APIs, as they are mapped in the Pygrister library and Gry command line tool.
Service Accounts¶
Grist:
GET /service-accountsPygrister:
GristApi.list_service_accountsGry:
gry sacc list
Grist:
POST /service-accountsPygrister:
GristApi.add_service_accountGry:
gry sacc add
Grist:
GET /service-accounts/{saId}Pygrister:
GristApi.see_service_accountGry:
gry sacc see
Grist:
PATCH /service-accounts/{saId}Pygrister:
GristApi.update_service_accountGry:
gry sacc update
Grist:
DELETE /service-accounts/{saId}Pygrister:
GristApi.delete_service_accountGry:
gry sacc delete
Grist:
POST /service-accounts/{saId}/apikeyPygrister:
GristApi.update_service_account_keyGry:
gry sacc new-key
Grist:
DELETE /service-accounts/{saId}/apikeyPygrister:
GristApi.delete_service_account_keyGry:
gry sacc delete-key
Users and SCIM¶
Grist:
GET /scim/v2/Users/{userId}Pygrister:
GristApi.see_userGry:
gry user see
Grist:
GET /scim/v2/MePygrister:
GristApi.see_myselfGry:
gry user me
Grist:
GET /scim/v2/UsersPygrister:
GristApi.list_users,GristApi.list_users_rawGry:
gry user list
Grist:
POST /scim/v2/UsersPygrister:
GristApi.add_userGry:
gry user new
Grist:
PUT /scim/v2/Users/{userId}Pygrister:
GristApi.update_user_overrideGry:
NONE
Grist:
PATCH /scim/v2/Users/{userId}Pygrister:
GristApi.update_userGry:
gry user update
Grist:
DELETE /scim/v2/Users/{userId}Pygrister:
GristApi.delete_userGry:
gry user delete
Grist:
DELETE /users/{userId}Pygrister:
GristApi.delete_myself(only as a stub)Gry: not implemented
Grist:
POST /users/{userId}/enable|disablePygrister:
GristApi.enable_userGry:
gry user enable
Grist:
POST /scim/v2/Users/.searchPygrister:
GristApi.search_users,GristApi.search_users_rawGry: not implemented
Grist:
POST /scim/v2/BulkPygrister:
GristApi.bulk_usersGry: not implemented
Grist:
GET /scim/v2/SchemasPygrister:
GristApi.see_scim_schemasGry:
gry scim schemas
Grist:
GET /scim/v2/ServiceProviderConfigPygrister:
GristApi.see_scim_configGry:
gry scim config
Grist:
GET /scim/v2/ResourceTypesPygrister:
GristApi.see_scim_resourcesGry:
gry scim resources
Groups (Scim)¶
Grist:
GET /scim/v2/GroupsPygrister:
GristApi.list_groups_raw,GristApi.list_groupsGry:
gry group list
Grist:
POST /scim/v2/GroupsPygrister:
GristApi.add_groupGry:
gry group new
Grist:
GET /scim/v2/Groups/{groupId}Pygrister:
GristApi.see_groupGry:
gry group see
Grist:
PUT /scim/v2/Groups/{groupId}Pygrister:
GristApi.update_group_overrideGry: not implemented
Grist:
PATCH /scim/v2/Groups/{groupId}Pygrister:
GristApi.update_groupGry:
gry group update
Grist:
DELETE /scim/v2/Groups/{groupId}Pygrister:
GristApi.delete_groupGry:
gry group delete
Grist:
POST /scim/v2/Groups/.searchPygrister:
GristApi.search_groups,GristApi.search_groups_rawGry: not implemented
Roles (Scim)¶
Grist:
GET /scim/v2/RolesPygrister:
GristApi.list_roles_raw,GristApi.list_rolesGry:
gry role list
Grist:
GET /scim/v2/Roles/{roleId}Pygrister:
GristApi.see_roleGry:
gry role see
Grist:
PUT /scim/v2/Roles/{roleId}Pygrister:
GristApi.update_role_overrideGry: not implemented
Grist:
PATCH /scim/v2/Roles/{roleId}Pygrister:
GristApi.update_roleGry:
gry role update
Active user, session, api key¶
Grist:
GET /profile/userPygrister:
GristApi.see_profileGry:
gry cuser see
Grist:
POST /profile/user/namePygrister:
GristApi.update_profile_nameGry:
gry cuser update --name
Grist:
POST /profile/user/localePygrister:
GristApi.update_profile_localeGry:
gry cuser update --locale
Grist:
GET /profile/apikeyPygrister:
GristApi.see_apikeyGry:
gry cuser apikey
Grist:
POST /profile/apikeyPygrister:
GristApi.new_apikeyGry:
gry cuser apikey --new
Grist:
DELETE /profile/apikeyPygrister:
GristApi.delete_apikeyGry:
gry cuser del-apikey
Grist:
GET /session/access/activePygrister:
GristApi.see_sessionGry:
gry cuser session
Grist:
POST /session/access/activePygrister:
GristApi.update_session_userGry:
gry cuser set-active
Grist:
GET /session/access/allPygrister:
GristApi.see_session_usersGry:
gry cuser users
Teams (organisations)¶
Grist:
GET /orgsPygrister:
GristApi.list_team_sitesGry:
gry team list
Grist:
GET /orgs/{orgId}Pygrister:
GristApi.see_teamGry:
gry team see
Grist:
GET /orgs/{orgId}/usagePygrister:
GristApi.see_team_usageGry:
gry team usage
Grist:
DELETE /orgs/{orgId}/{name}(old:DELETE /orgs/{orgId})Pygrister:
GristApi.delete_team(old:GristApi.delete_team_old)Gry:
gry team delete
Grist:
PATCH /orgs/{orgId}Pygrister:
GristApi.update_teamGry:
gry team update
Grist:
GET /orgs/{orgId}/accessPygrister:
GristApi.list_team_usersGry:
gry team users
Grist:
PATCH /orgs/{orgId}/accessPygrister:
GristApi.update_team_usersGry:
gry team user-access
Grist:
GET orgs/{orgId}/workspacesPygrister:
GristApi.list_workspacesGry:
gry ws list
Grist:
POST orgs/{orgId}/workspacesPygrister:
GristApi.add_workspaceGry:
gry ws new
Workspaces¶
Grist:
GET /workspaces/{workspaceId}Pygrister: ``GristApi.see_workspace ``
Gry:
gry ws see
Grist:
PATCH /workspaces/{workspaceId}Pygrister:
GristApi.update_workspaceGry:
gry ws update
Grist:
DELETE /workspaces/{workspaceId}Pygrister:
GristApi.delete_workspaceGry:
gry ws delete
Grist:
POST /workspaces/{workspaceId}/remove|unremovePygrister:
GristApi.trash_workspaceGry:
gry ws trash
Grist:
GET /workspaces/{workspaceId}/accessPygrister:
GristApi.list_workspace_usersGry:
gry ws users
Grist:
PATCH /workspaces/{workspaceId}/accessPygrister:
GristApi.update_workspace_usersGry:
gry ws user-access
Grist:
POST /workspaces/{workspaceId}/docsPygrister:
GristApi.add_docGry:
gry doc new
Documents¶
Grist:
GET /docs/{docId}Pygrister:
GristApi.see_docGry:
gry doc see
Grist:
PATCH /docs/{docId}Pygrister:
GristApi.update_docGry:
gry doc update
Grist:
DELETE /docs/{docId}Pygrister:
GristApi.delete_docGry:
gry doc delete
Grist:
POST /docs/{docId}/remove|unremovePygrister:
GristApi.trash_docGry:
gry doc trash
Grist:
PATCH /docs/{docId}/movePygrister:
GristApi.move_docGry:
gry doc move
Grist:
POST /docs/{docId}/copyPygrister:
GristApi.copy_docGry:
gry doc copy
Grist:
POST /docs/{docId}/replacePygrister:
GristApi.replace_docGry:
gry doc replace
Grist:
POST /docs/{docId}/enable|disablePygrister:
GristApi.enable_docGry:
gry doc enable
Grist:
PATCH /docs/{docId}/pin|unpinPygrister:
GristApi.pin_docGry:
gry doc pin
Grist:
GET /docs/{docId}/accessPygrister:
GristApi.list_doc_usersGry:
gry doc users
Grist:
GET /docs/{docId}/usersForViewAsPygrister:
GristApi.list_viewas_usersGry:
gry doc user-as
Grist:
PATCH /docs/{docId}/accessPygrister:
GristApi.update_doc_usersGry:
gry doc user-access
Grist:
GET /docs/{docId}/downloadPygrister:
GristApi.download_sqliteGry:
gry doc download
Grist:
POST /workspaces/{workspaceId}/importPygrister:
GristApi.upload_sqliteGry:
gry doc upload
Grist:
GET /docs/{docId}/statesPygrister:
GristApi.list_doc_historyGry:
gry doc history
Grist:
POST /docs/{docId}/states/removePygrister:
GristApi.delete_doc_historyGry:
gry doc purge-history
Grist:
GET /docs/{docId}/comparePygrister:
GristApi.compare_doc_historyGry:
gry doc comp-history
Grist:
POST /docs/{docId}/forkPygrister:
GristApi.fork_docGry:
gry doc fork
Grist:
GET /docs/{docId}/compare/{docId2}Pygrister:
GristApi.compare_docsGry:
gry doc compare
Grist:
GET /docs/{docId}/proposalsPygrister:
GristApi.list_proposalsGry:
gry doc proposals
Grist:
POST /docs/{docId}/proposePygrister:
GristApi.add_proposalGry:
gry doc propose
Grist:
POST /docs/{docId}/proposals/{proposalId}/applyPygrister:
GristApi.apply_proposalGry:
gry doc apply-propose
Grist:
POST /docs/{docId}/force-reloadPygrister:
GristApi.reload_docGry:
gry doc reload
Grist:
POST /docs/{docId}/flushPygrister:
GristApi.flush_docGry:
gry doc flush
Grist:
POST /docs/{docId}/assignPygrister:
GristApi.assign_docGry:
gry doc assign
Grist:
POST /docs/{docId}/recoverPygrister:
GristApi.set_recovery_modeGry:
gry doc recovery
Grist:
GET /docs/{docId}/snapshotsPygrister:
GristApi.list_snapshotsGry:
gry doc snapshots
Grist:
POST /docs/{docId}/snapshots/removePygrister:
GristApi.delete_snapshotsGry:
gry doc del-snapshots
Grist:
GET /docs/{docId}/timingPygrister:
GristApi.see_timingGry:
gry doc timing
Grist:
POST /docs/{docId}/timing/startPygrister:
GristApi.start_timingGry:
gry doc timing --start
Grist:
POST /docs/{docId}/timing/stopPygrister:
GristApi.stop_timingGry:
gry doc timing --stop
Grist:
POST /docsPygrister: not implemented
Gry: not implemented
Grist:
POST /docs/{docId}/applyPygrister: not implemented
Gry: not implemented
Tables¶
Grist:
GET /docs/{docId}/tablesPygrister:
GristApi.list_tablesGry:
gry table list
Grist:
POST /docs/{docId}/tablesPygrister:
GristApi.add_tablesGry:
gry table new
Grist:
PATCH /docs/{docId}/tablesPygrister:
GristApi.update_tablesGry:
gry table update
Grist:
GET /docs/{docId}/download/xlsx|csv|tsv|dsvPygrister:
GristApi.download_tableGry:
gry table download -o xlsx|csv|tsv|dsv
Grist:
GET /docs/{docId}/download/table-schemaPygrister:
GristApi.download_schemaGry:
gry table download -o schema
Columns¶
Grist:
GET /docs/{docId}/tables/{tableId}/columnsPygrister:
GristApi.list_colsGry:
gry col list
Grist:
POST /docs/{docId}/tables/{tableId}/columnsPygrister:
GristApi.add_colsGry:
gry col new
Grist:
PATCH /docs/{docId}/tables/{tableId}/columnsPygrister:
GristApi.update_colsGry:
gry col update
Grist:
PUT /docs/{docId}/tables/{tableId}/columnsPygrister:
GristApi.add_update_colsGry: not implemented
Grist:
DELETE /docs/{docId}/tables/{tableId}/columns/{colId}Pygrister:
GristApi.delete_columnGry:
gry col delete
Records¶
Grist:
GET /docs/{docId}/tables/{tableId}/recordsPygrister:
GristApi.list_recordsGry:
gry rec list
Grist:
POST /docs/{docId}/tables/{tableId}/recordsPygrister:
GristApi.add_recordsGry:
gry rec new
Grist:
PATCH /docs/{docId}/tables/{tableId}/recordsPygrister:
GristApi.update_recordsGry:
gry rec update
Grist:
PUT /docs/{docId}/tables/{tableId}/recordsPygrister:
GristApi.add_update_recordsGry: not implemented
Grist:
POST /docs/{docId}/tables/{tableId}/data/deletePygrister:
GristApi.delete_rowsGry:
gry rec delete
Attachments¶
Grist:
GET /docs/{docId}/attachmentsPygrister:
GristApi.list_attachmentsGry:
gry att list
Grist:
POST /docs/{docId}/attachmentsPygrister:
GristApi.upload_attachmentsGry:
gry att upload
Grist:
GET /docs/{docId}/attachments/{attachmentId}Pygrister:
GristApi.see_attachmentGry:
gry att see
Grist:
GET /docs/{docId}/attachments/{attachmentId}/downloadPygrister:
GristApi.download_attachmentGry:
gry att download
Grist:
GET /docs/{docId}/attachments/archivePygrister:
GristApi.download_attachmentsGry:
gry att backup
Grist:
POST /docs/{docId}/attachments/archivePygrister:
GristApi.upload_restore_attachmentsGry:
gry att restore
Grist:
POST /docs/{docId}/attachments/removeUnusedPygrister:
GristApi.delete_unused_attachmentsGry:
gry att purge
Grist:
GET /docs/{docId}/attachments/storePygrister:
GristApi.see_attachment_storeGry:
gry att store
Grist:
POST /docs/{docId}/attachments/storePygrister:
GristApi.update_attachment_storeGry:
gry att set-store
Grist:
GET /docs/{docId}/attachments/storesPygrister:
GristApi.list_store_settingsGry:
gry att store-settings
Grist:
POST /docs/{docId}/attachments/transferAllPygrister:
GristApi.transfer_attachmentsGry:
gry att transfer
Grist:
GET /docs/{docId}/attachments/transferStatusPygrister:
GristApi.see_transfer_statusGry:
gry att transfer-status
Grist:
POST /docs/{docId}/attachments/updateUsedPygrister:
GristApi.verify_attachment_usageGry:
gry att verify-usage
Grist:
POST /docs/{docId}/attachments/verifyFilesPygrister:
GristApi.verify_attachment_filesGry:
gry att verify-files
Webhooks¶
Grist:
GET /docs/{docId}/webhooksPygrister:
GristApi.list_webhooksGry:
gry hook list
Grist:
POST /docs/{docId}/webhooksPygrister:
GristApi.add_webhooksGry:
gry hook new
Grist:
PATCH /docs/{docId}/webhooks/{webhookId}Pygrister:
GristApi.update_webhookGry:
gry hook update
Grist:
DELETE /docs/{docId}/webhooks/{webhookId}Pygrister:
GristApi.delete_webhookGry:
gry hook delete
Grist:
DELETE /docs/{docId}/webhooks/queuePygrister:
GristApi.empty_payloads_queueGry:
gry hook empty-queue
Grist:
DELETE /docs/{docId}/webhooks/queue/{webhookId}Pygrister:
GristApi.empty_payloads_queueGry:
gry hook empty-queue --hook
Templates¶
Grist:
GET /templatesPygrister:
GristApi.list_templatesGry:
gry template list
Grist:
GET /templates/{templateId}Pygrister:
GristApi.see_templateGry:
gry template see
Widgets and Forms¶
Grist:
GET /widgetsPygrister:
GristApi.list_widgetsGry:
gry widget list
Grist:
GET /docs/{docId}/forms/{viewSectionId}Pygrister:
GristApi.see_formGry:
gry widget form
Sql¶
Grist:
GET /docs/{docId}/sqlPygrister:
GristApi.run_sqlGry:
gry sql
Grist:
POST /docs/{docId}/sqlPygrister:
GristApi.run_sql_with_argsGry:
gry sql --param
Deprecated / not implemented¶
Grist:
GET /docs/{docId}/tables/{tableId}/dataPygrister: not implemented (deprecated in Grist)
Gry: not implemented (deprecated in Grist)
Grist:
POST /docs/{docId}/tables/{tableId}/dataPygrister: not implemented (deprecated in Grist)
Gry: not implemented (deprecated in Grist)
Grist:
PATCH /docs/{docId}/tables/{tableId}/dataPygrister: not implemented (deprecated in Grist)
Gry: not implemented (deprecated in Grist)
Grist:
POST /docs/{docId}/tables/{tableId}/records/deletePygrister: not implemented (still using the old /data/delete)
Gry: not implemented (still using the old /data/delete)