List viewer assets for a published package or dataset

Unauthenticated endpoint that returns viewer assets for a published
package or a published dataset, along with a CloudFront signed policy
for accessing the asset files. Each asset includes an asset_url.
To access files, append the relative path and signing params:
{asset_url}{path}?Policy={policy}&Signature={signature}&Key-Pair-Id={key_pair_id}

Caller must supply exactly one of package_id or dataset_id.
Note the asymmetry between the two: the package side accepts a node ID
because discover.public_file_versions stores source_package_id as a
node ID, while the dataset side accepts the published-dataset integer
PK
because discover.public_datasets does not record the source
dataset node ID.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Query Params
string

Source package node id (e.g. N:package:uuid). Returns viewer assets
linked to that package. Mutually exclusive with dataset_id.

int64

Published-dataset integer PK (i.e. discover.public_datasets.id,
the same numeric ID used in https://discover.pennsieve.io/datasets/{id}
URLs). Returns dataset-scoped viewer assets (those with no package
links). Mutually exclusive with package_id.

Responses

Language
URL
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json