Open janerivi opened 2 years ago
Will update the readme. Sample input based on the latest geopose format (current github code):
{
"type": "scr",
"content": {
"id": "111",
"type": "3d",
"title": "cat model",
"description": "description of cat model",
"placekey": "223@8t2-fj4-5zz",
"keywords": [
"cat"
],
"refs": [
{"contentType": "model/gltf+json", "url": "https://www.example.com/cat.gltf"},
{"contentType": "model/vnd.usdz+zip", "url": "https://www.example.com/cat.usdz"}
],
"geopose": {
"position": {"lon": -97.7288818359375, "lat": 30.286160447473897, "h": 78.34},
"quaternion": {"x": 0.5, "y": 0.5, "z": 0.5, "w": 0.5}
},
"size": 100,
"definitions": [{"type": "testtype", "value":"testvalue"}]
}
}
Sample input based on previous geopose format (AWS prototypes):
{
"type": "scr",
"content": {
"id": "111",
"type": "3d",
"title": "cat model",
"description": "description of cat model",
"placekey": "223@8t2-fj4-5zz",
"keywords": [
"cat"
],
"refs": [
{"contentType": "model/gltf+json", "url": "https://www.example.com/cat.gltf"},
{"contentType": "model/vnd.usdz+zip", "url": "https://www.example.com/cat.usdz"}
],
"geopose": {
"longitude": -97.7288818359375,
"latitude": 30.286160447473897,
"ellipsoidHeight": 78.34,
"quaternion": {"x": 0.5, "y": 0.5, "z": 0.5, "w": 0.5}
},
"size": 100,
"definitions": [{"type": "testtype", "value":"testvalue"}]
}
}
will close once readme updated
When looking at the readme I'm not seeing an example record for testing the post command.