-
Notifications
You must be signed in to change notification settings - Fork 0
Server API
Dominik edited this page May 18, 2015
·
8 revisions
{
success: true|false,
message: "details of reply (string)"
}
{
token: "token string",
mac: "{mac1,mac2,..}.",
}
{
token: "token string",
mac: "{mac1,mac2,..}.",
}
Reply is extending of standard reply
{
...
data: [
{
mac: "mac",
time: 2015-04-24 17:39:27.818, // but I would prefer unix timestamp
user: "fb user id"
},
{
...
}
]
}
api/beacon/add
{
token: "token string",
event: "event id",
description: "description",
mac: "mac",
name: "name
}