Menu
Platform
AI
Analytics
App store purchases
Credits
Database
Flags
Generated Assets
Monitoring
Notifications
Organizations
Payments
- Payments
- Payments quickstart
- Checkout policies
- Checkout sessions
- Customer subscriptions
- Entitlement grants
- Exchange rates
- Licence keys
- Licence tokens
- Merchant accounts
- Portal sessions
- Price catalogs
- Revenue
- Revenue facts
- Revenue sources
- Tax threshold statuses
- Usage events
- Usage invoices
- Usage meter prices
- Usage meters
- Usage reservations
- Usage settings
- Usage tiers
Queues
Realtime
Sandboxes
Webhooks
Getting Started
Authentication
KV Store
Deploy & Infrastructure
Reference
Watch a config flag
Streams the current ruleset etag and each changed revision as SSE.
Streams the current ruleset etag and each changed revision as SSE. Reconnect with if_none_match or Last-Event-ID to skip the held revision.
- Path
GET https://api.sylphx.com/v1/orgs/acme/projects/shop/envs/production/config_flags:watch - Scope
config:read - Effect
read— nothing is written. - Collection config_flags
- Query
if_none_match
#Request
| Field | Type | What it is |
|---|---|---|
parent | string | The environment whose flag and segment revisions are streamed. Required. |
if_none_match | string | The last received etag; only a different revision is sent. |
#Response
| Field | Type | What it is |
|---|---|---|
etag | string | Changes whenever a flag or segment changes. |
#Errors
UNAUTHENTICATED— No valid key or token was presented.PERMISSION_DENIED— The key lacks the method's permission.
Every error arrives in the body Errors describes.
#Examples
curl "https://api.sylphx.com/v1/orgs/acme/projects/shop/envs/production/config_flags:watch" \
-H "Authorization: Bearer $SYLPHX_API_KEY"