The notation to add a URI asset to a purge rule varies depending on the interface you use.
- When using the AMC UI to add a purge rule for a URI that contains a leading backslash (\), you need to escape the leading backslash by prepending another backslash.
- When using the Aura LCDN Content Control API to add a purge rule, all backslashes must be further escaped by prepending another backslash to make the JSON code well formatted.
The following table summarizes how to add a URI asset to a purge rule depending on the interface.
URI asset to purge | AMC UI notation | Content Control API notation |
---|---|---|
\foo\bar | \\foo\bar | \\\\foo\\bar |
\\foo\\bar | \\\foo\\bar | \\\\\\foo\\\\bar |
foo\bar | foo\bar | foo\\bar |