UpdateAssetReq

  • metadata
    Type: object · ResourceMetadata
    required
    • key
      Type: string Pattern: ^[a-z][a-z0-9]*(_[a-z0-9]+)*$
      required

      Unique snake_case identifier

    • name
      Type: string
      max length:  
      200
      required

      Human-readable name (max 200 chars)

    • version
      Type: string
      required

      Semantic version (e.g. 1.0.0) or "draft"

    • description
      Type: string
      max length:  
      1000

      Optional description (max 1000 chars)

    • labels
      Type: object

      Key-value labels for categorization

  • spec
    Type: object · AssetSpec
    required
    • type
      Type: stringenum
      required

      Asset content type

      values
      • html
      • image
      • pdf
      • style
      • markdown
      • text
      • json
      • partial
    • content
      Type: string

      Inline text content for text-based assets (html, style, markdown, text, json, partial)

    • fileId
      Type: string

      File ID for binary assets (image, pdf)

    • htmlConfig
      Type: object

      Configuration for HTML assets