Documentation IndexFetch the complete documentation index at: /llms.txtUse this file to discover all available pages before exploring further.
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
Returns counts of attended events broken down by category, event_type, and year. Useful for top-line stats on the portfolio page.
cURL
curl --request GET \ --url https://api.rewind.rest/v1/attending/stats \ --header 'Authorization: Bearer <token>'
const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}}; fetch('https://api.rewind.rest/v1/attending/stats', options) .then(res => res.json()) .then(res => console.log(res)) .catch(err => console.error(err));
import requests url = "https://api.rewind.rest/v1/attending/stats" headers = {"Authorization": "Bearer <token>"} response = requests.get(url, headers=headers) print(response.text)
{ "total_events": 123, "attended_events": 123, "by_category": [ { "category": "<string>", "count": 123 } ], "by_event_type": [ { "event_type": "<string>", "count": 123 } ], "by_year": [ { "year": "<string>", "count": 123 } ] }
{ "error": "Not found", "status": 404 }
API key. Read keys (rw_live_...) access GET endpoints. Admin keys (rw_admin_...) access all endpoints.
Stats
Show child attributes