Sync jobs
Create sync job source
Changed onCreate a reusable IMAP sync source. A sync job binds to a source by id; the source carries host/port/encryption and either static credentials (PLAIN/LOGIN/CRAM-MD5 — the password is supplied per job) or an OAuth2 configuration (XOAUTH2). Requires the syncjobs ACL. Validation errors are returned as translated danger messages, nothing is written then.
post/api/v1/add/syncjob_source
Request
- Base URL/ (relative, and the document was published on a file host, not at the API’s origin)
- AuthAPI key in header X-API-Key
Request body
Example request
{
"name": "Example import",
"description": "",
"host": "imap.example.org",
"port": "993",
"enc": "SSL",
"auth_type": "PLAIN",
"active": "1",
"scope": "domain",
"domains": [
"example.org"
]
}Response
OK
Changes
- info
added the new optional request property
- info
- info
endpoint added
- info