From 8e3bd815d0d7490000feeda11c2bb5784001b083 Mon Sep 17 00:00:00 2001 From: Asgeir <107412262+AsgeirDoku@users.noreply.github.com> Date: Mon, 3 Oct 2022 00:19:24 +0200 Subject: [PATCH 1/2] Update endpoints.md Fixed incorrect endpoint path-url for uploading files. --- v1/endpoints.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/v1/endpoints.md b/v1/endpoints.md index c600eff..192a83e 100644 --- a/v1/endpoints.md +++ b/v1/endpoints.md @@ -971,7 +971,7 @@ Uploads a single temporary document to Documaster as a stream. ### Request ``` -POST /upload HTTP/1.1 +POST /upload-temp HTTP/1.1 Accept: application/json Authorization: Bearer {token} Content-disposition: attachment; filename="ASCII_FILENAME"; filename*=utf-8''UTF8_FILENAME From 297562114a8c82e9c4fde028936c3af104c86d34 Mon Sep 17 00:00:00 2001 From: Asgeir <107412262+AsgeirDoku@users.noreply.github.com> Date: Mon, 3 Oct 2022 22:21:46 +0200 Subject: [PATCH 2/2] Update model.md Adding missing expand field on `document-version`. --- v1/model.md | 1 + 1 file changed, 1 insertion(+) diff --git a/v1/model.md b/v1/model.md index ad60722..f4ff0bf 100644 --- a/v1/model.md +++ b/v1/model.md @@ -421,6 +421,7 @@ A DocumentVersion is identified by the following attributes: A DocumentVersion accepts the following `expand` values: - document (in order to be able to request more fields than just the the parent Document ID) +- electronicDocument - externalIds ## External ID