External JSON endpoint
See original GitHub issueGreat framework, exporting to static is brilliant. However, I have an use case here which I’m not sure is it covered by the documentation.
My JSON file is hosted in AWS S3, having that said, I’m not able to host put my files in src/data/
I tried to define an absolute path at gatsby-config.js:
{
resolve: `gatsby-source-filesystem`,
options: {
name: `tnc`,
path: `<absolutepath/>.json`
}
},
Note: <absoultepath/> is just a reference placeholder.
this doesn’t work as it will prompt me this error. “The path passed to gatsby-source-filesystem does not exist on your file system:”
Is there any reference to my use case?
Issue Analytics
- State:
- Created 6 years ago
- Reactions:1
- Comments:5 (3 by maintainers)
Top Results From Across the Web
Creating a Rest API Endpoint based on External JSON format
Creating Complex JSON and XML using DataList and DataItem. Keywords: ▫. Creating a Rest API Endpoint based on External JSON format. Keywords:.
Read more >Getting started with External API and Webhooks
External API allows you to create workflows that send HTTP requests to external web servers, API endpoints, and URLs.
Read more >JSON:API — A specification for building APIs in JSON
Clients built around JSON:API are able to take advantage of its features around efficiently caching responses, sometimes eliminating network requests entirely.
Read more >External API access - RethinkDB
http command reference for documentation for other languages. In this article. Basic usage; Accessing JSON APIs; Storing and enriching API data; Pagination ...
Read more >Can Squarespace connect to an external Json Rest-API...?
From Squarespace: Squarespace doesn't support server-side code, including PHP, Ruby, Ruby on Rails, and SQL. Therefore, the only way to ...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Due to the high volume of issues, we’re closing out older ones without recent activity. Please open a new issue if you need help!
Hi, I may have use case where this error is a bit annoying: I am using netlify-cms to create my data store I then use this data for the build. When I delete all the data of a folder i configured with g-s-fs then of course after pull new data that folder is deleted.
Would you consider, instead of throwing an error, to allow a graceful info message of missing folders?