aboutsummaryrefslogtreecommitdiff
path: root/web/lib
diff options
context:
space:
mode:
authorJochen Topf <jochen@topf.org>2014-09-19 09:57:01 +0200
committerJochen Topf <jochen@topf.org>2014-09-19 09:57:01 +0200
commit393e11f721c526b46c6da3c12d6b10583b3ff959 (patch)
tree1f533ef96201ce9a3b238a825222ab8fa95b53d3 /web/lib
parentd3482cff9698d1e636669d7e4680b240d92fbdef (diff)
downloadtaginfo-393e11f721c526b46c6da3c12d6b10583b3ff959.tar
taginfo-393e11f721c526b46c6da3c12d6b10583b3ff959.tar.gz
Show JOSM-related API calls as deprecated.
Diffstat (limited to 'web/lib')
-rw-r--r--web/lib/api/v4/josm.rb4
-rw-r--r--web/lib/api/v4/key.rb1
-rw-r--r--web/lib/api/v4/tag.rb1
3 files changed, 5 insertions, 1 deletions
diff --git a/web/lib/api/v4/josm.rb b/web/lib/api/v4/josm.rb
index c3b2c7e..e72e484 100644
--- a/web/lib/api/v4/josm.rb
+++ b/web/lib/api/v4/josm.rb
@@ -2,7 +2,8 @@
class Taginfo < Sinatra::Base
api(4, 'josm/style/image', {
- :description => 'Access images for map features used in JOSM.',
+ :superseded_by => '',
+ :description => 'DEPRECATED. Access images for map features used in JOSM.',
:parameters => {
:style => 'JOSM style (required).',
:image => 'Image path (required).'
@@ -21,6 +22,7 @@ class Taginfo < Sinatra::Base
end
api(4, 'josm/style/rules', {
+ :superseded_by => '',
:description => 'List rules and symbols in JOSM styles.',
:parameters => {
:style => 'JOSM style (required).',
diff --git a/web/lib/api/v4/key.rb b/web/lib/api/v4/key.rb
index 83d09fd..c88092a 100644
--- a/web/lib/api/v4/key.rb
+++ b/web/lib/api/v4/key.rb
@@ -106,6 +106,7 @@ class Taginfo < Sinatra::Base
end
api(4, 'key/josm/style/rules', {
+ :superseded_by => '',
:description => 'List rules and symbols for the given key in JOSM styles.',
:parameters => {
:style => 'JOSM style (required).',
diff --git a/web/lib/api/v4/tag.rb b/web/lib/api/v4/tag.rb
index b6fdbbe..80bdc61 100644
--- a/web/lib/api/v4/tag.rb
+++ b/web/lib/api/v4/tag.rb
@@ -126,6 +126,7 @@ class Taginfo < Sinatra::Base
end
api(4, 'tag/josm/style/rules', {
+ :superseded_by => '',
:description => 'List rules and symbols for the given tag in JOSM styles.',
:parameters => {
:style => 'JOSM style (required).',