HOC SiteDokümantasyon

Create an object type

Create an object type. id restores a previous object type id.

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

/api/v1/{locale}/{websiteId}/objects

İstek

  • Content-Type: application/json
{ "label": "string", "kind": "single|collection|user", "fieldSchema": "object", "slug": "string?", "id"?: "uuid" }

Şema

{
  "method": "POST",
  "path": "/api/v1/{locale}/{websiteId}/objects",
  "contentType": "application/json",
  "bodyHint": "{ \"label\": \"string\", \"kind\": \"single|collection|user\", \"fieldSchema\": \"object\", \"slug\": \"string?\", \"id\"?: \"uuid\" }"
}

MCP araçları

İlgili