curl --request GET \
--url https://api.getlurk.com/v1/client-events \
--header 'Authorization: Bearer <token>'const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.getlurk.com/v1/client-events', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.getlurk.com/v1/client-events"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text){
"revision": 1,
"daily_cap_per_person": 5000,
"daily_cap_project": 500000,
"new_people_per_hour": 500,
"events": [
{
"event": "<string>",
"daily_cap": null,
"properties": []
}
],
"updated_at": "2023-11-07T05:31:56Z",
"updated_by": {
"id": "<string>",
"name": "<string>"
}
}{
"error": {
"status": 123,
"code": "invalid_json",
"message": "<string>",
"request_id": "<string>",
"doc_url": "<string>",
"param": "<string>",
"next_step": "<string>"
}
}{
"error": {
"status": 123,
"code": "invalid_json",
"message": "<string>",
"request_id": "<string>",
"doc_url": "<string>",
"param": "<string>",
"next_step": "<string>"
}
}Get what a device may send
The event names a device (a signed-in app user) may send, each with its cap and property limits, plus the per-person, project-wide and new-people caps. Empty until a person saves; any other name is refused. revision is 0 before the first save.
curl --request GET \
--url https://api.getlurk.com/v1/client-events \
--header 'Authorization: Bearer <token>'const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.getlurk.com/v1/client-events', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.getlurk.com/v1/client-events"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text){
"revision": 1,
"daily_cap_per_person": 5000,
"daily_cap_project": 500000,
"new_people_per_hour": 500,
"events": [
{
"event": "<string>",
"daily_cap": null,
"properties": []
}
],
"updated_at": "2023-11-07T05:31:56Z",
"updated_by": {
"id": "<string>",
"name": "<string>"
}
}{
"error": {
"status": 123,
"code": "invalid_json",
"message": "<string>",
"request_id": "<string>",
"doc_url": "<string>",
"param": "<string>",
"next_step": "<string>"
}
}{
"error": {
"status": 123,
"code": "invalid_json",
"message": "<string>",
"request_id": "<string>",
"doc_url": "<string>",
"param": "<string>",
"next_step": "<string>"
}
}Authorizations
Response
Get what a device may send
What a device may send: the event names allowed and the caps, with the revision to quote when changing it.
Most device events a day across all people, 1 to 1,000,000. Null: off, the default. Past it every device is answered rate_limited until the next day. It bounds the harm of many identities, each under its own per-person cap, but it is shared: one actor can use it up for every device.
1 <= x <= 1000000Most new people a device's first sign-in may create in each UTC clock hour, 1 to 1,000. Null, the default: a first sign-in is refused, so only people already known can sign in. Past the limit a new identity is refused with rate_limited and nothing is created. It applies whether or not any event is allowed. Each new person starts with the project's starting units, so keep it low.
1 <= x <= 1000