Vuforia XS - publishData / configuring cURL response
Hi,
As in several topics about cURL requests, I use Postman to send cURL requests to our XS, which results in a beautiful list of (meta)data. This list of data seems to be different between trial instances and commercial instances. Note: I changed several values due to privacy.
This is the response from the trial instance, where I am interested in the publishData values:
{
"url": "xxxx",
"name": "x",
"publishData": {
"projectSize": size,
"publishedData": "datetime",
"publishedBy": "user email"
},
"metadata": {
"name": "",
"version": "1.0.0",
"requires": [
"w320dp"
],
"experiences": [
{
"vumark": "x:x",
"experienceType": "vumark",
"id": 1,
"index-keys": [
"urn:vuforia:vumark:x:x"
],
"title": {
"en": "x"
},
"description": {
"en": "",
"en-US": ""
},
"requires": [
"AR-tracking"
],
"tags": [],
"icon": "",
"viewName": "Home",
"url-template": "index.html?expId=1&vumark={{vuforia:vumark}}",
"entryPoint": "index.html?expId=1",
"thumbnail": ""
}
],
"accessType": "public",
"designedfor": []
}
},
This is the response from the commercial instance, where publishData values are not present. However, the publishedData datetime can be found at widgetsUsage including a history:
{
"url": "x",
"name": "x",
"metadata": {
"name": "",
"version": "1.0.0",
"requires": [
"w320dp",
"spatial-tracking"
],
"experiences": [
{
"vumark": "x:x",
"experienceType": "vumark",
"id": 1,
"index-keys": [
"urn:vuforia:vumark:x:x"
],
"title": {
"en": "x"
},
"description": {
"en": "x",
"en-US": "x"
},
"requires": [
"AR-tracking"
],
"tags": [],
"icon": "",
"viewName": "Home",
"url-template": "index.html?expId=1&vumark={{vuforia:vumark}}",
"entryPoint": "index.html?expId=1",
"thumbnail": "x",
"thingTemplateName": ""
}
],
"widgetsUsage": [
{
"timestamp": "datetime",
"action": "PUBLISH",
"usage": {
"twx-view": 1,
"twx-dt-view": 1,
"twx-dt-target-spatial": 1,
"twx-dt-model": 2,
"twx-dt-modelitem": 13,
"twx-dt-image": 11,
"twx-overlay": 1,
"twx-overlay-container": 5,
"twx-popup": 14,
"twx-gridlayout": 6,
"twx-row": 7,
"twx-col": 43,
"twx-label": 37,
"twx-image2": 1,
"twx-toggle-button": 11,
"twx-overlay-body": 1,
"twx-button": 40,
"twx-audio": 1
}
},
{
"timestamp": "datetime",
"action": "PUBLISH",
"usage": {
"twx-view": 1,
"twx-dt-view": 1,
"twx-dt-target-spatial": 1,
"twx-dt-model": 2,
"twx-dt-modelitem": 13,
"twx-dt-image": 11,
"twx-overlay": 1,
"twx-overlay-container": 5,
"twx-popup": 14,
"twx-gridlayout": 6,
"twx-row": 7,
"twx-col": 43,
"twx-label": 37,
"twx-image2": 1,
"twx-toggle-button": 11,
"twx-overlay-body": 1,
"twx-button": 40,
"twx-audio": 1
}
}
],
"accessType": "private",
"designedfor": [
"offline"
]
}
},
The object of widgetsUsage is not present in the trial instance, while publishData is not present in the commercial instance. This makes me wonder if there is a method to change what values are given to me when the server responds to my cURL request. For example, since I am interested in the publishData values, I would like the commercial instance to show me the publishData values, so that I can see about the what, the when, the who and the size with a single click.
Is it possible to configure the data the server sends when it responds to a cURL request? If so, how do I add publishData to the list?
Many thanks in advance.
With kind regards,
Martini3119

