Files
OpenArchiver/docs/api/users.md
Wei S. e5e119528f V0.5.0 release (#335)
* adding exports to backend package, page icons update

* Integrity report PDF generation

* Fixed inline attachment images not displaying in the email preview by modifying `EmailPreview.svelte`.
The email HTML references embedded images via `cid:` URIs (e.g., `src="cid:ii_19c6d5f8d5eee7bd6d91"`), but the component never resolved those `cid:` references to actual image data, even though `postal-mime` already parses inline attachments with their `contentId` and binary `content`.
The `emailHtml` derived value now calls `resolveContentIdReferences()` before rendering, so inline/embedded images display correctly in the iframe preview.

* feat: strip non-inline attachments from EML before storage

Add nodemailer dependency and emlUtils helper to remove non-inline
attachments from .eml buffers during ingestion. This avoids
double-storing attachment data since attachments are already stored
separately.

* upload error handing for file based ingestion

* Use Postgres for sync session management

* Google workspace / MS 365 duplicate check, avoid extra API call when previous ingestion fails

* OpenAPI specs for API docs

* code formatting

* ran duplicate check for IMAP import, optimize message listing

* Version update
2026-03-20 13:14:41 +01:00

40 lines
651 B
Markdown

---
aside: false
---
# Users API
Manage user accounts. Creating, updating, and deleting users requires Super Admin (`manage:all`) permission.
## List All Users
<OAOperation operationId="getUsers" />
## Create a User
<OAOperation operationId="createUser" />
## Get a User
<OAOperation operationId="getUser" />
## Update a User
<OAOperation operationId="updateUser" />
## Delete a User
<OAOperation operationId="deleteUser" />
## Get Current User Profile
<OAOperation operationId="getProfile" />
## Update Current User Profile
<OAOperation operationId="updateProfile" />
## Update Password
<OAOperation operationId="updatePassword" />