Authorization: Bearer ********************
{
"name": "gotipath",
"ttl": 3600,
"match_type": "regex",
"match": "^/*/hello",
"never_cache": true,
"ignore_client_no_cache": true,
"ignore_origin_no_cache": true,
"ignore_query_string": true,
"priority": 1,
"enable_brotli": true,
"enable_gzip": true
}
curl --location --request PUT 'https://apistream.gotipath.com/v1/distributions/bb52605c-5bbc-41f4-af77-1c1bf12ec7d9/cache-rules/3576c092-52d2-4e0c-9bb3-3d537c0e5eb0' \
--header 'X-Auth-ClientId;' \
--header 'X-Auth-LibraryId;' \
--header 'X-Auth-ApiKey;' \
--header 'Content-Type: application/json' \
--data-raw '{
"name": "gotipath",
"ttl": 3600,
"match_type": "regex",
"match": "^/*/hello",
"never_cache": true,
"ignore_client_no_cache": true,
"ignore_origin_no_cache": true,
"ignore_query_string": true,
"priority": 1,
"enable_brotli": true,
"enable_gzip": true
}'
{
"name": "string",
"ttl": 0,
"match_type": "string",
"match": "string",
"never_cache": true,
"ignore_client_no_cache": true,
"ignore_origin_no_cache": true,
"ignore_query_string": true
}