Files
motia/bitbylaw/steps/advoware_proxy/advoware_api_proxy_put_step.md
2026-02-07 09:23:49 +00:00

1.1 KiB

type, category, name, version, status, tags, dependencies, emits
type category name version status tags dependencies emits
step api Advoware Proxy PUT 1.0.0 active
advoware
proxy
api
rest
update
services/advoware.py

Advoware Proxy PUT Step

Zweck

Universeller REST-API-Proxy für PUT-Requests an die Advoware API zum Aktualisieren bestehender Ressourcen.

Input

PUT /advoware/proxy?endpoint=appointments/12345
Content-Type: application/json

{
  "text": "Updated Meeting Title"
}

Output

{
  "status": 200,
  "body": {
    "result": {
      "id": "12345",
      "text": "Updated Meeting Title",
      ...
    }
  }
}

Key Differences

  • Method: PUT
  • Endpoint: Typischerweise mit ID (resource/123)
  • Body: Partial oder Full Update-Payload
  • Side-Effect: Modifiziert bestehende Ressource

Testing

curl -X PUT "http://localhost:3000/advoware/proxy?endpoint=appointments/12345" \
  -H "Content-Type: application/json" \
  -d '{"text": "Updated Title"}'

Siehe advoware_api_proxy_get_step.md für vollständige Details.