An open API service indexing awesome lists of open source software.

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

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)

[![Code Climate](https://codeclimate.com/github/npolar/api.npolar.no.png)](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 = ...?