Updates an existing chunk in the document
Updates an existing chunk in the document. 409 (code source_busy) while a sync or page change on the source runs.
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).
application/json- body
chunk_id*stringChunk ID to update
id*stringDocument ID
metadata?Updated metadata associated with the chunk
text?stringNew text of the chunk
Success
curl -X PUT 'http://localhost:7091/api/update_chunk' \ -H 'Content-Type: application/json' \ -d '{ "chunk_id": "string", "id": "string"}'Save a Website source's entries, skips, link setting and sync schedule POST
Save a Website source's entries, skips, link setting and sync schedule. Applies at the next sync. An address the save adds is checked as in /api/website/pages: one that isn't a web address (user:password@ credentials, a malformed host, a control character) is a 400 with code invalid_address, as is a new skip rule with a control character; a new path with one is a 400 with code invalid_config. What the source already stores is saved as it is. [Personal access token](/API/personal-access-tokens) scope: `sources:write`.
Create or overwrite a wiki page (human edit) PUT
Create or overwrite a wiki page (human edit). Write access required; a stale expected_version returns 409. [Personal access token](/API/personal-access-tokens) scope: `sources:write`.