Constant | Type | Value |
EDAM_ATTRIBUTE_LEN_MIN | i32
| 1 |
Minimum length of any string-based attribute, in Unicode chars
|
EDAM_ATTRIBUTE_LEN_MAX | i32
| 4096 |
Maximum length of any string-based attribute, in Unicode chars
|
EDAM_ATTRIBUTE_REGEX | string
| "^[^\p{Cc}\p{Zl}\p{Zp}]{1,4096}$" |
Any string-based attribute must match the provided regular expression.
This excludes all Unicode line endings and control characters.
|
EDAM_ATTRIBUTE_LIST_MAX | i32
| 100 |
The maximum number of values that can be stored in a list-based attribute
(e.g. see UserAttributes.recentMailedAddresses)
|
EDAM_GUID_LEN_MIN | i32
| 36 |
The minimum length of a GUID generated by the Evernote service
|
EDAM_GUID_LEN_MAX | i32
| 36 |
The maximum length of a GUID generated by the Evernote service
|
EDAM_GUID_REGEX | string
| "^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$" |
GUIDs generated by the Evernote service will match the provided pattern
|
EDAM_EMAIL_LEN_MIN | i32
| 6 |
The minimum length of any email address
|
EDAM_EMAIL_LEN_MAX | i32
| 255 |
The maximum length of any email address
|
EDAM_EMAIL_LOCAL_REGEX | string
| "^[A-Za-z0-9!#$%&'*+/=?^_`{|}~-]+(\.[A-Za-z0-9!#$%&'*+/=?^_`{|}~-]+)*$" |
A regular expression that matches the part of an email address before
the '@' symbol.
|
EDAM_EMAIL_DOMAIN_REGEX | string
| "^[A-Za-z0-9-]+(\.[A-Za-z0-9-]+)*\.([A-Za-z]{2,})$" |
A regular expression that matches the part of an email address after
the '@' symbol.
|
EDAM_EMAIL_REGEX | string
| "^[A-Za-z0-9!#$%&'*+/=?^_`{|}~-]+(\.[A-Za-z0-9!#$%&'*+/=?^_`{|}~-]+)*@[A-Za-z0-9-]+(\.[A-Za-z0-9-]+)*\.([A-Za-z]{2,})$" |
A regular expression that must match any email address given to Evernote.
Email addresses must comply with RFC 2821 and 2822.
|
EDAM_TIMEZONE_LEN_MIN | i32
| 1 |
The minimum length of a timezone specification string
|
EDAM_TIMEZONE_LEN_MAX | i32
| 32 |
The maximum length of a timezone specification string
|
EDAM_TIMEZONE_REGEX | string
| "^([A-Za-z_-]+(/[A-Za-z_-]+)*)|(GMT(-|\+)[0-9]{1,2}(:[0-9]{2})?)$" |
Any timezone string given to Evernote must match the provided pattern.
This permits either a locale-based standard timezone or a GMT offset.
E.g.:
- America/Los_Angeles
- GMT+08:00
|
EDAM_MIME_LEN_MIN | i32
| 3 |
The minimum length of any MIME type string given to Evernote
|
EDAM_MIME_LEN_MAX | i32
| 255 |
The maximum length of any MIME type string given to Evernote
|
EDAM_MIME_REGEX | string
| "^[A-Za-z]+/[A-Za-z0-9._+-]+$" |
Any MIME type string given to Evernote must match the provided pattern.
E.g.: image/gif
|
EDAM_MIME_TYPE_GIF | string
| "image/gif" |
Canonical MIME type string for GIF image resources
|
EDAM_MIME_TYPE_JPEG | string
| "image/jpeg" |
Canonical MIME type string for JPEG image resources
|
EDAM_MIME_TYPE_PNG | string
| "image/png" |
Canonical MIME type string for PNG image resources
|
EDAM_MIME_TYPE_WAV | string
| "audio/wav" |
Canonical MIME type string for WAV audio resources
|
EDAM_MIME_TYPE_MP3 | string
| "audio/mpeg" |
Canonical MIME type string for MP3 audio resources
|
EDAM_MIME_TYPE_AMR | string
| "audio/amr" |
Canonical MIME type string for AMR audio resources
|
EDAM_MIME_TYPE_INK | string
| "application/vnd.evernote.ink" |
Canonical MIME type string for Evernote Ink resources
|
EDAM_MIME_TYPE_PDF | string
| "application/pdf" |
Canonical MIME type string for PDF resources
|
EDAM_MIME_TYPE_DEFAULT | string
| "application/octet-stream" |
MIME type used for file attachments for Premium accounts
|
EDAM_MIME_TYPES | set<string >
| { "image/gif", "image/jpeg", "image/png", "audio/wav", "audio/mpeg", "audio/amr", "application/vnd.evernote.ink", "application/pdf" } |
The set of allowable resource MIME types for Resources that may be stored
within the notes of any Evernote user (Free or Premium).
Resources using other MIME types are not supported for Free accounts.
|
EDAM_COMMERCE_SERVICE_GOOGLE | string
| "Google" |
Commerce Services used
|
EDAM_COMMERCE_SERVICE_PAYPAL | string
| "Paypal" |
EDAM_COMMERCE_SERVICE_GIFT | string
| "Gift" |
EDAM_COMMERCE_SERVICE_TRIALPAY | string
| "TrialPay" |
EDAM_SEARCH_QUERY_LEN_MIN | i32
| 0 |
The minimum length of a user search query string in Unicode chars
|
EDAM_SEARCH_QUERY_LEN_MAX | i32
| 1024 |
The maximum length of a user search query string in Unicode chars
|
EDAM_SEARCH_QUERY_REGEX | string
| "^[^\p{Cc}\p{Zl}\p{Zp}]{0,1024}$" |
Search queries must match the provided pattern. This is used for
both ad-hoc queries and SavedSearch.query fields.
This excludes all control characters and line/paragraph separators.
|
EDAM_HASH_LEN | i32
| 16 |
The exact length of a MD5 hash checksum, in binary bytes.
This is the exact length that must be matched for any binary hash
value.
|
EDAM_USER_USERNAME_LEN_MIN | i32
| 1 |
The minimum length of an Evernote username
|
EDAM_USER_USERNAME_LEN_MAX | i32
| 64 |
The maximum length of an Evernote username
|
EDAM_USER_USERNAME_REGEX | string
| "^[a-z0-9]([a-z0-9_-]{0,62}[a-z0-9])?$" |
Any Evernote User.username field must match this pattern. This
restricts usernames to a format that could permit use as a domain
name component. E.g. "username.whatever.evernote.com"
|
EDAM_USER_NAME_LEN_MIN | i32
| 1 |
Minimum length of the User.name field
|
EDAM_USER_NAME_LEN_MAX | i32
| 255 |
Maximum length of the User.name field
|
EDAM_USER_NAME_REGEX | string
| "^[^\p{Cc}\p{Zl}\p{Zp}]{1,255}$" |
The User.name field must match this pattern, which excludes line
endings and control characters.
|
EDAM_TAG_NAME_LEN_MIN | i32
| 1 |
The minimum length of a Tag.name, in Unicode characters
|
EDAM_TAG_NAME_LEN_MAX | i32
| 100 |
The maximum length of a Tag.name, in Unicode characters
|
EDAM_TAG_NAME_REGEX | string
| "^[^,\p{Cc}\p{Z}]([^,\p{Cc}\p{Zl}\p{Zp}]{0,98}[^,\p{Cc}\p{Z}])?$" |
All Tag.name fields must match this pattern.
This excludes control chars, commas or line/paragraph separators.
The string may not begin or end with whitespace.
|
EDAM_NOTE_TITLE_LEN_MIN | i32
| 1 |
The minimum length of a Note.title, in Unicode characters
|
EDAM_NOTE_TITLE_LEN_MAX | i32
| 255 |
The maximum length of a Note.title, in Unicode characters
|
EDAM_NOTE_TITLE_REGEX | string
| "^[^\p{Cc}\p{Z}]([^\p{Cc}\p{Zl}\p{Zp}]{0,253}[^\p{Cc}\p{Z}])?$" |
All Note.title fields must match this pattern.
This excludes control chars or line/paragraph separators.
The string may not begin or end with whitespace.
|
EDAM_NOTE_CONTENT_LEN_MIN | i32
| 0 |
Minimum length of a Note.content field.
Note.content fields must comply with the ENML DTD.
|
EDAM_NOTE_CONTENT_LEN_MAX | i32
| 5242880 |
Maximum length of a Note.content field
Note.content fields must comply with the ENML DTD.
|
EDAM_NOTEBOOK_NAME_LEN_MIN | i32
| 1 |
The minimum length of a Notebook.name, in Unicode characters
|
EDAM_NOTEBOOK_NAME_LEN_MAX | i32
| 100 |
The maximum length of a Notebook.name, in Unicode characters
|
EDAM_NOTEBOOK_NAME_REGEX | string
| "^[^\p{Cc}\p{Z}]([^\p{Cc}\p{Zl}\p{Zp}]{0,98}[^\p{Cc}\p{Z}])?$" |
All Notebook.name fields must match this pattern.
This excludes control chars or line/paragraph separators.
The string may not begin or end with whitespace.
|
EDAM_PUBLISHING_URI_LEN_MIN | i32
| 1 |
The minimum length of a public notebook URI component
|
EDAM_PUBLISHING_URI_LEN_MAX | i32
| 255 |
The maximum length of a public notebook URI component
|
EDAM_PUBLISHING_URI_REGEX | string
| "^[a-zA-Z0-9.~_+-]{1,255}$" |
A public notebook URI component must match the provided pattern
|
EDAM_PUBLISHING_URI_PROHIBITED | set<string >
| { ".." } |
The set of strings that may not be used as a publishing URI
|
EDAM_PUBLISHING_DESCRIPTION_LEN_MIN | i32
| 1 |
The minimum length of a Publishing.publicDescription field.
|
EDAM_PUBLISHING_DESCRIPTION_LEN_MAX | i32
| 200 |
The maximum length of a Publishing.publicDescription field.
|
EDAM_PUBLISHING_DESCRIPTION_REGEX | string
| "^[^\p{Cc}\p{Z}]([^\p{Cc}\p{Zl}\p{Zp}]{0,198}[^\p{Cc}\p{Z}])?$" |
Any public notebook's Publishing.publicDescription field must match
this pattern.
No control chars or line/paragraph separators, and can't start or
end with whitespace.
|
EDAM_SAVED_SEARCH_NAME_LEN_MIN | i32
| 1 |
The minimum length of a SavedSearch.name field
|
EDAM_SAVED_SEARCH_NAME_LEN_MAX | i32
| 100 |
The maximum length of a SavedSearch.name field
|
EDAM_SAVED_SEARCH_NAME_REGEX | string
| "^[^\p{Cc}\p{Z}]([^\p{Cc}\p{Zl}\p{Zp}]{0,98}[^\p{Cc}\p{Z}])?$" |
SavedSearch.name fields must match this pattern.
No control chars or line/paragraph separators, and can't start or
end with whitespace.
|
EDAM_USER_PASSWORD_LEN_MIN | i32
| 6 |
The minimum length of an Evernote user password
|
EDAM_USER_PASSWORD_LEN_MAX | i32
| 64 |
The maximum length of an Evernote user password
|
EDAM_USER_PASSWORD_REGEX | string
| "^[A-Za-z0-9!#$%&'()*+,./:;<=>?@^_`{|}~\[\]\\-]{6,64}$" |
Evernote user passwords must match this regular expression
|
EDAM_NOTE_TAGS_MAX | i32
| 100 |
The maximum number of Tags per Note
|
EDAM_NOTE_RESOURCES_MAX | i32
| 1000 |
The maximum number of Resources per Note
|
EDAM_USER_TAGS_MAX | i32
| 100000 |
Maximum number of Tags per account
|
EDAM_USER_SAVED_SEARCHES_MAX | i32
| 100 |
Maximum number of SavedSearches per account
|
EDAM_USER_NOTES_MAX | i32
| 100000 |
Maximum number of Notes per user
|
EDAM_USER_NOTEBOOKS_MAX | i32
| 100 |
Maximum number of Notebooks per user
|
EDAM_USER_RECENT_MAILED_ADDRESSES_MAX | i32
| 10 |
Maximum number of recent email addresses that are maintained
(see UserAttributes.recentMailedAddresses)
|
EDAM_USER_MAIL_LIMIT_DAILY_FREE | i32
| 50 |
The number of emails of any type that can be sent by a user with a Free
account from the service per day. If an email is sent to two different
recipients, this counts as two emails.
|
EDAM_USER_MAIL_LIMIT_DAILY_PREMIUM | i32
| 200 |
The number of emails of any type that can be sent by a user with a Premium
account from the service per day. If an email is sent to two different
recipients, this counts as two emails.
|
EDAM_NOTE_SIZE_MAX_FREE | i32
| 26214400 |
Maximum total size of a Note that can be added to a Free account.
The size of a note is calculated as:
ENML content length (in Unicode characters) plus the sum of all resource
sizes (in bytes).
|
EDAM_NOTE_SIZE_MAX_PREMIUM | i32
| 52428800 |
Maximum total size of a Note that can be added to a Premium account.
The size of a note is calculated as:
ENML content length (in Unicode characters) plus the sum of all resource
sizes (in bytes).
|
EDAM_RESOURCE_SIZE_MAX_FREE | i32
| 26214400 |
Maximum size of a resource, in bytes, for Free accounts
|
EDAM_RESOURCE_SIZE_MAX_PREMIUM | i32
| 52428800 |
Maximum size of a resource, in bytes, for Premium accounts
|
EDAM_USER_LINKED_NOTEBOOK_MAX | i32
| 100 |
Maximum number of linked notebooks per account
|
EDAM_NOTEBOOK_SHARED_NOTEBOOK_MAX | i32
| 100 |
Maximum number of shared notebooks per notebook
|