File: test_NoteCreate_wo_auth.xml

package info (click to toggle)
python-osmapi 1.2.2-2
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 648 kB
  • sloc: python: 2,894; xml: 1,577; sh: 10; makefile: 8
file content (32 lines) | stat: -rw-r--r-- 1,146 bytes parent folder | download | duplicates (5)
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>

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