Thrift module: Limits

Module Services Data types Constants
Limits EDAM_APPLICATIONDATA_ENTRY_LEN_MAX
EDAM_APPLICATIONDATA_NAME_LEN_MAX
EDAM_APPLICATIONDATA_NAME_LEN_MIN
EDAM_APPLICATIONDATA_NAME_REGEX
EDAM_APPLICATIONDATA_VALUE_LEN_MAX
EDAM_APPLICATIONDATA_VALUE_LEN_MIN
EDAM_APPLICATIONDATA_VALUE_REGEX
EDAM_APP_RATING_MAX
EDAM_APP_RATING_MIN
EDAM_ATTRIBUTE_LEN_MAX
EDAM_ATTRIBUTE_LEN_MIN
EDAM_ATTRIBUTE_LIST_MAX
EDAM_ATTRIBUTE_MAP_MAX
EDAM_ATTRIBUTE_REGEX
EDAM_BUSINESS_MARKETING_CODE_REGEX_PATTERN
EDAM_BUSINESS_NOTEBOOKS_MAX
EDAM_BUSINESS_NOTEBOOK_DESCRIPTION_LEN_MAX
EDAM_BUSINESS_NOTEBOOK_DESCRIPTION_LEN_MIN
EDAM_BUSINESS_NOTEBOOK_DESCRIPTION_REGEX
EDAM_BUSINESS_NOTES_MAX
EDAM_BUSINESS_PHONE_NUMBER_LEN_MAX
EDAM_BUSINESS_TAGS_MAX
EDAM_BUSINESS_URI_LEN_MAX
EDAM_CONNECTED_IDENTITY_REQUEST_MAX
EDAM_CONTENT_CLASS_FOOD_MEAL
EDAM_CONTENT_CLASS_HELLO_ENCOUNTER
EDAM_CONTENT_CLASS_HELLO_PROFILE
EDAM_CONTENT_CLASS_PENULTIMATE_NOTEBOOK
EDAM_CONTENT_CLASS_PENULTIMATE_PREFIX
EDAM_CONTENT_CLASS_SKITCH
EDAM_CONTENT_CLASS_SKITCH_PDF
EDAM_CONTENT_CLASS_SKITCH_PREFIX
EDAM_DEVICE_DESCRIPTION_LEN_MAX
EDAM_DEVICE_DESCRIPTION_REGEX
EDAM_DEVICE_ID_LEN_MAX
EDAM_DEVICE_ID_REGEX
EDAM_EMAIL_DOMAIN_REGEX
EDAM_EMAIL_LEN_MAX
EDAM_EMAIL_LEN_MIN
EDAM_EMAIL_LOCAL_REGEX
EDAM_EMAIL_REGEX
EDAM_FIND_CONTACT_DEFAULT_MAX_RESULTS
EDAM_FIND_CONTACT_MAX_RESULTS
EDAM_FOOD_APP_CONTENT_CLASS_PREFIX
EDAM_GET_ORDERS_MAX_RESULTS
EDAM_GUID_LEN_MAX
EDAM_GUID_LEN_MIN
EDAM_GUID_REGEX
EDAM_HASH_LEN
EDAM_HELLO_APP_CONTENT_CLASS_PREFIX
EDAM_INDEXABLE_PLAINTEXT_MIME_TYPES
EDAM_INDEXABLE_RESOURCE_MIME_TYPES
EDAM_MAX_PREFERENCES
EDAM_MAX_VALUES_PER_PREFERENCE
EDAM_MESSAGE_ATTACHMENTS_MAX
EDAM_MESSAGE_ATTACHMENT_SNIPPET_LEN_MAX
EDAM_MESSAGE_ATTACHMENT_SNIPPET_REGEX
EDAM_MESSAGE_ATTACHMENT_TITLE_LEN_MAX
EDAM_MESSAGE_ATTACHMENT_TITLE_REGEX
EDAM_MESSAGE_BODY_LEN_MAX
EDAM_MESSAGE_BODY_REGEX
EDAM_MESSAGE_RECIPIENTS_MAX
EDAM_MIME_LEN_MAX
EDAM_MIME_LEN_MIN
EDAM_MIME_REGEX
EDAM_MIME_TYPES
EDAM_MIME_TYPE_AAC
EDAM_MIME_TYPE_AMR
EDAM_MIME_TYPE_DEFAULT
EDAM_MIME_TYPE_GIF
EDAM_MIME_TYPE_INK
EDAM_MIME_TYPE_JPEG
EDAM_MIME_TYPE_M4A
EDAM_MIME_TYPE_MP3
EDAM_MIME_TYPE_MP4_VIDEO
EDAM_MIME_TYPE_PDF
EDAM_MIME_TYPE_PNG
EDAM_MIME_TYPE_TIFF
EDAM_MIME_TYPE_WAV
EDAM_NOTEBOOK_BUSINESS_SHARED_NOTEBOOK_MAX
EDAM_NOTEBOOK_NAME_LEN_MAX
EDAM_NOTEBOOK_NAME_LEN_MIN
EDAM_NOTEBOOK_NAME_REGEX
EDAM_NOTEBOOK_PERSONAL_SHARED_NOTEBOOK_MAX
EDAM_NOTEBOOK_STACK_LEN_MAX
EDAM_NOTEBOOK_STACK_LEN_MIN
EDAM_NOTEBOOK_STACK_REGEX
EDAM_NOTE_BUSINESS_SHARED_NOTE_MAX
EDAM_NOTE_CONTENT_CLASS_LEN_MAX
EDAM_NOTE_CONTENT_CLASS_LEN_MIN
EDAM_NOTE_CONTENT_CLASS_REGEX
EDAM_NOTE_CONTENT_LEN_MAX
EDAM_NOTE_CONTENT_LEN_MIN
EDAM_NOTE_LOCK_VIEWERS_NOTES_MAX
EDAM_NOTE_PERSONAL_SHARED_NOTE_MAX
EDAM_NOTE_RESOURCES_MAX
EDAM_NOTE_SIZE_MAX_FREE
EDAM_NOTE_SIZE_MAX_PREMIUM
EDAM_NOTE_TAGS_MAX
EDAM_NOTE_TITLE_LEN_MAX
EDAM_NOTE_TITLE_LEN_MIN
EDAM_NOTE_TITLE_QUALITY_HIGH
EDAM_NOTE_TITLE_QUALITY_LOW
EDAM_NOTE_TITLE_QUALITY_MEDIUM
EDAM_NOTE_TITLE_QUALITY_UNTITLED
EDAM_NOTE_TITLE_REGEX
EDAM_PREFERENCE_BUSINESS_DEFAULT_NOTEBOOK
EDAM_PREFERENCE_BUSINESS_QUICKNOTE
EDAM_PREFERENCE_NAME_LEN_MAX
EDAM_PREFERENCE_NAME_LEN_MIN
EDAM_PREFERENCE_NAME_REGEX
EDAM_PREFERENCE_ONLY_ONE_VALUE_LEN_MAX
EDAM_PREFERENCE_ONLY_ONE_VALUE_REGEX
EDAM_PREFERENCE_SHORTCUTS
EDAM_PREFERENCE_SHORTCUTS_MAX_VALUES
EDAM_PREFERENCE_VALUE_LEN_MAX
EDAM_PREFERENCE_VALUE_LEN_MIN
EDAM_PREFERENCE_VALUE_REGEX
EDAM_PROMOTION_ID_LEN_MAX
EDAM_PROMOTION_ID_REGEX
EDAM_PUBLISHING_DESCRIPTION_LEN_MAX
EDAM_PUBLISHING_DESCRIPTION_LEN_MIN
EDAM_PUBLISHING_DESCRIPTION_REGEX
EDAM_PUBLISHING_URI_LEN_MAX
EDAM_PUBLISHING_URI_LEN_MIN
EDAM_PUBLISHING_URI_PROHIBITED
EDAM_PUBLISHING_URI_REGEX
EDAM_RELATED_MAX_EXPERTS
EDAM_RELATED_MAX_NOTEBOOKS
EDAM_RELATED_MAX_NOTES
EDAM_RELATED_MAX_RELATED_CONTENT
EDAM_RELATED_MAX_TAGS
EDAM_RELATED_PLAINTEXT_LEN_MAX
EDAM_RELATED_PLAINTEXT_LEN_MIN
EDAM_RESOURCE_SIZE_MAX_FREE
EDAM_RESOURCE_SIZE_MAX_PREMIUM
EDAM_SAVED_SEARCH_NAME_LEN_MAX
EDAM_SAVED_SEARCH_NAME_LEN_MIN
EDAM_SAVED_SEARCH_NAME_REGEX
EDAM_SEARCH_QUERY_LEN_MAX
EDAM_SEARCH_QUERY_LEN_MIN
EDAM_SEARCH_QUERY_REGEX
EDAM_SEARCH_SUGGESTIONS_MAX
EDAM_SEARCH_SUGGESTIONS_PREFIX_LEN_MAX
EDAM_SEARCH_SUGGESTIONS_PREFIX_LEN_MIN
EDAM_SNIPPETS_NOTES_MAX
EDAM_SOURCE_APPLICATION_EN_SCANSNAP
EDAM_SOURCE_APPLICATION_EWC
EDAM_SOURCE_APPLICATION_MOLESKINE
EDAM_SOURCE_APPLICATION_POSTIT
EDAM_SOURCE_OUTLOOK_CLIPPER
EDAM_TAG_NAME_LEN_MAX
EDAM_TAG_NAME_LEN_MIN
EDAM_TAG_NAME_REGEX
EDAM_TIMEZONE_LEN_MAX
EDAM_TIMEZONE_LEN_MIN
EDAM_TIMEZONE_REGEX
EDAM_USER_LINKED_NOTEBOOK_MAX
EDAM_USER_LINKED_NOTEBOOK_MAX_PREMIUM
EDAM_USER_MAIL_LIMIT_DAILY_FREE
EDAM_USER_MAIL_LIMIT_DAILY_PREMIUM
EDAM_USER_NAME_LEN_MAX
EDAM_USER_NAME_LEN_MIN
EDAM_USER_NAME_REGEX
EDAM_USER_NOTEBOOKS_MAX
EDAM_USER_NOTES_MAX
EDAM_USER_PASSWORD_LEN_MAX
EDAM_USER_PASSWORD_LEN_MIN
EDAM_USER_PASSWORD_REGEX
EDAM_USER_PROFILE_PHOTO_MAX_BYTES
EDAM_USER_RECENT_MAILED_ADDRESSES_MAX
EDAM_USER_SAVED_SEARCHES_MAX
EDAM_USER_TAGS_MAX
EDAM_USER_UPLOAD_LIMIT_BUSINESS
EDAM_USER_UPLOAD_LIMIT_BUSINESS_PER_USER
EDAM_USER_UPLOAD_LIMIT_FREE
EDAM_USER_UPLOAD_LIMIT_PLUS
EDAM_USER_UPLOAD_LIMIT_PREMIUM
EDAM_USER_UPLOAD_SURVEY_THRESHOLD
EDAM_USER_USERNAME_LEN_MAX
EDAM_USER_USERNAME_LEN_MIN
EDAM_USER_USERNAME_REGEX
EDAM_VAT_REGEX

