-
Notifications
You must be signed in to change notification settings - Fork 5.1k
/
GetMapImage.json
67 lines (67 loc) · 1.51 KB
/
GetMapImage.json
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
{
"parameters": {
"api-version": "1.0",
"format": "png",
"zoom": 2,
"bbox": [
1.355233,
42.982261,
24.980233,
56.526017
],
"layer": "basic",
"style": "main",
"subscription-key": "[subscription-key]"
},
"responses": {
"200": {
"headers": {},
"body": "binary string image"
},
"400": {
"headers": {},
"body": {
"error": {
"code": "400 BadRequest",
"message": "Bad request: one or more parameters were incorrectly specified or are mutually exclusive."
}
}
},
"401": {
"headers": {},
"body": {
"error": {
"code": "401 Unauthorized",
"message": "Access denied due to invalid subscription key. Make sure to provide a valid key for an active subscription."
}
}
},
"403": {
"headers": {},
"body": {
"error": {
"code": "403 Forbidden",
"message": "Permission, capacity, or authentication issues."
}
}
},
"404": {
"headers": {},
"body": {
"error": {
"code": "404 NotFound",
"message": "Not Found: the requested resource could not be found, but it may be available again in the future."
}
}
},
"500": {
"headers": {},
"body": {
"error": {
"code": "500 InternalServerError",
"message": "An error occurred while processing the request. Please try again later."
}
}
}
}
}