https://github.com/npolar/api.npolar.no
Searchable data storage
https://github.com/npolar/api.npolar.no
api couchdb elasticsearch rest-api ruby
Last synced: 2 months ago
JSON representation
Searchable data storage
- Host: GitHub
- URL: https://github.com/npolar/api.npolar.no
- Owner: npolar
- Created: 2012-05-02T13:49:07.000Z (about 14 years ago)
- Default Branch: master
- Last Pushed: 2022-08-16T08:30:05.000Z (almost 4 years ago)
- Last Synced: 2024-04-14T23:00:59.308Z (about 2 years ago)
- Topics: api, couchdb, elasticsearch, rest-api, ruby
- Language: Ruby
- Homepage: https://api.npolar.no
- Size: 2.24 MB
- Stars: 4
- Watchers: 9
- Forks: 0
- Open Issues: 10
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# REST API lego kit powering http://api.npolar.no
[Rack](https://github.com/rack/rack)-based reusable building blocks for running [REST](http://en.wikipedia.org/wiki/Representational_state_transfer)-style [API](http://en.wikipedia.org/wiki/Application_programming_interface)s
over [HTTP](http://www.w3.org/Protocols/rfc2616/rfc2616.html).
API endpoints are constructed like [lego](http://lego.dk) blocks by connecting a minimalist [Core](https://github.com/npolar/api.npolar.no/wiki/Core) instance with a [Storage](https://github.com/npolar/api.npolar.no/wiki/Storage) object and assembling
other middleware for security, validation, search/indexing, logging, transformation, etc.
## Features
* 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
## Getting started
* [Installation](https://github.com/npolar/api.npolar.no/wiki/Install)
* How to publish a [new API](https://github.com/npolar/api.npolar.no/wiki/New-API)
[](https://codeclimate.com/github/npolar/api.npolar.no)
[RubyDoc](http://rdoc.info/github/npolar/api.npolar.no/index)
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 = ...?