This commit is contained in:
a2a-platform
2026-06-29 01:34:41 +00:00
parent a519e7b558
commit dfa7bb3bc4
6 changed files with 90 additions and 13 deletions

View File

@@ -13,9 +13,13 @@ For write, update, or delete operations, state the intended action before callin
For visible lesson content, prefer `POST /api/v1/activities/` with
`activity_type=TYPE_DYNAMIC`, `activity_sub_type=SUBTYPE_DYNAMIC_MARKDOWN`,
markdown stored in `content`/`details`, `lock_type=public`, and `published=true`
unless the user asks for drafts. Always use the target chapter's own
`chapter_id`; do not attach every activity to the first chapter. On
`content.markdown_url`, `lock_type=public`, and `published=true` unless the user
asks for drafts. The LearnHouse markdown renderer reads `activity.content.markdown_url`;
it does not render inline `content.body` or `content.markdown` by itself. If no
external markdown URL is available, provide inline markdown in `content.markdown`
or `content.body`; the agent runtime converts it to a `data:text/markdown` URL
before calling LearnHouse. Always use the target chapter's own `chapter_id`; do
not attach every activity to the first chapter. On
`PUT /api/v1/activities/{activity_uuid}`, do not send `published_version`;
this LearnHouse backend rejects that field.