The content of MindDrop.
Drops are created in one of two formats: markdown
or json
. Markdown is intended for drops which are primarily text based, such as a note. JSON is intended for drops which are not edited by the user or not text based, such as a web page bookmark.
All drops share a basic interface which can be extended to suit your extension's needs.
Property | Type | Description |
---|---|---|
id* | string | A universally unique ID. |
type* | string | The drop type. Determines which component will be used to render it. |
createdAt* | Date | Timestamp at which the drop was created. |
updatedAt* | Date | Timestamp at which the drop was last updated. Equal to the createdAt value if the drop has not been updated. |
parents* | DropParentReference[] | The references of the drop's parents, see below for details. |
tags | string[] | The IDs of the tags applied to the drop. |
markdown | string | The drop's markdown text content. |
files | string[] | The IDs of the drop's files. All files attached to the drop must be listed here. |
color | ContentColor | The drop's highlight color. See the Color page for available content colors. |
deleted | true | If true , the drop is deleted. Not present if the drop is not deleted. |
deletedAt | Date | Timestamp at which the drop was deleted. Only set ifdeleted is true . |
Property | Type | Description |
---|---|---|
type* | string | The type of parent, e.g. 'topic' |
id* | string | The ID of the parent. |