HOC SiteDokümantasyon

Create or replace a redirect

Yöntem: POST · Kimlik doğrulama: bearer · Grup: design

/api/v1/{locale}/{websiteId}/redirects

İstek

  • Content-Type: application/json
{ "from": "products/[slug]", "to": "catalogue/[slug]", "status"?: 301|302, "locale"?: "en-US" }

Şema

{
  "method": "POST",
  "path": "/api/v1/{locale}/{websiteId}/redirects",
  "contentType": "application/json",
  "bodyHint": "{ \"from\": \"products/[slug]\", \"to\": \"catalogue/[slug]\", \"status\"?: 301|302, \"locale\"?: \"en-US\" }"
}

MCP araçları

İlgili