From b26ebdcf110a9ac49544093b07581c3f153479ae Mon Sep 17 00:00:00 2001 From: AdayevKP Date: Wed, 13 Dec 2023 16:08:34 +0300 Subject: [PATCH] add workbook_id header --- lib/dl_api_commons/dl_api_commons/headers.py | 1 + lib/dl_constants/dl_constants/api_constants.py | 1 + 2 files changed, 2 insertions(+) diff --git a/lib/dl_api_commons/dl_api_commons/headers.py b/lib/dl_api_commons/dl_api_commons/headers.py index 04af77157..4d31940c8 100644 --- a/lib/dl_api_commons/dl_api_commons/headers.py +++ b/lib/dl_api_commons/dl_api_commons/headers.py @@ -20,6 +20,7 @@ "User-Agent", "X-DL-Folder-ID", DLHeadersCommon.TENANT_ID.value, + DLHeadersCommon.WORKBOOK_ID.value, "Referer", "X-Chart-Id", "X-Dash-Id", diff --git a/lib/dl_constants/dl_constants/api_constants.py b/lib/dl_constants/dl_constants/api_constants.py index 156affcb4..c91b07957 100644 --- a/lib/dl_constants/dl_constants/api_constants.py +++ b/lib/dl_constants/dl_constants/api_constants.py @@ -27,6 +27,7 @@ class DLHeadersCommon(DLHeaders): PUBLIC_API_KEY = "X-DL-Back-Public-API-Token" FILE_UPLOADER_MASTER_TOKEN = "X-DL-File-Uploader-Master-Token" TENANT_ID = "X-DL-TenantId" # Tenant in the UnitedStorage format. + WORKBOOK_ID = "X-DL-WorkbookId" PROJECT_ID = "X-DC-ProjectId" FORWARDED_FOR = "X-Forwarded-For" CSRF_TOKEN = "X-CSRF-Token"