Objects
SourceCreate
Fields
kindstringSource kind (see SourceKind); with an organization API key, only
custom.Default: "gdrive"
namestringrequiredlength ≥ 1, length ≤ 120
collectionstringName of the source's collection; you can pass
collection_idinstead (since 1.62.0).length ≥ 1, length ≤ 64
collection_idintegerCollection of the source by ID (since 1.62.0); if both are passed,
collection_idwins.permissions_modestringPermission mode of the source's cards (since 1.62.0, as in
update_source_settings):ownuses the collection's permissions,mirrortakes them from the document (permissions). Choosingmirrorrequires the right to manage the collection's permissions.Allowed values:
ownmirrordefault_owner_idinteger | nullverify_interval_daysintegerDefault: 90≥ 1, ≤ 3650
tagsarray of stringDefault: []
default_categorystring | nullrootsarray of string | nullSelected folders of the source: only items inside them become cards. For a custom source, the folder paths of documents (
Guides/Billing); for connectors, nodes of the provider's tree.folder_idstring | nullFolder in the source's collection where cards are placed (null means the collection root).
folder_modestringflatputs everything in the selected folder;mirrorcreates folders that repeat the item's path in the source, no deeper than the folder nesting limit (3 levels; deeper items go to the nearest folder).Allowed values:
flatmirrorDefault: "flat"