summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorgebele <gebele@in-silico.ch>2013-06-13 11:29:10 +0200
committergebele <gebele@in-silico.ch>2013-06-13 11:29:10 +0200
commitdf1d9c779eed10affa4f8bdcccd5a77eaa57ec9a (patch)
treedd4ca764f6b7f09cd103fc59c98ec0db7f9708c1
parent1313f579dd1ca8bad2c8a0d717ad24ecb7939400 (diff)
changed route
-rw-r--r--lib/opentox.rb4
1 files changed, 1 insertions, 3 deletions
diff --git a/lib/opentox.rb b/lib/opentox.rb
index 3adca81..e3f1910 100644
--- a/lib/opentox.rb
+++ b/lib/opentox.rb
@@ -132,9 +132,7 @@ module OpenTox
end
# internal route not in API
- # example: /SERVICE/last/0 returns last 10 modified uris (default)
- # example: /SERVICE/last/5 returns last 5 modified uris
- get "/#{SERVICE}/ordered/?" do
+ get "/#{SERVICE}/last/ordered/?" do
FourStore.query("SELECT DISTINCT ?s WHERE
{GRAPH ?g
{?s <#{RDF.type}> <#{RDF::OT}#{SERVICE.capitalize}>; <#{RDF::DC.date}> ?o. }