Update button re-enable timeout to 3 seconds, update thing history
This commit is contained in:
parent
6bc28be9e3
commit
5e54da8271
9 changed files with 1004 additions and 92 deletions
|
@ -197,6 +197,13 @@ const DeleteThing = id => {
|
|||
})
|
||||
}
|
||||
|
||||
const GetThingHistory = (id, offset) => {
|
||||
return Fetch(`${API_URL}/things/${id}/history?offset=${offset}`, {
|
||||
method: 'GET',
|
||||
headers: HEADERS(),
|
||||
})
|
||||
}
|
||||
|
||||
const CreateLongLiveToken = name => {
|
||||
return Fetch(`${API_URL}/users/tokens`, {
|
||||
method: 'POST',
|
||||
|
@ -236,6 +243,7 @@ export {
|
|||
GetCircleMemberRequests,
|
||||
GetLongLiveTokens,
|
||||
GetSubscriptionSession,
|
||||
GetThingHistory,
|
||||
GetThings,
|
||||
GetUserCircle,
|
||||
GetUserProfile,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue