]> git.openstreetmap.org Git - rails.git/blob - app/views/api/old_ways/_old_way.json.jbuilder
Merge pull request #4120 from AntonKhorev/no-deprecated-iframe-attrs
[rails.git] / app / views / api / old_ways / _old_way.json.jbuilder
1 json.type "way"
2 json.id old_way.way_id
3 json.timestamp old_way.timestamp.xmlschema
4 json.version old_way.version
5 json.changeset old_way.changeset_id
6 json.user old_way.changeset.user.display_name
7 json.uid old_way.changeset.user_id
8
9 json.visible old_way.visible unless old_way.visible
10
11 json.nodes old_way.nds unless old_way.nds.empty?
12
13 json.tags old_way.tags unless old_way.tags.empty?