Skip to main content

Notes Data Model

COTNotes

Description

COTNotes represent all the data related to documents created with Cotalker's Notes tool.

Sample JSON

{
"_id": "6160da37c169e281e3b5b630",
"description": "This is a description of the notes tool",
"isActive": true,
"title": "What's New: Try Out the New Notes Tool",
"company": "58fe83eda8b7259625b9b15d",
"context": {
"task": {
"taskId": "638654d403ff9bbf5e6033c6",
"taskGroupId": "637e8bfc3fc08a000877ad06"
}
},
"createdBy": "5fa95476f617b300080254b3",
"createdAt": "2021-10-08T23:54:31.461Z",
"modifiedAt": "2021-10-14T18:07:34.836Z",
"__v": 0,
"content": "# What's New: Try Out the New Notes Tool\n\n## Build knowledge collaboratively\n\n![Notes](https://s3.amazonaws.com/cotalker-us-files-hedgedoc/uploads/upload_e8f903afdf7d7e20f0f7d9b22d043c35.png)\n\n\n\n📝 Easily create _notes_ that you can share and edit in real time with other users on the Cotalker platform. With **Notes**, users can collaborate with all sorts of information to build your company's knowledge base. \n\nThe **Notes** tool uses [markdown syntax](/docs/documentation/client/notes_markdown) to help you focus on writing the text and forget about formatting. _Notes_ can be incorporated into _tasks_, shared through hyperlinks, managed in the _Notes dashboard_, and submitted through _surveys_. Furthermore, _notes_ associated with _tasks_ are included in _search queries_, making your shared knowledge accessible to all users within your company's Cotalker platform.\n\n**Notice:** While _notes_ are fully available in _tasks_, the _Notes dashboard_ is still in its _alpha_ phase and is subject to change.\n\n-------"
}

Fields

FieldDescriptionTypeNotes
_idIndicates the documents's ObjectId by which it is identified.ObjectId<COTNote>
titleThe title of the document.string
descriptionA brief description of the note written by the document's author.string
createdByThe objectId of the user that created the document.ObjectId<COTUser>
isActiveIndicates whether the document is active or has been deleted.booleanDeleted documents are hidden from users in the platform, but they are still available through the backend.
companyThe objectId of the company where the documents were created.ObjectId<COTCompany>
createdAtThe time and date the document was created.ISODate
modifiedAtTime and date of the last modification of the document.ISODate
contextIndicates the task, and its corresponding task group, the document is associated with.object
context.taskAssociated task details.object
context.task.taskGroupIdThe objectId of the task group the document is found in.ObjectId<COTTaskGroup>
context.task.taskIdThe objectId of the task the document is found in.ObjectId<COTTask>
contentDisplays a string with the document's content in markdown format.string

Additional Resources

Help