From 403cc00aaa51026a26c140812960dbfa4e432768 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Martin=20Ad=C3=A1mek?= Date: Wed, 2 Dec 2026 18:20:51 +0100 Subject: [PATCH] docs: clarify what public storage URLs grant access to The list options passed to `create_items_public_url` and `create_keys_public_url` are appended as plain query parameters outside the signature. The docstrings now say they only set the default response shape and that the URL grants access to the whole dataset or key list until it expires. --- src/apify_client/_resource_clients/dataset.py | 8 ++++++-- src/apify_client/_resource_clients/key_value_store.py | 8 ++++++-- 2 files changed, 12 insertions(+), 4 deletions(-) diff --git a/src/apify_client/_resource_clients/dataset.py b/src/apify_client/_resource_clients/dataset.py index 1a2168421..c5dc637a3 100644 --- a/src/apify_client/_resource_clients/dataset.py +++ b/src/apify_client/_resource_clients/dataset.py @@ -588,7 +588,9 @@ def create_items_public_url( This value sets the expiration duration from the time the URL is generated. If not provided, the URL will not expire. - Any other options (like `limit` or `offset`) will be included as query parameters in the URL. + Any other options (like `limit` or `offset`) will be included as query parameters in the URL. They are not + covered by the signature, so they only set the default shape of the response and anyone holding the URL can + change or remove them. The URL grants read access to all items in the dataset until it expires. Args: item_format: Format of the results, possible values are: json, jsonl, csv, html, xlsx, xml and rss. @@ -1183,7 +1185,9 @@ async def create_items_public_url( This value sets the expiration duration from the time the URL is generated. If not provided, the URL will not expire. - Any other options (like `limit` or `offset`) will be included as query parameters in the URL. + Any other options (like `limit` or `offset`) will be included as query parameters in the URL. They are not + covered by the signature, so they only set the default shape of the response and anyone holding the URL can + change or remove them. The URL grants read access to all items in the dataset until it expires. Args: item_format: Format of the results, possible values are: json, jsonl, csv, html, xlsx, xml and rss. diff --git a/src/apify_client/_resource_clients/key_value_store.py b/src/apify_client/_resource_clients/key_value_store.py index 1ec6e5fe3..53d5483ba 100644 --- a/src/apify_client/_resource_clients/key_value_store.py +++ b/src/apify_client/_resource_clients/key_value_store.py @@ -473,7 +473,9 @@ def create_keys_public_url( This value sets the expiration duration from the time the URL is generated. If not provided, the URL will not expire. - Any other options (like `limit` or `prefix`) will be included as query parameters in the URL. + Any other options (like `limit` or `prefix`) will be included as query parameters in the URL. They are not + covered by the signature, so they only set the default shape of the response and anyone holding the URL can + change or remove them. The URL grants access to the list of all keys in the store until it expires. Args: limit: Number of keys to be returned. Maximum value is 1000. @@ -917,7 +919,9 @@ async def create_keys_public_url( This value sets the expiration duration from the time the URL is generated. If not provided, the URL will not expire. - Any other options (like `limit` or `prefix`) will be included as query parameters in the URL. + Any other options (like `limit` or `prefix`) will be included as query parameters in the URL. They are not + covered by the signature, so they only set the default shape of the response and anyone holding the URL can + change or remove them. The URL grants access to the list of all keys in the store until it expires. Args: limit: Number of keys to be returned. Maximum value is 1000.