apify-sdk-js icon indicating copy to clipboard operation
apify-sdk-js copied to clipboard

Add methods to create items/keys public URLs of the Dataset/KV-store

Open danpoletaev opened this issue 4 months ago • 0 comments

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 👇

Alternative solutions or implementations

No response

Other context

No response

danpoletaev avatar Aug 21 '25 14:08 danpoletaev