Thrift module: Limits

ModuleServicesData typesConstants
Limits EDAM_ATTRIBUTE_LEN_MAX
EDAM_ATTRIBUTE_LEN_MIN
EDAM_ATTRIBUTE_LIST_MAX
EDAM_ATTRIBUTE_REGEX
EDAM_COMMERCE_SERVICE_GIFT
EDAM_COMMERCE_SERVICE_GOOGLE
EDAM_COMMERCE_SERVICE_PAYPAL
EDAM_COMMERCE_SERVICE_TRIALPAY
EDAM_EMAIL_DOMAIN_REGEX
EDAM_EMAIL_LEN_MAX
EDAM_EMAIL_LEN_MIN
EDAM_EMAIL_LOCAL_REGEX
EDAM_EMAIL_REGEX
EDAM_GUID_LEN_MAX
EDAM_GUID_LEN_MIN
EDAM_GUID_REGEX
EDAM_HASH_LEN
EDAM_MIME_LEN_MAX
EDAM_MIME_LEN_MIN
EDAM_MIME_REGEX
EDAM_MIME_TYPES
EDAM_MIME_TYPE_AMR
EDAM_MIME_TYPE_DEFAULT
EDAM_MIME_TYPE_GIF
EDAM_MIME_TYPE_INK
EDAM_MIME_TYPE_JPEG
EDAM_MIME_TYPE_MP3
EDAM_MIME_TYPE_PDF
EDAM_MIME_TYPE_PNG
EDAM_MIME_TYPE_WAV
EDAM_NOTEBOOK_NAME_LEN_MAX
EDAM_NOTEBOOK_NAME_LEN_MIN
EDAM_NOTEBOOK_NAME_REGEX
EDAM_NOTEBOOK_SHARED_NOTEBOOK_MAX
EDAM_NOTE_CONTENT_LEN_MAX
EDAM_NOTE_CONTENT_LEN_MIN
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_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_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_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_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_RECENT_MAILED_ADDRESSES_MAX
EDAM_USER_SAVED_SEARCHES_MAX
EDAM_USER_TAGS_MAX
EDAM_USER_USERNAME_LEN_MAX
EDAM_USER_USERNAME_LEN_MIN
EDAM_USER_USERNAME_REGEX

Constants

