sources.sync(id)): new and
changed records are written, and records deleted in the app are deleted.
Each record becomes one document:
id:<source id>:<schema>:<record key>, for examplesrc_1a2b3c:contacts:1042, so two sources in one namespace never overwrite each othertext: the record as readable textmetadata:source(the app),source_id,schema, and useful fields such as title, url, author and dates
schema or source_id.
Connect an app
connectUrl is a hosted page where the person who owns the app account signs in. It works for
7 days. After that they return to redirectUrl and the first sync starts.
sources.types() (GET /sources/types) lists the apps you can connect and the type to pass.
Connect your users’ apps
To give each user of your app search over their own apps, connect each user’s apps into that user’s namespace:Manage sources
deleteDocuments: true.
You can also connect, watch and disconnect sources in the console.