📊 Data

Learn how to post data to the project.

get
getGet a global data entry

https://console.echoAR.xyz/get?key=<API_KEY>&data=<DATA>
This query allows you to get global data entries.
Request
Response
Request
Query Parameters
key
required
string
Your API key.
data
required
string
A data key, e.g. scale.
Response
200: OK
<VALUE>
400: Bad Request
Invalid request! No data value found in request.
404: Not Found
Data not found

post
Post a global data entry

https://console.echoAR.xyz/post?key=<API_KEY>&data=<DATA>&value=<VALUE>
This query allows you to add a global data entry.
Request
Response
Request
Query Parameters
key
required
string
The API key.
data
required
string
A data key, e.g. scale.
value
required
string
A data value, e.g. 2.
Response
200: OK
<VALUE>
400: Bad Request
Invalid request! No data value found in request.

get
Get metadata of an entry

https://console.echoAR.xyz/get?key=<API_KEY>&entry=<ENTRY>&data=<DATA>
The query allows you to get metadata of a specific entry. You can either query for a specific data key or for all the data associated with the entry.
Request
Response
Request
Query Parameters
key
required
string
Your API key.
entry
required
string
A specific entry ID.
data
optional
string
A data key, e.g. scale.
Response
200: OK
{
"<KEY_1>": "<VALUE_1>",
"<KEY_2>": "<VALUE_2>",
"<KEY_3>": "<VALUE_3>",
...
}
302: Found
<VALUE>
400: Bad Request
Invalid request! No data value found in request.
404: Not Found
Data not found

post
Post metadata to an entry

https://console.echoAR.xyz/post?key=<API_KEY>&entry=<ENTRY>&data=<DATA>&value=<VALUE>
This query allows you to add metadata to a specific entry.
Request
Response
Request
Query Parameters
key
required
string
Your API key
entry
required
string
A specific entry ID.
data
required
string
A data key, e.g. scale.
value
required
string
A data value, e.g. 2.
Response
200: OK
Additional data <DATA,VALUE> updated in entry <ENTRY>.
400: Bad Request
Invalid request! No data value found in request.