{"openapi":"3.1.0","info":{"title":"Peacock CMS \u2014 Full API","version":"0.1.0","summary":"Headless CMS for sites that maintain themselves.","description":"Auto-generated from the registered Laravel route table by `php artisan peacock:generate-openapi`. Covers every `\/v1\/*` endpoint \u2014 both the anonymous public CDN surface AND the Sanctum-authenticated Management API used by the admin SPA, SDKs, and MCP clients.\n\nRegenerate this spec after any route change:\n\n```bash\nphp artisan peacock:generate-openapi\n```\n\nDescriptions for the most-trafficked endpoints are hand-curated in `App\\Console\\Commands\\GenerateOpenApi::OVERRIDES`. Anything not in that map carries an auto-derived stub.","license":{"name":"MIT","identifier":"MIT"},"contact":{"name":"Webagentur Hochmeir e.U.","url":"https:\/\/peacock-cms.webhoch.com","email":"peacock@webhoch.com"}},"servers":[{"url":"https:\/\/peacock-cms.webhoch.com\/v1","description":"Public hosted Peacock instance"},{"url":"https:\/\/{host}\/v1","description":"Self-hosted Peacock instance","variables":{"host":{"default":"localhost:8000"}}}],"tags":[{"name":"Ping","description":"Auto-categorised endpoints under \/v1\/ping\/"},{"name":"Assets","description":"Asset library \u2014 upload + list + patch metadata."},{"name":"Locales","description":"Auto-categorised endpoints under \/v1\/locales\/"},{"name":"Stories","description":"Story CRUD + versioning + publish + children-tree."},{"name":"Galleries","description":"Auto-categorised endpoints under \/v1\/galleries\/"},{"name":"Subscribers","description":"Auto-categorised endpoints under \/v1\/subscribers\/"},{"name":"Products","description":"Auto-categorised endpoints under \/v1\/products\/"},{"name":"Orders","description":"Auto-categorised endpoints under \/v1\/orders\/"},{"name":"Events","description":"Auto-categorised endpoints under \/v1\/events\/"},{"name":"Roles","description":"Auto-categorised endpoints under \/v1\/roles\/"},{"name":"Invitations","description":"Auto-categorised endpoints under \/v1\/invitations\/"},{"name":"Forms","description":"Auto-categorised endpoints under \/v1\/forms\/"},{"name":"Dom overlays","description":"Auto-categorised endpoints under \/v1\/dom overlays\/"},{"name":"Component blueprints","description":"Auto-categorised endpoints under \/v1\/component blueprints\/"},{"name":"Audience segments","description":"Auto-categorised endpoints under \/v1\/audience segments\/"},{"name":"Datasources","description":"Auto-categorised endpoints under \/v1\/datasources\/"},{"name":"Analytics","description":"Auto-categorised endpoints under \/v1\/analytics\/"},{"name":"Plugins","description":"Phase 16 \u2014 plugin manifest + lifecycle."},{"name":"Ai","description":"AI Co-Pilot actions (text gen, translation, SEO meta, alt-text, insights)."},{"name":"Ai jobs","description":"Auto-categorised endpoints under \/v1\/ai jobs\/"},{"name":"Billing","description":"Auto-categorised endpoints under \/v1\/billing\/"},{"name":"Onboard","description":"Tenant onboarding flow."},{"name":"Auth","description":"Sanctum personal-access-token issuance + introspection."},{"name":"Spaces","description":"Top-level Space management (list, create)."},{"name":"Discovery","description":"Auto-categorised endpoints under \/v1\/discovery\/"},{"name":"Stripe","description":"Phase 7 \u2014 Stripe webhook receiver."},{"name":"Cdn","description":"Auto-categorised endpoints under \/v1\/cdn\/"},{"name":"CDN","description":"Public, anonymous read endpoints. Throttled at 600\/min\/IP."},{"name":"Invite","description":"Auto-categorised endpoints under \/v1\/invite\/"},{"name":"Graphql","description":"Auto-categorised endpoints under \/v1\/graphql\/"},{"name":"Whoami","description":"Auto-categorised endpoints under \/v1\/whoami\/"},{"name":"Pitch","description":"Investor-demo provisioning (internal)."},{"name":"Pitch invitees","description":"Auto-categorised endpoints under \/v1\/pitch invitees\/"}],"paths":{"\/auth\/login":{"post":{"summary":"Sanctum login \u2014 exchange email+password for Bearer token","operationId":"authLogin","tags":["Auth"],"parameters":[],"responses":{"200":{"description":"OK"},"201":{"description":"Created"},"422":{"description":"Validation failed","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Error"}}}},"404":{"$ref":"#\/components\/responses\/NotFound"},"429":{"$ref":"#\/components\/responses\/RateLimited"}},"x-rate-limit":{"limit":10,"window_minutes":60}}},"\/auth\/logout":{"post":{"summary":"Auth logout","operationId":"authLogout","tags":["Auth"],"parameters":[],"responses":{"200":{"description":"OK"},"201":{"description":"Created"},"422":{"description":"Validation failed","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Error"}}}},"401":{"$ref":"#\/components\/responses\/Unauthenticated"},"404":{"$ref":"#\/components\/responses\/NotFound"},"429":{"$ref":"#\/components\/responses\/RateLimited"}},"x-rate-limit":{"limit":60,"window_minutes":1},"security":[{"bearerAuth":[]}]}},"\/auth\/me":{"get":{"summary":"Get the authenticated User","operationId":"authMe","tags":["Auth"],"parameters":[],"responses":{"200":{"description":"OK"},"401":{"$ref":"#\/components\/responses\/Unauthenticated"},"404":{"$ref":"#\/components\/responses\/NotFound"},"429":{"$ref":"#\/components\/responses\/RateLimited"}},"x-rate-limit":{"limit":60,"window_minutes":1},"security":[{"bearerAuth":[]}]}},"\/auth\/register":{"post":{"summary":"Sign up a new User + Tenant","operationId":"authRegister","tags":["Auth"],"parameters":[],"responses":{"200":{"description":"OK"},"201":{"description":"Created"},"422":{"description":"Validation failed","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Error"}}}},"404":{"$ref":"#\/components\/responses\/NotFound"},"429":{"$ref":"#\/components\/responses\/RateLimited"}},"x-rate-limit":{"limit":5,"window_minutes":60}}},"\/cdn\/{space}\/_beacon":{"post":{"summary":"Privacy-first analytics beacon","operationId":"cdnBeacon","tags":["CDN"],"parameters":[{"name":"space","in":"path","required":true,"schema":{"type":"string","pattern":"^[a-z][a-z0-9-]*$"}}],"responses":{"200":{"description":"OK"},"201":{"description":"Created"},"422":{"description":"Validation failed","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Error"}}}},"404":{"$ref":"#\/components\/responses\/NotFound"},"429":{"$ref":"#\/components\/responses\/RateLimited"}},"description":"POST-only. Records anonymised pageviews. Always returns 204 \u2014 never leaks Story existence.","x-rate-limit":{"limit":600,"window_minutes":1}}},"\/cdn\/{space}\/assets\/{uuid}.{format}":{"get":{"summary":"Cdn assets transform","operationId":"cdnAssetsTransform","tags":["Cdn"],"parameters":[{"name":"space","in":"path","required":true,"schema":{"type":"string","pattern":"^[a-z][a-z0-9-]*$"}},{"name":"uuid","in":"path","required":true,"schema":{"type":"string","format":"uuid"}},{"name":"format","in":"path","required":true,"schema":{"type":"string","enum":["webp","jpg","png","avif"]}}],"responses":{"200":{"description":"OK"},"404":{"$ref":"#\/components\/responses\/NotFound"},"429":{"$ref":"#\/components\/responses\/RateLimited"}},"x-rate-limit":{"limit":600,"window_minutes":1}}},"\/cdn\/{space}\/carts":{"post":{"summary":"Cdn carts create","operationId":"cdnCartsCreate","tags":["Cdn"],"parameters":[{"name":"space","in":"path","required":true,"schema":{"type":"string","pattern":"^[a-z][a-z0-9-]*$"}}],"responses":{"200":{"description":"OK"},"201":{"description":"Created"},"422":{"description":"Validation failed","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Error"}}}},"404":{"$ref":"#\/components\/responses\/NotFound"},"429":{"$ref":"#\/components\/responses\/RateLimited"}},"x-rate-limit":{"limit":120,"window_minutes":1}}},"\/cdn\/{space}\/carts\/{uuid}":{"get":{"summary":"Cdn carts show","operationId":"cdnCartsShow","tags":["Cdn"],"parameters":[{"name":"space","in":"path","required":true,"schema":{"type":"string","pattern":"^[a-z][a-z0-9-]*$"}},{"name":"uuid","in":"path","required":true,"schema":{"type":"string","format":"uuid"}}],"responses":{"200":{"description":"OK"},"404":{"$ref":"#\/components\/responses\/NotFound"},"429":{"$ref":"#\/components\/responses\/RateLimited"}},"x-rate-limit":{"limit":300,"window_minutes":1}}},"\/cdn\/{space}\/carts\/{uuid}\/checkout":{"post":{"summary":"Cdn carts checkout","operationId":"cdnCartsCheckout","tags":["Cdn"],"parameters":[{"name":"space","in":"path","required":true,"schema":{"type":"string","pattern":"^[a-z][a-z0-9-]*$"}},{"name":"uuid","in":"path","required":true,"schema":{"type":"string","format":"uuid"}}],"responses":{"200":{"description":"OK"},"201":{"description":"Created"},"422":{"description":"Validation failed","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Error"}}}},"404":{"$ref":"#\/components\/responses\/NotFound"},"429":{"$ref":"#\/components\/responses\/RateLimited"}},"x-rate-limit":{"limit":30,"window_minutes":1}}},"\/cdn\/{space}\/carts\/{uuid}\/items":{"post":{"summary":"Cdn carts additem","operationId":"cdnCartsAdditem","tags":["Cdn"],"parameters":[{"name":"space","in":"path","required":true,"schema":{"type":"string","pattern":"^[a-z][a-z0-9-]*$"}},{"name":"uuid","in":"path","required":true,"schema":{"type":"string","format":"uuid"}}],"responses":{"200":{"description":"OK"},"201":{"description":"Created"},"422":{"description":"Validation failed","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Error"}}}},"404":{"$ref":"#\/components\/responses\/NotFound"},"429":{"$ref":"#\/components\/responses\/RateLimited"}},"x-rate-limit":{"limit":120,"window_minutes":1}}},"\/cdn\/{space}\/carts\/{uuid}\/items\/{itemId}":{"delete":{"summary":"Cdn carts removeitem","operationId":"cdnCartsRemoveitem","tags":["Cdn"],"parameters":[{"name":"space","in":"path","required":true,"schema":{"type":"string","pattern":"^[a-z][a-z0-9-]*$"}},{"name":"uuid","in":"path","required":true,"schema":{"type":"string","format":"uuid"}},{"name":"itemId","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"204":{"description":"Deleted"},"404":{"$ref":"#\/components\/responses\/NotFound"},"429":{"$ref":"#\/components\/responses\/RateLimited"}},"x-rate-limit":{"limit":120,"window_minutes":1}}},"\/cdn\/{space}\/dom-overlay":{"get":{"summary":"Cdn dom overlay","operationId":"cdnDomOverlay","tags":["Cdn"],"parameters":[{"name":"space","in":"path","required":true,"schema":{"type":"string","pattern":"^[a-z][a-z0-9-]*$"}}],"responses":{"200":{"description":"OK"},"404":{"$ref":"#\/components\/responses\/NotFound"},"429":{"$ref":"#\/components\/responses\/RateLimited"}},"x-rate-limit":{"limit":600,"window_minutes":1}}},"\/cdn\/{space}\/events":{"get":{"summary":"Cdn events index","operationId":"cdnEventsIndex","tags":["Cdn"],"parameters":[{"name":"space","in":"path","required":true,"schema":{"type":"string","pattern":"^[a-z][a-z0-9-]*$"}}],"responses":{"200":{"description":"OK"},"404":{"$ref":"#\/components\/responses\/NotFound"},"429":{"$ref":"#\/components\/responses\/RateLimited"}},"x-rate-limit":{"limit":600,"window_minutes":1}}},"\/cdn\/{space}\/events\/{slug}":{"get":{"summary":"Cdn events show","operationId":"cdnEventsShow","tags":["Cdn"],"parameters":[{"name":"space","in":"path","required":true,"schema":{"type":"string","pattern":"^[a-z][a-z0-9-]*$"}},{"name":"slug","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK"},"404":{"$ref":"#\/components\/responses\/NotFound"},"429":{"$ref":"#\/components\/responses\/RateLimited"}},"x-rate-limit":{"limit":600,"window_minutes":1}}},"\/cdn\/{space}\/events\/{slug}\/ics\/{icsToken}":{"get":{"summary":"Cdn events ics","operationId":"cdnEventsIcs","tags":["Cdn"],"parameters":[{"name":"space","in":"path","required":true,"schema":{"type":"string","pattern":"^[a-z][a-z0-9-]*$"}},{"name":"slug","in":"path","required":true,"schema":{"type":"string"}},{"name":"icsToken","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK"},"404":{"$ref":"#\/components\/responses\/NotFound"},"429":{"$ref":"#\/components\/responses\/RateLimited"}},"x-rate-limit":{"limit":60,"window_minutes":1}}},"\/cdn\/{space}\/events\/{slug}\/register":{"post":{"summary":"Cdn events register","operationId":"cdnEventsRegister","tags":["Cdn"],"parameters":[{"name":"space","in":"path","required":true,"schema":{"type":"string","pattern":"^[a-z][a-z0-9-]*$"}},{"name":"slug","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK"},"201":{"description":"Created"},"422":{"description":"Validation failed","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Error"}}}},"404":{"$ref":"#\/components\/responses\/NotFound"},"429":{"$ref":"#\/components\/responses\/RateLimited"}},"x-rate-limit":{"limit":20,"window_minutes":1}}},"\/cdn\/{space}\/forms\/{slug}":{"post":{"summary":"Cdn forms submit","operationId":"cdnFormsSubmit","tags":["Cdn"],"parameters":[{"name":"space","in":"path","required":true,"schema":{"type":"string","pattern":"^[a-z][a-z0-9-]*$"}},{"name":"slug","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK"},"201":{"description":"Created"},"422":{"description":"Validation failed","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Error"}}}},"404":{"$ref":"#\/components\/responses\/NotFound"},"429":{"$ref":"#\/components\/responses\/RateLimited"}},"x-rate-limit":{"limit":20,"window_minutes":1}}},"\/cdn\/{space}\/galleries\/{slug}":{"get":{"summary":"Cdn galleries show","operationId":"cdnGalleriesShow","tags":["Cdn"],"parameters":[{"name":"space","in":"path","required":true,"schema":{"type":"string","pattern":"^[a-z][a-z0-9-]*$"}},{"name":"slug","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK"},"404":{"$ref":"#\/components\/responses\/NotFound"},"429":{"$ref":"#\/components\/responses\/RateLimited"}},"x-rate-limit":{"limit":600,"window_minutes":1}}},"\/cdn\/{space}\/products":{"get":{"summary":"Cdn products index","operationId":"cdnProductsIndex","tags":["Cdn"],"parameters":[{"name":"space","in":"path","required":true,"schema":{"type":"string","pattern":"^[a-z][a-z0-9-]*$"}}],"responses":{"200":{"description":"OK"},"404":{"$ref":"#\/components\/responses\/NotFound"},"429":{"$ref":"#\/components\/responses\/RateLimited"}},"x-rate-limit":{"limit":600,"window_minutes":1}}},"\/cdn\/{space}\/products\/{slug}":{"get":{"summary":"Cdn products show","operationId":"cdnProductsShow","tags":["Cdn"],"parameters":[{"name":"space","in":"path","required":true,"schema":{"type":"string","pattern":"^[a-z][a-z0-9-]*$"}},{"name":"slug","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK"},"404":{"$ref":"#\/components\/responses\/NotFound"},"429":{"$ref":"#\/components\/responses\/RateLimited"}},"x-rate-limit":{"limit":600,"window_minutes":1}}},"\/cdn\/{space}\/search":{"get":{"summary":"Full-text search across published Stories","operationId":"cdnSearch","tags":["CDN"],"parameters":[{"name":"space","in":"path","required":true,"schema":{"type":"string","pattern":"^[a-z][a-z0-9-]*$"}}],"responses":{"200":{"description":"OK"},"404":{"$ref":"#\/components\/responses\/NotFound"},"429":{"$ref":"#\/components\/responses\/RateLimited"}},"description":"Meilisearch-backed full-text search. Anonymous, throttled. Returns hits + meta.","x-rate-limit":{"limit":60,"window_minutes":1}}},"\/cdn\/{space}\/stories\/{path}":{"get":{"summary":"Fetch a published Story by full path","operationId":"cdnStoriesShow","tags":["CDN"],"parameters":[{"name":"space","in":"path","required":true,"schema":{"type":"string","pattern":"^[a-z][a-z0-9-]*$"}},{"name":"path","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK"},"404":{"$ref":"#\/components\/responses\/NotFound"},"429":{"$ref":"#\/components\/responses\/RateLimited"}},"description":"Primary CDN read endpoint. Anonymous. Returns Story content + meta. ETag + Cache-Control + Vary headers. BCP-47 locale fallback chain applies to `lang` query param.","x-rate-limit":{"limit":600,"window_minutes":1}}},"\/cdn\/{space}\/stories\/{uuid}\/og.svg":{"get":{"summary":"Cdn og image","operationId":"cdnOgImage","tags":["Cdn"],"parameters":[{"name":"space","in":"path","required":true,"schema":{"type":"string","pattern":"^[a-z][a-z0-9-]*$"}},{"name":"uuid","in":"path","required":true,"schema":{"type":"string","format":"uuid"}}],"responses":{"200":{"description":"OK"},"404":{"$ref":"#\/components\/responses\/NotFound"},"429":{"$ref":"#\/components\/responses\/RateLimited"}},"x-rate-limit":{"limit":300,"window_minutes":1}}},"\/cdn\/{space}\/subscribe":{"post":{"summary":"Cdn subscribe","operationId":"cdnSubscribe","tags":["Cdn"],"parameters":[{"name":"space","in":"path","required":true,"schema":{"type":"string","pattern":"^[a-z][a-z0-9-]*$"}}],"responses":{"200":{"description":"OK"},"201":{"description":"Created"},"422":{"description":"Validation failed","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Error"}}}},"404":{"$ref":"#\/components\/responses\/NotFound"},"429":{"$ref":"#\/components\/responses\/RateLimited"}},"x-rate-limit":{"limit":20,"window_minutes":1}}},"\/cdn\/{space}\/subscribe\/confirm\/{token}":{"get":{"summary":"Cdn subscribe confirm","operationId":"cdnSubscribeConfirm","tags":["Cdn"],"parameters":[{"name":"space","in":"path","required":true,"schema":{"type":"string","pattern":"^[a-z][a-z0-9-]*$"}},{"name":"token","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK"},"404":{"$ref":"#\/components\/responses\/NotFound"},"429":{"$ref":"#\/components\/responses\/RateLimited"}},"x-rate-limit":{"limit":60,"window_minutes":1}}},"\/cdn\/{space}\/unsubscribe\/{token}":{"get":{"summary":"Cdn unsubscribe","operationId":"cdnUnsubscribe","tags":["Cdn"],"parameters":[{"name":"space","in":"path","required":true,"schema":{"type":"string","pattern":"^[a-z][a-z0-9-]*$"}},{"name":"token","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK"},"404":{"$ref":"#\/components\/responses\/NotFound"},"429":{"$ref":"#\/components\/responses\/RateLimited"}},"x-rate-limit":{"limit":60,"window_minutes":1}}},"\/graphql":{"post":{"summary":"Read-only GraphQL endpoint","operationId":"graphql","tags":["CDN"],"parameters":[],"responses":{"200":{"description":"OK"},"201":{"description":"Created"},"422":{"description":"Validation failed","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Error"}}}},"404":{"$ref":"#\/components\/responses\/NotFound"},"429":{"$ref":"#\/components\/responses\/RateLimited"}},"description":"Lighthouse-backed GraphQL. POST only. Anonymous, throttled to 600\/min\/IP.","x-rate-limit":{"limit":600,"window_minutes":1}}},"\/graphql\/schema.gql":{"get":{"summary":"Graphql schema","operationId":"graphqlSchema","tags":["Graphql"],"parameters":[],"responses":{"200":{"description":"OK"},"404":{"$ref":"#\/components\/responses\/NotFound"},"429":{"$ref":"#\/components\/responses\/RateLimited"}},"x-rate-limit":{"limit":600,"window_minutes":1}}},"\/invite\/{token}":{"get":{"summary":"Invite preview","operationId":"invitePreview","tags":["Invite"],"parameters":[{"name":"token","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK"},"404":{"$ref":"#\/components\/responses\/NotFound"},"429":{"$ref":"#\/components\/responses\/RateLimited"}},"x-rate-limit":{"limit":30,"window_minutes":1}}},"\/invite\/{token}\/accept":{"post":{"summary":"Invite accept","operationId":"inviteAccept","tags":["Invite"],"parameters":[{"name":"token","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK"},"201":{"description":"Created"},"422":{"description":"Validation failed","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Error"}}}},"401":{"$ref":"#\/components\/responses\/Unauthenticated"},"404":{"$ref":"#\/components\/responses\/NotFound"},"429":{"$ref":"#\/components\/responses\/RateLimited"}},"x-rate-limit":{"limit":30,"window_minutes":1},"security":[{"bearerAuth":[]}]}},"\/invite\/{token}\/decline":{"post":{"summary":"Invite decline","operationId":"inviteDecline","tags":["Invite"],"parameters":[{"name":"token","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK"},"201":{"description":"Created"},"422":{"description":"Validation failed","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Error"}}}},"404":{"$ref":"#\/components\/responses\/NotFound"},"429":{"$ref":"#\/components\/responses\/RateLimited"}},"x-rate-limit":{"limit":30,"window_minutes":1}}},"\/onboard":{"post":{"summary":"Onboard","operationId":"onboard","tags":["Onboard"],"parameters":[],"responses":{"200":{"description":"OK"},"201":{"description":"Created"},"422":{"description":"Validation failed","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Error"}}}},"404":{"$ref":"#\/components\/responses\/NotFound"},"429":{"$ref":"#\/components\/responses\/RateLimited"}},"x-rate-limit":{"limit":5,"window_minutes":60}}},"\/openapi.json":{"get":{"summary":"This OpenAPI 3.1 specification (JSON)","operationId":"openapiJson","tags":["Discovery"],"parameters":[],"responses":{"200":{"description":"OK"},"404":{"$ref":"#\/components\/responses\/NotFound"},"429":{"$ref":"#\/components\/responses\/RateLimited"}},"x-rate-limit":{"limit":60,"window_minutes":1}}},"\/openapi.yaml":{"get":{"summary":"This OpenAPI 3.1 specification (YAML)","operationId":"openapiYaml","tags":["Discovery"],"parameters":[],"responses":{"200":{"description":"OK"},"404":{"$ref":"#\/components\/responses\/NotFound"},"429":{"$ref":"#\/components\/responses\/RateLimited"}},"x-rate-limit":{"limit":60,"window_minutes":1}}},"\/pitch-invitees":{"get":{"summary":"Pitch invitees","operationId":"pitchInvitees","tags":["Pitch invitees"],"parameters":[],"responses":{"200":{"description":"OK"},"401":{"$ref":"#\/components\/responses\/Unauthenticated"},"404":{"$ref":"#\/components\/responses\/NotFound"},"429":{"$ref":"#\/components\/responses\/RateLimited"}},"security":[{"bearerAuth":[]}]}},"\/pitch\/{slug}\/test-account":{"post":{"summary":"Pitch test account","operationId":"pitchTestAccount","tags":["Pitch"],"parameters":[{"name":"slug","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK"},"201":{"description":"Created"},"422":{"description":"Validation failed","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Error"}}}},"404":{"$ref":"#\/components\/responses\/NotFound"},"429":{"$ref":"#\/components\/responses\/RateLimited"}},"x-rate-limit":{"limit":10,"window_minutes":60}}},"\/spaces":{"post":{"summary":"Spaces store","operationId":"spacesStore","tags":["Spaces"],"parameters":[],"responses":{"200":{"description":"OK"},"201":{"description":"Created"},"422":{"description":"Validation failed","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Error"}}}},"401":{"$ref":"#\/components\/responses\/Unauthenticated"},"404":{"$ref":"#\/components\/responses\/NotFound"},"429":{"$ref":"#\/components\/responses\/RateLimited"}},"x-rate-limit":{"limit":60,"window_minutes":1},"security":[{"bearerAuth":[]}]},"get":{"summary":"List Spaces accessible to the authenticated User","operationId":"spacesIndex","tags":["Spaces"],"parameters":[],"responses":{"200":{"description":"OK"},"401":{"$ref":"#\/components\/responses\/Unauthenticated"},"404":{"$ref":"#\/components\/responses\/NotFound"},"429":{"$ref":"#\/components\/responses\/RateLimited"}},"description":"Returns every Space in the User's Tenant with their per-Space role. User-token only \u2014 Space-scoped tokens get 403.","x-rate-limit":{"limit":60,"window_minutes":1},"security":[{"bearerAuth":[]}]}},"\/spaces\/{space}\/ai-jobs":{"get":{"summary":"Ai jobs index","operationId":"aiJobsIndex","tags":["Ai jobs"],"parameters":[{"name":"space","in":"path","required":true,"schema":{"type":"string","pattern":"^[a-z][a-z0-9-]*$"}}],"responses":{"200":{"description":"OK"},"401":{"$ref":"#\/components\/responses\/Unauthenticated"},"404":{"$ref":"#\/components\/responses\/NotFound"},"429":{"$ref":"#\/components\/responses\/RateLimited"}},"security":[{"bearerAuth":[]}]}},"\/spaces\/{space}\/ai-jobs\/{aiJob}\/approve":{"post":{"summary":"Ai jobs approve","operationId":"aiJobsApprove","tags":["Ai jobs"],"parameters":[{"name":"space","in":"path","required":true,"schema":{"type":"string","pattern":"^[a-z][a-z0-9-]*$"}},{"name":"aiJob","in":"path","required":true,"schema":{"type":"string","format":"uuid"}}],"responses":{"200":{"description":"OK"},"201":{"description":"Created"},"422":{"description":"Validation failed","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Error"}}}},"401":{"$ref":"#\/components\/responses\/Unauthenticated"},"404":{"$ref":"#\/components\/responses\/NotFound"},"429":{"$ref":"#\/components\/responses\/RateLimited"}},"x-rate-limit":{"limit":60,"window_minutes":1},"security":[{"bearerAuth":[]}]}},"\/spaces\/{space}\/ai-jobs\/{aiJob}\/reject":{"post":{"summary":"Ai jobs reject","operationId":"aiJobsReject","tags":["Ai jobs"],"parameters":[{"name":"space","in":"path","required":true,"schema":{"type":"string","pattern":"^[a-z][a-z0-9-]*$"}},{"name":"aiJob","in":"path","required":true,"schema":{"type":"string","format":"uuid"}}],"responses":{"200":{"description":"OK"},"201":{"description":"Created"},"422":{"description":"Validation failed","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Error"}}}},"401":{"$ref":"#\/components\/responses\/Unauthenticated"},"404":{"$ref":"#\/components\/responses\/NotFound"},"429":{"$ref":"#\/components\/responses\/RateLimited"}},"x-rate-limit":{"limit":60,"window_minutes":1},"security":[{"bearerAuth":[]}]}},"\/spaces\/{space}\/ai\/alt-text":{"post":{"summary":"Ai alt text","operationId":"aiAltText","tags":["Ai"],"parameters":[{"name":"space","in":"path","required":true,"schema":{"type":"string","pattern":"^[a-z][a-z0-9-]*$"}}],"responses":{"200":{"description":"OK"},"201":{"description":"Created"},"422":{"description":"Validation failed","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Error"}}}},"401":{"$ref":"#\/components\/responses\/Unauthenticated"},"404":{"$ref":"#\/components\/responses\/NotFound"},"429":{"$ref":"#\/components\/responses\/RateLimited"}},"x-rate-limit":{"limit":30,"window_minutes":1},"security":[{"bearerAuth":[]}]}},"\/spaces\/{space}\/ai\/internal-links":{"post":{"summary":"Ai internal links","operationId":"aiInternalLinks","tags":["Ai"],"parameters":[{"name":"space","in":"path","required":true,"schema":{"type":"string","pattern":"^[a-z][a-z0-9-]*$"}}],"responses":{"200":{"description":"OK"},"201":{"description":"Created"},"422":{"description":"Validation failed","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Error"}}}},"401":{"$ref":"#\/components\/responses\/Unauthenticated"},"404":{"$ref":"#\/components\/responses\/NotFound"},"429":{"$ref":"#\/components\/responses\/RateLimited"}},"x-rate-limit":{"limit":30,"window_minutes":1},"security":[{"bearerAuth":[]}]}},"\/spaces\/{space}\/ai\/seo-meta":{"post":{"summary":"Ai seo meta","operationId":"aiSeoMeta","tags":["Ai"],"parameters":[{"name":"space","in":"path","required":true,"schema":{"type":"string","pattern":"^[a-z][a-z0-9-]*$"}}],"responses":{"200":{"description":"OK"},"201":{"description":"Created"},"422":{"description":"Validation failed","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Error"}}}},"401":{"$ref":"#\/components\/responses\/Unauthenticated"},"404":{"$ref":"#\/components\/responses\/NotFound"},"429":{"$ref":"#\/components\/responses\/RateLimited"}},"x-rate-limit":{"limit":30,"window_minutes":1},"security":[{"bearerAuth":[]}]}},"\/spaces\/{space}\/ai\/status":{"get":{"summary":"Ai status","operationId":"aiStatus","tags":["Ai"],"parameters":[{"name":"space","in":"path","required":true,"schema":{"type":"string","pattern":"^[a-z][a-z0-9-]*$"}}],"responses":{"200":{"description":"OK"},"401":{"$ref":"#\/components\/responses\/Unauthenticated"},"404":{"$ref":"#\/components\/responses\/NotFound"},"429":{"$ref":"#\/components\/responses\/RateLimited"}},"x-rate-limit":{"limit":120,"window_minutes":1},"security":[{"bearerAuth":[]}]}},"\/spaces\/{space}\/ai\/story-insights":{"post":{"summary":"Ai story insights","operationId":"aiStoryInsights","tags":["Ai"],"parameters":[{"name":"space","in":"path","required":true,"schema":{"type":"string","pattern":"^[a-z][a-z0-9-]*$"}}],"responses":{"200":{"description":"OK"},"201":{"description":"Created"},"422":{"description":"Validation failed","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Error"}}}},"401":{"$ref":"#\/components\/responses\/Unauthenticated"},"404":{"$ref":"#\/components\/responses\/NotFound"},"429":{"$ref":"#\/components\/responses\/RateLimited"}},"x-rate-limit":{"limit":10,"window_minutes":1},"security":[{"bearerAuth":[]}]}},"\/spaces\/{space}\/ai\/stream-text":{"post":{"summary":"Ai stream text","operationId":"aiStreamText","tags":["Ai"],"parameters":[{"name":"space","in":"path","required":true,"schema":{"type":"string","pattern":"^[a-z][a-z0-9-]*$"}}],"responses":{"200":{"description":"OK"},"201":{"description":"Created"},"422":{"description":"Validation failed","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Error"}}}},"401":{"$ref":"#\/components\/responses\/Unauthenticated"},"404":{"$ref":"#\/components\/responses\/NotFound"},"429":{"$ref":"#\/components\/responses\/RateLimited"}},"x-rate-limit":{"limit":10,"window_minutes":1},"security":[{"bearerAuth":[]}]}},"\/spaces\/{space}\/ai\/text":{"post":{"summary":"Ai text","operationId":"aiText","tags":["Ai"],"parameters":[{"name":"space","in":"path","required":true,"schema":{"type":"string","pattern":"^[a-z][a-z0-9-]*$"}}],"responses":{"200":{"description":"OK"},"201":{"description":"Created"},"422":{"description":"Validation failed","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Error"}}}},"401":{"$ref":"#\/components\/responses\/Unauthenticated"},"404":{"$ref":"#\/components\/responses\/NotFound"},"429":{"$ref":"#\/components\/responses\/RateLimited"}},"x-rate-limit":{"limit":30,"window_minutes":1},"security":[{"bearerAuth":[]}]}},"\/spaces\/{space}\/ai\/translate":{"post":{"summary":"Ai translate","operationId":"aiTranslate","tags":["Ai"],"parameters":[{"name":"space","in":"path","required":true,"schema":{"type":"string","pattern":"^[a-z][a-z0-9-]*$"}}],"responses":{"200":{"description":"OK"},"201":{"description":"Created"},"422":{"description":"Validation failed","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Error"}}}},"401":{"$ref":"#\/components\/responses\/Unauthenticated"},"404":{"$ref":"#\/components\/responses\/NotFound"},"429":{"$ref":"#\/components\/responses\/RateLimited"}},"x-rate-limit":{"limit":30,"window_minutes":1},"security":[{"bearerAuth":[]}]}},"\/spaces\/{space}\/analytics\/overview":{"get":{"summary":"Analytics overview","operationId":"analyticsOverview","tags":["Analytics"],"parameters":[{"name":"space","in":"path","required":true,"schema":{"type":"string","pattern":"^[a-z][a-z0-9-]*$"}}],"responses":{"200":{"description":"OK"},"401":{"$ref":"#\/components\/responses\/Unauthenticated"},"404":{"$ref":"#\/components\/responses\/NotFound"},"429":{"$ref":"#\/components\/responses\/RateLimited"}},"security":[{"bearerAuth":[]}]}},"\/spaces\/{space}\/assets":{"post":{"summary":"Upload an Asset (multipart)","operationId":"assetsStore","tags":["Assets"],"parameters":[{"name":"space","in":"path","required":true,"schema":{"type":"string","pattern":"^[a-z][a-z0-9-]*$"}}],"responses":{"200":{"description":"OK"},"201":{"description":"Created"},"422":{"description":"Validation failed","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Error"}}}},"401":{"$ref":"#\/components\/responses\/Unauthenticated"},"404":{"$ref":"#\/components\/responses\/NotFound"},"429":{"$ref":"#\/components\/responses\/RateLimited"}},"description":"Magic-bytes MIME validation, 100 MB cap, jsonb alt-text per locale.","x-rate-limit":{"limit":30,"window_minutes":1},"security":[{"bearerAuth":[]}]},"get":{"summary":"Assets index","operationId":"assetsIndex","tags":["Assets"],"parameters":[{"name":"space","in":"path","required":true,"schema":{"type":"string","pattern":"^[a-z][a-z0-9-]*$"}}],"responses":{"200":{"description":"OK"},"401":{"$ref":"#\/components\/responses\/Unauthenticated"},"404":{"$ref":"#\/components\/responses\/NotFound"},"429":{"$ref":"#\/components\/responses\/RateLimited"}},"security":[{"bearerAuth":[]}]}},"\/spaces\/{space}\/assets\/{asset}":{"patch":{"summary":"Assets update","operationId":"assetsUpdate","tags":["Assets"],"parameters":[{"name":"space","in":"path","required":true,"schema":{"type":"string","pattern":"^[a-z][a-z0-9-]*$"}},{"name":"asset","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK"},"201":{"description":"Created"},"422":{"description":"Validation failed","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Error"}}}},"401":{"$ref":"#\/components\/responses\/Unauthenticated"},"404":{"$ref":"#\/components\/responses\/NotFound"},"429":{"$ref":"#\/components\/responses\/RateLimited"}},"security":[{"bearerAuth":[]}]}},"\/spaces\/{space}\/audience-segments":{"get":{"summary":"Audience segments index","operationId":"audienceSegmentsIndex","tags":["Audience segments"],"parameters":[{"name":"space","in":"path","required":true,"schema":{"type":"string","pattern":"^[a-z][a-z0-9-]*$"}}],"responses":{"200":{"description":"OK"},"401":{"$ref":"#\/components\/responses\/Unauthenticated"},"404":{"$ref":"#\/components\/responses\/NotFound"},"429":{"$ref":"#\/components\/responses\/RateLimited"}},"security":[{"bearerAuth":[]}]},"post":{"summary":"Audience segments store","operationId":"audienceSegmentsStore","tags":["Audience segments"],"parameters":[{"name":"space","in":"path","required":true,"schema":{"type":"string","pattern":"^[a-z][a-z0-9-]*$"}}],"responses":{"200":{"description":"OK"},"201":{"description":"Created"},"422":{"description":"Validation failed","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Error"}}}},"401":{"$ref":"#\/components\/responses\/Unauthenticated"},"404":{"$ref":"#\/components\/responses\/NotFound"},"429":{"$ref":"#\/components\/responses\/RateLimited"}},"x-rate-limit":{"limit":60,"window_minutes":1},"security":[{"bearerAuth":[]}]}},"\/spaces\/{space}\/audience-segments\/{key}":{"get":{"summary":"Audience segments show","operationId":"audienceSegmentsShow","tags":["Audience segments"],"parameters":[{"name":"space","in":"path","required":true,"schema":{"type":"string","pattern":"^[a-z][a-z0-9-]*$"}},{"name":"key","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK"},"401":{"$ref":"#\/components\/responses\/Unauthenticated"},"404":{"$ref":"#\/components\/responses\/NotFound"},"429":{"$ref":"#\/components\/responses\/RateLimited"}},"security":[{"bearerAuth":[]}]},"put":{"summary":"Audience segments update","operationId":"audienceSegmentsUpdate","tags":["Audience segments"],"parameters":[{"name":"space","in":"path","required":true,"schema":{"type":"string","pattern":"^[a-z][a-z0-9-]*$"}},{"name":"key","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK"},"201":{"description":"Created"},"422":{"description":"Validation failed","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Error"}}}},"401":{"$ref":"#\/components\/responses\/Unauthenticated"},"404":{"$ref":"#\/components\/responses\/NotFound"},"429":{"$ref":"#\/components\/responses\/RateLimited"}},"x-rate-limit":{"limit":60,"window_minutes":1},"security":[{"bearerAuth":[]}]},"delete":{"summary":"Audience segments destroy","operationId":"audienceSegmentsDestroy","tags":["Audience segments"],"parameters":[{"name":"space","in":"path","required":true,"schema":{"type":"string","pattern":"^[a-z][a-z0-9-]*$"}},{"name":"key","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"204":{"description":"Deleted"},"401":{"$ref":"#\/components\/responses\/Unauthenticated"},"404":{"$ref":"#\/components\/responses\/NotFound"},"429":{"$ref":"#\/components\/responses\/RateLimited"}},"x-rate-limit":{"limit":30,"window_minutes":1},"security":[{"bearerAuth":[]}]}},"\/spaces\/{space}\/billing":{"get":{"summary":"Billing show","operationId":"billingShow","tags":["Billing"],"parameters":[{"name":"space","in":"path","required":true,"schema":{"type":"string","pattern":"^[a-z][a-z0-9-]*$"}}],"responses":{"200":{"description":"OK"},"401":{"$ref":"#\/components\/responses\/Unauthenticated"},"404":{"$ref":"#\/components\/responses\/NotFound"},"429":{"$ref":"#\/components\/responses\/RateLimited"}},"security":[{"bearerAuth":[]}]}},"\/spaces\/{space}\/billing\/checkout":{"post":{"summary":"Billing checkout","operationId":"billingCheckout","tags":["Billing"],"parameters":[{"name":"space","in":"path","required":true,"schema":{"type":"string","pattern":"^[a-z][a-z0-9-]*$"}}],"responses":{"200":{"description":"OK"},"201":{"description":"Created"},"422":{"description":"Validation failed","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Error"}}}},"401":{"$ref":"#\/components\/responses\/Unauthenticated"},"404":{"$ref":"#\/components\/responses\/NotFound"},"429":{"$ref":"#\/components\/responses\/RateLimited"}},"x-rate-limit":{"limit":10,"window_minutes":1},"security":[{"bearerAuth":[]}]}},"\/spaces\/{space}\/billing\/portal":{"post":{"summary":"Billing portal","operationId":"billingPortal","tags":["Billing"],"parameters":[{"name":"space","in":"path","required":true,"schema":{"type":"string","pattern":"^[a-z][a-z0-9-]*$"}}],"responses":{"200":{"description":"OK"},"201":{"description":"Created"},"422":{"description":"Validation failed","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Error"}}}},"401":{"$ref":"#\/components\/responses\/Unauthenticated"},"404":{"$ref":"#\/components\/responses\/NotFound"},"429":{"$ref":"#\/components\/responses\/RateLimited"}},"x-rate-limit":{"limit":10,"window_minutes":1},"security":[{"bearerAuth":[]}]}},"\/spaces\/{space}\/component-blueprints":{"get":{"summary":"Blueprints index","operationId":"blueprintsIndex","tags":["Component blueprints"],"parameters":[{"name":"space","in":"path","required":true,"schema":{"type":"string","pattern":"^[a-z][a-z0-9-]*$"}}],"responses":{"200":{"description":"OK"},"401":{"$ref":"#\/components\/responses\/Unauthenticated"},"404":{"$ref":"#\/components\/responses\/NotFound"},"429":{"$ref":"#\/components\/responses\/RateLimited"}},"security":[{"bearerAuth":[]}]},"post":{"summary":"Blueprints store","operationId":"blueprintsStore","tags":["Component blueprints"],"parameters":[{"name":"space","in":"path","required":true,"schema":{"type":"string","pattern":"^[a-z][a-z0-9-]*$"}}],"responses":{"200":{"description":"OK"},"201":{"description":"Created"},"422":{"description":"Validation failed","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Error"}}}},"401":{"$ref":"#\/components\/responses\/Unauthenticated"},"404":{"$ref":"#\/components\/responses\/NotFound"},"429":{"$ref":"#\/components\/responses\/RateLimited"}},"x-rate-limit":{"limit":60,"window_minutes":1},"security":[{"bearerAuth":[]}]}},"\/spaces\/{space}\/component-blueprints\/{componentBlueprint}":{"get":{"summary":"Blueprints show","operationId":"blueprintsShow","tags":["Component blueprints"],"parameters":[{"name":"space","in":"path","required":true,"schema":{"type":"string","pattern":"^[a-z][a-z0-9-]*$"}},{"name":"componentBlueprint","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK"},"401":{"$ref":"#\/components\/responses\/Unauthenticated"},"404":{"$ref":"#\/components\/responses\/NotFound"},"429":{"$ref":"#\/components\/responses\/RateLimited"}},"security":[{"bearerAuth":[]}]},"put":{"summary":"Blueprints update","operationId":"blueprintsUpdate","tags":["Component blueprints"],"parameters":[{"name":"space","in":"path","required":true,"schema":{"type":"string","pattern":"^[a-z][a-z0-9-]*$"}},{"name":"componentBlueprint","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK"},"201":{"description":"Created"},"422":{"description":"Validation failed","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Error"}}}},"401":{"$ref":"#\/components\/responses\/Unauthenticated"},"404":{"$ref":"#\/components\/responses\/NotFound"},"429":{"$ref":"#\/components\/responses\/RateLimited"}},"x-rate-limit":{"limit":60,"window_minutes":1},"security":[{"bearerAuth":[]}]},"delete":{"summary":"Blueprints destroy","operationId":"blueprintsDestroy","tags":["Component blueprints"],"parameters":[{"name":"space","in":"path","required":true,"schema":{"type":"string","pattern":"^[a-z][a-z0-9-]*$"}},{"name":"componentBlueprint","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"204":{"description":"Deleted"},"401":{"$ref":"#\/components\/responses\/Unauthenticated"},"404":{"$ref":"#\/components\/responses\/NotFound"},"429":{"$ref":"#\/components\/responses\/RateLimited"}},"x-rate-limit":{"limit":30,"window_minutes":1},"security":[{"bearerAuth":[]}]}},"\/spaces\/{space}\/datasources":{"get":{"summary":"Datasources index","operationId":"datasourcesIndex","tags":["Datasources"],"parameters":[{"name":"space","in":"path","required":true,"schema":{"type":"string","pattern":"^[a-z][a-z0-9-]*$"}}],"responses":{"200":{"description":"OK"},"401":{"$ref":"#\/components\/responses\/Unauthenticated"},"404":{"$ref":"#\/components\/responses\/NotFound"},"429":{"$ref":"#\/components\/responses\/RateLimited"}},"security":[{"bearerAuth":[]}]},"post":{"summary":"Datasources store","operationId":"datasourcesStore","tags":["Datasources"],"parameters":[{"name":"space","in":"path","required":true,"schema":{"type":"string","pattern":"^[a-z][a-z0-9-]*$"}}],"responses":{"200":{"description":"OK"},"201":{"description":"Created"},"422":{"description":"Validation failed","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Error"}}}},"401":{"$ref":"#\/components\/responses\/Unauthenticated"},"404":{"$ref":"#\/components\/responses\/NotFound"},"429":{"$ref":"#\/components\/responses\/RateLimited"}},"x-rate-limit":{"limit":60,"window_minutes":1},"security":[{"bearerAuth":[]}]}},"\/spaces\/{space}\/datasources\/{key}":{"get":{"summary":"Datasources show","operationId":"datasourcesShow","tags":["Datasources"],"parameters":[{"name":"space","in":"path","required":true,"schema":{"type":"string","pattern":"^[a-z][a-z0-9-]*$"}},{"name":"key","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK"},"401":{"$ref":"#\/components\/responses\/Unauthenticated"},"404":{"$ref":"#\/components\/responses\/NotFound"},"429":{"$ref":"#\/components\/responses\/RateLimited"}},"security":[{"bearerAuth":[]}]},"put":{"summary":"Datasources update","operationId":"datasourcesUpdate","tags":["Datasources"],"parameters":[{"name":"space","in":"path","required":true,"schema":{"type":"string","pattern":"^[a-z][a-z0-9-]*$"}},{"name":"key","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK"},"201":{"description":"Created"},"422":{"description":"Validation failed","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Error"}}}},"401":{"$ref":"#\/components\/responses\/Unauthenticated"},"404":{"$ref":"#\/components\/responses\/NotFound"},"429":{"$ref":"#\/components\/responses\/RateLimited"}},"x-rate-limit":{"limit":60,"window_minutes":1},"security":[{"bearerAuth":[]}]},"delete":{"summary":"Datasources destroy","operationId":"datasourcesDestroy","tags":["Datasources"],"parameters":[{"name":"space","in":"path","required":true,"schema":{"type":"string","pattern":"^[a-z][a-z0-9-]*$"}},{"name":"key","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"204":{"description":"Deleted"},"401":{"$ref":"#\/components\/responses\/Unauthenticated"},"404":{"$ref":"#\/components\/responses\/NotFound"},"429":{"$ref":"#\/components\/responses\/RateLimited"}},"x-rate-limit":{"limit":30,"window_minutes":1},"security":[{"bearerAuth":[]}]}},"\/spaces\/{space}\/datasources\/{key}\/entries":{"get":{"summary":"Datasources entries","operationId":"datasourcesEntries","tags":["Datasources"],"parameters":[{"name":"space","in":"path","required":true,"schema":{"type":"string","pattern":"^[a-z][a-z0-9-]*$"}},{"name":"key","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK"},"401":{"$ref":"#\/components\/responses\/Unauthenticated"},"404":{"$ref":"#\/components\/responses\/NotFound"},"429":{"$ref":"#\/components\/responses\/RateLimited"}},"security":[{"bearerAuth":[]}]}},"\/spaces\/{space}\/datasources\/{key}\/sync":{"post":{"summary":"Datasources sync","operationId":"datasourcesSync","tags":["Datasources"],"parameters":[{"name":"space","in":"path","required":true,"schema":{"type":"string","pattern":"^[a-z][a-z0-9-]*$"}},{"name":"key","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK"},"201":{"description":"Created"},"422":{"description":"Validation failed","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Error"}}}},"401":{"$ref":"#\/components\/responses\/Unauthenticated"},"404":{"$ref":"#\/components\/responses\/NotFound"},"429":{"$ref":"#\/components\/responses\/RateLimited"}},"x-rate-limit":{"limit":30,"window_minutes":1},"security":[{"bearerAuth":[]}]}},"\/spaces\/{space}\/datasources\/{key}\/webhook":{"post":{"summary":"Datasources webhook","operationId":"datasourcesWebhook","tags":["Datasources"],"parameters":[{"name":"space","in":"path","required":true,"schema":{"type":"string","pattern":"^[a-z][a-z0-9-]*$"}},{"name":"key","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK"},"201":{"description":"Created"},"422":{"description":"Validation failed","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Error"}}}},"404":{"$ref":"#\/components\/responses\/NotFound"},"429":{"$ref":"#\/components\/responses\/RateLimited"}},"x-rate-limit":{"limit":600,"window_minutes":1}}},"\/spaces\/{space}\/dom-overlays\/by-path":{"get":{"summary":"Dom overlays show","operationId":"domOverlaysShow","tags":["Dom overlays"],"parameters":[{"name":"space","in":"path","required":true,"schema":{"type":"string","pattern":"^[a-z][a-z0-9-]*$"}}],"responses":{"200":{"description":"OK"},"401":{"$ref":"#\/components\/responses\/Unauthenticated"},"404":{"$ref":"#\/components\/responses\/NotFound"},"429":{"$ref":"#\/components\/responses\/RateLimited"}},"security":[{"bearerAuth":[]}]},"patch":{"summary":"Dom overlays save","operationId":"domOverlaysSave","tags":["Dom overlays"],"parameters":[{"name":"space","in":"path","required":true,"schema":{"type":"string","pattern":"^[a-z][a-z0-9-]*$"}}],"responses":{"200":{"description":"OK"},"201":{"description":"Created"},"422":{"description":"Validation failed","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Error"}}}},"401":{"$ref":"#\/components\/responses\/Unauthenticated"},"404":{"$ref":"#\/components\/responses\/NotFound"},"429":{"$ref":"#\/components\/responses\/RateLimited"}},"x-rate-limit":{"limit":120,"window_minutes":1},"security":[{"bearerAuth":[]}]}},"\/spaces\/{space}\/dom-overlays\/publish":{"post":{"summary":"Dom overlays publish","operationId":"domOverlaysPublish","tags":["Dom overlays"],"parameters":[{"name":"space","in":"path","required":true,"schema":{"type":"string","pattern":"^[a-z][a-z0-9-]*$"}}],"responses":{"200":{"description":"OK"},"201":{"description":"Created"},"422":{"description":"Validation failed","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Error"}}}},"401":{"$ref":"#\/components\/responses\/Unauthenticated"},"404":{"$ref":"#\/components\/responses\/NotFound"},"429":{"$ref":"#\/components\/responses\/RateLimited"}},"x-rate-limit":{"limit":60,"window_minutes":1},"security":[{"bearerAuth":[]}]}},"\/spaces\/{space}\/dom-overlays\/regions":{"post":{"summary":"Dom overlays regions","operationId":"domOverlaysRegions","tags":["Dom overlays"],"parameters":[{"name":"space","in":"path","required":true,"schema":{"type":"string","pattern":"^[a-z][a-z0-9-]*$"}}],"responses":{"200":{"description":"OK"},"201":{"description":"Created"},"422":{"description":"Validation failed","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Error"}}}},"401":{"$ref":"#\/components\/responses\/Unauthenticated"},"404":{"$ref":"#\/components\/responses\/NotFound"},"429":{"$ref":"#\/components\/responses\/RateLimited"}},"x-rate-limit":{"limit":120,"window_minutes":1},"security":[{"bearerAuth":[]}]}},"\/spaces\/{space}\/dom-overlays\/versions":{"get":{"summary":"Dom overlays versions","operationId":"domOverlaysVersions","tags":["Dom overlays"],"parameters":[{"name":"space","in":"path","required":true,"schema":{"type":"string","pattern":"^[a-z][a-z0-9-]*$"}}],"responses":{"200":{"description":"OK"},"401":{"$ref":"#\/components\/responses\/Unauthenticated"},"404":{"$ref":"#\/components\/responses\/NotFound"},"429":{"$ref":"#\/components\/responses\/RateLimited"}},"security":[{"bearerAuth":[]}]}},"\/spaces\/{space}\/events":{"get":{"summary":"Events index","operationId":"eventsIndex","tags":["Events"],"parameters":[{"name":"space","in":"path","required":true,"schema":{"type":"string","pattern":"^[a-z][a-z0-9-]*$"}}],"responses":{"200":{"description":"OK"},"401":{"$ref":"#\/components\/responses\/Unauthenticated"},"404":{"$ref":"#\/components\/responses\/NotFound"},"429":{"$ref":"#\/components\/responses\/RateLimited"}},"security":[{"bearerAuth":[]}]},"post":{"summary":"Events store","operationId":"eventsStore","tags":["Events"],"parameters":[{"name":"space","in":"path","required":true,"schema":{"type":"string","pattern":"^[a-z][a-z0-9-]*$"}}],"responses":{"200":{"description":"OK"},"201":{"description":"Created"},"422":{"description":"Validation failed","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Error"}}}},"401":{"$ref":"#\/components\/responses\/Unauthenticated"},"404":{"$ref":"#\/components\/responses\/NotFound"},"429":{"$ref":"#\/components\/responses\/RateLimited"}},"x-rate-limit":{"limit":60,"window_minutes":1},"security":[{"bearerAuth":[]}]}},"\/spaces\/{space}\/events\/{uuid}":{"get":{"summary":"Events show","operationId":"eventsShow","tags":["Events"],"parameters":[{"name":"space","in":"path","required":true,"schema":{"type":"string","pattern":"^[a-z][a-z0-9-]*$"}},{"name":"uuid","in":"path","required":true,"schema":{"type":"string","format":"uuid"}}],"responses":{"200":{"description":"OK"},"401":{"$ref":"#\/components\/responses\/Unauthenticated"},"404":{"$ref":"#\/components\/responses\/NotFound"},"429":{"$ref":"#\/components\/responses\/RateLimited"}},"security":[{"bearerAuth":[]}]},"put":{"summary":"Events update","operationId":"eventsUpdate","tags":["Events"],"parameters":[{"name":"space","in":"path","required":true,"schema":{"type":"string","pattern":"^[a-z][a-z0-9-]*$"}},{"name":"uuid","in":"path","required":true,"schema":{"type":"string","format":"uuid"}}],"responses":{"200":{"description":"OK"},"201":{"description":"Created"},"422":{"description":"Validation failed","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Error"}}}},"401":{"$ref":"#\/components\/responses\/Unauthenticated"},"404":{"$ref":"#\/components\/responses\/NotFound"},"429":{"$ref":"#\/components\/responses\/RateLimited"}},"x-rate-limit":{"limit":60,"window_minutes":1},"security":[{"bearerAuth":[]}]},"delete":{"summary":"Events destroy","operationId":"eventsDestroy","tags":["Events"],"parameters":[{"name":"space","in":"path","required":true,"schema":{"type":"string","pattern":"^[a-z][a-z0-9-]*$"}},{"name":"uuid","in":"path","required":true,"schema":{"type":"string","format":"uuid"}}],"responses":{"204":{"description":"Deleted"},"401":{"$ref":"#\/components\/responses\/Unauthenticated"},"404":{"$ref":"#\/components\/responses\/NotFound"},"429":{"$ref":"#\/components\/responses\/RateLimited"}},"x-rate-limit":{"limit":30,"window_minutes":1},"security":[{"bearerAuth":[]}]}},"\/spaces\/{space}\/events\/{uuid}\/registrations":{"get":{"summary":"Events registrations","operationId":"eventsRegistrations","tags":["Events"],"parameters":[{"name":"space","in":"path","required":true,"schema":{"type":"string","pattern":"^[a-z][a-z0-9-]*$"}},{"name":"uuid","in":"path","required":true,"schema":{"type":"string","format":"uuid"}}],"responses":{"200":{"description":"OK"},"401":{"$ref":"#\/components\/responses\/Unauthenticated"},"404":{"$ref":"#\/components\/responses\/NotFound"},"429":{"$ref":"#\/components\/responses\/RateLimited"}},"security":[{"bearerAuth":[]}]}},"\/spaces\/{space}\/events\/{uuid}\/registrations\/{regUuid}\/checkin":{"post":{"summary":"Events checkin","operationId":"eventsCheckin","tags":["Events"],"parameters":[{"name":"space","in":"path","required":true,"schema":{"type":"string","pattern":"^[a-z][a-z0-9-]*$"}},{"name":"uuid","in":"path","required":true,"schema":{"type":"string","format":"uuid"}},{"name":"regUuid","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK"},"201":{"description":"Created"},"422":{"description":"Validation failed","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Error"}}}},"401":{"$ref":"#\/components\/responses\/Unauthenticated"},"404":{"$ref":"#\/components\/responses\/NotFound"},"429":{"$ref":"#\/components\/responses\/RateLimited"}},"x-rate-limit":{"limit":120,"window_minutes":1},"security":[{"bearerAuth":[]}]}},"\/spaces\/{space}\/forms":{"get":{"summary":"Forms index","operationId":"formsIndex","tags":["Forms"],"parameters":[{"name":"space","in":"path","required":true,"schema":{"type":"string","pattern":"^[a-z][a-z0-9-]*$"}}],"responses":{"200":{"description":"OK"},"401":{"$ref":"#\/components\/responses\/Unauthenticated"},"404":{"$ref":"#\/components\/responses\/NotFound"},"429":{"$ref":"#\/components\/responses\/RateLimited"}},"security":[{"bearerAuth":[]}]},"post":{"summary":"Forms store","operationId":"formsStore","tags":["Forms"],"parameters":[{"name":"space","in":"path","required":true,"schema":{"type":"string","pattern":"^[a-z][a-z0-9-]*$"}}],"responses":{"200":{"description":"OK"},"201":{"description":"Created"},"422":{"description":"Validation failed","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Error"}}}},"401":{"$ref":"#\/components\/responses\/Unauthenticated"},"404":{"$ref":"#\/components\/responses\/NotFound"},"429":{"$ref":"#\/components\/responses\/RateLimited"}},"x-rate-limit":{"limit":60,"window_minutes":1},"security":[{"bearerAuth":[]}]}},"\/spaces\/{space}\/forms\/{uuid}":{"get":{"summary":"Forms show","operationId":"formsShow","tags":["Forms"],"parameters":[{"name":"space","in":"path","required":true,"schema":{"type":"string","pattern":"^[a-z][a-z0-9-]*$"}},{"name":"uuid","in":"path","required":true,"schema":{"type":"string","format":"uuid"}}],"responses":{"200":{"description":"OK"},"401":{"$ref":"#\/components\/responses\/Unauthenticated"},"404":{"$ref":"#\/components\/responses\/NotFound"},"429":{"$ref":"#\/components\/responses\/RateLimited"}},"security":[{"bearerAuth":[]}]},"put":{"summary":"Forms update","operationId":"formsUpdate","tags":["Forms"],"parameters":[{"name":"space","in":"path","required":true,"schema":{"type":"string","pattern":"^[a-z][a-z0-9-]*$"}},{"name":"uuid","in":"path","required":true,"schema":{"type":"string","format":"uuid"}}],"responses":{"200":{"description":"OK"},"201":{"description":"Created"},"422":{"description":"Validation failed","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Error"}}}},"401":{"$ref":"#\/components\/responses\/Unauthenticated"},"404":{"$ref":"#\/components\/responses\/NotFound"},"429":{"$ref":"#\/components\/responses\/RateLimited"}},"x-rate-limit":{"limit":60,"window_minutes":1},"security":[{"bearerAuth":[]}]},"delete":{"summary":"Forms destroy","operationId":"formsDestroy","tags":["Forms"],"parameters":[{"name":"space","in":"path","required":true,"schema":{"type":"string","pattern":"^[a-z][a-z0-9-]*$"}},{"name":"uuid","in":"path","required":true,"schema":{"type":"string","format":"uuid"}}],"responses":{"204":{"description":"Deleted"},"401":{"$ref":"#\/components\/responses\/Unauthenticated"},"404":{"$ref":"#\/components\/responses\/NotFound"},"429":{"$ref":"#\/components\/responses\/RateLimited"}},"x-rate-limit":{"limit":30,"window_minutes":1},"security":[{"bearerAuth":[]}]}},"\/spaces\/{space}\/forms\/{uuid}\/submissions":{"get":{"summary":"Forms submissions","operationId":"formsSubmissions","tags":["Forms"],"parameters":[{"name":"space","in":"path","required":true,"schema":{"type":"string","pattern":"^[a-z][a-z0-9-]*$"}},{"name":"uuid","in":"path","required":true,"schema":{"type":"string","format":"uuid"}}],"responses":{"200":{"description":"OK"},"401":{"$ref":"#\/components\/responses\/Unauthenticated"},"404":{"$ref":"#\/components\/responses\/NotFound"},"429":{"$ref":"#\/components\/responses\/RateLimited"}},"security":[{"bearerAuth":[]}]}},"\/spaces\/{space}\/forms\/{uuid}\/submissions.csv":{"get":{"summary":"Forms export","operationId":"formsExport","tags":["Forms"],"parameters":[{"name":"space","in":"path","required":true,"schema":{"type":"string","pattern":"^[a-z][a-z0-9-]*$"}},{"name":"uuid","in":"path","required":true,"schema":{"type":"string","format":"uuid"}}],"responses":{"200":{"description":"OK"},"401":{"$ref":"#\/components\/responses\/Unauthenticated"},"404":{"$ref":"#\/components\/responses\/NotFound"},"429":{"$ref":"#\/components\/responses\/RateLimited"}},"x-rate-limit":{"limit":20,"window_minutes":1},"security":[{"bearerAuth":[]}]}},"\/spaces\/{space}\/forms\/{uuid}\/submissions\/{submissionUuid}\/spam":{"post":{"summary":"Forms markspam","operationId":"formsMarkspam","tags":["Forms"],"parameters":[{"name":"space","in":"path","required":true,"schema":{"type":"string","pattern":"^[a-z][a-z0-9-]*$"}},{"name":"uuid","in":"path","required":true,"schema":{"type":"string","format":"uuid"}},{"name":"submissionUuid","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK"},"201":{"description":"Created"},"422":{"description":"Validation failed","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Error"}}}},"401":{"$ref":"#\/components\/responses\/Unauthenticated"},"404":{"$ref":"#\/components\/responses\/NotFound"},"429":{"$ref":"#\/components\/responses\/RateLimited"}},"x-rate-limit":{"limit":60,"window_minutes":1},"security":[{"bearerAuth":[]}]}},"\/spaces\/{space}\/galleries":{"get":{"summary":"Galleries index","operationId":"galleriesIndex","tags":["Galleries"],"parameters":[{"name":"space","in":"path","required":true,"schema":{"type":"string","pattern":"^[a-z][a-z0-9-]*$"}}],"responses":{"200":{"description":"OK"},"401":{"$ref":"#\/components\/responses\/Unauthenticated"},"404":{"$ref":"#\/components\/responses\/NotFound"},"429":{"$ref":"#\/components\/responses\/RateLimited"}},"security":[{"bearerAuth":[]}]},"post":{"summary":"Galleries store","operationId":"galleriesStore","tags":["Galleries"],"parameters":[{"name":"space","in":"path","required":true,"schema":{"type":"string","pattern":"^[a-z][a-z0-9-]*$"}}],"responses":{"200":{"description":"OK"},"201":{"description":"Created"},"422":{"description":"Validation failed","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Error"}}}},"401":{"$ref":"#\/components\/responses\/Unauthenticated"},"404":{"$ref":"#\/components\/responses\/NotFound"},"429":{"$ref":"#\/components\/responses\/RateLimited"}},"x-rate-limit":{"limit":60,"window_minutes":1},"security":[{"bearerAuth":[]}]}},"\/spaces\/{space}\/galleries\/{uuid}":{"get":{"summary":"Galleries show","operationId":"galleriesShow","tags":["Galleries"],"parameters":[{"name":"space","in":"path","required":true,"schema":{"type":"string","pattern":"^[a-z][a-z0-9-]*$"}},{"name":"uuid","in":"path","required":true,"schema":{"type":"string","format":"uuid"}}],"responses":{"200":{"description":"OK"},"401":{"$ref":"#\/components\/responses\/Unauthenticated"},"404":{"$ref":"#\/components\/responses\/NotFound"},"429":{"$ref":"#\/components\/responses\/RateLimited"}},"security":[{"bearerAuth":[]}]},"put":{"summary":"Galleries update","operationId":"galleriesUpdate","tags":["Galleries"],"parameters":[{"name":"space","in":"path","required":true,"schema":{"type":"string","pattern":"^[a-z][a-z0-9-]*$"}},{"name":"uuid","in":"path","required":true,"schema":{"type":"string","format":"uuid"}}],"responses":{"200":{"description":"OK"},"201":{"description":"Created"},"422":{"description":"Validation failed","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Error"}}}},"401":{"$ref":"#\/components\/responses\/Unauthenticated"},"404":{"$ref":"#\/components\/responses\/NotFound"},"429":{"$ref":"#\/components\/responses\/RateLimited"}},"x-rate-limit":{"limit":60,"window_minutes":1},"security":[{"bearerAuth":[]}]},"delete":{"summary":"Galleries destroy","operationId":"galleriesDestroy","tags":["Galleries"],"parameters":[{"name":"space","in":"path","required":true,"schema":{"type":"string","pattern":"^[a-z][a-z0-9-]*$"}},{"name":"uuid","in":"path","required":true,"schema":{"type":"string","format":"uuid"}}],"responses":{"204":{"description":"Deleted"},"401":{"$ref":"#\/components\/responses\/Unauthenticated"},"404":{"$ref":"#\/components\/responses\/NotFound"},"429":{"$ref":"#\/components\/responses\/RateLimited"}},"x-rate-limit":{"limit":30,"window_minutes":1},"security":[{"bearerAuth":[]}]}},"\/spaces\/{space}\/invitations":{"get":{"summary":"Invitations index","operationId":"invitationsIndex","tags":["Invitations"],"parameters":[{"name":"space","in":"path","required":true,"schema":{"type":"string","pattern":"^[a-z][a-z0-9-]*$"}}],"responses":{"200":{"description":"OK"},"401":{"$ref":"#\/components\/responses\/Unauthenticated"},"404":{"$ref":"#\/components\/responses\/NotFound"},"429":{"$ref":"#\/components\/responses\/RateLimited"}},"security":[{"bearerAuth":[]}]},"post":{"summary":"Invitations store","operationId":"invitationsStore","tags":["Invitations"],"parameters":[{"name":"space","in":"path","required":true,"schema":{"type":"string","pattern":"^[a-z][a-z0-9-]*$"}}],"responses":{"200":{"description":"OK"},"201":{"description":"Created"},"422":{"description":"Validation failed","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Error"}}}},"401":{"$ref":"#\/components\/responses\/Unauthenticated"},"404":{"$ref":"#\/components\/responses\/NotFound"},"429":{"$ref":"#\/components\/responses\/RateLimited"}},"x-rate-limit":{"limit":30,"window_minutes":1},"security":[{"bearerAuth":[]}]}},"\/spaces\/{space}\/invitations\/{uuid}":{"delete":{"summary":"Invitations destroy","operationId":"invitationsDestroy","tags":["Invitations"],"parameters":[{"name":"space","in":"path","required":true,"schema":{"type":"string","pattern":"^[a-z][a-z0-9-]*$"}},{"name":"uuid","in":"path","required":true,"schema":{"type":"string","format":"uuid"}}],"responses":{"204":{"description":"Deleted"},"401":{"$ref":"#\/components\/responses\/Unauthenticated"},"404":{"$ref":"#\/components\/responses\/NotFound"},"429":{"$ref":"#\/components\/responses\/RateLimited"}},"security":[{"bearerAuth":[]}]}},"\/spaces\/{space}\/locales":{"get":{"summary":"Locales index","operationId":"localesIndex","tags":["Locales"],"parameters":[{"name":"space","in":"path","required":true,"schema":{"type":"string","pattern":"^[a-z][a-z0-9-]*$"}}],"responses":{"200":{"description":"OK"},"401":{"$ref":"#\/components\/responses\/Unauthenticated"},"404":{"$ref":"#\/components\/responses\/NotFound"},"429":{"$ref":"#\/components\/responses\/RateLimited"}},"security":[{"bearerAuth":[]}]}},"\/spaces\/{space}\/orders":{"get":{"summary":"Orders index","operationId":"ordersIndex","tags":["Orders"],"parameters":[{"name":"space","in":"path","required":true,"schema":{"type":"string","pattern":"^[a-z][a-z0-9-]*$"}}],"responses":{"200":{"description":"OK"},"401":{"$ref":"#\/components\/responses\/Unauthenticated"},"404":{"$ref":"#\/components\/responses\/NotFound"},"429":{"$ref":"#\/components\/responses\/RateLimited"}},"security":[{"bearerAuth":[]}]}},"\/spaces\/{space}\/orders\/{uuid}":{"get":{"summary":"Orders show","operationId":"ordersShow","tags":["Orders"],"parameters":[{"name":"space","in":"path","required":true,"schema":{"type":"string","pattern":"^[a-z][a-z0-9-]*$"}},{"name":"uuid","in":"path","required":true,"schema":{"type":"string","format":"uuid"}}],"responses":{"200":{"description":"OK"},"401":{"$ref":"#\/components\/responses\/Unauthenticated"},"404":{"$ref":"#\/components\/responses\/NotFound"},"429":{"$ref":"#\/components\/responses\/RateLimited"}},"security":[{"bearerAuth":[]}]}},"\/spaces\/{space}\/orders\/{uuid}\/fulfill":{"post":{"summary":"Orders fulfill","operationId":"ordersFulfill","tags":["Orders"],"parameters":[{"name":"space","in":"path","required":true,"schema":{"type":"string","pattern":"^[a-z][a-z0-9-]*$"}},{"name":"uuid","in":"path","required":true,"schema":{"type":"string","format":"uuid"}}],"responses":{"200":{"description":"OK"},"201":{"description":"Created"},"422":{"description":"Validation failed","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Error"}}}},"401":{"$ref":"#\/components\/responses\/Unauthenticated"},"404":{"$ref":"#\/components\/responses\/NotFound"},"429":{"$ref":"#\/components\/responses\/RateLimited"}},"x-rate-limit":{"limit":60,"window_minutes":1},"security":[{"bearerAuth":[]}]}},"\/spaces\/{space}\/orders\/{uuid}\/mark-paid":{"post":{"summary":"Orders markpaid","operationId":"ordersMarkpaid","tags":["Orders"],"parameters":[{"name":"space","in":"path","required":true,"schema":{"type":"string","pattern":"^[a-z][a-z0-9-]*$"}},{"name":"uuid","in":"path","required":true,"schema":{"type":"string","format":"uuid"}}],"responses":{"200":{"description":"OK"},"201":{"description":"Created"},"422":{"description":"Validation failed","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Error"}}}},"401":{"$ref":"#\/components\/responses\/Unauthenticated"},"404":{"$ref":"#\/components\/responses\/NotFound"},"429":{"$ref":"#\/components\/responses\/RateLimited"}},"x-rate-limit":{"limit":60,"window_minutes":1},"security":[{"bearerAuth":[]}]}},"\/spaces\/{space}\/ping":{"get":{"summary":"Space ping","operationId":"spacePing","tags":["Ping"],"parameters":[{"name":"space","in":"path","required":true,"schema":{"type":"string","pattern":"^[a-z][a-z0-9-]*$"}}],"responses":{"200":{"description":"OK"},"401":{"$ref":"#\/components\/responses\/Unauthenticated"},"404":{"$ref":"#\/components\/responses\/NotFound"},"429":{"$ref":"#\/components\/responses\/RateLimited"}},"security":[{"bearerAuth":[]}]}},"\/spaces\/{space}\/plugins":{"get":{"summary":"Plugins index","operationId":"pluginsIndex","tags":["Plugins"],"parameters":[{"name":"space","in":"path","required":true,"schema":{"type":"string","pattern":"^[a-z][a-z0-9-]*$"}}],"responses":{"200":{"description":"OK"},"401":{"$ref":"#\/components\/responses\/Unauthenticated"},"404":{"$ref":"#\/components\/responses\/NotFound"},"429":{"$ref":"#\/components\/responses\/RateLimited"}},"x-rate-limit":{"limit":120,"window_minutes":1},"security":[{"bearerAuth":[]}]},"post":{"summary":"Plugins store","operationId":"pluginsStore","tags":["Plugins"],"parameters":[{"name":"space","in":"path","required":true,"schema":{"type":"string","pattern":"^[a-z][a-z0-9-]*$"}}],"responses":{"200":{"description":"OK"},"201":{"description":"Created"},"422":{"description":"Validation failed","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Error"}}}},"401":{"$ref":"#\/components\/responses\/Unauthenticated"},"404":{"$ref":"#\/components\/responses\/NotFound"},"429":{"$ref":"#\/components\/responses\/RateLimited"}},"x-rate-limit":{"limit":30,"window_minutes":1},"security":[{"bearerAuth":[]}]}},"\/spaces\/{space}\/plugins\/manifest":{"get":{"summary":"Plugins manifest","operationId":"pluginsManifest","tags":["Plugins"],"parameters":[{"name":"space","in":"path","required":true,"schema":{"type":"string","pattern":"^[a-z][a-z0-9-]*$"}}],"responses":{"200":{"description":"OK"},"401":{"$ref":"#\/components\/responses\/Unauthenticated"},"404":{"$ref":"#\/components\/responses\/NotFound"},"429":{"$ref":"#\/components\/responses\/RateLimited"}},"x-rate-limit":{"limit":120,"window_minutes":1},"security":[{"bearerAuth":[]}]}},"\/spaces\/{space}\/plugins\/{slug}":{"get":{"summary":"Plugins show","operationId":"pluginsShow","tags":["Plugins"],"parameters":[{"name":"space","in":"path","required":true,"schema":{"type":"string","pattern":"^[a-z][a-z0-9-]*$"}},{"name":"slug","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK"},"401":{"$ref":"#\/components\/responses\/Unauthenticated"},"404":{"$ref":"#\/components\/responses\/NotFound"},"429":{"$ref":"#\/components\/responses\/RateLimited"}},"x-rate-limit":{"limit":120,"window_minutes":1},"security":[{"bearerAuth":[]}]},"put":{"summary":"Plugins update","operationId":"pluginsUpdate","tags":["Plugins"],"parameters":[{"name":"space","in":"path","required":true,"schema":{"type":"string","pattern":"^[a-z][a-z0-9-]*$"}},{"name":"slug","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK"},"201":{"description":"Created"},"422":{"description":"Validation failed","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Error"}}}},"401":{"$ref":"#\/components\/responses\/Unauthenticated"},"404":{"$ref":"#\/components\/responses\/NotFound"},"429":{"$ref":"#\/components\/responses\/RateLimited"}},"x-rate-limit":{"limit":60,"window_minutes":1},"security":[{"bearerAuth":[]}]},"delete":{"summary":"Plugins destroy","operationId":"pluginsDestroy","tags":["Plugins"],"parameters":[{"name":"space","in":"path","required":true,"schema":{"type":"string","pattern":"^[a-z][a-z0-9-]*$"}},{"name":"slug","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"204":{"description":"Deleted"},"401":{"$ref":"#\/components\/responses\/Unauthenticated"},"404":{"$ref":"#\/components\/responses\/NotFound"},"429":{"$ref":"#\/components\/responses\/RateLimited"}},"x-rate-limit":{"limit":30,"window_minutes":1},"security":[{"bearerAuth":[]}]}},"\/spaces\/{space}\/plugins\/{slug}\/activate":{"post":{"summary":"Plugins activate","operationId":"pluginsActivate","tags":["Plugins"],"parameters":[{"name":"space","in":"path","required":true,"schema":{"type":"string","pattern":"^[a-z][a-z0-9-]*$"}},{"name":"slug","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK"},"201":{"description":"Created"},"422":{"description":"Validation failed","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Error"}}}},"401":{"$ref":"#\/components\/responses\/Unauthenticated"},"404":{"$ref":"#\/components\/responses\/NotFound"},"429":{"$ref":"#\/components\/responses\/RateLimited"}},"x-rate-limit":{"limit":30,"window_minutes":1},"security":[{"bearerAuth":[]}]}},"\/spaces\/{space}\/plugins\/{slug}\/deactivate":{"post":{"summary":"Plugins deactivate","operationId":"pluginsDeactivate","tags":["Plugins"],"parameters":[{"name":"space","in":"path","required":true,"schema":{"type":"string","pattern":"^[a-z][a-z0-9-]*$"}},{"name":"slug","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK"},"201":{"description":"Created"},"422":{"description":"Validation failed","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Error"}}}},"401":{"$ref":"#\/components\/responses\/Unauthenticated"},"404":{"$ref":"#\/components\/responses\/NotFound"},"429":{"$ref":"#\/components\/responses\/RateLimited"}},"x-rate-limit":{"limit":30,"window_minutes":1},"security":[{"bearerAuth":[]}]}},"\/spaces\/{space}\/plugins\/{slug}\/events":{"get":{"summary":"Plugins events","operationId":"pluginsEvents","tags":["Plugins"],"parameters":[{"name":"space","in":"path","required":true,"schema":{"type":"string","pattern":"^[a-z][a-z0-9-]*$"}},{"name":"slug","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK"},"401":{"$ref":"#\/components\/responses\/Unauthenticated"},"404":{"$ref":"#\/components\/responses\/NotFound"},"429":{"$ref":"#\/components\/responses\/RateLimited"}},"security":[{"bearerAuth":[]}]}},"\/spaces\/{space}\/plugins\/{slug}\/rotate-secret":{"post":{"summary":"Plugins rotate secret","operationId":"pluginsRotateSecret","tags":["Plugins"],"parameters":[{"name":"space","in":"path","required":true,"schema":{"type":"string","pattern":"^[a-z][a-z0-9-]*$"}},{"name":"slug","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK"},"201":{"description":"Created"},"422":{"description":"Validation failed","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Error"}}}},"401":{"$ref":"#\/components\/responses\/Unauthenticated"},"404":{"$ref":"#\/components\/responses\/NotFound"},"429":{"$ref":"#\/components\/responses\/RateLimited"}},"x-rate-limit":{"limit":10,"window_minutes":1},"security":[{"bearerAuth":[]}]}},"\/spaces\/{space}\/products":{"get":{"summary":"Products index","operationId":"productsIndex","tags":["Products"],"parameters":[{"name":"space","in":"path","required":true,"schema":{"type":"string","pattern":"^[a-z][a-z0-9-]*$"}}],"responses":{"200":{"description":"OK"},"401":{"$ref":"#\/components\/responses\/Unauthenticated"},"404":{"$ref":"#\/components\/responses\/NotFound"},"429":{"$ref":"#\/components\/responses\/RateLimited"}},"security":[{"bearerAuth":[]}]},"post":{"summary":"Products store","operationId":"productsStore","tags":["Products"],"parameters":[{"name":"space","in":"path","required":true,"schema":{"type":"string","pattern":"^[a-z][a-z0-9-]*$"}}],"responses":{"200":{"description":"OK"},"201":{"description":"Created"},"422":{"description":"Validation failed","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Error"}}}},"401":{"$ref":"#\/components\/responses\/Unauthenticated"},"404":{"$ref":"#\/components\/responses\/NotFound"},"429":{"$ref":"#\/components\/responses\/RateLimited"}},"x-rate-limit":{"limit":60,"window_minutes":1},"security":[{"bearerAuth":[]}]}},"\/spaces\/{space}\/products\/{uuid}":{"get":{"summary":"Products show","operationId":"productsShow","tags":["Products"],"parameters":[{"name":"space","in":"path","required":true,"schema":{"type":"string","pattern":"^[a-z][a-z0-9-]*$"}},{"name":"uuid","in":"path","required":true,"schema":{"type":"string","format":"uuid"}}],"responses":{"200":{"description":"OK"},"401":{"$ref":"#\/components\/responses\/Unauthenticated"},"404":{"$ref":"#\/components\/responses\/NotFound"},"429":{"$ref":"#\/components\/responses\/RateLimited"}},"security":[{"bearerAuth":[]}]},"put":{"summary":"Products update","operationId":"productsUpdate","tags":["Products"],"parameters":[{"name":"space","in":"path","required":true,"schema":{"type":"string","pattern":"^[a-z][a-z0-9-]*$"}},{"name":"uuid","in":"path","required":true,"schema":{"type":"string","format":"uuid"}}],"responses":{"200":{"description":"OK"},"201":{"description":"Created"},"422":{"description":"Validation failed","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Error"}}}},"401":{"$ref":"#\/components\/responses\/Unauthenticated"},"404":{"$ref":"#\/components\/responses\/NotFound"},"429":{"$ref":"#\/components\/responses\/RateLimited"}},"x-rate-limit":{"limit":60,"window_minutes":1},"security":[{"bearerAuth":[]}]},"delete":{"summary":"Products destroy","operationId":"productsDestroy","tags":["Products"],"parameters":[{"name":"space","in":"path","required":true,"schema":{"type":"string","pattern":"^[a-z][a-z0-9-]*$"}},{"name":"uuid","in":"path","required":true,"schema":{"type":"string","format":"uuid"}}],"responses":{"204":{"description":"Deleted"},"401":{"$ref":"#\/components\/responses\/Unauthenticated"},"404":{"$ref":"#\/components\/responses\/NotFound"},"429":{"$ref":"#\/components\/responses\/RateLimited"}},"x-rate-limit":{"limit":30,"window_minutes":1},"security":[{"bearerAuth":[]}]}},"\/spaces\/{space}\/roles":{"get":{"summary":"Roles index","operationId":"rolesIndex","tags":["Roles"],"parameters":[{"name":"space","in":"path","required":true,"schema":{"type":"string","pattern":"^[a-z][a-z0-9-]*$"}}],"responses":{"200":{"description":"OK"},"401":{"$ref":"#\/components\/responses\/Unauthenticated"},"404":{"$ref":"#\/components\/responses\/NotFound"},"429":{"$ref":"#\/components\/responses\/RateLimited"}},"security":[{"bearerAuth":[]}]},"post":{"summary":"Roles store","operationId":"rolesStore","tags":["Roles"],"parameters":[{"name":"space","in":"path","required":true,"schema":{"type":"string","pattern":"^[a-z][a-z0-9-]*$"}}],"responses":{"200":{"description":"OK"},"201":{"description":"Created"},"422":{"description":"Validation failed","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Error"}}}},"401":{"$ref":"#\/components\/responses\/Unauthenticated"},"404":{"$ref":"#\/components\/responses\/NotFound"},"429":{"$ref":"#\/components\/responses\/RateLimited"}},"x-rate-limit":{"limit":30,"window_minutes":1},"security":[{"bearerAuth":[]}]}},"\/spaces\/{space}\/stories":{"get":{"summary":"List Stories in a Space","operationId":"storiesIndex","tags":["Stories"],"parameters":[{"name":"space","in":"path","required":true,"schema":{"type":"string","pattern":"^[a-z][a-z0-9-]*$"}}],"responses":{"200":{"description":"OK"},"401":{"$ref":"#\/components\/responses\/Unauthenticated"},"404":{"$ref":"#\/components\/responses\/NotFound"},"429":{"$ref":"#\/components\/responses\/RateLimited"}},"security":[{"bearerAuth":[]}]},"post":{"summary":"Stories store","operationId":"storiesStore","tags":["Stories"],"parameters":[{"name":"space","in":"path","required":true,"schema":{"type":"string","pattern":"^[a-z][a-z0-9-]*$"}}],"responses":{"200":{"description":"OK"},"201":{"description":"Created"},"422":{"description":"Validation failed","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Error"}}}},"401":{"$ref":"#\/components\/responses\/Unauthenticated"},"404":{"$ref":"#\/components\/responses\/NotFound"},"429":{"$ref":"#\/components\/responses\/RateLimited"}},"x-rate-limit":{"limit":60,"window_minutes":1},"security":[{"bearerAuth":[]}]}},"\/spaces\/{space}\/stories\/bulk":{"post":{"summary":"Stories bulk","operationId":"storiesBulk","tags":["Stories"],"parameters":[{"name":"space","in":"path","required":true,"schema":{"type":"string","pattern":"^[a-z][a-z0-9-]*$"}}],"responses":{"200":{"description":"OK"},"201":{"description":"Created"},"422":{"description":"Validation failed","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Error"}}}},"401":{"$ref":"#\/components\/responses\/Unauthenticated"},"404":{"$ref":"#\/components\/responses\/NotFound"},"429":{"$ref":"#\/components\/responses\/RateLimited"}},"x-rate-limit":{"limit":20,"window_minutes":1},"security":[{"bearerAuth":[]}]}},"\/spaces\/{space}\/stories\/export":{"get":{"summary":"Stories export","operationId":"storiesExport","tags":["Stories"],"parameters":[{"name":"space","in":"path","required":true,"schema":{"type":"string","pattern":"^[a-z][a-z0-9-]*$"}}],"responses":{"200":{"description":"OK"},"401":{"$ref":"#\/components\/responses\/Unauthenticated"},"404":{"$ref":"#\/components\/responses\/NotFound"},"429":{"$ref":"#\/components\/responses\/RateLimited"}},"x-rate-limit":{"limit":10,"window_minutes":1},"security":[{"bearerAuth":[]}]}},"\/spaces\/{space}\/stories\/import":{"post":{"summary":"Stories import","operationId":"storiesImport","tags":["Stories"],"parameters":[{"name":"space","in":"path","required":true,"schema":{"type":"string","pattern":"^[a-z][a-z0-9-]*$"}}],"responses":{"200":{"description":"OK"},"201":{"description":"Created"},"422":{"description":"Validation failed","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Error"}}}},"401":{"$ref":"#\/components\/responses\/Unauthenticated"},"404":{"$ref":"#\/components\/responses\/NotFound"},"429":{"$ref":"#\/components\/responses\/RateLimited"}},"x-rate-limit":{"limit":5,"window_minutes":1},"security":[{"bearerAuth":[]}]}},"\/spaces\/{space}\/stories\/{story}":{"get":{"summary":"Get one Story by UUID","operationId":"storiesShow","tags":["Stories"],"parameters":[{"name":"space","in":"path","required":true,"schema":{"type":"string","pattern":"^[a-z][a-z0-9-]*$"}},{"name":"story","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK"},"401":{"$ref":"#\/components\/responses\/Unauthenticated"},"404":{"$ref":"#\/components\/responses\/NotFound"},"429":{"$ref":"#\/components\/responses\/RateLimited"}},"security":[{"bearerAuth":[]}]},"put":{"summary":"Stories update","operationId":"storiesUpdate","tags":["Stories"],"parameters":[{"name":"space","in":"path","required":true,"schema":{"type":"string","pattern":"^[a-z][a-z0-9-]*$"}},{"name":"story","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK"},"201":{"description":"Created"},"422":{"description":"Validation failed","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Error"}}}},"401":{"$ref":"#\/components\/responses\/Unauthenticated"},"404":{"$ref":"#\/components\/responses\/NotFound"},"429":{"$ref":"#\/components\/responses\/RateLimited"}},"x-rate-limit":{"limit":60,"window_minutes":1},"security":[{"bearerAuth":[]}]}},"\/spaces\/{space}\/stories\/{story}\/approvals":{"get":{"summary":"Approvals index","operationId":"approvalsIndex","tags":["Stories"],"parameters":[{"name":"space","in":"path","required":true,"schema":{"type":"string","pattern":"^[a-z][a-z0-9-]*$"}},{"name":"story","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK"},"401":{"$ref":"#\/components\/responses\/Unauthenticated"},"404":{"$ref":"#\/components\/responses\/NotFound"},"429":{"$ref":"#\/components\/responses\/RateLimited"}},"security":[{"bearerAuth":[]}]},"post":{"summary":"Approvals vote","operationId":"approvalsVote","tags":["Stories"],"parameters":[{"name":"space","in":"path","required":true,"schema":{"type":"string","pattern":"^[a-z][a-z0-9-]*$"}},{"name":"story","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK"},"201":{"description":"Created"},"422":{"description":"Validation failed","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Error"}}}},"401":{"$ref":"#\/components\/responses\/Unauthenticated"},"404":{"$ref":"#\/components\/responses\/NotFound"},"429":{"$ref":"#\/components\/responses\/RateLimited"}},"x-rate-limit":{"limit":60,"window_minutes":1},"security":[{"bearerAuth":[]}]},"delete":{"summary":"Approvals withdraw","operationId":"approvalsWithdraw","tags":["Stories"],"parameters":[{"name":"space","in":"path","required":true,"schema":{"type":"string","pattern":"^[a-z][a-z0-9-]*$"}},{"name":"story","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"204":{"description":"Deleted"},"401":{"$ref":"#\/components\/responses\/Unauthenticated"},"404":{"$ref":"#\/components\/responses\/NotFound"},"429":{"$ref":"#\/components\/responses\/RateLimited"}},"x-rate-limit":{"limit":60,"window_minutes":1},"security":[{"bearerAuth":[]}]}},"\/spaces\/{space}\/stories\/{story}\/children":{"get":{"summary":"Stories children","operationId":"storiesChildren","tags":["Stories"],"parameters":[{"name":"space","in":"path","required":true,"schema":{"type":"string","pattern":"^[a-z][a-z0-9-]*$"}},{"name":"story","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK"},"401":{"$ref":"#\/components\/responses\/Unauthenticated"},"404":{"$ref":"#\/components\/responses\/NotFound"},"429":{"$ref":"#\/components\/responses\/RateLimited"}},"security":[{"bearerAuth":[]}]}},"\/spaces\/{space}\/stories\/{story}\/comments":{"get":{"summary":"Comments index","operationId":"commentsIndex","tags":["Stories"],"parameters":[{"name":"space","in":"path","required":true,"schema":{"type":"string","pattern":"^[a-z][a-z0-9-]*$"}},{"name":"story","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK"},"401":{"$ref":"#\/components\/responses\/Unauthenticated"},"404":{"$ref":"#\/components\/responses\/NotFound"},"429":{"$ref":"#\/components\/responses\/RateLimited"}},"security":[{"bearerAuth":[]}]},"post":{"summary":"Comments store","operationId":"commentsStore","tags":["Stories"],"parameters":[{"name":"space","in":"path","required":true,"schema":{"type":"string","pattern":"^[a-z][a-z0-9-]*$"}},{"name":"story","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK"},"201":{"description":"Created"},"422":{"description":"Validation failed","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Error"}}}},"401":{"$ref":"#\/components\/responses\/Unauthenticated"},"404":{"$ref":"#\/components\/responses\/NotFound"},"429":{"$ref":"#\/components\/responses\/RateLimited"}},"x-rate-limit":{"limit":60,"window_minutes":1},"security":[{"bearerAuth":[]}]}},"\/spaces\/{space}\/stories\/{story}\/comments\/{commentId}":{"delete":{"summary":"Comments destroy","operationId":"commentsDestroy","tags":["Stories"],"parameters":[{"name":"space","in":"path","required":true,"schema":{"type":"string","pattern":"^[a-z][a-z0-9-]*$"}},{"name":"story","in":"path","required":true,"schema":{"type":"string"}},{"name":"commentId","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"204":{"description":"Deleted"},"401":{"$ref":"#\/components\/responses\/Unauthenticated"},"404":{"$ref":"#\/components\/responses\/NotFound"},"429":{"$ref":"#\/components\/responses\/RateLimited"}},"x-rate-limit":{"limit":60,"window_minutes":1},"security":[{"bearerAuth":[]}]}},"\/spaces\/{space}\/stories\/{story}\/comments\/{commentId}\/resolve":{"post":{"summary":"Comments resolve","operationId":"commentsResolve","tags":["Stories"],"parameters":[{"name":"space","in":"path","required":true,"schema":{"type":"string","pattern":"^[a-z][a-z0-9-]*$"}},{"name":"story","in":"path","required":true,"schema":{"type":"string"}},{"name":"commentId","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK"},"201":{"description":"Created"},"422":{"description":"Validation failed","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Error"}}}},"401":{"$ref":"#\/components\/responses\/Unauthenticated"},"404":{"$ref":"#\/components\/responses\/NotFound"},"429":{"$ref":"#\/components\/responses\/RateLimited"}},"x-rate-limit":{"limit":60,"window_minutes":1},"security":[{"bearerAuth":[]}]}},"\/spaces\/{space}\/stories\/{story}\/diff":{"get":{"summary":"Stories diff","operationId":"storiesDiff","tags":["Stories"],"parameters":[{"name":"space","in":"path","required":true,"schema":{"type":"string","pattern":"^[a-z][a-z0-9-]*$"}},{"name":"story","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK"},"401":{"$ref":"#\/components\/responses\/Unauthenticated"},"404":{"$ref":"#\/components\/responses\/NotFound"},"429":{"$ref":"#\/components\/responses\/RateLimited"}},"security":[{"bearerAuth":[]}]}},"\/spaces\/{space}\/stories\/{story}\/presence":{"get":{"summary":"Presence index","operationId":"presenceIndex","tags":["Stories"],"parameters":[{"name":"space","in":"path","required":true,"schema":{"type":"string","pattern":"^[a-z][a-z0-9-]*$"}},{"name":"story","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK"},"401":{"$ref":"#\/components\/responses\/Unauthenticated"},"404":{"$ref":"#\/components\/responses\/NotFound"},"429":{"$ref":"#\/components\/responses\/RateLimited"}},"security":[{"bearerAuth":[]}]}},"\/spaces\/{space}\/stories\/{story}\/presence\/ping":{"post":{"summary":"Presence ping","operationId":"presencePing","tags":["Stories"],"parameters":[{"name":"space","in":"path","required":true,"schema":{"type":"string","pattern":"^[a-z][a-z0-9-]*$"}},{"name":"story","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK"},"201":{"description":"Created"},"422":{"description":"Validation failed","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Error"}}}},"401":{"$ref":"#\/components\/responses\/Unauthenticated"},"404":{"$ref":"#\/components\/responses\/NotFound"},"429":{"$ref":"#\/components\/responses\/RateLimited"}},"x-rate-limit":{"limit":120,"window_minutes":1},"security":[{"bearerAuth":[]}]}},"\/spaces\/{space}\/stories\/{story}\/publish":{"post":{"summary":"Stories publish","operationId":"storiesPublish","tags":["Stories"],"parameters":[{"name":"space","in":"path","required":true,"schema":{"type":"string","pattern":"^[a-z][a-z0-9-]*$"}},{"name":"story","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK"},"201":{"description":"Created"},"422":{"description":"Validation failed","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Error"}}}},"401":{"$ref":"#\/components\/responses\/Unauthenticated"},"404":{"$ref":"#\/components\/responses\/NotFound"},"429":{"$ref":"#\/components\/responses\/RateLimited"}},"x-rate-limit":{"limit":60,"window_minutes":1},"security":[{"bearerAuth":[]}]}},"\/spaces\/{space}\/stories\/{story}\/restore":{"post":{"summary":"Stories restore","operationId":"storiesRestore","tags":["Stories"],"parameters":[{"name":"space","in":"path","required":true,"schema":{"type":"string","pattern":"^[a-z][a-z0-9-]*$"}},{"name":"story","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK"},"201":{"description":"Created"},"422":{"description":"Validation failed","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Error"}}}},"401":{"$ref":"#\/components\/responses\/Unauthenticated"},"404":{"$ref":"#\/components\/responses\/NotFound"},"429":{"$ref":"#\/components\/responses\/RateLimited"}},"x-rate-limit":{"limit":60,"window_minutes":1},"security":[{"bearerAuth":[]}]}},"\/spaces\/{space}\/stories\/{story}\/transition":{"post":{"summary":"Stories transition","operationId":"storiesTransition","tags":["Stories"],"parameters":[{"name":"space","in":"path","required":true,"schema":{"type":"string","pattern":"^[a-z][a-z0-9-]*$"}},{"name":"story","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK"},"201":{"description":"Created"},"422":{"description":"Validation failed","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Error"}}}},"401":{"$ref":"#\/components\/responses\/Unauthenticated"},"404":{"$ref":"#\/components\/responses\/NotFound"},"429":{"$ref":"#\/components\/responses\/RateLimited"}},"x-rate-limit":{"limit":60,"window_minutes":1},"security":[{"bearerAuth":[]}]}},"\/spaces\/{space}\/stories\/{story}\/variants":{"get":{"summary":"Story variants index","operationId":"storyVariantsIndex","tags":["Stories"],"parameters":[{"name":"space","in":"path","required":true,"schema":{"type":"string","pattern":"^[a-z][a-z0-9-]*$"}},{"name":"story","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK"},"401":{"$ref":"#\/components\/responses\/Unauthenticated"},"404":{"$ref":"#\/components\/responses\/NotFound"},"429":{"$ref":"#\/components\/responses\/RateLimited"}},"security":[{"bearerAuth":[]}]}},"\/spaces\/{space}\/stories\/{story}\/variants\/{segment_key}":{"put":{"summary":"Story variants upsert","operationId":"storyVariantsUpsert","tags":["Stories"],"parameters":[{"name":"space","in":"path","required":true,"schema":{"type":"string","pattern":"^[a-z][a-z0-9-]*$"}},{"name":"story","in":"path","required":true,"schema":{"type":"string"}},{"name":"segment_key","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK"},"201":{"description":"Created"},"422":{"description":"Validation failed","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Error"}}}},"401":{"$ref":"#\/components\/responses\/Unauthenticated"},"404":{"$ref":"#\/components\/responses\/NotFound"},"429":{"$ref":"#\/components\/responses\/RateLimited"}},"x-rate-limit":{"limit":60,"window_minutes":1},"security":[{"bearerAuth":[]}]},"delete":{"summary":"Story variants destroy","operationId":"storyVariantsDestroy","tags":["Stories"],"parameters":[{"name":"space","in":"path","required":true,"schema":{"type":"string","pattern":"^[a-z][a-z0-9-]*$"}},{"name":"story","in":"path","required":true,"schema":{"type":"string"}},{"name":"segment_key","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"204":{"description":"Deleted"},"401":{"$ref":"#\/components\/responses\/Unauthenticated"},"404":{"$ref":"#\/components\/responses\/NotFound"},"429":{"$ref":"#\/components\/responses\/RateLimited"}},"x-rate-limit":{"limit":30,"window_minutes":1},"security":[{"bearerAuth":[]}]}},"\/spaces\/{space}\/stories\/{story}\/versions":{"get":{"summary":"Stories versions","operationId":"storiesVersions","tags":["Stories"],"parameters":[{"name":"space","in":"path","required":true,"schema":{"type":"string","pattern":"^[a-z][a-z0-9-]*$"}},{"name":"story","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK"},"401":{"$ref":"#\/components\/responses\/Unauthenticated"},"404":{"$ref":"#\/components\/responses\/NotFound"},"429":{"$ref":"#\/components\/responses\/RateLimited"}},"security":[{"bearerAuth":[]}]}},"\/spaces\/{space}\/stories\/{uuid}\/analytics":{"get":{"summary":"Analytics story","operationId":"analyticsStory","tags":["Stories"],"parameters":[{"name":"space","in":"path","required":true,"schema":{"type":"string","pattern":"^[a-z][a-z0-9-]*$"}},{"name":"uuid","in":"path","required":true,"schema":{"type":"string","format":"uuid"}}],"responses":{"200":{"description":"OK"},"401":{"$ref":"#\/components\/responses\/Unauthenticated"},"404":{"$ref":"#\/components\/responses\/NotFound"},"429":{"$ref":"#\/components\/responses\/RateLimited"}},"security":[{"bearerAuth":[]}]}},"\/spaces\/{space}\/subscribers":{"get":{"summary":"Subscribers index","operationId":"subscribersIndex","tags":["Subscribers"],"parameters":[{"name":"space","in":"path","required":true,"schema":{"type":"string","pattern":"^[a-z][a-z0-9-]*$"}}],"responses":{"200":{"description":"OK"},"401":{"$ref":"#\/components\/responses\/Unauthenticated"},"404":{"$ref":"#\/components\/responses\/NotFound"},"429":{"$ref":"#\/components\/responses\/RateLimited"}},"security":[{"bearerAuth":[]}]}},"\/spaces\/{space}\/subscribers\/{uuid}":{"delete":{"summary":"Subscribers destroy","operationId":"subscribersDestroy","tags":["Subscribers"],"parameters":[{"name":"space","in":"path","required":true,"schema":{"type":"string","pattern":"^[a-z][a-z0-9-]*$"}},{"name":"uuid","in":"path","required":true,"schema":{"type":"string","format":"uuid"}}],"responses":{"204":{"description":"Deleted"},"401":{"$ref":"#\/components\/responses\/Unauthenticated"},"404":{"$ref":"#\/components\/responses\/NotFound"},"429":{"$ref":"#\/components\/responses\/RateLimited"}},"x-rate-limit":{"limit":30,"window_minutes":1},"security":[{"bearerAuth":[]}]}},"\/spaces\/{space}\/subscribers\/{uuid}\/export":{"get":{"summary":"Subscribers export","operationId":"subscribersExport","tags":["Subscribers"],"parameters":[{"name":"space","in":"path","required":true,"schema":{"type":"string","pattern":"^[a-z][a-z0-9-]*$"}},{"name":"uuid","in":"path","required":true,"schema":{"type":"string","format":"uuid"}}],"responses":{"200":{"description":"OK"},"401":{"$ref":"#\/components\/responses\/Unauthenticated"},"404":{"$ref":"#\/components\/responses\/NotFound"},"429":{"$ref":"#\/components\/responses\/RateLimited"}},"security":[{"bearerAuth":[]}]}},"\/stripe\/webhook":{"post":{"summary":"Stripe webhook","operationId":"stripeWebhook","tags":["Stripe"],"parameters":[],"responses":{"200":{"description":"OK"},"201":{"description":"Created"},"422":{"description":"Validation failed","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Error"}}}},"404":{"$ref":"#\/components\/responses\/NotFound"},"429":{"$ref":"#\/components\/responses\/RateLimited"}},"x-rate-limit":{"limit":120,"window_minutes":1}}},"\/version":{"get":{"summary":"Auto-update discovery \u2014 current versions per component","operationId":"version","tags":["Discovery"],"parameters":[],"responses":{"200":{"description":"OK"},"404":{"$ref":"#\/components\/responses\/NotFound"},"429":{"$ref":"#\/components\/responses\/RateLimited"}},"description":"Returns Peacock + embed.js + admin-overlay + SDK + WP-plugin + CLI versions, with channel and SRI hash per component.","x-rate-limit":{"limit":60,"window_minutes":1}}},"\/whoami":{"get":{"summary":"Whoami","operationId":"whoami","tags":["Whoami"],"parameters":[],"responses":{"200":{"description":"OK"},"401":{"$ref":"#\/components\/responses\/Unauthenticated"},"404":{"$ref":"#\/components\/responses\/NotFound"},"429":{"$ref":"#\/components\/responses\/RateLimited"}},"security":[{"bearerAuth":[]}]}}},"components":{"securitySchemes":{"bearerAuth":{"type":"http","scheme":"bearer","description":"Sanctum personal-access token. Issued via \/admin \u2192 Settings \u2192 API Tokens, OR via `php artisan db:seed --class=DemoTenantSeeder` for development."}},"schemas":{"Error":{"type":"object","required":["error"],"properties":{"error":{"type":"string"}}},"MethodNotAllowed":{"type":"object","required":["error","allowed"],"properties":{"error":{"type":"string","enum":["method_not_allowed"]},"allowed":{"type":"array","items":{"type":"string"}}}},"Story":{"type":"object","properties":{"uuid":{"type":"string","format":"uuid"},"slug":{"type":"string"},"full_path":{"type":"string"},"lang":{"type":"string"},"content":{"type":"object","additionalProperties":true},"meta":{"type":"object","additionalProperties":true}}},"Space":{"type":"object","properties":{"slug":{"type":"string"},"name":{"type":"string"},"default_locale_code":{"type":"string"}}}},"responses":{"Unauthenticated":{"description":"Missing or invalid Bearer token","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Error"}}}},"NotFound":{"description":"Resource not found","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Error"}}}},"RateLimited":{"description":"Too many requests","headers":{"Retry-After":{"schema":{"type":"integer"}}},"content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Error"}}}}}}}