Objects
Learn the structure of content entries in the API.
1. Complete Data Set
This is the structure of the complete data set holding your API key and a database of all content entries associated with your API key.
This data set is retrieved by making the /query API call.
{
"apiKey": "API_KEY", // Your API Key
"db": { // A collection of all content entries
...
}
}{
"apiKey": "API_KEY",
"db": {
"edc343c7-37d3-4132-9cd7-52c4902b24c7": {
"id": "edc343c7-37d3-4132-9cd7-52c4902b24c7",
"target": {
"id": "0c63d1f8-8038-478b-8b60-df6cedeff5cb",
"type": "BRICK_TARGET",
"holograms": [
"0839a395-4a48-47d1-b819-a923184a7314"
]
},
"hologram": {
"filename": "Skyscraper.obj",
"storageID": "d686a655-e800-430d-bfd2-e38cdfb0c9e9",
"textureFilenames": [
"Skyscraper_BaseColor.png"
],
"textureStorageIDs": [
"f9b43711-cf79-44e5-90c5-ac781c8d9288"
],
"materialFilename": "Skyscraper.mtl",
"materialStorageID": "891d0b32-4f4b-4f7d-a2e2-d5922611928d",
"id": "0839a395-4a48-47d1-b819-a923184a7314",
"type": "MODEL_HOLOGRAM",
"targetID": "0c63d1f8-8038-478b-8b60-df6cedeff5cb"
},
"sdks": [
true,
true,
false,
true,
false,
false,
false,
true,
true
],
"additionalData": {
"qrWebXRStorageID": "5ead9dc6-0b11-4133-b342-d43ac95d1116",
"qrARjsStorageFilename": "qr_arjs_blue-water-4646.png",
"qrARjsTargetStorageFilename": "qr_arjs_blue-water-4646.patt",
"vuforiaHologramStorageID": "7068cd74-6c9f-4106-9326-585c56fa4475",
"glbHologramStorageID": "d686a655-e800-430d-bfd2-e38cdfb0c9e9.glb",
"qrARjsMarkerStorageFilename": "marker_qr_arjs_blue-water-4646.png",
"source": "Skyscraper by Poly by Google, CC-BY, https://poly.google.com/view/dIsZyy2FUY-",
"qrARjsTargetStorageID": "e85b7db2-42a9-4f76-aacc-8f7be4a5e05f",
"usdzHologramStorageID": "d686a655-e800-430d-bfd2-e38cdfb0c9e9.usdz",
"qrARjsStorageID": "f78b7b84-979d-4dfc-b478-e369b560a623",
"accessHistory": "[\"1587253959697\",\"1587254928553\",\"1587254944219\",\"1587254945465\"]",
"createdAt": "1587253959697",
"qrWebXRStorageFilename": "qr_webxr_blue-water-4646.png",
"usdzHologramStorageFilename": "Skyscraper.usdz",
"vuforiaHologramStorageFilename": "Skyscraper.h",
"lastAccessed": "1587254945465",
"qrARjsMarkerStorageID": "343df194-e7ae-4c34-adbf-5718542aca37",
"glbHologramStorageFilename": "Skyscraper.glb"
}
}
}
}2. Entries Database
This is the structure of the collection of all content entries associated with your API key.
This database is retrieved by making the /query API call and referring to its db component.
"db": { // A collection of all content entries
"ENTRY_ID_1": { // First content entry
...
}
"ENTRY_ID_2": { // Second content entry
...
}
... // Additonal content entries
}"db": {
"edc343c7-37d3-4132-9cd7-52c4902b24c7": {
"id": "edc343c7-37d3-4132-9cd7-52c4902b24c7",
"target": {
"id": "0c63d1f8-8038-478b-8b60-df6cedeff5cb",
"type": "BRICK_TARGET",
"holograms": [
"0839a395-4a48-47d1-b819-a923184a7314"
]
},
"hologram": {
"filename": "Skyscraper.obj",
"storageID": "d686a655-e800-430d-bfd2-e38cdfb0c9e9",
"textureFilenames": [
"Skyscraper_BaseColor.png"
],
"textureStorageIDs": [
"f9b43711-cf79-44e5-90c5-ac781c8d9288"
],
"materialFilename": "Skyscraper.mtl",
"materialStorageID": "891d0b32-4f4b-4f7d-a2e2-d5922611928d",
"id": "0839a395-4a48-47d1-b819-a923184a7314",
"type": "MODEL_HOLOGRAM",
"targetID": "0c63d1f8-8038-478b-8b60-df6cedeff5cb"
},
"sdks": [
true,
true,
false,
true,
false,
false,
false,
true,
true
],
"additionalData": {
"qrWebXRStorageID": "5ead9dc6-0b11-4133-b342-d43ac95d1116",
"qrARjsStorageFilename": "qr_arjs_blue-water-4646.png",
"qrARjsTargetStorageFilename": "qr_arjs_blue-water-4646.patt",
"vuforiaHologramStorageID": "7068cd74-6c9f-4106-9326-585c56fa4475",
"glbHologramStorageID": "d686a655-e800-430d-bfd2-e38cdfb0c9e9.glb",
"qrARjsMarkerStorageFilename": "marker_qr_arjs_blue-water-4646.png",
"source": "Skyscraper by Poly by Google, CC-BY, https://poly.google.com/view/dIsZyy2FUY-",
"qrARjsTargetStorageID": "e85b7db2-42a9-4f76-aacc-8f7be4a5e05f",
"usdzHologramStorageID": "d686a655-e800-430d-bfd2-e38cdfb0c9e9.usdz",
"qrARjsStorageID": "f78b7b84-979d-4dfc-b478-e369b560a623",
"accessHistory": "[\"1587253959697\",\"1587254928553\",\"1587254944219\",\"1587254945465\",\"1587254963484\"]",
"createdAt": "1587253959697",
"qrWebXRStorageFilename": "qr_webxr_blue-water-4646.png",
"usdzHologramStorageFilename": "Skyscraper.usdz",
"vuforiaHologramStorageFilename": "Skyscraper.h",
"lastAccessed": "1587254963484",
"qrARjsMarkerStorageID": "343df194-e7ae-4c34-adbf-5718542aca37",
"glbHologramStorageFilename": "Skyscraper.glb"
}
}
}3. Content Entries
This is the structure of a single content entry in the database associated with your API key.
This content entry is retrieved by making the /query API call and referring to thedb['ENTRY_ID'] component.
4. Assets
This is the structure of a single asset inside a single content entry in the database based on type.
This asset is retrieved by making the /query API call and referring to thedb['ENTRY_ID']['hologram'] component.
Any Type of Asset
This is data available for any asset of any type.
Model Assets
This is data available for model assets.
Video Assets
This is data available for video assets.
Image Assets
This is data available for image assets.
5. Targets
This is the structure of a single target inside a single content entry in the database based on type.
This target is retrieved by making the /query API call and referring to thedb['ENTRY_ID']['target'] component.
Any Type of Target
This is data available for any target of any type.
Surface Targets
This is the data available for surface targets.
Location Targets
Image Targets
6. Metadata
This is the structure of the metadata of a single content entry in the database.
This metadata is retrieved by making the /get API call.
Alternatively, this metadata is retrieved by making the /query API call and referring to thedb['ENTRY_ID']['additionalData'] component.
A specific value can be retrieved by referring to thedb['ENTRY_ID']['additionalData'][KEY] or db['ENTRY_ID']['additionalData'].KEY.
7. Supported SDKs
This is the structure of the supported SDK array of a single content entry in the database.
Last updated