-
Notifications
You must be signed in to change notification settings - Fork 54
Open
Labels
t-toolingIssues with this label are in the ownership of the tooling team.Issues with this label are in the ownership of the tooling team.
Description
Feature
Introduce new methods to the SDK for generating public URLs for items in Datasets and keys in Key-Value Stores.
Specifically, this would add:
- A method to get a public URL to items in a Dataset.
- A method to get a public URL to keys in a Key-Value Store.
Motivation
Currently, sharing data from a storage resource set to "Restricted" is difficult. The standard URLs require an API token, and including this token in a shared link is a significant security risk.
This feature would provide a secure and straightforward way for developers to share data with external services or users without exposing sensitive credentials.
Ideal solution or implementation, and any additional constraints
The ideal solution is to leverage the existing functionality within the apify-client. The new SDK methods would act as convenient wrappers around the client's methods.
The proposed implementation would be 👇
Dataset.createItemsPublicUrl(options)
: This method would call the apify-client function dataset(id).createItemsPublicUrl(options).KeyValueStore.createKeysPublicUrl(options)
: This method would call the underlying apify-client function keyValueStore(id).createKeysPublicUrl(options).
Alternative solutions or implementations
No response
Other context
No response
Metadata
Metadata
Assignees
Labels
t-toolingIssues with this label are in the ownership of the tooling team.Issues with this label are in the ownership of the tooling team.