HOC SiteDokümantasyon

save_site_variables

Replace the website's site variables. variables is the array stored on the website (name, type, generator, persistCookie, ttlSeconds, scope site). dryRun validates and returns the normalized variables without writing. Unique ID is generator.kind uuidv7. Requires migration 177. Docs: design/shared-concepts/variables.

save_site_variables · Grup: settings

Girdiler

websiteId

zorunlu

variables

zorunlu — EditorVariable[]

dryRun

isteğe bağlı

Şema

{
  "name": "save_site_variables",
  "group": "settings",
  "inputFields": [
    {
      "name": "websiteId",
      "required": true
    },
    {
      "name": "variables",
      "required": true,
      "schemaHint": "EditorVariable[]"
    },
    {
      "name": "dryRun",
      "required": false
    }
  ]
}

Eşlendiği uçlar

  • PUT /api/v1/{locale}/{websiteId}/site-variables → API

İlgili