====== Passwords ====== The passwords api allows listing, creating, updating and deleting password entries. ---- [[https://git.mdns.eu/nextcloud/passwords/-/wikis/Developers/Api/Password-Api|Link to Documentation]] ---- ===== Fields ===== * id: String, R, Unencrypted, Unversioned * __//**label: String, RW, Encrypted, Versioned**//__ * __//**username: String, RW, Encrypted, Versioned**//__ * __//**password: String, RW, Encrypted, Versioned**//__ * __//**url: String, RW, Encrypted, Versioned**//__ * __//**notes: String, RW, Encrypted, Versioned**//__ * __//**customFields: String, RW, Encrypted, Versioned**//__ * //status: Integer, R, Unencrypted, Versioned// * //statusCode: String, R, Unencrypted, Versioned// * __//hash: String, RW, Unencrypted, Versioned//__ * __//folder: String, RW, Unencrypted, Versioned//__ * //revision: String R, Unencrypted, Versioned// * share: String|null, R, Unencrypted, Unversioned * shared: Boolean, R, Unencrypted, Unversoned * __//cseType: String, RW, Unencrypted, Versioned//__ * __//cseKey: String, RW, Unencrypted, Versioned//__ * //sseType: String, R, Unencrypted, Versioned// * //client: String, R, Unencrypted, Versioned// * __//hidden: Boolean, RW, Unencrypted, Versioned//__ * //trashed: Boolean, R, Unencrypted, Versioned// * __//favorite: Boolean, RW, Unencrypted, Versioned//__ * editable: Boolean, R, Unencrypted, Unversioned * __//edited: Integer, RW, Unencrpyted, Versioned//__ * created: Integer, R, Unencrypted, Unversioned * //updated: Integer, R, Unencrypted, Versioned// Bold: Encrypted, Italic: Version, Underline: RW ---- ==== Detail-Levels: ==== * model: Returns the base model * revisions: Adds the revisions property which contains all revisions. A revision consists of all properties marked as versioned and its own created property * folder: Fills the folder property with the base model of the folder. If the password is not hidden but the folder is, the base folder will be used * tags: Adds the tags property filled with the base model of all tags. Hidden tags are not included in this list if the password is not hidden * tag-ids: Adds the tags property filled with the ids of all tags. Hidden tags are not included in this list if the password is not hidden. Can not be used with +tags * shares: Adds the shares property filled with the base model of all shares with other users. Fills the share property with the base model of the original share if available ---- ==== Operations ==== * [[232|list: /api/1.0/password/list: GET]] * [[232|list: /api/1.0/password/list: POST]] * [[233|show: /api/1.0/password/show: POST]] * [[234|find: /api/1.0/password/find: POST]] * [[235|create: /api/1.0/password/create: POST]] * [[236|update: /api/1.0/password/update: PATCH]] * [[237|delete: /api/1.0/password/delete: DELETE]] * [[238|restore: /api/1.0/password/restore: PATCH]]