Skip to content
Permalink
Browse files

added purge cache to stylesheet calls

  • Loading branch information...
ardeay committed Oct 3, 2019
1 parent c20781f commit aafd2b21a139e1e3cec9314903050ff48ba9ec6e
Showing with 3 additions and 3 deletions.
  1. +3 −3 zestyio-api-wrapper.js
@@ -27,7 +27,7 @@ class ZestyioAPIWrapper {
viewsGETVersion: "/web/views/VIEW_ZUID/versions/VERSION_NUMBER",
viewsPOST: "/web/views",
viewsPUT: "/web/views/VIEW_ZUID",
viewsPUTPublish: "/web/views/VIEW_ZUID?action=publish",
viewsPUTPublish: "/web/views/VIEW_ZUID?action=publish&purge_cache=true",
settingsGETAll: "/env/settings",
settingsGET: "/env/settings/SETTINGS_ID",
stylesheetsGETAll: "/web/stylesheets",
@@ -37,14 +37,14 @@ class ZestyioAPIWrapper {
"/web/stylesheets/STYLESHEET_ZUID/versions/VERSION_NUMBER",
stylesheetsPOST: "/web/stylesheets",
stylesheetsPUT: "/web/stylesheets/STYLESHEET_ZUID",
stylesheetsPUTPublish: "/web/stylesheets/STYLESHEET_ZUID?action=publish",
stylesheetsPUTPublish: "/web/stylesheets/STYLESHEET_ZUID?action=publish&purge_cache=true",
scriptsGETAll: "/web/scripts",
scriptsGET: "/web/scripts/SCRIPT_ZUID",
scriptsGETVersions: "/web/scripts/SCRIPT_ZUID/versions",
scriptsGETVersion: "/web/scripts/SCRIPT_ZUID/versions/VERSION_NUMBER",
scriptsPOST: "/web/scripts",
scriptsPUT: "/web/scripts/SCRIPT_ZUID",
scriptsPUTPublish: "/web/scripts/SCRIPT_ZUID?action=publish",
scriptsPUTPublish: "/web/scripts/SCRIPT_ZUID?action=publish&purge_cache=true",
siteHeadGET: "/web/headers",
navGET: "/env/nav",
searchGET: "/search/items?q=SEARCH_TERM", // Undocumented

0 comments on commit aafd2b2

Please sign in to comment.
You can’t perform that action at this time.