deploy
This commit is contained in:
@@ -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.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user