List store beacons - shine-chen/Quest-Web-API GitHub Wiki

Brief

List beacons of a given store

Path

v1/stores/:store_uuid/beacons

Path Params

  1. store_uuid
    • Store UUID

URL Params

  1. token
    • Authorized access token.

Request

GET /v1/stores/aaaaaaaa-aaaa-aaaa-aaaa-aaaaaaaaaaaa/beacons?token=qfBI9dmfI4jkYARjsHC4hFLA7YpkLCfAG3LO70ppg7U= HTTP/1.1
Host: localhost:3000
Cache-Control: no-cache

Response

{
    "count": "5",
    "data": [
        {
            "beacon_uuid": "A796E4FD-823A-24CD-EFF5-F6603FAD3003",
            "beacon_major": "9",
            "beacon_minor": "9",
            "beacon_tag_name": "G+深圳 門口"
        },
        {
            "beacon_uuid": "A796E4FD-823A-24CD-EFF5-F6603FAD3003",
            "beacon_major": "10",
            "beacon_minor": "10",
            "beacon_tag_name": "G+深圳 咖啡區"
        },
        {
            "beacon_uuid": "A796E4FD-823A-24CD-EFF5-F6603FAD3003",
            "beacon_major": "11",
            "beacon_minor": "11",
            "beacon_tag_name": "G+深圳 筆記型電腦"
        },
        {
            "beacon_uuid": "A796E4FD-823A-24CD-EFF5-F6603FAD3003",
            "beacon_major": "12",
            "beacon_minor": "12",
            "beacon_tag_name": "G+深圳 行動電源"
        },
        {
            "beacon_uuid": "A796E4FD-823A-24CD-EFF5-F6603FAD3003",
            "beacon_major": "13",
            "beacon_minor": "13",
            "beacon_tag_name": "G+深圳 喇叭"
        }
    ]
}
⚠️ **GitHub.com Fallback** ⚠️