Menu
Platform
AI
App store purchases
Database
Flags
Jobs and cron
Localization
Monitoring
Notifications
Payments
Queues
Sandboxes
Webhooks
Getting Started
Authentication
KV Store
Deploy & Infrastructure
Reference
sylphx sandboxes lease_events
Every sylphx sandboxes lease_events command: its argument, its flags and a run line.
The lease_events commands of Sylphx Sandboxes, as the CLI spells them: the same
calls as the lease_events API page, typed for the
shell. Install, sign in and the grammar are on the CLI index.
#get
Gets one lease event.
NAME — the resource's name; a bare id is enough below the linked
project.
CLI
sylphx sandboxes lease-events get orgs/acme/projects/shop/envs/production/leases/lease/lease_events/lease-eventGET https://api.sylphx.com/v1/orgs/acme/projects/shop/envs/production/leases/lease/lease_events/lease-event · scope sandboxes:read · effect read · Request, response and examples
#list
Lists a lease's events in order. With wait, blocks up to that long for an event after page_token (long poll).
PARENT — optional: the CLI fills it from the linked project or the
key's scope when it is left out.
CLI
sylphx sandboxes lease-events list orgs/acme/projects/shop/envs/production/leases/leaseGET https://api.sylphx.com/v1/orgs/acme/projects/shop/envs/production/leases/lease/lease_events · scope sandboxes:read · effect read · Request, response and examples
Flags
| Flag | Type | What it does |
|---|---|---|
--page-size | int | At most this many; default 50, clamped to 1000. |
--page-token | string | next_page_token of the previous page. |
--filter | string | AIP-160 filter over kind. |
--wait | duration | Block up to this long (at most 60 seconds) when there is no event after page_token. |