ConstantTypeValue
EDAM_ATTRIBUTE_LEN_MINi321
Minimum length of any string-based attribute, in Unicode chars
EDAM_ATTRIBUTE_LEN_MAXi324096
Maximum length of any string-based attribute, in Unicode chars
EDAM_ATTRIBUTE_REGEXstring"^[^\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_MAXi32100
The maximum number of values that can be stored in a list-based attribute (e.g. see UserAttributes.recentMailedAddresses)
EDAM_GUID_LEN_MINi3236
The minimum length of a GUID generated by the Evernote service
EDAM_GUID_LEN_MAXi3236
The maximum length of a GUID generated by the Evernote service
EDAM_GUID_REGEXstring"^[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_MINi326
The minimum length of any email address
EDAM_EMAIL_LEN_MAXi32255
The maximum length of any email address
EDAM_EMAIL_LOCAL_REGEXstring"^[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_REGEXstring"^[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_REGEXstring"^[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_MINi321
The minimum length of a timezone specification string
EDAM_TIMEZONE_LEN_MAXi3232
The maximum length of a timezone specification string
EDAM_TIMEZONE_REGEXstring"^([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_MINi323
The minimum length of any MIME type string given to Evernote
EDAM_MIME_LEN_MAXi32255
The maximum length of any MIME type string given to Evernote
EDAM_MIME_REGEXstring"^[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_GIFstring"image/gif"
Canonical MIME type string for GIF image resources
EDAM_MIME_TYPE_JPEGstring"image/jpeg"
Canonical MIME type string for JPEG image resources
EDAM_MIME_TYPE_PNGstring"image/png"
Canonical MIME type string for PNG image resources
EDAM_MIME_TYPE_WAVstring"audio/wav"
Canonical MIME type string for WAV audio resources
EDAM_MIME_TYPE_MP3string"audio/mpeg"
Canonical MIME type string for MP3 audio resources
EDAM_MIME_TYPE_AMRstring"audio/amr"
Canonical MIME type string for AMR audio resources
EDAM_MIME_TYPE_INKstring"application/vnd.evernote.ink"
Canonical MIME type string for Evernote Ink resources
EDAM_MIME_TYPE_PDFstring"application/pdf"
Canonical MIME type string for PDF resources
EDAM_MIME_TYPE_DEFAULTstring"application/octet-stream"
MIME type used for file attachments for Premium accounts
EDAM_MIME_TYPESset<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_GOOGLEstring"Google"
Commerce Services used
EDAM_COMMERCE_SERVICE_PAYPALstring"Paypal"
EDAM_COMMERCE_SERVICE_GIFTstring"Gift"
EDAM_COMMERCE_SERVICE_TRIALPAYstring"TrialPay"
EDAM_SEARCH_QUERY_LEN_MINi320
The minimum length of a user search query string in Unicode chars
EDAM_SEARCH_QUERY_LEN_MAXi321024
The maximum length of a user search query string in Unicode chars
EDAM_SEARCH_QUERY_REGEXstring"^[^\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_LENi3216
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_MINi321
The minimum length of an Evernote username
EDAM_USER_USERNAME_LEN_MAXi3264
The maximum length of an Evernote username
EDAM_USER_USERNAME_REGEXstring"^[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_MINi321
Minimum length of the User.name field
EDAM_USER_NAME_LEN_MAXi32255
Maximum length of the User.name field
EDAM_USER_NAME_REGEXstring"^[^\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_MINi321
The minimum length of a Tag.name, in Unicode characters
EDAM_TAG_NAME_LEN_MAXi32100
The maximum length of a Tag.name, in Unicode characters
EDAM_TAG_NAME_REGEXstring"^[^,\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_MINi321
The minimum length of a Note.title, in Unicode characters
EDAM_NOTE_TITLE_LEN_MAXi32255
The maximum length of a Note.title, in Unicode characters
EDAM_NOTE_TITLE_REGEXstring"^[^\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_MINi320
Minimum length of a Note.content field. Note.content fields must comply with the ENML DTD.
EDAM_NOTE_CONTENT_LEN_MAXi325242880
Maximum length of a Note.content field Note.content fields must comply with the ENML DTD.
EDAM_NOTEBOOK_NAME_LEN_MINi321
The minimum length of a Notebook.name, in Unicode characters
EDAM_NOTEBOOK_NAME_LEN_MAXi32100
The maximum length of a Notebook.name, in Unicode characters
EDAM_NOTEBOOK_NAME_REGEXstring"^[^\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_MINi321
The minimum length of a public notebook URI component
EDAM_PUBLISHING_URI_LEN_MAXi32255
The maximum length of a public notebook URI component
EDAM_PUBLISHING_URI_REGEXstring"^[a-zA-Z0-9.~_+-]{1,255}$"
A public notebook URI component must match the provided pattern
EDAM_PUBLISHING_URI_PROHIBITEDset<string>{ ".." }
The set of strings that may not be used as a publishing URI
EDAM_PUBLISHING_DESCRIPTION_LEN_MINi321
The minimum length of a Publishing.publicDescription field.
EDAM_PUBLISHING_DESCRIPTION_LEN_MAXi32200
The maximum length of a Publishing.publicDescription field.
EDAM_PUBLISHING_DESCRIPTION_REGEXstring"^[^\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_MINi321
The minimum length of a SavedSearch.name field
EDAM_SAVED_SEARCH_NAME_LEN_MAXi32100
The maximum length of a SavedSearch.name field
EDAM_SAVED_SEARCH_NAME_REGEXstring"^[^\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_MINi326
The minimum length of an Evernote user password
EDAM_USER_PASSWORD_LEN_MAXi3264
The maximum length of an Evernote user password
EDAM_USER_PASSWORD_REGEXstring"^[A-Za-z0-9!#$%&'()*+,./:;<=>?@^_`{|}~\[\]\\-]{6,64}$"
Evernote user passwords must match this regular expression
EDAM_NOTE_TAGS_MAXi32100
The maximum number of Tags per Note
EDAM_NOTE_RESOURCES_MAXi321000
The maximum number of Resources per Note
EDAM_USER_TAGS_MAXi32100000
Maximum number of Tags per account
EDAM_USER_SAVED_SEARCHES_MAXi32100
Maximum number of SavedSearches per account
EDAM_USER_NOTES_MAXi32100000
Maximum number of Notes per user
EDAM_USER_NOTEBOOKS_MAXi32100
Maximum number of Notebooks per user
EDAM_USER_RECENT_MAILED_ADDRESSES_MAXi3210
Maximum number of recent email addresses that are maintained (see UserAttributes.recentMailedAddresses)
EDAM_USER_MAIL_LIMIT_DAILY_FREEi3250
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_PREMIUMi32200
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_FREEi3226214400
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_PREMIUMi3252428800
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_FREEi3226214400
Maximum size of a resource, in bytes, for Free accounts
EDAM_RESOURCE_SIZE_MAX_PREMIUMi3252428800
Maximum size of a resource, in bytes, for Premium accounts
EDAM_USER_LINKED_NOTEBOOK_MAXi32100
Maximum number of linked notebooks per account
EDAM_NOTEBOOK_SHARED_NOTEBOOK_MAXi32100
Maximum number of shared notebooks per notebook