Skip to content

Commit 0ebf6f9

Browse files
committed
Updated API from documentation release
1 parent 8e09aa8 commit 0ebf6f9

File tree

4 files changed

+13
-6
lines changed

4 files changed

+13
-6
lines changed

api-specs/api/examples/Channel/ChannelSetGeoLocationAction.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,6 @@
22
"action": "setGeoLocation",
33
"geoLocation": {
44
"type": "Point",
5-
"coordinates": [48.163569, 11.558663]
5+
"coordinates": [13.412119019109015, 52.50103330534661]
66
}
7-
}
7+
}
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
{
2+
"type": "Point",
3+
"coordinates": [13.412119019109015, 52.50103330534661]
4+
}

api-specs/api/examples/custom-objects.example.json

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10,10 +10,12 @@
1010
"container": "test-container",
1111
"key": "ac390383-370f-43f8-a534-db1604cb96a8",
1212
"value": {
13-
"name": "commercetools Composable Commerce",
14-
"slug": "commercetools-composable-commerce",
15-
"lat": 52.523753,
16-
"lng": 13.380434
13+
"name": "commercetools",
14+
"slug": "commercetools",
15+
"geoLocation": {
16+
"type": "Point",
17+
"coordinates": [13.412119019109015, 52.50103330534661]
18+
}
1719
},
1820
"createdAt": "2015-05-28T09:48:35.098Z",
1921
"lastModifiedAt": "2015-07-01T15:58:36.930Z"

api-specs/api/types/common/GeoJsonPoint.raml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
(package): Common
33
displayName: GeoJsonPoint
44
type: GeoJson
5+
example: !include ../../examples/Common/GeoJsonPoint.json
56
discriminatorValue: Point
67
properties:
78
coordinates:

0 commit comments

Comments
 (0)