Skip to main content

What is a Public Silo?

A Public Silo in JSONsilo is a storage solution for your JSON files that allows unrestricted access to anyone with the link. Public silos are ideal for sharing non-sensitive data with a wide audience, as they do not require any authentication or access keys.

Key Features of Public Silos

  • Easy Sharing: Share your JSON files with anyone by simply providing the link.
  • No Authentication Required: Public silos do not require users to authenticate or provide access keys.

Unsupported Features

  • Query and Search: Advanced querying and searching capabilities are not available for public silos.

Use Cases

  • Public APIs: Use public silos to store JSON data for public APIs that do not require authentication.
  • Open Data: Share open data sets with the community without any access restrictions.
  • Collaboration: Facilitate collaboration by allowing team members to access shared JSON files without barriers.
  • Documentation: Host JSON files for documentation purposes that need to be easily accessible to users.

How to Create a Public Silo

To create a public silo, follow these steps:
  1. Navigate to the Silos dashboard in JSONsilo console.
  2. Click on the “Create new Silo” button.
  3. Select the “Public” option in the access field.
  4. Click “Next: Add JSON Data” button to proceed.
  5. Upload or create your JSON file using the JSON Editor.
  6. Save the silo to generate a unique URL.

Accessing a Public Silo

For public silos, you can access the JSON file directly without any authentication headers.
curl -X GET \
  -H 'Content-Type: application/json' \
  https://[region-code].jsonsilo.com/public/[file-uuid]
fetch('https://[region-code].jsonsilo.com/public/[file-uuid]', {
  method: 'GET',
  headers: {
    'Content-Type': 'application/json'
  }
})
.then(response => response.json())
.then(data => console.log(data))
.catch(error => console.error('Error:', error));
import requests

url = 'https://[region-code].jsonsilo.com/public/[file-uuid]'
headers = {
    'Content-Type': 'application/json'
}

response = requests.get(url, headers=headers)
if response.status_code == 200:
    print(response.json())
else:
    print('Error:', response.status_code)

Rate Limits

Public silos have the same rate limits as private silos depending on your subscription plan.