File: test_NoteCreate_wo_auth.xml

package info (click to toggle)
python-osmapi 4.3.0%2Bds-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 820 kB
  • sloc: python: 3,409; xml: 1,601; makefile: 45; sh: 14
file content (32 lines) | stat: -rw-r--r-- 1,126 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
<?xml version="1.0" encoding="UTF-8"?>
<osm version="0.6" generator="OpenStreetMap server">
<note lon="8.432" lat="47.123">
  <id>824</id>
  <url>http://api06.dev.openstreetmap.org/api/0.6/notes/824</url>
  <comment_url>http://api06.dev.openstreetmap.org/api/0.6/notes/824/comment</comment_url>
  <close_url>http://api06.dev.openstreetmap.org/api/0.6/notes/824/close</close_url>
  <date_created>2014-10-03 16:09:11 UTC</date_created>
  <status>open</status>
  <comments>
    <comment>
      <date>2014-10-03 16:09:12 UTC</date>
      <action>opened</action>
      <text>This is an unauthenticated test</text>
      <html>&lt;p&gt;This is an unauthenticated test&lt;/p&gt;</html>
    </comment>
  </comments>
</note>
</osm>

{'comments': [{'action': 'opened',
                'date': '2014-10-03 16:09:12 UTC',
                'html': '<p>This is an unauthenticated test</p>',
                'text': 'This is an unauthenticated test',
                'uid': None,
                'user': None}],
 'date_closed': None,
 'date_created': '2014-10-03 16:09:11 UTC',
 'id': '824',
 'lat': 47.123,
 'lon': 8.432,
 'status': 'open'}