mirror of
https://github.com/zadam/trilium.git
synced 2025-11-11 15:55:52 +01:00
API docs
This commit is contained in:
@@ -990,6 +990,11 @@ class FNote {
|
||||
return this.noteId.startsWith("_options");
|
||||
}
|
||||
|
||||
/**
|
||||
* Provides note's date metadata.
|
||||
*
|
||||
* @returns {Promise<{dateCreated: string, utcDateCreated: string, dateModified: string, utcDateModified: string}>}
|
||||
*/
|
||||
async getMetadata() {
|
||||
return await server.get(`notes/${this.noteId}/metadata`);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user