Table of Contents
Introduction
........................................................................................................................................ 4
What is a liquid filter? ........................................................................................................................................................................ 5
How to apply transformations inside api management policies? ...................................................................................................... 6
Supported Liquid filters
.................................................................................................................... 6
Abs ..................................................................................................................................................................................................... 7
Append ............................................................................................................................................................................................... 8
AtLeast ............................................................................................................................................................................................... 8
AtMost ............................................................................................................................................................................................... 9
Capitalize .......................................................................................................................................................................................... 10
Ceil ................................................................................................................................................................................................... 10
Compact ........................................................................................................................................................................................... 10
Concat .............................................................................................................................................................................................. 11
Currency ........................................................................................................................................................................................... 12
Date .................................................................................................................................................................................................. 13
Default .............................................................................................................................................................................................. 14
DividedBy ......................................................................................................................................................................................... 14
Downcase ......................................................................................................................................................................................... 15
Escape .............................................................................................................................................................................................. 16
EscapeOnce ...................................................................................................................................................................................... 16
First .................................................................................................................................................................................................. 17
Floor ................................................................................................................................................................................................. 17
H ....................................................................................................................................................................................................... 17
Join ................................................................................................................................................................................................... 18
Last ................................................................................................................................................................................................... 18
Lstrip ................................................................................................................................................................................................ 19
Map .................................................................................................................................................................................................. 19
Minus ............................................................................................................................................................................................... 20
Modulo ............................................................................................................................................................................................. 21
NewlineToBr ..................................................................................................................................................................................... 21
Plus ................................................................................................................................................................................................... 22
Prepend ............................................................................................................................................................................................ 23
Remove ............................................................................................................................................................................................ 23
RemoveFirst ..................................................................................................................................................................................... 24
Replace ............................................................................................................................................................................................. 24