Skip to content

Document API

Every legacy endpoint in this category and its replacement in the new Oneserve API (where one exists).

Legacy Status Replacement Notes
addDocument Replaced POST /v1/jobs/{id}/documents Upload flow has changed - legacy /rest/docs/addDocuments accepted metadata-only and required the file to be POSTed separately. New API returns a presigned S3 upload URL from POST /v1/jobs/{id}/documents which the client must then PUT the file to within 10 seconds. Legacy supported site-level documents in the same call (level: "S"); for site-level use POST /v1/sites/{id}/documents instead.
documentExportJson No replacement No direct export endpoint in new API.
documentExportXml No replacement No direct export endpoint in new API.