update_trend – Trend ändern

Setzt einen Trend auf skipped (kein Artikel gewünscht) oder wieder auf open; optional Notiz, score, Kategorie.

HTTP
PATCH /api/trends/{trend_id}
Zugang
Rolle editor (Redaktion)
Bereich
Redaktion
Nur lesend
nein

Du bist nicht angemeldet. Anmelden

Dieses Werkzeug braucht eine Rolle, die anltx vergibt.

Formular

Eingabeschema (JSON Schema)

{
    "type": "object",
    "properties": {
        "trend_id": {
            "type": "string"
        },
        "status": {
            "type": "string",
            "enum": [
                "open",
                "skipped"
            ]
        },
        "note": {
            "type": "string"
        },
        "score": {
            "type": "integer"
        },
        "category": {
            "type": "string",
            "enum": [
                "Künstliche Intelligenz",
                "Hardware",
                "Software",
                "Internet & Plattformen",
                "Unternehmen",
                "IT-Sicherheit",
                "Wissenschaft",
                "Wirtschaft & Technologie"
            ]
        }
    },
    "required": [
        "trend_id"
    ]
}

REST

curl -X PATCH https://anltx.com/api/trends/<trend_id> \
  -H "Content-Type: application/json" -H "Idempotency-Key: $(uuidgen)" \
  -d '{}'

MCP

{
    "jsonrpc": "2.0",
    "id": 1,
    "method": "tools/call",
    "params": {
        "name": "update_trend",
        "arguments": {
            "trend_id": "<trend_id>"
        }
    }
}

Alle Werkzeuge