fix: correct get_activities field mapping, document wallget response (v0.3.2)
This commit is contained in:
@@ -151,6 +151,16 @@ Content-Type: application/x-www-form-urlencoded
|
|||||||
| `masterNested` | optional |
|
| `masterNested` | optional |
|
||||||
| `sortBy` | optional |
|
| `sortBy` | optional |
|
||||||
|
|
||||||
|
**Response-Struktur (verifiziert):**
|
||||||
|
```
|
||||||
|
a00.r.r[]
|
||||||
|
.metaId → ID der Aktivität (= wallMessageId)
|
||||||
|
.refType → Aktivitätstyp (z.B. STATUS, FAMILY_CREATED)
|
||||||
|
.text → Text (optional, fehlt bei System-Events)
|
||||||
|
.creationDate → Datum (ISO 8601)
|
||||||
|
.accountId → Autor-ID
|
||||||
|
```
|
||||||
|
|
||||||
**Response-Struktur:** zu verifizieren beim ersten echten Call
|
**Response-Struktur:** zu verifizieren beim ersten echten Call
|
||||||
|
|
||||||
### `wallactivityget` – Einzelne Aktivität abrufen
|
### `wallactivityget` – Einzelne Aktivität abrufen
|
||||||
|
|||||||
+1
-1
@@ -4,7 +4,7 @@ build-backend = "hatchling.build"
|
|||||||
|
|
||||||
[project]
|
[project]
|
||||||
name = "mcp-familywall"
|
name = "mcp-familywall"
|
||||||
version = "0.3.1"
|
version = "0.3.2"
|
||||||
description = "MCP server for Family Wall — read your family's lists and tasks via Claude"
|
description = "MCP server for Family Wall — read your family's lists and tasks via Claude"
|
||||||
readme = "README.md"
|
readme = "README.md"
|
||||||
requires-python = ">=3.12"
|
requires-python = ">=3.12"
|
||||||
|
|||||||
@@ -1 +1 @@
|
|||||||
__version__ = "0.3.1"
|
__version__ = "0.3.2"
|
||||||
|
|||||||
@@ -289,10 +289,10 @@ def get_activities(limit: int = 20):
|
|||||||
result.append(
|
result.append(
|
||||||
{
|
{
|
||||||
"id": item.get("metaId"),
|
"id": item.get("metaId"),
|
||||||
"type": item.get("type"),
|
"type": item.get("refType"),
|
||||||
"text": item.get("text") or item.get("comment"),
|
"text": item.get("text"),
|
||||||
"date": item.get("date") or item.get("createdDate"),
|
"date": item.get("creationDate"),
|
||||||
"author": item.get("authorName") or item.get("author"),
|
"author": item.get("accountId"),
|
||||||
}
|
}
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user