REST API lego kit powering http://api.npolar.no
Rack-based reusable building blocks for running REST-style APIs over HTTP.
API endpoints are constructed like lego blocks by connecting a minimalist Core instance with a Storage object and assembling other middleware for security, validation, search/indexing, logging, transformation, etc.
- Storage neutral, but currently built around CouchDB
- Lucene-based search via Elasticsearch or Solr
- Authorization
- Edit log
- JSON schema (validation)
- GeoJSON
- API browser, see e.g. http://api.npolar.no/dataset/?q=
- Model hooks
- Self-describing, see. http://api.npolar.no/service/dataset-api
- Installation
- How to publish a new API
TODO Cache-Control: max-age=86400 var=col geojsson linestri col https://stackoverflow.com/questions/5851727/leverage-browser-caching-expires-or-max-age-last-modified-or-etag
facet.format = legacy facet.format = object facet.format = ...?