Queries
Learn how to query for information on the entries of the project.
Get entries
GET https://api.echo3D.com/query?key=<API_KEY>&email=<EMAIL>&userKey=<USER_KEY>
This query allows you to retrieve a data set of entries associated with your API key.
Query Parameters
key*
string
Your API key.
email*
string
Your email address
userKey*
string
Your authentication key
{
"apiKey": "<API_KEY>",
"db": {
"b02cc2f0-3050-4f3a-999e-c8e8be9d3b5b": {
"id": "b02cc2f0-3050-4f3a-999e-c8e8be9d3b5b",
"target": {
"id": "df54c477-8eeb-4530-b989-4cb3cdcd6512",
"type": "BRICK_TARGET",
"holograms": [
"ada1dfd6-0f0e-4606-bde6-fc88a0610466"
]
},
"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": "ada1dfd6-0f0e-4606-bde6-fc88a0610466",
"type": "MODEL_HOLOGRAM",
"targetID": "df54c477-8eeb-4530-b989-4cb3cdcd6512"
},
"sdks": [
true,
true,
false,
true,
false,
false,
false,
true,
true
],
"additionalData": {
"qrWebXRStorageID": "018b9e20-3b8e-47f8-a19c-eca8dde46137",
"vuforiaHologramStorageID": "7068cd74-6c9f-4106-9326-585c56fa4475",
"glbHologramStorageID": "d686a655-e800-430d-bfd2-e38cdfb0c9e9.glb",
"source": "Skyscraper by Poly by Google, CC-BY, https://poly.google.com/view/dIsZyy2FUY-",
"qrARjsTargetStorageID": "e7f058d5-5b66-4f50-8cdd-89f057e8070c",
"qrARjsStorageID": "7cc6adca-ded1-4a46-a289-c07c07cb2f5c",
"vuforiaHologramStorageFilename": "Skyscraper.h",
"qrARjsMarkerStorageID": "5de99f4d-9602-45f0-b5ce-7ef53541cb18",
"glbHologramStorageFilename": "Skyscraper.glb"
}
}
}
}Get a specific entry
GET https://api.echo3D.com/query?key=<API_KEY>&email=<EMAIL>&userKey=<USER_KEY>&entry=<ENTRY_ID>
This query allows you to retrieve a specific entry.
Query Parameters
key*
string
Your API key.
entry*
string
A specific entry ID.
email*
string
Your email address
userKey*
string
Your authentication key
Get specific entries
GET https://api.echo3D.com/query?key=<API_KEY>&email=<EMAIL>&userKey=<USER_KEY>&entries=<ENTRY_ID1>,<ENTRY_ID2>,..
This query allows you to retrieve specific entries.
Query Parameters
key*
string
Your API key.
entries*
string
Comma-separated list of entry IDs without spaces
email*
string
Your email address
userKey*
string
Your authentication key
Get entries based on file
GET https://api.echo3D.com/query?key=<API_KEY>&email=<EMAIL>&userKey=<USER_KEY>&filename=<FILENAME>
This query allows you to retrieve entries that contain a specific file.
Query Parameters
key*
string
Your API key.
filename*
string
A file name, e.g. myfile.obj.
email*
string
Your email address
userKey*
string
Your authentication key
Get entries based on data
GET https://api.echo3D.com/query?key=<API_KEY>&email=<EMAIL>&userKey=<USER_KEY>&data=<DATA>&value=<VALUE>
This query allows you to retrieve entries that contain a specific data key and value.
Query Parameters
key*
string
Your API key.
data*
string
A data key, e.g. scale.
value
string
A data value, e.g. 2.
email*
string
Your email address
userKey*
string
Your authentication key
Get Entries by Folder
GET https://api.echo3D.com/query?key=<API_KEY>&email= &userKey=<USER_KEY>&data=filePath&value=
This query retrieves all entries in a specific folder. It is a GET entries based on data query on the filePath additional data key.
The value must match the stored filePath exactly (case-insensitive). Nested folders are stored with backslashes, for example folder0\folder1. Querying folder0 returns only assets in that folder, not assets in nested folders such as folder0\folder1.
Assets at the collection root have "filePath": "null" and are not returned by a folder query.
In the web console, Copy Folder Path copies a readable path (e.g. folder0\folder1). When putting a nested path in a URL, encode \ as %5C (e.g. value=folder0%5Cfolder1).
Query Parameters
key*
string
Your API key.
data*
string
Must be filePath.
value*
string
The URL-encoded folder path to match, e.g. folder0 or folder0%5Cfolder1.
email*
string
Your email address
userKey*
string
Your authentication key
Get entries based on tags
GET https://api.echo3D.com/query?key=<API_KEY>&email=<EMAIL>&userKey=<USER_KEY>&tags=<TAG1>,<TAG2>,..
This query allows you to retrieve entries based on the default ‘tags’ metadata. This query will return any asset whose 'tags' metadata matches any of the query parameter filters.
Query Parameters
key*
string
Your API key.
tags*
string
Comma-separated list of tags without spaces
email*
string
Your email address
userKey*
string
Your authentication key
Get entries based on filters
GET https://api.echo3D.com/query?key=<API_KEY>&email=<EMAIL>&userKey=<USER_KEY>&filters=<filter1>,<filter2>,<filter3>,...
This query allows you to retrieve entries based on the default ‘tags’ metadata. This query will return any asset whose 'tags' metadata matches all of the query parameter filters.
Query Parameters
key*
String
Your API key.
filters*
String
Comma-separated list of filters without spaces
email*
string
Your email address
userKey*
string
Your authentication key
Get entries based on type
GET https://api.echo3D.com/query?key=<API_KEY>&email=<EMAIL>&userKey=<USER_KEY>&type=<TYPE>
This query allows you to retrieve entries that contain a specific type of hologram or target.
Query Parameters
key*
string
Your API key.
type*
string
A type of hologram or target. Options: MODEL_HOLOGRAM, VIDEO_HOLOGRAM, IMAGE_HOLOGRAM,BRICK_TARGET, GEOLOCATION_TARGET, or IMAGE_TARGET
email*
string
Your email address
userKey*
string
Your authentication key
Get entries based on timestamp
GET https://api.echo3D.com/query?key=<API_KEY>&email=<EMAIL>&secKey=<SEC_KEY>&userKey=<USER_KEY>&fromTimestamp=<FROM_TIMESTAMP>&toTimestamp=<TO_TIMESTAMP>
This query allows you to retrieve entries that were uploaded given timestamp parameters. The fromTimestamp parameter will return assets that have been uploaded on or after the timestamp. The toTimestamp parameter will return assets that have been uploaded on or before the timestamp. You can use fromTimestamp and toTimestamp together. The returned list is in ascending order based on the time of upload.
key*
string
Your API key.
email*
string
Your email address
userKey*
string
Your authentication key. You can retrieve your User Key by clicking the Dev Tools icon in the upper right of the echo3D console.
fromTimestamp
number
A timestamp expressed in Unix epoch time to the millisecond.
toTimestamp
number
A timestamp expressed in Unix epoch time to the millisecond.
Get entries based on file extension
GET https://api.echo3D.com/query?key=<API_KEY>&email=<EMAIL>&secKey=<SEC_KEY>&userKey=<USER_KEY>&ext=<EXT>
Narrow query results to assets whose original uploaded file matches one or more extensions.
key*
string
Your API key
ext
string
Comma-separated list of file extensions. Case-insensitive. Leading dots are optional.
email*
string
Your email
userKey*
string
Your authentication key
Get entries based on location
GET https://api.echo3D.com/query?key=<API_KEY>&email=<EMAIL>&userKey=<USER_KEY>&location=<LAT>,<LONG>&radius=<RADIUS>
Query Parameters
key*
string
Your API key.
location*
string
A pair of GPS coordinates in the form of LAT,LONG or a location name that will be converted to GPS coordinates.
radius
string
The acceptable distance in miles between the location and the the entry's location. If radius isn't specified, a default 1 mile radius is used.
email*
string
Your email address
userKey*
string
Your authentication key
Last updated