Create or overwrite a wiki page (human edit)
Create or overwrite a wiki page (human edit). Write access required; a stale expected_version returns 409.
Personal access token scope: sources:write.
bearerAuthorizationBearer <token>A session token or a personal access token. Leave it empty when the instance runs without authentication (AUTH_TYPE unset).
source_id*stringapplication/json- body
content*stringMarkdown content
expected_version?integerOptimistic-lock version from the last read
path*stringPage path
Success
curl -X PUT 'http://localhost:7091/api/sources/string/wiki/page' \ -H 'Content-Type: application/json' \ -d '{ "content": "string", "path": "string"}'Updates an existing chunk in the document PUT
Updates an existing chunk in the document. 409 (code source_busy) while a sync or page change on the source runs. [Personal access token](/API/personal-access-tokens) scope: `sources:write`.
Change a wiki's settings (owner only, manage_settings) PUT
Change a wiki's settings (owner only, manage_settings). Body: {"allow_outside_edits": bool}: whether runs from an agent's API key or widget may edit the wiki. Not available to [personal access tokens](/API/personal-access-tokens); call it from a signed-in session.