GET
/api/public/v1/eventsList upcoming events, filterable by team
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
| team_slug | query | string | no | — |
| limit | query | integer | no | — |
Responses
200OK
{
"type": "object",
"properties": {
"events": {
"type": "array",
"items": {
"$ref": "#/components/schemas/Event"
}
}
}
}cURL
curl https://teamstores.ai/api/public/v1/events \
-H "Authorization: Bearer $RYTE_API_KEY"TypeScript
const r = await fetch("/api/public/v1/events", {
method: "GET",
headers: {
Authorization: "Bearer " + process.env.RYTE_API_KEY,
"Content-Type": "application/json",
},
});
const json = await r.json();