Sources
Limit a connection to one folder
Changed onLimits a file store connection to one folder: browsing, importing and syncing stay inside it. An empty or null folder_id lifts the limit. Allowed to the person who connected it, or a member with the Integrations permission; a personal connection only to the person who connected it.
Scope: sources:write. A key holding only the legacy write scope does not satisfy it.
put/v1/sources/connections/{id}/root-folder
Request
- Base URLhttps://api.talonic.com
- AuthHTTP bearer
Path parameters
id, string uuid required
Example:a1b2c3d4-e5f6-7890-abcd-ef1234567890
Resource UUID.
Request body
object required
folder_id, string nullable
Folder id from GET /v1/sources/{id}/browse; empty or null lifts the limit.
name, string
Folder name to show.
Response
The connection with its folder limit.
Source Connection required
id, string uuid required
customer_id, string uuid
type, string required
Connector type, e.g. s3, gmail, google_drive, sql.
status, 'active' | 'revoked' required
name, string required
config, object
Connector settings.
sync_status, 'idle' | 'queued' | 'syncing' | 'error'
sync_error, string nullable
last_synced_at, string date-time nullable
sync_interval, 'off' | 'hourly' | 'daily' | 'weekly' | 'every_minute'
sync_scope, object nullable
document_count, integer
connected_by, string uuid nullable
The person who connected it.
created_at, string date-time
updated_at, string date-time
Changes
- info
endpoint added
- info