Type Definitions
CreateNoteAttribute
Type:
- object
 
Properties:
| Name | Type | Attributes | Description | 
|---|---|---|---|
type | 
            
            string | attribute type - label, relation etc. | |
name | 
            
            string | attribute name | |
value | 
            
            string | 
                
                    <optional> | 
            
            
            attribute value | 
- Source:
 
CreateNoteExtraOptions
Type:
- object
 
Properties:
| Name | Type | Attributes | Default | Description | 
|---|---|---|---|---|
json | 
            
            boolean | 
                
                    <optional> | 
            
            
                false | should the note be JSON | 
isProtected | 
            
            boolean | 
                
                    <optional> | 
            
            
                false | should the note be protected | 
type | 
            
            string | 
                
                    <optional> | 
            
            
                'text' | note type | 
mime | 
            
            string | 
                
                    <optional> | 
            
            
                'text/html' | MIME type of the note | 
attributes | 
            
            Array.<CreateNoteAttribute> | 
                
                    <optional> | 
            
            
                [] | attributes to be created for this note | 
- Source: