# updates.update

Access: Bearer token required. Additional credential or scope: updates:publish. MCP allowed: yes (op_updates_update).

HTTP: POST /api/v2/execute. Replace the placeholder input below with an object matching the input JSON Schema; this example is not a runnable request.

{"version":1,"operation":"updates.update","input":<input-object matching schema>}

CLI: indielogs call updates.update '<input-json>' (command shape only; the placeholder is not a valid sample input).

Input JSON Schema (generated from the shared Zod input schema). JSON Schema describes representable structure; runtime refinements and transforms remain enforced by the canonical parser and may not be fully represented here.

```json

{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "type": "object",
  "properties": {
    "id": {
      "type": "string",
      "minLength": 1,
      "maxLength": 200
    },
    "description": {
      "type": "string",
      "maxLength": 10000
    },
    "date": {
      "type": [
        "string",
        "null"
      ]
    },
    "image": {
      "anyOf": [
        {
          "type": "string",
          "const": ""
        },
        {
          "type": "string",
          "maxLength": 2048,
          "format": "uri"
        }
      ]
    },
    "video": {
      "anyOf": [
        {
          "type": "string",
          "const": ""
        },
        {
          "type": "string",
          "maxLength": 2048,
          "format": "uri"
        }
      ]
    },
    "items": {
      "maxItems": 16,
      "type": "array",
      "items": {
        "type": "string",
        "maxLength": 280
      }
    }
  },
  "required": [
    "id"
  ],
  "additionalProperties": {}
}

```