Add pages or sites to a Website source; they stay in every sync
Add pages or sites to a Website source; they stay in every sync. Pages are fetched and appended now (mode append). A site rebuilds the source like a sync (mode sync), and so does a page whose host makes a single-host source span several hosts (every page moves under a host folder), or any add on a vector store that can't change single chunks. Only what the source doesn't list yet is added and fetched: a page it lists under any spelling, or a site with the same address and settings; when that leaves nothing, a 400 with code already_listed and nothing is queued. Refused with code page_limit when the source would hold more than WEB_MAX_PAGES pages; a 500 with code queue_failed when the entries were saved but the task couldn't be queued (the next sync fetches them).
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
entries*array<>Pages or sites to add (as in /api/website)
source_id*stringSource ID
Success
curl -X POST 'http://localhost:7091/api/website/pages' \ -H 'Content-Type: application/json' \ -d '{ "entries": [ {} ], "source_id": "string"}'Adds a new chunk to the document POST
Adds a new chunk to 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`.
Convert an ingested source into a wiki POST
Convert an ingested source into a wiki. A blank source is enabled inline; a source with files runs a conversion task (poll its status for the per-file summary). Write access required (owner/editor). [Personal access token](/API/personal-access-tokens) scope: `sources:write`.