diff options
author | Francois Perrad <francois.perrad@gadz.org> | 2012-03-17 17:05:20 +0100 |
---|---|---|
committer | Francois Perrad <francois.perrad@gadz.org> | 2012-03-17 17:05:20 +0100 |
commit | 1f3d282f10762d3a31ba1b99976c08017d958203 (patch) | |
tree | eddb65665ce40f1230ef1652135fdc96a155c876 | |
parent | Merge pull request #5 from dolmen/fix/rx-url (diff) | |
download | api-description-1f3d282f10762d3a31ba1b99976c08017d958203.tar.gz |
add data-publica
-rw-r--r-- | services/Makefile | 2 | ||||
-rw-r--r-- | services/datapublica.json | 29 | ||||
-rw-r--r-- | services/datapublica.png | bin | 0 -> 5837 bytes |
3 files changed, 31 insertions, 0 deletions
diff --git a/services/Makefile b/services/Makefile index 31f3bb4..6fc3b2b 100644 --- a/services/Makefile +++ b/services/Makefile @@ -8,6 +8,7 @@ check: spore_validation.rx @$(VALIDATOR) amazons3.json @$(VALIDATOR) backtweet.json @$(VALIDATOR) backtype.json + @$(VALIDATOR) datapublica.json @$(VALIDATOR) github.json @$(VALIDATOR) googleoauth.json @$(VALIDATOR) googleoauth2.json @@ -28,6 +29,7 @@ png: \ amazons3.png \ backtweet.png \ backtype.png \ + datapublica.png \ github.png \ googleoauth.png \ googleoauth2.png \ diff --git a/services/datapublica.json b/services/datapublica.json new file mode 100644 index 0000000..fb560a0 --- /dev/null +++ b/services/datapublica.json @@ -0,0 +1,29 @@ +{ + "name" : "DataPublica", + "version" : "1", + "base_url" : "http://api.data-publica.com", + "methods" : { + "query" : { + "path" : "/v1/:reference/:tablename/content", + "method" : "GET", + "required_params" : [ + "reference", + "tablename", + "key" + ], + "optional_params" : [ + "format", + "limit", + "offset", + "filter" + ] + } + }, + "authentication" : true, + "expected_status" : [ 200, 400, 404 ], + "formats" : [ "json", "csv", "excel" ], + "authority" : "http://github.com/SPORE", + "meta" : { + "documentation" : "http://www.data-publica.com/content/api/" + } +} diff --git a/services/datapublica.png b/services/datapublica.png new file mode 100644 index 0000000..772c29d --- /dev/null +++ b/services/datapublica.png Binary files differ |