Actions28
- Asset Actions
- Availability Exception Actions
- Event Actions
- Image Actions
- Listing Actions
- Marketplace Actions
- Stock Actions
- Transaction Actions
- User Actions
Event → Get Many
AI-generatedSummary
Fetch matching events from Sharetribe
Inputs
- returnAll — Whether to return all results or only up to a given limit
- limit (required) — Max number of results to return
- simplify — Whether to return a simplified version of the response
- resources (required) — Select one or more resources to poll for events
- eventTypes (required) — Select which event types to include; depends on selected resources
- eventAttributes — Select which event fields to include in the response
- options — Configure polling behavior such as start time, start after sequence ID, or past events query mode
- filters — Apply filters like resource ID or include related resources
Output shape
a list of events
Pagination may occur; optional fields can be omitted via simplify; returning resources requires selecting 'resource' attribute.
Examples
Example 1: Get the latest 5 booking events for a specific resource
returnAll: false, limit: 5, simplify: true, resources: ['booking'], eventTypes: ['booking/initiated'], eventAttributes: ['createdAt','eventType','resourceId','sequenceId'], options: { startQueryMode: 'specificTime', startTime: '2024-09-01T00:00:00Z' }
Example 2: Poll all availability‑exception events without a limit
returnAll: true, simplify: false, resources: ['availabilityException'], eventTypes: ['availabilityException/created'], eventAttributes: ['createdAt','eventType','resourceId'], options: { startQueryMode: 'allEvents' }