Constants

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_ATTRIBUTE_MAP_MAX i32 100
The maximum number of entries that can be stored in a map-based attribute such as applicationData fields in Resources and Notes.
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-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-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_VAT_REGEX string "^(AT)?U[0-9]{8}$|^(BE)?0?[0-9]{9}$|^(BG)?[0-9]{9,10}$|^(CY)?[0-9]{8}L$|^(CZ)?[0-9]{8,10}$|^(DE)?[0-9]{9}$|^(DK)?[0-9]{8}$|^(EE)?[0-9]{9}$|^(EL|GR)?[0-9]{9}$|^(ES)?[0-9A-Z][0-9]{7}[0-9A-Z]$|^(FI)?[0-9]{8}$|^(FR)?[0-9A-Z]{2}[0-9]{9}$|^(GB)?([0-9]{9}([0-9]{3})?|[A-Z]{2}[0-9]{3})$|^(HU)?[0-9]{8}$|^(IE)?[0-9]S[0-9]{5}L$|^(IT)?[0-9]{11}$|^(LT)?([0-9]{9}|[0-9]{12})$|^(LU)?[0-9]{8}$|^(LV)?[0-9]{11}$|^(MT)?[0-9]{8}$|^(NL)?[0-9]{9}B[0-9]{2}$|^(PL)?[0-9]{10}$|^(PT)?[0-9]{9}$|^(RO)?[0-9]{2,10}$|^(SE)?[0-9]{12}$|^(SI)?[0-9]{8}$|^(SK)?[0-9]{10}$|^[0-9]{9}MVA$|^[0-9]{6}$|^CHE[0-9]{9}(TVA|MWST|IVA)$"
A regular expression that must match any VAT ID given to Evernote. ref https://en.wikipedia.org/wiki/VAT_identification_number ref https://my.safaribooksonline.com/book/programming/regular-expressions/9780596802837/4dot-validation-and-formatting/id2995136
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_TIFF string "image/tiff"
Canonical MIME type string for TIFF 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_AAC string "audio/aac"
Canonical MIME type string for AAC audio resources
EDAM_MIME_TYPE_M4A string "audio/mp4"
Canonical MIME type string for MP4 audio resources
EDAM_MIME_TYPE_MP4_VIDEO string "video/mp4"
Canonical MIME type string for MP4 video 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 attachments of an unspecified type
EDAM_MIME_TYPES set<string> { "image/gif", "image/jpeg", "image/png", "audio/wav", "audio/mpeg", "audio/amr", "application/vnd.evernote.ink", "application/pdf", "video/mp4", "audio/aac", "audio/mp4" }
The set of resource MIME types that are expected to be handled correctly by all of the major Evernote client applications.
EDAM_INDEXABLE_RESOURCE_MIME_TYPES set<string> { "application/msword", "application/mspowerpoint", "application/excel", "application/vnd.ms-word", "application/vnd.ms-powerpoint", "application/vnd.ms-excel", "application/vnd.openxmlformats-officedocument.wordprocessingml.document", "application/vnd.openxmlformats-officedocument.presentationml.presentation", "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet", "application/vnd.apple.pages", "application/vnd.apple.numbers", "application/vnd.apple.keynote", "application/x-iwork-pages-sffpages", "application/x-iwork-numbers-sffnumbers", "application/x-iwork-keynote-sffkey" }
The set of MIME types that Evernote will parse and index for searching. With exception of images, PDFs and plain text files, which are handled in a different way.
EDAM_INDEXABLE_PLAINTEXT_MIME_TYPES set<string> { "application/x-sh", "application/x-bsh", "application/sql", "application/x-sql" }
The set of plain text MIME types that Evernote will parse and index for searching. The MIME types which start with "text/" will be handled separately by each client (i.e. hard-coded in each client).
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_APPLICATIONDATA_NAME_LEN_MIN i32 3
Minimum length of an application name, which is the key in an applicationData LazyMap found in entities such as Resources and Notes.
EDAM_APPLICATIONDATA_NAME_LEN_MAX i32 32
Maximum length of an application name, which is the key in an applicationData LazyMap found in entities such as Resources and Notes.
EDAM_APPLICATIONDATA_VALUE_LEN_MIN i32 0
Minimum length of an applicationData value in a LazyMap, found in entities such as Resources and Notes.
EDAM_APPLICATIONDATA_VALUE_LEN_MAX i32 4092
Maximum length of an applicationData value in a LazyMap, found in entities such as Resources and Notes. Note, however, that the sum of the size of hte key and value is constrained by EDAM_APPLICATIONDATA_ENTRY_LEN_MAX, so the maximum length, in practice, depends upon the key value being used.
EDAM_APPLICATIONDATA_ENTRY_LEN_MAX i32 4095
The total length of an entry in an applicationData LazyMap, which is the sum of the length of the key and the value for the entry.
EDAM_APPLICATIONDATA_NAME_REGEX string "^[A-Za-z0-9_.-]{3,32}$"
An application name must match this regex. An application name is the key portion of an entry in an applicationData map as found in entities such as Resources and Notes. Note that even if both the name and value regexes match, it is still necessary to check the sum of the lengths against EDAM_APPLICATIONDATA_ENTRY_LEN_MAX.
EDAM_APPLICATIONDATA_VALUE_REGEX string "^[\p{Space}[^\p{Cc}]]{0,4092}$"
An applicationData map value must match this regex. Note that even if both the name and value regexes match, it is still necessary to check the sum of the lengths against EDAM_APPLICATIONDATA_ENTRY_LEN_MAX.
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_NOTEBOOK_STACK_LEN_MIN i32 1
The minimum length of a Notebook.stack, in Unicode characters
EDAM_NOTEBOOK_STACK_LEN_MAX i32 100
The maximum length of a Notebook.stack, in Unicode characters
EDAM_NOTEBOOK_STACK_REGEX string "^[^\p{Cc}\p{Z}]([^\p{Cc}\p{Zl}\p{Zp}]{0,98}[^\p{Cc}\p{Z}])?$"
All Notebook.stack 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_BUSINESS_URI_LEN_MAX i32 32
The maximum length of an Evernote Business URI
EDAM_BUSINESS_MARKETING_CODE_REGEX_PATTERN string "[A-Za-z0-9-]{1,128}"
Valid Evernote Business marketing code / affiliate code format.
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_BUSINESS_TAGS_MAX i32 100000
Maximum number of Tags per business 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_BUSINESS_NOTES_MAX i32 500000
Maximum number of Notes per business account
EDAM_USER_NOTEBOOKS_MAX i32 250
Maximum number of Notebooks per user
EDAM_BUSINESS_NOTEBOOKS_MAX i32 10000
Maximum number of Notebooks in a business account
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_USER_UPLOAD_LIMIT_FREE i64 62914560
The number of bytes of new data that may be uploaded to a Free user's account each month.
EDAM_USER_UPLOAD_LIMIT_PREMIUM i64 10737418240
The number of bytes of new data that may be uploaded to a Premium user's account each month.
EDAM_USER_UPLOAD_LIMIT_PLUS i64 1073741824
The number of bytes of new data that may be uploaded each month to an account at a Plus service level.
EDAM_USER_UPLOAD_SURVEY_THRESHOLD i64 5368709120
The number of bytes of new data uploaded in a monthly quota cycle at which point users should be prompted with a survey to gather information on how they are using Evernote.
EDAM_USER_UPLOAD_LIMIT_BUSINESS i64 10737418240
The number of bytes of new data that may be uploaded to a Business user's personal account each month. Note that content uploaded into the Business notebooks by the user does not count against this limit.
EDAM_USER_UPLOAD_LIMIT_BUSINESS_PER_USER i64 2147483647
The number of bytes of new data that may be uploaded to a Business for each member of the business per month. The total bytes available can be determined by multiplying this with the number of business users.
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 209715200
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 209715200
Maximum size of a resource, in bytes, for Premium accounts
EDAM_USER_LINKED_NOTEBOOK_MAX i32 100
Maximum number of linked notebooks per account, for a free account.
EDAM_USER_LINKED_NOTEBOOK_MAX_PREMIUM i32 500
Maximum number of linked notebooks per account, for a premium account. Users who are part of an active business are also covered under "premium".
EDAM_NOTEBOOK_BUSINESS_SHARED_NOTEBOOK_MAX i32 5000
Maximum number of shared notebooks per business notebook
EDAM_NOTEBOOK_PERSONAL_SHARED_NOTEBOOK_MAX i32 500
Maximum number of shared notebooks per personal notebook
EDAM_NOTE_BUSINESS_SHARED_NOTE_MAX i32 1000
Maximum number of SharedNote records per business note
EDAM_NOTE_PERSONAL_SHARED_NOTE_MAX i32 100
Maximum number of SharedNote records per personal note
EDAM_NOTE_CONTENT_CLASS_LEN_MIN i32 3
The minimum length of the content class attribute of a note.
EDAM_NOTE_CONTENT_CLASS_LEN_MAX i32 32
The maximum length of the content class attribute of a note.
EDAM_NOTE_CONTENT_CLASS_REGEX string "^[A-Za-z0-9_.-]{3,32}$"
The regular expression that the content class of a note must match to be valid.
EDAM_HELLO_APP_CONTENT_CLASS_PREFIX string "evernote.hello."
The content class prefix used for all notes created by Evernote Hello. This prefix can be used to assemble individual content class strings, or can be used to create a wildcard search to get all notes created by Hello. When performing a wildcard search via filtered sync chunks or search strings, the * character must be appended to this constant.
EDAM_FOOD_APP_CONTENT_CLASS_PREFIX string "evernote.food."
The content class prefix used for all notes created by Evernote Food. This prefix can be used to assemble individual content class strings, or can be used to create a wildcard search to get all notes created by Food. When performing a wildcard search via filtered sync chunks or search strings, the * character must be appended to this constant.
EDAM_CONTENT_CLASS_HELLO_ENCOUNTER string "evernote.hello.encounter"
The content class prefix used for structured notes created by Evernote Hello that represents an encounter with a person. When performing a wildcard search via filtered sync chunks or search strings, the * character must be appended to this constant.
EDAM_CONTENT_CLASS_HELLO_PROFILE string "evernote.hello.profile"
The content class prefix used for structured notes created by Evernote Hello that represents the user's profile. When performing a wildcard search via filtered sync chunks or search strings, the * character must be appended to this constant.
EDAM_CONTENT_CLASS_FOOD_MEAL string "evernote.food.meal"
The content class prefix used for structured notes created by Evernote Food that captures the experience of a particular meal. When performing a wildcard search via filtered sync chunks or search strings, the * character must be appended to this constant.
EDAM_CONTENT_CLASS_SKITCH_PREFIX string "evernote.skitch"
The content class prefix used for structured notes created by Evernote Skitch. When performing a wildcard search via filtered sync chunks or search strings, the * character must be appended to this constant.
EDAM_CONTENT_CLASS_SKITCH string "evernote.skitch"
The content class value used for structured image notes created by Evernote Skitch.
EDAM_CONTENT_CLASS_SKITCH_PDF string "evernote.skitch.pdf"
The content class value used for structured PDF notes created by Evernote Skitch.
EDAM_CONTENT_CLASS_PENULTIMATE_PREFIX string "evernote.penultimate."
The content class prefix used for structured notes created by Evernote Penultimate. When performing a wildcard search via filtered sync chunks or search strings, the * character must be appended to this constant.
EDAM_CONTENT_CLASS_PENULTIMATE_NOTEBOOK string "evernote.penultimate.notebook"
The content class value used for structured notes created by Evernote Penultimate that represents a Penultimate notebook.
EDAM_SOURCE_APPLICATION_POSTIT string "postit"
The NoteAttributes.sourceApplication value used for notes captured by the Post-it camera.
EDAM_SOURCE_APPLICATION_MOLESKINE string "moleskine"
The NoteAttributes.sourceApplication value used for notes captured by the Moleskine page camera.
EDAM_SOURCE_APPLICATION_EN_SCANSNAP string "scanner.scansnap.evernote"
The NoteAttributes.sourceApplication value used for notes captured by PFU ScanSnap Evernote Edition.
EDAM_SOURCE_APPLICATION_EWC string "clipncite.web"
The NoteAttributes.sourceApplication value used for notes captured with the Embedded Web Clipper.
EDAM_SOURCE_OUTLOOK_CLIPPER string "app.ms.outlook"
The NoteAttributes.source value used for notes captured by the Microsoft Outlook clipper.
EDAM_NOTE_TITLE_QUALITY_UNTITLED i32 0
A NoteAttributes.noteTitleQuality value indicating that a note has no meaningful title, only a placeholder value such as "Untitled Note".
EDAM_NOTE_TITLE_QUALITY_LOW i32 1
A NoteAttributes.noteTitleQuality value indicating that the quality of an automatically generated note title is low. Examples of low quality titles include those based on a note's type and location, such as "Snapshot from 123 Sesame Street in New York".
EDAM_NOTE_TITLE_QUALITY_MEDIUM i32 2
A NoteAttributes.noteTitleQuality value indicating that the quality of an automatically generated note title is medium. Examples of medium quality titles include those based on a calendar entry, such as "Note from Weekly Staff Meeting".
EDAM_NOTE_TITLE_QUALITY_HIGH i32 3
A NoteAttributes.noteTitleQuality value indicating that the quality of an automatically generated note title is high. Examples of high quality titles include those based on a scanned business card, such as "John Doe - Scanned Business Card".
The minimum length of the plain text in a findRelated query, assuming that plaintext is being provided.
The maximum length of the plain text in a findRelated query, assuming that plaintext is being provided.
The maximum number of notes that will be returned from a findRelated() query.
The maximum number of notebooks that will be returned from a findRelated() query.
The maximum number of tags that will be returned from a findRelated() query.
The maximum number of experts that will be returned from a findRelated() query
The maximum number of related content snippets that will be returned from a findRelated() query.
EDAM_BUSINESS_NOTEBOOK_DESCRIPTION_LEN_MIN i32 1
The minimum length, in Unicode characters, of a description for a business notebook.
EDAM_BUSINESS_NOTEBOOK_DESCRIPTION_LEN_MAX i32 200
The maximum length, in Unicode characters, of a description for a business notebook.
EDAM_BUSINESS_NOTEBOOK_DESCRIPTION_REGEX string "^[^\p{Cc}\p{Z}]([^\p{Cc}\p{Zl}\p{Zp}]{0,198}[^\p{Cc}\p{Z}])?$"
All business notebook descriptions must match this pattern. This excludes control chars or line/paragraph separators. The string may not begin or end with whitespace.
EDAM_BUSINESS_PHONE_NUMBER_LEN_MAX i32 20
The maximum length of a business phone number.
EDAM_PREFERENCE_NAME_LEN_MIN i32 3
Minimum length of a preference name
EDAM_PREFERENCE_NAME_LEN_MAX i32 32
Maximum length of a preference name
EDAM_PREFERENCE_VALUE_LEN_MIN i32 1
Minimum length of a preference value
EDAM_PREFERENCE_VALUE_LEN_MAX i32 1024
Maximum length of a preference value
EDAM_MAX_PREFERENCES i32 100
Maximum number of name/value pairs allowed
EDAM_MAX_VALUES_PER_PREFERENCE i32 256
Maximum number of values per preference name when using values of size no greater than EDAM_PREFERENCE_VALUE_LEN_MAX.
EDAM_PREFERENCE_ONLY_ONE_VALUE_LEN_MAX i32 16384
The maximum length of a preference value if you only use one value per preference rather than up to EDAM_MAX_VALUES_PER_PREFERENCE. This option is useful if you want a single string that is larger than EDAM_PREFERENCE_VALUE_LEN_MAX and would otherwise need to split the string into multiple pieces to store it.
EDAM_PREFERENCE_NAME_REGEX string "^[A-Za-z0-9_.-]{3,32}$"
A preference name must match this regex.
EDAM_PREFERENCE_VALUE_REGEX string "^[^\p{Cc}]{1,1024}$"
A preference value must match this regex if you are using more than a single value for a preference.
EDAM_PREFERENCE_ONLY_ONE_VALUE_REGEX string "^[^\p{Cc}]{1,16384}$"
A preference value must match this regex if you are using a single value for a preference.
EDAM_PREFERENCE_SHORTCUTS string "evernote.shortcuts"
The name of the preferences entry that contains shortcuts.
EDAM_PREFERENCE_BUSINESS_DEFAULT_NOTEBOOK string "evernote.business.notebook"
The name of the preferences entry that contains the notebook GUID (not the linked notebook) of the default business notebook. It must be in the format EDAM_GUID_REGEX. If a default business notebook is not set and the user is a business user the user should be prompted to set the default business notebook. The default business notebook must be a read/write notebook. Whenever the default business notebook guid is used, it must be revalidiated as a writable notebook. If it is not valid, the user should be re-prompted to set the value. This value is used by clients only.
EDAM_PREFERENCE_BUSINESS_QUICKNOTE string "evernote.business.quicknote"
The name of the preferences entry that contains a boolean indicating that default quicknotes should go into a business notebook. The EDAM_PREFERENCE_BUSINESS_DEFAULT_NOTEBOOK must be set correctly for this preference to be honored. The quicknote preferences should only be set to "true", if quicknote should use a business notebook. Any value other than "true" (or the omission of a value) should be treated as "false". In this case, quicknotes should be created in in the user's personal default notebook. The interface should not allow users to set quicknote to a business notebook without a valid default business notebook selected, however, clients should handle the edge case of an invalid business notebook guid. If a user stops being a business user or does not have write access to any business notebooks the quicknote preference should be ignored.
EDAM_PREFERENCE_SHORTCUTS_MAX_VALUES i32 250
The maximum number of shortcuts that a user may have.
EDAM_DEVICE_ID_LEN_MAX i32 32
Maximum length of the device identifier string associated with long sessions.
EDAM_DEVICE_ID_REGEX string "^[^\p{Cc}]{1,32}$"
Regular expression for device identifier strings associated with long sessions.
EDAM_DEVICE_DESCRIPTION_LEN_MAX i32 64
Maximum length of the device description string associated with long sessions.
EDAM_DEVICE_DESCRIPTION_REGEX string "^[^\p{Cc}]{1,64}$"
Regular expression for device description strings associated with long sessions.
EDAM_SEARCH_SUGGESTIONS_MAX i32 10
Maximum number of search suggestions that can be returned
EDAM_SEARCH_SUGGESTIONS_PREFIX_LEN_MAX i32 1024
Maximum length of the search suggestion prefix
EDAM_SEARCH_SUGGESTIONS_PREFIX_LEN_MIN i32 2
Minimum length of the search suggestion prefix
EDAM_FIND_CONTACT_DEFAULT_MAX_RESULTS i32 100
Default maximum number of results the service will return for findContact
EDAM_FIND_CONTACT_MAX_RESULTS i32 256
Absolute maximum number of results the service will return for findContact
EDAM_NOTE_LOCK_VIEWERS_NOTES_MAX i32 150
The maximum number of separate notes that may be queried in a single call to NoteStore.getViewersForNotes.
EDAM_GET_ORDERS_MAX_RESULTS i32 2000
Absolute maximum number of results the servce will return for PersistentInternalMarket.getOrders()
EDAM_MESSAGE_BODY_LEN_MAX i32 2048
The maximum length of a message body in unicode characters.
EDAM_MESSAGE_BODY_REGEX string "^[^\p{Cc}\p{Z}]([^\p{Cc}\p{Zl}\p{Zp}]{0,2046}[^\p{Cc}\p{Z}])?$"
The regex to validate message.body against
EDAM_MESSAGE_RECIPIENTS_MAX i32 50
The maximum number of recipients on a MessageThread.
EDAM_MESSAGE_ATTACHMENTS_MAX i32 100
The maximum number of attachments a Message can have.
EDAM_MESSAGE_ATTACHMENT_TITLE_LEN_MAX i32 255
The maximum length of a message attachment title in unicode characters.
EDAM_MESSAGE_ATTACHMENT_TITLE_REGEX string "^[^\p{Cc}\p{Z}]([^\p{Cc}\p{Zl}\p{Zp}]{0,253}[^\p{Cc}\p{Z}])?$"
The regex to validate message attachment titles against
EDAM_MESSAGE_ATTACHMENT_SNIPPET_LEN_MAX i32 2048
The maximum length of a message attachment snippet in unicode characters.
EDAM_MESSAGE_ATTACHMENT_SNIPPET_REGEX string "^[^\p{Cc}\p{Z}]([\n[^\p{Cc}\p{Zl}\p{Zp}]]{0,2046}[^\p{Cc}\p{Z}])?$"
The regex to validate message attachment snippets against
EDAM_USER_PROFILE_PHOTO_MAX_BYTES i32 716800
Maximum user profile photo size, in bytes, that clients may send to the service. Photos may be resized before being stored on the service.
EDAM_PROMOTION_ID_LEN_MAX i32 32
The maximum length of a promotion ID in unicode characters.
EDAM_PROMOTION_ID_REGEX string "^[A-Za-z0-9_.-]{1,32}$"
The regex to validate promotion IDs against.
EDAM_APP_RATING_MIN i16 1
App Feedback Rating range
EDAM_APP_RATING_MAX i16 5
EDAM_SNIPPETS_NOTES_MAX i32 24
The maximium number of note snippets you can retrieve in a single request
EDAM_CONNECTED_IDENTITY_REQUEST_MAX i32 100
The maximum number of connected identities a client can request.