Skip to content

Base64Encode

Encodes content using Base64.

Parameters

NameDescriptionAllowed ValuesRequiredDefault
contentIndexesList of content indexes to include or excludeinteger (list)
contentTagsList of content tags to include or exclude, matching anystring (list)
excludeContentIndexesExclude specified content indexesbooleanfalse
excludeContentTagsExclude specified content tagsbooleanfalse
excludeFilePatternsExclude specified file patternsbooleanfalse
excludeMediaTypesExclude specified media typesbooleanfalse
filePatternsList of file patterns to include or exclude, supporting wildcards (*)string (list)
mediaTypesList of media types to include or exclude, supporting wildcards (*)string (list)
outputMediaTypeMedia type of the encoded contentstringtext/plain
retainExistingContentRetain the existing contentbooleanfalse
urlSafeUse URL-safe Base64 encoding (uses - and _ instead of + and /)booleanfalse

Input

Content

Input content to act on may be selected (or inversely selected using the exclude parameters) with contentIndexes, mediaTypes, and/or filePatterns. If any of these are set and the content is not matched, the content is passed through unchanged.

Output

Content

Encodes each selected content using Base64 encoding. The encoded content will have the same name as the input content with '.b64' appended.

If retainExistingContent is true, each content will be retained, followed by its transformed content.

Errors

  • On failure to encode any content

Contact US