Skip to content

Returns an array of log entries with foodsaver and log information.

GET
/api/stores/{storeId}/log/{fromDate}/{toDate}/{storeLogActionIds}

The log contains only entries from the past 7 days.

Authorizations

api_key
Type: API Key (header: X-CSRF-Token)

Parameters

Path Parameters

storeId*
Typeinteger
Required
fromDate*

The fist date from which to include actions

Typestring
Required
toDate*

The last date from which to include actions

Typestring
Required
storeLogActionIds*

The ids of the actions, seperated by commas like: 1,2,3

Typestring
Required

Query Parameters

limit

How many bells to return.

Typestring
offset

Offset for returned bells.

Typestring

Responses

Authorization
api_key
Variables
Key
Value
storeId*
fromDate*
toDate*
storeLogActionIds*
limit
offset
cURL
curl -X GET \
'http://localhost/api/stores/{storeId}/log/{fromDate}/{toDate}/{storeLogActionIds}'

Samples

cURL
curl -X GET http://localhost/api/stores/{storeId}/log/{fromDate}/{toDate}/{storeLogActionIds}
JavaScript
fetch("http://localhost/api/stores/{storeId}/log/{fromDate}/{toDate}/{storeLogActionIds}")
  .then(response => response.json())
  .then(data => console.log(data));
PHP
file_get_contents("http://localhost/api/stores/{storeId}/log/{fromDate}/{toDate}/{storeLogActionIds}");
Python
import requests
response = requests.get("http://localhost/api/stores/{storeId}/log/{fromDate}/{toDate}/{storeLogActionIds}")
print(response.json())