Smoke test URLs for API Foundry
- Legacy API Foundry V1.0 endpoint
- Path should be
/foundry/soda.demo.socrata.com/earthquakes
- API endpoint should be
https://soda.demo.socrata.com/resource/44tw-yjee.json
- Version should be
2.1
- No upgrade flash should be displayed
- Public View on Private Dataset, no 2.0
- API endpoint should be
https://soda.demo.socrata.com/resource/bnx9-e6tj.json
- Version should be
2.1
- Should state you’re on the latest version
- Name should be “ACRIS - Real Property Master”
- Description should be “Document details for Real Property …”
- Should have a
document_id column
- Public Filtered view on public dataset
- API endpoint should be
https://soda.demo.socrata.com/resource/rm4w-z3zc.json
- Version should be
2.1
- Should state you’re on the latest version
- Name should be “Old Backend Saved Filter”
- Description should be “This is the old backend dataset description”
- Should have a
location column
- Public 2.0 API with 2.1 shadow copy, forced no redirect (BROKEN DATASET NO LONGER 2.0)
- Path should be
/foundry/soda.demo.socrata.com/f45n-c7cd/no-redirect
- API endpoint should be
https://soda.demo.socrata.com/resource/f45n-c7cd.json
- Version should be
2.0
- Upgrade flash should be displayed
- Should have a
location column
- Public 2.0 API with 2.1 shadow copy, forced no redirect, embed mode (BROKEN DATASET NO LONGER 2.0)
- Path should be
/foundry/soda.demo.socrata.com/f45n-c7cd/no-redirect
- API endpoint should be
https://soda.demo.socrata.com/resource/f45n-c7cd.json
- Version should be
2.0
- Upgrade flash should be displayed
- Should have a
location column
- Should not have header and footer
- Public 2.0 API with 2.1 shadow copy, allow redirect (BROKEN DATASET NO LONGER 2.0)
- Should redirect to
/foundry/soda.demo.socrata.com/b6kv-3wgw
- API endpoint should be
https://soda.demo.socrata.com/resource/b6kv-3wgw.json
- Version should be
2.1
- Should state you’re on the latest version
- Name should be “Old Backend Dataset Name”
- Description should be “This is the old backend dataset description”
- Should have a
point column
- Public 2.0 API with 2.1 shadow copy, allow redirect, embed mode (BROKEN DATASET NO LONGER 2.0)
- Should redirect to
/foundry/soda.demo.socrata.com/b6kv-3wgw/embed
- API endpoint should be
https://soda.demo.socrata.com/resource/b6kv-3wgw.json
- Version should be
2.1
- Should state you’re on the latest version
- Name should be “Old Backend Dataset Name”
- Description should be “This is the old backend dataset description”
- Should have a
point column
- Should not show header and footer
- Public 2.1 API with 2.0 shadow copy, differing metadata (BROKEN DATASET NO LONGER 2.0)
- Path should be
/foundry/soda.demo.socrata.com/b6kv-3wgw
- API endpoint should be
https://soda.demo.socrata.com/resource/b6kv-3wgw.json
- Version should be
2.1
- Should state you’re on the latest version
- Name should be “Old Backend Dataset Name”
- Description should be “This is the old backend dataset description”
- Should have a
point column
- Private dataset
- Should prompt for login
- Should redirect to
/foundry/soda.demo.socrata.com/8zup-mqss
- API endpoint should be
https://soda.demo.socrata.com/resource/8zup-mqss.json
- Version should be
2.1
- Should state you’re on the latest version
- Name should be “Private Dataset”
- Description should be “This is a private dataset”
- Should have a
point column
- Doesn’t exist
- Should get a friendly error message
- Doesn’t exist, embed mode
- Should get a friendly error message
- Should not have header and footer