Scanned Code
This allows a site to query if the user has scanned the code. This is not a 100% accurate rule so it should be used only for display purposes. As an example, if you scan once it will return true but if the user decides thereafter to refresh the website/web page it will probably not show the scanned again.
URL STRUCTURE /public/{code}/scanned
METHOD GET
Query a code that has been created.
URL STRUCTURE /code/{code} '
METHOD GET
Parameters
Parameter | Type | Description |
---|---|---|
{code} | String | The code that is being queried. |
Returns – HTTP 200
Parameter | Type | Description |
---|---|---|
scanned | Boolean | True – If the user has scanned the code. False – if the user has not. |
Sample Requests
{
scanned: true
}
Errors
Http Response | Description |
---|---|
439 | The code is not valid code. |
Updated about 2 years ago