backend.globaleaks.rest.requests

Module Contents

Functions

get_multilang_request_format(request_format, localized_strings)
backend.globaleaks.rest.requests.key_regexp = ^[a-f0-9]{8}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{12}$|^[a-z_]{0,100}$[source]
backend.globaleaks.rest.requests.key_regexp_or_empty = ^[a-f0-9]{8}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{12}$|^[a-z_]{0,100}$|^$[source]
backend.globaleaks.rest.requests.uuid_regexp = ^([a-f0-9]{8}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{12})$[source]
backend.globaleaks.rest.requests.uuid_regexp_or_empty = ^([a-f0-9]{8}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{12})$|^$[source]
backend.globaleaks.rest.requests.user_role_regexp = ^(admin|custodian|receiver)$[source]
backend.globaleaks.rest.requests.user_state_regexp = ^(enabled|disabled)$[source]
backend.globaleaks.rest.requests.email_regexp = ^(([\w+-\.]){0,100}[\w]{1,100}@([\w+-\.]){0,100}[\w]{1,100})$[source]
backend.globaleaks.rest.requests.email_regexp_or_empty = ^(([\w+-\.]){0,100}[\w]{1,100}@([\w+-\.]){0,100}[\w]{1,100})$|^$[source]
backend.globaleaks.rest.requests.hostname_regexp = ^[0-9a-z\-\.]+$[source]
backend.globaleaks.rest.requests.hostname_regexp_or_empty = ^[0-9a-z\-\.]+$|^$[source]
backend.globaleaks.rest.requests.subdomain_regexp = ^[0-9a-z]+$[source]
backend.globaleaks.rest.requests.subdomain_regexp_or_empty = ^[0-9a-z]+$|^$[source]
backend.globaleaks.rest.requests.https_url_regexp = ^https://([0-9a-z\-]+)\.(.*)$[source]
backend.globaleaks.rest.requests.https_url_regexp_or_empty = ^https://([0-9a-z\-]+)\.(.*)$|^$[source]
backend.globaleaks.rest.requests.context_selector_type_regexp = ^(list|cards|search)$[source]
backend.globaleaks.rest.requests.tip_operation_regexp = ^(postpone|set)$[source]
backend.globaleaks.rest.requests.short_text_regexp = ^.{1,255}$[source]
backend.globaleaks.rest.requests.domain_list_regexp = ^((([a-z0-9\.]+,)*[a-z0-9\.]+)|)$[source]
backend.globaleaks.rest.requests.languages_list_regexp = ^([a-zA-Z-]+)?(,\s*[a-zA-Z-]+)*$[source]
backend.globaleaks.rest.requests.token_regexp = ([a-z0-9]{64})[source]
backend.globaleaks.rest.requests.token_type_regexp = ^submission$[source]
backend.globaleaks.rest.requests.field_instance_regexp = ^(instance|reference|template)$[source]
backend.globaleaks.rest.requests.field_type_regexp = ^(inputbox|textarea|selectbox|multichoice|checkbox|tos|fileupload|number|email|date|daterange|map|fieldgroup)$[source]
backend.globaleaks.rest.requests.field_attr_type_regexp = ^(int|bool|unicode|localized)$[source]
backend.globaleaks.rest.requests.identityaccessreply_regexp = ^(pending|authorized|denied)$[source]
class backend.globaleaks.rest.requests.SkipSpecificValidation[source]
backend.globaleaks.rest.requests.get_multilang_request_format(request_format, localized_strings)[source]
backend.globaleaks.rest.requests.DateType = (.*)[source]
backend.globaleaks.rest.requests.ContentType = (.*)[source]
backend.globaleaks.rest.requests.AdminTenantDesc[source]
backend.globaleaks.rest.requests.FileDesc[source]
backend.globaleaks.rest.requests.AuthDesc[source]
backend.globaleaks.rest.requests.ReceiptAuthDesc[source]
backend.globaleaks.rest.requests.TokenAuthDesc[source]
backend.globaleaks.rest.requests.TokenReqDesc[source]
backend.globaleaks.rest.requests.TokenAnswerDesc[source]
backend.globaleaks.rest.requests.SubmissionDesc[source]
backend.globaleaks.rest.requests.AdminUserDesc[source]
backend.globaleaks.rest.requests.UserUserDesc[source]
backend.globaleaks.rest.requests.ReceiverOperationDesc[source]
backend.globaleaks.rest.requests.CommentDesc[source]
backend.globaleaks.rest.requests.OpsDesc[source]
backend.globaleaks.rest.requests.TipOpsDesc[source]
backend.globaleaks.rest.requests.AdditionalQuestionnaireAnswers[source]
backend.globaleaks.rest.requests.WhisleblowerIdentityAnswers[source]
backend.globaleaks.rest.requests.AdminNodeDesc[source]
backend.globaleaks.rest.requests.AdminNotificationDesc[source]
backend.globaleaks.rest.requests.AdminFieldOptionDesc[source]
backend.globaleaks.rest.requests.AdminFieldOptionDescRaw[source]
backend.globaleaks.rest.requests.AdminFieldAttrDesc[source]
backend.globaleaks.rest.requests.AdminFieldAttrDescRaw[source]
backend.globaleaks.rest.requests.AdminFieldDesc[source]
backend.globaleaks.rest.requests.AdminFieldDescRaw[source]
backend.globaleaks.rest.requests.AdminStepDesc[source]
backend.globaleaks.rest.requests.AdminStepDescRaw[source]
backend.globaleaks.rest.requests.AdminQuestionnaireDesc[source]
backend.globaleaks.rest.requests.AdminQuestionnaireDescRaw[source]
backend.globaleaks.rest.requests.AdminContextDesc[source]
backend.globaleaks.rest.requests.AdminTLSCertFilesConfigDesc[source]
backend.globaleaks.rest.requests.AdminTLSCfgFileResourceDesc[source]
backend.globaleaks.rest.requests.AdminCSRFileDesc[source]
backend.globaleaks.rest.requests.AdminRedirectDesc[source]
backend.globaleaks.rest.requests.NodeDesc[source]
backend.globaleaks.rest.requests.TipOverviewDesc[source]
backend.globaleaks.rest.requests.TipsOverviewDesc[source]
backend.globaleaks.rest.requests.FileOverviewDesc[source]
backend.globaleaks.rest.requests.ReceiverIdentityAccessRequestDesc[source]
backend.globaleaks.rest.requests.CustodianIdentityAccessRequestDesc[source]
backend.globaleaks.rest.requests.FilesOverviewDesc[source]
backend.globaleaks.rest.requests.StatsDesc[source]
backend.globaleaks.rest.requests.StatsCollectionDesc[source]
backend.globaleaks.rest.requests.AnomalyDesc[source]
backend.globaleaks.rest.requests.AnomalyCollectionDesc[source]
backend.globaleaks.rest.requests.ReceiverDesc[source]
backend.globaleaks.rest.requests.ReceiverCollectionDesc[source]
backend.globaleaks.rest.requests.ContextDesc[source]
backend.globaleaks.rest.requests.ContextCollectionDesc[source]
backend.globaleaks.rest.requests.PublicResourcesDesc[source]
backend.globaleaks.rest.requests.InternalTipDesc[source]
backend.globaleaks.rest.requests.WizardDesc[source]
backend.globaleaks.rest.requests.SignupDesc[source]
backend.globaleaks.rest.requests.ExceptionDesc[source]
backend.globaleaks.rest.requests.PasswordReset1Desc[source]
backend.globaleaks.rest.requests.PasswordReset2Desc[source]
backend.globaleaks.rest.requests.SiteSettingsDesc[source]
backend.globaleaks.rest.requests.QuestionnaireDuplicationDesc[source]
backend.globaleaks.rest.requests.SubmissionStatusDesc[source]
backend.globaleaks.rest.requests.SubmissionSubStatusDesc[source]