-
Notifications
You must be signed in to change notification settings - Fork 7
/
test_ohsome_client.yaml
168 lines (168 loc) · 4.96 KB
/
test_ohsome_client.yaml
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
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
interactions:
- request:
body: ''
headers:
accept:
- '*/*'
accept-encoding:
- gzip, deflate
connection:
- keep-alive
host:
- api.ohsome.org
user-agent:
- ohsome-quality-api/1.0.1
method: GET
uri: https://api.ohsome.org/v1/metadata
response:
content: "{\n \"attribution\" : {\n \"url\" : \"https://ohsome.org/copyrights\",\n
\ \"text\" : \"\xA9 OpenStreetMap contributors\"\n },\n \"apiVersion\" :
\"1.9.1\",\n \"timeout\" : 600.0,\n \"extractRegion\" : {\n \"spatialExtent\"
: {\n \"type\" : \"Polygon\",\n \"coordinates\" : [ [ [ -180.0, -90.0
], [ 180.0, -90.0 ], [ 180.0, 90.0 ], [ -180.0, 90.0 ], [ -180.0, -90.0 ] ]
]\n },\n \"temporalExtent\" : {\n \"fromTimestamp\" : \"2007-10-08T00:00:00Z\",\n
\ \"toTimestamp\" : \"2023-08-10T20:00Z\"\n },\n \"replicationSequenceNumber\"
: 95629\n }\n}"
headers:
access-control-allow-credentials:
- 'true'
access-control-allow-headers:
- Origin,Accept,X-Requested-With,Content-Type,Access-Control-Request-Method,Access-Control-Request-Headers,Authorization
access-control-allow-methods:
- POST, GET
access-control-allow-origin:
- '*'
access-control-max-age:
- '3600'
cache-control:
- no-cache, no-store, must-revalidate
connection:
- Keep-Alive
content-encoding:
- gzip
content-type:
- application/json
date:
- Wed, 30 Aug 2023 12:17:46 GMT
keep-alive:
- timeout=5, max=100
server:
- Apache/2.4.52 (Ubuntu)
strict-transport-security:
- max-age=63072000; includeSubdomains;
transfer-encoding:
- chunked
vary:
- accept-encoding
http_version: HTTP/1.1
status_code: 200
- request:
body: ''
headers:
accept:
- '*/*'
accept-encoding:
- gzip, deflate
connection:
- keep-alive
content-length:
- '0'
host:
- api.ohsome.org
user-agent:
- ohsome-quality-api/1.0.1
method: POST
uri: https://api.ohsome.org/v1/elements/lenght
response:
content: "{\n \"timestamp\" : \"2023-08-30T12:17:46.845+00:00\",\n \"status\"
: 404,\n \"error\" : \"Not Found\",\n \"path\" : \"/elements/lenght\"\n}"
headers:
access-control-allow-credentials:
- 'true'
access-control-allow-headers:
- Origin,Accept,X-Requested-With,Content-Type,Access-Control-Request-Method,Access-Control-Request-Headers,Authorization
access-control-allow-methods:
- POST, GET
access-control-allow-origin:
- '*'
access-control-max-age:
- '3600'
cache-control:
- no-cache, no-store, must-revalidate
connection:
- Keep-Alive
content-encoding:
- gzip
content-type:
- application/json
date:
- Wed, 30 Aug 2023 12:17:46 GMT
keep-alive:
- timeout=5, max=100
server:
- Apache/2.4.52 (Ubuntu)
strict-transport-security:
- max-age=63072000; includeSubdomains;
transfer-encoding:
- chunked
vary:
- accept-encoding
http_version: HTTP/1.1
status_code: 404
- request:
body: bboxes=8.67%2C49.39%2C8.71%2C49.42&filter=geometry%3Alie
headers:
accept:
- '*/*'
accept-encoding:
- gzip, deflate
connection:
- keep-alive
content-length:
- '56'
content-type:
- application/x-www-form-urlencoded
host:
- api.ohsome.org
user-agent:
- ohsome-quality-api/1.0.1
method: POST
uri: https://api.ohsome.org/v1/elements/length
response:
content: "{\n \"timestamp\" : \"2023-08-30T12:17:46.88825385\",\n \"status\"
: 400,\n \"message\" : \"Invalid filter syntax. Please look at the additional
info and examples about the filter parameter at https://docs.ohsome.org/ohsome-api.
Detailed error message: line 1, column 13: whitespaces, EQUALS (=), NOT_EQUALS
(!=) or in expected, EOF encountered.\",\n \"requestUrl\" : \"https://api.ohsome.org/v1/elements/length\"\n}"
headers:
access-control-allow-credentials:
- 'true'
access-control-allow-headers:
- Origin,Accept,X-Requested-With,Content-Type,Access-Control-Request-Method,Access-Control-Request-Headers,Authorization
access-control-allow-methods:
- POST, GET
access-control-allow-origin:
- '*'
access-control-max-age:
- '3600'
cache-control:
- no-cache, no-store, must-revalidate
connection:
- close
content-encoding:
- gzip
content-type:
- application/json
date:
- Wed, 30 Aug 2023 12:17:46 GMT
server:
- Apache/2.4.52 (Ubuntu)
strict-transport-security:
- max-age=63072000; includeSubdomains;
transfer-encoding:
- chunked
vary:
- accept-encoding
http_version: HTTP/1.1
status_code: 400
version: 1