Stream: community

Topic: db settings for Ask the Data for API access


view this post on Zulip Deirdre Kirmis (Mar 21 2024 at 17:43):

This is probably a dumb question, but can anyone recommend what BlockedAPIPolicy and BlockedAPIEndpoints should be set to to allow access to "Ask The Data"? I have it installed but getting errors that the API endpoint is not authorized

view this post on Zulip Philip Durbin ๐Ÿš€ (Mar 21 2024 at 18:31):

Well, I'm confused. They should be somewhat unrelated.

view this post on Zulip Philip Durbin ๐Ÿš€ (Mar 21 2024 at 18:32):

When you say you want to access Ask the Data, do you mean the installation Harvard Dataverse uses at https://askdataverse.shinyapps.io/askdata ? Or are you installing Ask the Data somewhere?

view this post on Zulip Deirdre Kirmis (Mar 21 2024 at 19:03):

just adding it as an external tool from our QA site per https://github.com/IQSS/askdataverse/tree/main/askthedata#adding-askthedata-as-an-external-tool .. yea sorry I didn't think that through so my question doesn't make sense (I warned you)

view this post on Zulip Philip Durbin ๐Ÿš€ (Mar 21 2024 at 19:22):

Ok, you're using https://raw.githubusercontent.com/IQSS/askdataverse/main/askthedata/askthedata.json which has this:

"toolUrl": "https://askdataverse.shinyapps.io/askthedata",

view this post on Zulip Philip Durbin ๐Ÿš€ (Mar 21 2024 at 19:22):

So the same toolUrl we use at Harvard Dataverse.

view this post on Zulip Philip Durbin ๐Ÿš€ (Mar 21 2024 at 19:23):

You shouldn't have to touch your settings for blocked API endpoints, etc.

view this post on Zulip Philip Durbin ๐Ÿš€ (Mar 21 2024 at 19:23):

Ask the Data uses normal, boring endpoints to download data.


Last updated: Nov 01 2025 at 14:11 UTC