The Postgres development platform. Supabase gives you a dedicated Postgres database to build your web, mobile, and AI applications.
TypeScript aialternativeauthdatabasedenoembeddingsexamplefirebasenextjsoauth2pgvectorpostgispostgrespostgresqlpostgrestrealtimesupabasevectorswebsockets
Deparse OpenAPI spec
Chase Granberrybe190ee3a91c
diff --git a/spec/Makefile b/spec/Makefileindex 7c89e27a583..4d435a6915a 100644--- a/spec/Makefile+++ b/spec/Makefile@@ -68,6 +68,9 @@ dereference.auth.v1:dereference.storage.v0:npx swagger-cli bundle --dereference --outfile $(REPO_DIR)/transforms/storage_v0_openapi_deparsed.json $(REPO_DIR)/storage_v0_openapi.json+dereference.analytics.v0:+ npx swagger-cli bundle --dereference --outfile $(REPO_DIR)/transforms/analytics_v0_openapi_deparsed.json $(REPO_DIR)/analytics_v0_openapi.json+# No longer updated# dereference.tsdoc.v1:# cd $(REPO_DIR)/parser && npm run tsdoc:dereference:functions:v1diff --git a/spec/transforms/analytics_v0_openapi_deparsed.json b/spec/transforms/analytics_v0_openapi_deparsed.jsonnew file mode 100644index 00000000000..0f150f95c54--- /dev/null+++ b/spec/transforms/analytics_v0_openapi_deparsed.json@@ -0,0 +1,2902 @@+{+ "components": {+ "responses": {},+ "schemas": {+ "Accepted": {+ "title": "Accepted"+ },+ "Endpoint": {+ "properties": {+ "cache_duration_seconds": {+ "type": "integer"+ },+ "enable_auth": {+ "type": "boolean"+ },+ "inserted_at": {+ "format": "date-time",+ "type": "string"+ },+ "max_limit": {+ "type": "integer"+ },+ "name": {+ "type": "string"+ },+ "proactive_requerying_seconds": {+ "type": "integer"+ },+ "query": {+ "type": "string"+ },+ "sandboxable": {+ "type": "boolean"+ },+ "source_mapping": {+ "type": "object"+ },+ "token": {+ "type": "string"+ },+ "updated_at": {+ "format": "date-time",+ "type": "string"+ }+ },+ "required": [+ "name",+ "query"+ ],+ "title": "Endpoint",+ "type": "object"+ },+ "NotFound": {+ "title": "NotFound"+ },+ "Notification": {+ "properties": {+ "other_email_notifications": {+ "type": "string"+ },+ "team_user_ids_for_email": {+ "allOf": {+ "type": "string"+ },+ "type": "array"+ },+ "team_user_ids_for_schema_updates": {+ "allOf": {+ "type": "string"+ },+ "type": "array"+ },+ "team_user_ids_for_sms": {+ "allOf": {+ "type": "string"+ },+ "type": "array"+ },+ "user_email_notifications": {+ "type": "boolean"+ },+ "user_schema_update_notifications": {+ "type": "boolean"+ },+ "user_text_notifications": {+ "type": "boolean"+ }+ },+ "title": "Notification",+ "type": "object"+ },+ "Source": {+ "properties": {+ "api_quota": {+ "type": "integer"+ },+ "bigquery_table_ttl": {+ "type": "integer"+ },+ "bq_table_id": {+ "type": "string"+ },+ "bq_table_schema": {+ "type": "object"+ },+ "custom_event_message_keys": {+ "type": "string"+ },+ "favorite": {+ "type": "boolean"+ },+ "has_rejected_events": {+ "type": "boolean"+ },+ "id": {},+ "inserted_at": {+ "format": "date-time",+ "type": "string"+ },+ "metrics": {+ "type": "object"+ },+ "name": {+ "type": "string"+ },+ "notifications": {+ "items": {+ "properties": {+ "other_email_notifications": {+ "type": "string"+ },+ "team_user_ids_for_email": {+ "allOf": {+ "type": "string"+ },+ "type": "array"+ },+ "team_user_ids_for_schema_updates": {+ "allOf": {+ "type": "string"+ },+ "type": "array"+ },+ "team_user_ids_for_sms": {+ "allOf": {+ "type": "string"+ },+ "type": "array"+ },+ "user_email_notifications": {+ "type": "boolean"+ },+ "user_schema_update_notifications": {+ "type": "boolean"+ },+ "user_text_notifications": {+ "type": "boolean"+ }+ },+ "title": "Notification",+ "type": "object"+ },+ "type": "array"+ },+ "public_token": {+ "type": "string"+ },+ "slack_hook_url": {+ "type": "string"+ },+ "token": {+ "type": "string"+ },+ "updated_at": {+ "format": "date-time",+ "type": "string"+ },+ "webhook_notification_url": {+ "type": "string"+ }+ },+ "required": [+ "name"+ ],+ "title": "Source",+ "type": "object"+ },+ "Team": {+ "properties": {+ "name": {+ "type": "string"+ },+ "team_users": {+ "items": {+ "properties": {+ "email": {+ "type": "string"+ },+ "name": {+ "type": "string"+ }+ },+ "required": [+ "email",+ "name"+ ],+ "title": "TeamUser",+ "type": "object"+ },+ "type": "array"+ },+ "token": {+ "type": "string"+ },+ "user": {+ "properties": {+ "api_key": {+ "type": "string"+ },+ "api_quota": {+ "type": "integer"+ },+ "bigquery_dataset_id": {+ "type": "string"+ },+ "bigquery_dataset_location": {+ "type": "string"+ },+ "bigquery_project_id": {+ "type": "string"+ },+ "company": {+ "type": "string"+ },+ "email": {+ "type": "string"+ },+ "email_me_product": {+ "type": "boolean"+ },+ "email_preferred": {+ "type": "string"+ },+ "image": {+ "type": "string"+ },+ "name": {+ "type": "string"+ },+ "phone": {+ "type": "string"+ },+ "provider": {+ "type": "string"+ },+ "token": {+ "type": "string"+ }+ },+ "required": [+ "email",+ "provider",+ "token",+ "provider_uid",+ "api_key"+ ],+ "title": "User",+ "type": "object"+ }+ },+ "required": [+ "name"+ ],+ "title": "Team",+ "type": "object"+ },+ "TeamUser": {+ "properties": {+ "email": {+ "type": "string"+ },+ "name": {+ "type": "string"+ }+ },+ "required": [+ "email",+ "name"+ ],+ "title": "TeamUser",+ "type": "object"+ },+ "User": {+ "properties": {+ "api_key": {+ "type": "string"+ },+ "api_quota": {+ "type": "integer"+ },+ "bigquery_dataset_id": {+ "type": "string"+ },+ "bigquery_dataset_location": {+ "type": "string"+ },+ "bigquery_project_id": {+ "type": "string"+ },+ "company": {+ "type": "string"+ },+ "email": {+ "type": "string"+ },+ "email_me_product": {+ "type": "boolean"+ },+ "email_preferred": {+ "type": "string"+ },+ "image": {+ "type": "string"+ },+ "name": {+ "type": "string"+ },+ "phone": {+ "type": "string"+ },+ "provider": {+ "type": "string"+ },+ "token": {+ "type": "string"+ }+ },+ "required": [+ "email",+ "provider",+ "token",+ "provider_uid",+ "api_key"+ ],+ "title": "User",+ "type": "object"+ }+ }+ },+ "info": {+ "title": "logflare",+ "version": "1.0.0"+ },+ "openapi": "3.0.0",+ "paths": {+ "/api/endpoints": {+ "get": {+ "callbacks": {},+ "operationId": "LogflareWeb.Api.EndpointController.index",+ "parameters": [],+ "responses": {+ "200": {+ "content": {+ "application/json": {+ "schema": {+ "items": {+ "properties": {+ "cache_duration_seconds": {+ "type": "integer"+ },+ "enable_auth": {+ "type": "boolean"+ },+ "inserted_at": {+ "format": "date-time",+ "type": "string"+ },+ "max_limit": {+ "type": "integer"+ },+ "name": {+ "type": "string"+ },+ "proactive_requerying_seconds": {+ "type": "integer"+ },+ "query": {+ "type": "string"+ },+ "sandboxable": {+ "type": "boolean"+ },+ "source_mapping": {+ "type": "object"+ },+ "token": {+ "type": "string"+ },+ "updated_at": {+ "format": "date-time",+ "type": "string"+ }+ },+ "required": [+ "name",+ "query"+ ],+ "title": "Endpoint",+ "type": "object"+ },+ "type": "array"+ }+ }+ },+ "description": "Endpoint List Response"+ }+ },+ "summary": "List endpoints",+ "tags": [+ "management"+ ]+ },+ "post": {+ "callbacks": {},+ "operationId": "LogflareWeb.Api.EndpointController.create",+ "parameters": [],+ "requestBody": {+ "content": {+ "application/json": {+ "schema": {+ "properties": {+ "cache_duration_seconds": {+ "type": "integer"+ },+ "enable_auth": {+ "type": "boolean"+ },+ "inserted_at": {+ "format": "date-time",+ "type": "string"+ },+ "max_limit": {+ "type": "integer"+ },+ "name": {+ "type": "string"+ },+ "proactive_requerying_seconds": {+ "type": "integer"+ },+ "query": {+ "type": "string"+ },+ "sandboxable": {+ "type": "boolean"+ },+ "source_mapping": {+ "type": "object"+ },+ "token": {+ "type": "string"+ },+ "updated_at": {+ "format": "date-time",+ "type": "string"+ }+ },+ "required": [+ "name",+ "query"+ ],+ "title": "Endpoint",+ "type": "object"+ }+ }+ },+ "description": "Endpoint Parameters",+ "required": false+ },+ "responses": {+ "201": {+ "content": {+ "application/json": {+ "schema": {+ "properties": {+ "cache_duration_seconds": {+ "type": "integer"+ },+ "enable_auth": {+ "type": "boolean"+ },+ "inserted_at": {+ "format": "date-time",+ "type": "string"+ },+ "max_limit": {+ "type": "integer"+ },+ "name": {+ "type": "string"+ },+ "proactive_requerying_seconds": {+ "type": "integer"+ },+ "query": {+ "type": "string"+ },+ "sandboxable": {+ "type": "boolean"+ },+ "source_mapping": {+ "type": "object"+ },+ "token": {+ "type": "string"+ },+ "updated_at": {+ "format": "date-time",+ "type": "string"+ }+ },+ "required": [+ "name",+ "query"+ ],+ "title": "Endpoint",+ "type": "object"+ }+ }+ },+ "description": "Created Response"+ },+ "404": {+ "content": {+ "text/plain": {+ "schema": {+ "title": "NotFound"+ }+ }+ },+ "description": "Not found"+ }+ },+ "summary": "Create endpoint",+ "tags": [+ "management"+ ]+ }+ },+ "/api/endpoints/{token}": {+ "delete": {+ "callbacks": {},+ "operationId": "LogflareWeb.Api.EndpointController.delete",+ "parameters": [+ {+ "description": "Endpoint Token",+ "in": "path",+ "name": "token",+ "required": true,+ "schema": {+ "type": "string"+ }+ }+ ],+ "responses": {+ "204": {+ "content": {+ "text/plain": {+ "schema": {+ "title": "Accepted"+ }+ }+ },+ "description": "Accepted Response"+ },+ "404": {+ "content": {+ "text/plain": {+ "schema": {+ "title": "NotFound"+ }+ }+ },+ "description": "Not found"+ }+ },+ "summary": "Delete endpoint",+ "tags": [+ "management",+ "management"+ ]+ },+ "get": {+ "callbacks": {},+ "operationId": "LogflareWeb.Api.EndpointController.show",+ "parameters": [+ {+ "description": "Endpoint Token",+ "in": "path",+ "name": "token",+ "required": true,+ "schema": {+ "type": "string"+ }+ }+ ],+ "responses": {+ "200": {+ "content": {+ "application/json": {+ "schema": {+ "properties": {+ "cache_duration_seconds": {+ "type": "integer"+ },+ "enable_auth": {+ "type": "boolean"+ },+ "inserted_at": {+ "format": "date-time",+ "type": "string"+ },+ "max_limit": {+ "type": "integer"+ },+ "name": {+ "type": "string"+ },+ "proactive_requerying_seconds": {+ "type": "integer"+ },+ "query": {+ "type": "string"+ },+ "sandboxable": {+ "type": "boolean"+ },+ "source_mapping": {+ "type": "object"+ },+ "token": {+ "type": "string"+ },+ "updated_at": {+ "format": "date-time",+ "type": "string"+ }+ },+ "required": [+ "name",+ "query"+ ],+ "title": "Endpoint",+ "type": "object"+ }+ }+ },+ "description": "Endpoint Response"+ },+ "404": {+ "content": {+ "text/plain": {+ "schema": {+ "title": "NotFound"+ }+ }+ },+ "description": "Not found"+ }+ },+ "summary": "Fetch endpoint",+ "tags": [+ "management"+ ]+ },+ "patch": {+ "callbacks": {},+ "operationId": "LogflareWeb.Api.EndpointController.update",+ "parameters": [+ {+ "description": "Endpoint Token",+ "in": "path",+ "name": "token",+ "required": true,+ "schema": {+ "type": "string"+ }+ }+ ],+ "requestBody": {+ "content": {+ "application/json": {+ "schema": {+ "properties": {+ "cache_duration_seconds": {+ "type": "integer"+ },+ "enable_auth": {+ "type": "boolean"+ },+ "inserted_at": {+ "format": "date-time",+ "type": "string"+ },+ "max_limit": {+ "type": "integer"+ },+ "name": {+ "type": "string"+ },+ "proactive_requerying_seconds": {+ "type": "integer"+ },+ "query": {+ "type": "string"+ },+ "sandboxable": {+ "type": "boolean"+ },+ "source_mapping": {+ "type": "object"+ },+ "token": {+ "type": "string"+ },+ "updated_at": {+ "format": "date-time",+ "type": "string"+ }+ },+ "required": [+ "name",+ "query"+ ],+ "title": "Endpoint",+ "type": "object"+ }+ }+ },+ "description": "Endpoint Parameters",+ "required": false+ },+ "responses": {+ "201": {+ "content": {+ "application/json": {+ "schema": {+ "properties": {+ "cache_duration_seconds": {+ "type": "integer"+ },+ "enable_auth": {+ "type": "boolean"+ },+ "inserted_at": {+ "format": "date-time",+ "type": "string"+ },+ "max_limit": {+ "type": "integer"+ },+ "name": {+ "type": "string"+ },+ "proactive_requerying_seconds": {+ "type": "integer"+ },+ "query": {+ "type": "string"+ },+ "sandboxable": {+ "type": "boolean"+ },+ "source_mapping": {+ "type": "object"+ },+ "token": {+ "type": "string"+ },+ "updated_at": {+ "format": "date-time",+ "type": "string"+ }+ },+ "required": [+ "name",+ "query"+ ],+ "title": "Endpoint",+ "type": "object"+ }+ }+ },+ "description": "Created Response"+ },+ "404": {+ "content": {+ "text/plain": {+ "schema": {+ "title": "NotFound"+ }+ }+ },+ "description": "Not found"+ }+ },+ "summary": "Update endpoint",+ "tags": [+ "management"+ ]+ },+ "put": {+ "callbacks": {},+ "operationId": "LogflareWeb.Api.EndpointController.update (2)",+ "parameters": [+ {+ "description": "Endpoint Token",+ "in": "path",+ "name": "token",+ "required": true,+ "schema": {+ "type": "string"+ }+ }+ ],+ "requestBody": {+ "content": {+ "application/json": {+ "schema": {+ "properties": {+ "cache_duration_seconds": {+ "type": "integer"+ },+ "enable_auth": {+ "type": "boolean"+ },+ "inserted_at": {+ "format": "date-time",+ "type": "string"+ },+ "max_limit": {+ "type": "integer"+ },+ "name": {+ "type": "string"+ },+ "proactive_requerying_seconds": {+ "type": "integer"+ },+ "query": {+ "type": "string"+ },+ "sandboxable": {+ "type": "boolean"+ },+ "source_mapping": {+ "type": "object"+ },+ "token": {+ "type": "string"+ },+ "updated_at": {+ "format": "date-time",+ "type": "string"+ }+ },+ "required": [+ "name",+ "query"+ ],+ "title": "Endpoint",+ "type": "object"+ }+ }+ },+ "description": "Endpoint Parameters",+ "required": false+ },+ "responses": {+ "201": {+ "content": {+ "application/json": {+ "schema": {+ "properties": {+ "cache_duration_seconds": {+ "type": "integer"+ },+ "enable_auth": {+ "type": "boolean"+ },+ "inserted_at": {+ "format": "date-time",+ "type": "string"+ },+ "max_limit": {+ "type": "integer"+ },+ "name": {+ "type": "string"+ },+ "proactive_requerying_seconds": {+ "type": "integer"+ },+ "query": {+ "type": "string"+ },+ "sandboxable": {+ "type": "boolean"+ },+ "source_mapping": {+ "type": "object"+ },+ "token": {+ "type": "string"+ },+ "updated_at": {+ "format": "date-time",+ "type": "string"+ }+ },+ "required": [+ "name",+ "query"+ ],+ "title": "Endpoint",+ "type": "object"+ }+ }+ },+ "description": "Created Response"+ },+ "404": {+ "content": {+ "text/plain": {+ "schema": {+ "title": "NotFound"+ }+ }+ },+ "description": "Not found"+ }+ },+ "summary": "Update endpoint",+ "tags": [+ "management"+ ]+ }+ },+ "/api/sources": {+ "get": {+ "callbacks": {},+ "operationId": "LogflareWeb.Api.SourceController.index",+ "parameters": [],+ "responses": {+ "200": {+ "content": {+ "application/json": {+ "schema": {+ "items": {+ "properties": {+ "api_quota": {+ "type": "integer"+ },+ "bigquery_table_ttl": {+ "type": "integer"+ },+ "bq_table_id": {+ "type": "string"+ },+ "bq_table_schema": {+ "type": "object"+ },+ "custom_event_message_keys": {+ "type": "string"+ },+ "favorite": {+ "type": "boolean"+ },+ "has_rejected_events": {+ "type": "boolean"+ },+ "id": {},+ "inserted_at": {+ "format": "date-time",+ "type": "string"+ },+ "metrics": {+ "type": "object"+ },+ "name": {+ "type": "string"+ },+ "notifications": {+ "items": {+ "properties": {+ "other_email_notifications": {+ "type": "string"+ },+ "team_user_ids_for_email": {+ "allOf": {+ "type": "string"+ },+ "type": "array"+ },+ "team_user_ids_for_schema_updates": {+ "allOf": {+ "type": "string"+ },+ "type": "array"+ },+ "team_user_ids_for_sms": {+ "allOf": {+ "type": "string"+ },+ "type": "array"+ },+ "user_email_notifications": {+ "type": "boolean"+ },+ "user_schema_update_notifications": {+ "type": "boolean"+ },+ "user_text_notifications": {+ "type": "boolean"+ }+ },+ "title": "Notification",+ "type": "object"+ },+ "type": "array"+ },+ "public_token": {+ "type": "string"+ },+ "slack_hook_url": {+ "type": "string"+ },+ "token": {+ "type": "string"+ },+ "updated_at": {+ "format": "date-time",+ "type": "string"+ },+ "webhook_notification_url": {+ "type": "string"+ }+ },+ "required": [+ "name"+ ],+ "title": "Source",+ "type": "object"+ },+ "type": "array"+ }+ }+ },+ "description": "Source List Response"+ }+ },+ "summary": "List sources",+ "tags": [+ "management"+ ]+ },+ "post": {+ "callbacks": {},+ "operationId": "LogflareWeb.Api.SourceController.create",+ "parameters": [],+ "requestBody": {+ "content": {+ "application/json": {+ "schema": {+ "properties": {+ "api_quota": {+ "type": "integer"+ },+ "bigquery_table_ttl": {+ "type": "integer"+ },+ "bq_table_id": {+ "type": "string"+ },+ "bq_table_schema": {+ "type": "object"+ },+ "custom_event_message_keys": {+ "type": "string"+ },+ "favorite": {+ "type": "boolean"+ },+ "has_rejected_events": {+ "type": "boolean"+ },+ "id": {},+ "inserted_at": {+ "format": "date-time",+ "type": "string"+ },+ "metrics": {+ "type": "object"+ },+ "name": {+ "type": "string"+ },+ "notifications": {+ "items": {+ "properties": {+ "other_email_notifications": {+ "type": "string"+ },+ "team_user_ids_for_email": {+ "allOf": {+ "type": "string"+ },+ "type": "array"+ },+ "team_user_ids_for_schema_updates": {+ "allOf": {+ "type": "string"+ },+ "type": "array"+ },+ "team_user_ids_for_sms": {+ "allOf": {+ "type": "string"+ },+ "type": "array"+ },+ "user_email_notifications": {+ "type": "boolean"+ },+ "user_schema_update_notifications": {+ "type": "boolean"+ },+ "user_text_notifications": {+ "type": "boolean"+ }+ },+ "title": "Notification",+ "type": "object"+ },+ "type": "array"+ },+ "public_token": {+ "type": "string"+ },+ "slack_hook_url": {+ "type": "string"+ },+ "token": {+ "type": "string"+ },+ "updated_at": {+ "format": "date-time",+ "type": "string"+ },+ "webhook_notification_url": {+ "type": "string"+ }+ },+ "required": [+ "name"+ ],+ "title": "Source",+ "type": "object"+ }+ }+ },+ "description": "Source Parameters",+ "required": false+ },+ "responses": {+ "201": {+ "content": {+ "application/json": {+ "schema": {+ "properties": {+ "api_quota": {+ "type": "integer"+ },+ "bigquery_table_ttl": {+ "type": "integer"+ },+ "bq_table_id": {+ "type": "string"+ },+ "bq_table_schema": {+ "type": "object"+ },+ "custom_event_message_keys": {+ "type": "string"+ },+ "favorite": {+ "type": "boolean"+ },+ "has_rejected_events": {+ "type": "boolean"+ },+ "id": {},+ "inserted_at": {+ "format": "date-time",+ "type": "string"+ },+ "metrics": {+ "type": "object"+ },+ "name": {+ "type": "string"+ },+ "notifications": {+ "items": {+ "properties": {+ "other_email_notifications": {+ "type": "string"+ },+ "team_user_ids_for_email": {+ "allOf": {+ "type": "string"+ },+ "type": "array"+ },+ "team_user_ids_for_schema_updates": {+ "allOf": {+ "type": "string"+ },+ "type": "array"+ },+ "team_user_ids_for_sms": {+ "allOf": {+ "type": "string"+ },+ "type": "array"+ },+ "user_email_notifications": {+ "type": "boolean"+ },+ "user_schema_update_notifications": {+ "type": "boolean"+ },+ "user_text_notifications": {+ "type": "boolean"+ }+ },+ "title": "Notification",+ "type": "object"+ },+ "type": "array"+ },+ "public_token": {+ "type": "string"+ },+ "slack_hook_url": {+ "type": "string"+ },+ "token": {+ "type": "string"+ },+ "updated_at": {+ "format": "date-time",+ "type": "string"+ },+ "webhook_notification_url": {+ "type": "string"+ }+ },+ "required": [+ "name"+ ],+ "title": "Source",+ "type": "object"+ }+ }+ },+ "description": "Created Response"+ },+ "404": {+ "content": {+ "text/plain": {+ "schema": {+ "title": "NotFound"+ }+ }+ },+ "description": "Not found"+ }+ },+ "summary": "Create source",+ "tags": [+ "management"+ ]+ }+ },+ "/api/sources/{token}": {+ "delete": {+ "callbacks": {},+ "operationId": "LogflareWeb.Api.SourceController.delete",+ "parameters": [+ {+ "description": "Source Token",+ "in": "path",+ "name": "token",+ "required": true,+ "schema": {+ "type": "string"+ }+ }+ ],+ "responses": {+ "204": {+ "content": {+ "text/plain": {+ "schema": {+ "title": "Accepted"+ }+ }+ },+ "description": "Accepted Response"+ },+ "404": {+ "content": {+ "text/plain": {+ "schema": {+ "title": "NotFound"+ }+ }+ },+ "description": "Not found"+ }+ },+ "summary": "Delete source",+ "tags": [+ "management"+ ]+ },+ "get": {+ "callbacks": {},+ "operationId": "LogflareWeb.Api.SourceController.show",+ "parameters": [+ {+ "description": "Source Token",+ "in": "path",+ "name": "token",+ "required": true,+ "schema": {+ "type": "string"+ }+ }+ ],+ "responses": {+ "200": {+ "content": {+ "application/json": {+ "schema": {+ "properties": {+ "api_quota": {+ "type": "integer"+ },+ "bigquery_table_ttl": {+ "type": "integer"+ },+ "bq_table_id": {+ "type": "string"+ },+ "bq_table_schema": {+ "type": "object"+ },+ "custom_event_message_keys": {+ "type": "string"+ },+ "favorite": {+ "type": "boolean"+ },+ "has_rejected_events": {+ "type": "boolean"+ },+ "id": {},+ "inserted_at": {+ "format": "date-time",+ "type": "string"+ },+ "metrics": {+ "type": "object"+ },+ "name": {+ "type": "string"+ },+ "notifications": {+ "items": {+ "properties": {+ "other_email_notifications": {+ "type": "string"+ },+ "team_user_ids_for_email": {+ "allOf": {+ "type": "string"+ },+ "type": "array"+ },+ "team_user_ids_for_schema_updates": {+ "allOf": {+ "type": "string"+ },+ "type": "array"+ },+ "team_user_ids_for_sms": {+ "allOf": {+ "type": "string"+ },+ "type": "array"+ },+ "user_email_notifications": {+ "type": "boolean"+ },+ "user_schema_update_notifications": {+ "type": "boolean"+ },+ "user_text_notifications": {+ "type": "boolean"+ }+ },+ "title": "Notification",+ "type": "object"+ },+ "type": "array"+ },+ "public_token": {+ "type": "string"+ },+ "slack_hook_url": {+ "type": "string"+ },+ "token": {+ "type": "string"+ },+ "updated_at": {+ "format": "date-time",+ "type": "string"+ },+ "webhook_notification_url": {+ "type": "string"+ }+ },+ "required": [+ "name"+ ],+ "title": "Source",+ "type": "object"+ }+ }+ },+ "description": "Source Response"+ },+ "404": {+ "content": {+ "text/plain": {+ "schema": {+ "title": "NotFound"+ }+ }+ },+ "description": "Not found"+ }+ },+ "summary": "Fetch source",+ "tags": [+ "management"+ ]+ },+ "patch": {+ "callbacks": {},+ "operationId": "LogflareWeb.Api.SourceController.update",+ "parameters": [+ {+ "description": "Source Token",+ "in": "path",+ "name": "token",+ "required": true,+ "schema": {+ "type": "string"+ }+ }+ ],+ "requestBody": {+ "content": {+ "application/json": {+ "schema": {+ "properties": {+ "api_quota": {+ "type": "integer"+ },+ "bigquery_table_ttl": {+ "type": "integer"+ },+ "bq_table_id": {+ "type": "string"+ },+ "bq_table_schema": {+ "type": "object"+ },+ "custom_event_message_keys": {+ "type": "string"+ },+ "favorite": {+ "type": "boolean"+ },+ "has_rejected_events": {+ "type": "boolean"+ },+ "id": {},+ "inserted_at": {+ "format": "date-time",+ "type": "string"+ },+ "metrics": {+ "type": "object"+ },+ "name": {+ "type": "string"+ },+ "notifications": {+ "items": {+ "properties": {+ "other_email_notifications": {+ "type": "string"+ },+ "team_user_ids_for_email": {+ "allOf": {+ "type": "string"+ },+ "type": "array"+ },+ "team_user_ids_for_schema_updates": {+ "allOf": {+ "type": "string"+ },+ "type": "array"+ },+ "team_user_ids_for_sms": {+ "allOf": {+ "type": "string"+ },+ "type": "array"+ },+ "user_email_notifications": {+ "type": "boolean"+ },+ "user_schema_update_notifications": {+ "type": "boolean"+ },+ "user_text_notifications": {+ "type": "boolean"+ }+ },+ "title": "Notification",+ "type": "object"+ },+ "type": "array"+ },+ "public_token": {+ "type": "string"+ },+ "slack_hook_url": {+ "type": "string"+ },+ "token": {+ "type": "string"+ },+ "updated_at": {+ "format": "date-time",+ "type": "string"+ },+ "webhook_notification_url": {+ "type": "string"+ }+ },+ "required": [+ "name"+ ],+ "title": "Source",+ "type": "object"+ }+ }+ },+ "description": "Source Parameters",+ "required": false+ },+ "responses": {+ "201": {+ "content": {+ "application/json": {+ "schema": {+ "properties": {+ "api_quota": {+ "type": "integer"+ },+ "bigquery_table_ttl": {+ "type": "integer"+ },+ "bq_table_id": {+ "type": "string"+ },+ "bq_table_schema": {+ "type": "object"+ },+ "custom_event_message_keys": {+ "type": "string"+ },+ "favorite": {+ "type": "boolean"+ },+ "has_rejected_events": {+ "type": "boolean"+ },+ "id": {},+ "inserted_at": {+ "format": "date-time",+ "type": "string"+ },+ "metrics": {+ "type": "object"+ },+ "name": {+ "type": "string"+ },+ "notifications": {+ "items": {+ "properties": {+ "other_email_notifications": {+ "type": "string"+ },+ "team_user_ids_for_email": {+ "allOf": {+ "type": "string"+ },+ "type": "array"+ },+ "team_user_ids_for_schema_updates": {+ "allOf": {+ "type": "string"+ },+ "type": "array"+ },+ "team_user_ids_for_sms": {+ "allOf": {+ "type": "string"+ },+ "type": "array"+ },+ "user_email_notifications": {+ "type": "boolean"+ },+ "user_schema_update_notifications": {+ "type": "boolean"+ },+ "user_text_notifications": {+ "type": "boolean"+ }+ },+ "title": "Notification",+ "type": "object"+ },+ "type": "array"+ },+ "public_token": {+ "type": "string"+ },+ "slack_hook_url": {+ "type": "string"+ },+ "token": {+ "type": "string"+ },+ "updated_at": {+ "format": "date-time",+ "type": "string"+ },+ "webhook_notification_url": {+ "type": "string"+ }+ },+ "required": [+ "name"+ ],+ "title": "Source",+ "type": "object"+ }+ }+ },+ "description": "Created Response"+ },+ "404": {+ "content": {+ "text/plain": {+ "schema": {+ "title": "NotFound"+ }+ }+ },+ "description": "Not found"+ }+ },+ "summary": "Update source",+ "tags": [+ "management"+ ]+ },+ "put": {+ "callbacks": {},+ "operationId": "LogflareWeb.Api.SourceController.update (2)",+ "parameters": [+ {+ "description": "Source Token",+ "in": "path",+ "name": "token",+ "required": true,+ "schema": {+ "type": "string"+ }+ }+ ],+ "requestBody": {+ "content": {+ "application/json": {+ "schema": {+ "properties": {+ "api_quota": {+ "type": "integer"+ },+ "bigquery_table_ttl": {+ "type": "integer"+ },+ "bq_table_id": {+ "type": "string"+ },+ "bq_table_schema": {+ "type": "object"+ },+ "custom_event_message_keys": {+ "type": "string"+ },+ "favorite": {+ "type": "boolean"+ },+ "has_rejected_events": {+ "type": "boolean"+ },+ "id": {},+ "inserted_at": {+ "format": "date-time",+ "type": "string"+ },+ "metrics": {+ "type": "object"+ },+ "name": {+ "type": "string"+ },+ "notifications": {+ "items": {+ "properties": {+ "other_email_notifications": {+ "type": "string"+ },+ "team_user_ids_for_email": {+ "allOf": {+ "type": "string"+ },+ "type": "array"+ },+ "team_user_ids_for_schema_updates": {+ "allOf": {+ "type": "string"+ },+ "type": "array"+ },+ "team_user_ids_for_sms": {+ "allOf": {+ "type": "string"+ },+ "type": "array"+ },+ "user_email_notifications": {+ "type": "boolean"+ },+ "user_schema_update_notifications": {+ "type": "boolean"+ },+ "user_text_notifications": {+ "type": "boolean"+ }+ },+ "title": "Notification",+ "type": "object"+ },+ "type": "array"+ },+ "public_token": {+ "type": "string"+ },+ "slack_hook_url": {+ "type": "string"+ },+ "token": {+ "type": "string"+ },+ "updated_at": {+ "format": "date-time",+ "type": "string"+ },+ "webhook_notification_url": {+ "type": "string"+ }+ },+ "required": [+ "name"+ ],+ "title": "Source",+ "type": "object"+ }+ }+ },+ "description": "Source Parameters",+ "required": false+ },+ "responses": {+ "201": {+ "content": {+ "application/json": {+ "schema": {+ "properties": {+ "api_quota": {+ "type": "integer"+ },+ "bigquery_table_ttl": {+ "type": "integer"+ },+ "bq_table_id": {+ "type": "string"+ },+ "bq_table_schema": {+ "type": "object"+ },+ "custom_event_message_keys": {+ "type": "string"+ },+ "favorite": {+ "type": "boolean"+ },+ "has_rejected_events": {+ "type": "boolean"+ },+ "id": {},+ "inserted_at": {+ "format": "date-time",+ "type": "string"+ },+ "metrics": {+ "type": "object"+ },+ "name": {+ "type": "string"+ },+ "notifications": {+ "items": {+ "properties": {+ "other_email_notifications": {+ "type": "string"+ },+ "team_user_ids_for_email": {+ "allOf": {+ "type": "string"+ },+ "type": "array"+ },+ "team_user_ids_for_schema_updates": {+ "allOf": {+ "type": "string"+ },+ "type": "array"+ },+ "team_user_ids_for_sms": {+ "allOf": {+ "type": "string"+ },+ "type": "array"+ },+ "user_email_notifications": {+ "type": "boolean"+ },+ "user_schema_update_notifications": {+ "type": "boolean"+ },+ "user_text_notifications": {+ "type": "boolean"+ }+ },+ "title": "Notification",+ "type": "object"+ },+ "type": "array"+ },+ "public_token": {+ "type": "string"+ },+ "slack_hook_url": {+ "type": "string"+ },+ "token": {+ "type": "string"+ },+ "updated_at": {+ "format": "date-time",+ "type": "string"+ },+ "webhook_notification_url": {+ "type": "string"+ }+ },+ "required": [+ "name"+ ],+ "title": "Source",+ "type": "object"+ }+ }+ },+ "description": "Created Response"+ },+ "404": {+ "content": {+ "text/plain": {+ "schema": {+ "title": "NotFound"+ }+ }+ },+ "description": "Not found"+ }+ },+ "summary": "Update source",+ "tags": [+ "management"+ ]+ }+ },+ "/api/teams": {+ "get": {+ "callbacks": {},+ "operationId": "LogflareWeb.Api.TeamController.index",+ "parameters": [],+ "responses": {+ "200": {+ "content": {+ "application/json": {+ "schema": {+ "items": {+ "properties": {+ "name": {+ "type": "string"+ },+ "team_users": {+ "items": {+ "properties": {+ "email": {+ "type": "string"+ },+ "name": {+ "type": "string"+ }+ },+ "required": [+ "email",+ "name"+ ],+ "title": "TeamUser",+ "type": "object"+ },+ "type": "array"+ },+ "token": {+ "type": "string"+ },+ "user": {+ "properties": {+ "api_key": {+ "type": "string"+ },+ "api_quota": {+ "type": "integer"+ },+ "bigquery_dataset_id": {+ "type": "string"+ },+ "bigquery_dataset_location": {+ "type": "string"+ },+ "bigquery_project_id": {+ "type": "string"+ },+ "company": {+ "type": "string"+ },+ "email": {+ "type": "string"+ },+ "email_me_product": {+ "type": "boolean"+ },+ "email_preferred": {+ "type": "string"+ },+ "image": {+ "type": "string"+ },+ "name": {+ "type": "string"+ },+ "phone": {+ "type": "string"+ },+ "provider": {+ "type": "string"+ },+ "token": {+ "type": "string"+ }+ },+ "required": [+ "email",+ "provider",+ "token",+ "provider_uid",+ "api_key"+ ],+ "title": "User",+ "type": "object"+ }+ },+ "required": [+ "name"+ ],+ "title": "Team",+ "type": "object"+ },+ "type": "array"+ }+ }+ },+ "description": "Team List Response"+ }+ },+ "summary": "List teams",+ "tags": [+ "management"+ ]+ },+ "post": {+ "callbacks": {},+ "operationId": "LogflareWeb.Api.TeamController.create",+ "parameters": [],+ "requestBody": {+ "content": {+ "application/json": {+ "schema": {+ "properties": {+ "name": {+ "type": "string"+ },+ "team_users": {+ "items": {+ "properties": {+ "email": {+ "type": "string"+ },+ "name": {+ "type": "string"+ }+ },+ "required": [+ "email",+ "name"+ ],+ "title": "TeamUser",+ "type": "object"+ },+ "type": "array"+ },+ "token": {+ "type": "string"+ },+ "user": {+ "properties": {+ "api_key": {+ "type": "string"+ },+ "api_quota": {+ "type": "integer"+ },+ "bigquery_dataset_id": {+ "type": "string"+ },+ "bigquery_dataset_location": {+ "type": "string"+ },+ "bigquery_project_id": {+ "type": "string"+ },+ "company": {+ "type": "string"+ },+ "email": {+ "type": "string"+ },+ "email_me_product": {+ "type": "boolean"+ },+ "email_preferred": {+ "type": "string"+ },+ "image": {+ "type": "string"+ },+ "name": {+ "type": "string"+ },+ "phone": {+ "type": "string"+ },+ "provider": {+ "type": "string"+ },+ "token": {+ "type": "string"+ }+ },+ "required": [+ "email",+ "provider",+ "token",+ "provider_uid",+ "api_key"+ ],+ "title": "User",+ "type": "object"+ }+ },+ "required": [+ "name"+ ],+ "title": "Team",+ "type": "object"+ }+ }+ },+ "description": "Team Parameters",+ "required": false+ },+ "responses": {+ "201": {+ "content": {+ "application/json": {+ "schema": {+ "properties": {+ "name": {+ "type": "string"+ },+ "team_users": {+ "items": {+ "properties": {+ "email": {+ "type": "string"+ },+ "name": {+ "type": "string"+ }+ },+ "required": [+ "email",+ "name"+ ],+ "title": "TeamUser",+ "type": "object"+ },+ "type": "array"+ },+ "token": {+ "type": "string"+ },+ "user": {+ "properties": {+ "api_key": {+ "type": "string"+ },+ "api_quota": {+ "type": "integer"+ },+ "bigquery_dataset_id": {+ "type": "string"+ },+ "bigquery_dataset_location": {+ "type": "string"+ },+ "bigquery_project_id": {+ "type": "string"+ },+ "company": {+ "type": "string"+ },+ "email": {+ "type": "string"+ },+ "email_me_product": {+ "type": "boolean"+ },+ "email_preferred": {+ "type": "string"+ },+ "image": {+ "type": "string"+ },+ "name": {+ "type": "string"+ },+ "phone": {+ "type": "string"+ },+ "provider": {+ "type": "string"+ },+ "token": {+ "type": "string"+ }+ },+ "required": [+ "email",+ "provider",+ "token",+ "provider_uid",+ "api_key"+ ],+ "title": "User",+ "type": "object"+ }+ },+ "required": [+ "name"+ ],+ "title": "Team",+ "type": "object"+ }+ }+ },+ "description": "Created Response"+ },+ "404": {+ "content": {+ "text/plain": {+ "schema": {+ "title": "NotFound"+ }+ }+ },+ "description": "Not found"+ }+ },+ "summary": "Create Team",+ "tags": [+ "management"+ ]+ }+ },+ "/api/teams/{token}": {+ "delete": {+ "callbacks": {},+ "operationId": "LogflareWeb.Api.TeamController.delete",+ "parameters": [+ {+ "description": "Team Token",+ "in": "path",+ "name": "token",+ "required": true,+ "schema": {+ "type": "string"+ }+ }+ ],+ "responses": {+ "204": {+ "content": {+ "text/plain": {+ "schema": {+ "title": "Accepted"+ }+ }+ },+ "description": "Accepted Response"+ },+ "404": {+ "content": {+ "text/plain": {+ "schema": {+ "title": "NotFound"+ }+ }+ },+ "description": "Not found"+ }+ },+ "summary": "Delete Team",+ "tags": [+ "management"+ ]+ },+ "get": {+ "callbacks": {},+ "operationId": "LogflareWeb.Api.TeamController.show",+ "parameters": [+ {+ "description": "Team Token",+ "in": "path",+ "name": "token",+ "required": true,+ "schema": {+ "type": "string"+ }+ }+ ],+ "responses": {+ "200": {+ "content": {+ "application/json": {+ "schema": {+ "properties": {+ "name": {+ "type": "string"+ },+ "team_users": {+ "items": {+ "properties": {+ "email": {+ "type": "string"+ },+ "name": {+ "type": "string"+ }+ },+ "required": [+ "email",+ "name"+ ],+ "title": "TeamUser",+ "type": "object"+ },+ "type": "array"+ },+ "token": {+ "type": "string"+ },+ "user": {+ "properties": {+ "api_key": {+ "type": "string"+ },+ "api_quota": {+ "type": "integer"+ },+ "bigquery_dataset_id": {+ "type": "string"+ },+ "bigquery_dataset_location": {+ "type": "string"+ },+ "bigquery_project_id": {+ "type": "string"+ },+ "company": {+ "type": "string"+ },+ "email": {+ "type": "string"+ },+ "email_me_product": {+ "type": "boolean"+ },+ "email_preferred": {+ "type": "string"+ },+ "image": {+ "type": "string"+ },+ "name": {+ "type": "string"+ },+ "phone": {+ "type": "string"+ },+ "provider": {+ "type": "string"+ },+ "token": {+ "type": "string"+ }+ },+ "required": [+ "email",+ "provider",+ "token",+ "provider_uid",+ "api_key"+ ],+ "title": "User",+ "type": "object"+ }+ },+ "required": [+ "name"+ ],+ "title": "Team",+ "type": "object"+ }+ }+ },+ "description": "Team Response"+ },+ "404": {+ "content": {+ "text/plain": {+ "schema": {+ "title": "NotFound"+ }+ }+ },+ "description": "Not found"+ }+ },+ "summary": "Fetch team",+ "tags": [+ "management"+ ]+ },+ "patch": {+ "callbacks": {},+ "operationId": "LogflareWeb.Api.TeamController.update",+ "parameters": [+ {+ "description": "Team Token",+ "in": "path",+ "name": "token",+ "required": true,+ "schema": {+ "type": "string"+ }+ }+ ],+ "requestBody": {+ "content": {+ "application/json": {+ "schema": {+ "properties": {+ "name": {+ "type": "string"+ },+ "team_users": {+ "items": {+ "properties": {+ "email": {+ "type": "string"+ },+ "name": {+ "type": "string"+ }+ },+ "required": [+ "email",+ "name"+ ],+ "title": "TeamUser",+ "type": "object"+ },+ "type": "array"+ },+ "token": {+ "type": "string"+ },+ "user": {+ "properties": {+ "api_key": {+ "type": "string"+ },+ "api_quota": {+ "type": "integer"+ },+ "bigquery_dataset_id": {+ "type": "string"+ },+ "bigquery_dataset_location": {+ "type": "string"+ },+ "bigquery_project_id": {+ "type": "string"+ },+ "company": {+ "type": "string"+ },+ "email": {+ "type": "string"+ },+ "email_me_product": {+ "type": "boolean"+ },+ "email_preferred": {+ "type": "string"+ },+ "image": {+ "type": "string"+ },+ "name": {+ "type": "string"+ },+ "phone": {+ "type": "string"+ },+ "provider": {+ "type": "string"+ },+ "token": {+ "type": "string"+ }+ },+ "required": [+ "email",+ "provider",+ "token",+ "provider_uid",+ "api_key"+ ],+ "title": "User",+ "type": "object"+ }+ },+ "required": [+ "name"+ ],+ "title": "Team",+ "type": "object"+ }+ }+ },+ "description": "Team Parameters",+ "required": false+ },+ "responses": {+ "201": {+ "content": {+ "application/json": {+ "schema": {+ "properties": {+ "name": {+ "type": "string"+ },+ "team_users": {+ "items": {+ "properties": {+ "email": {+ "type": "string"+ },+ "name": {+ "type": "string"+ }+ },+ "required": [+ "email",+ "name"+ ],+ "title": "TeamUser",+ "type": "object"+ },+ "type": "array"+ },+ "token": {+ "type": "string"+ },+ "user": {+ "properties": {+ "api_key": {+ "type": "string"+ },+ "api_quota": {+ "type": "integer"+ },+ "bigquery_dataset_id": {+ "type": "string"+ },+ "bigquery_dataset_location": {+ "type": "string"+ },+ "bigquery_project_id": {+ "type": "string"+ },+ "company": {+ "type": "string"+ },+ "email": {+ "type": "string"+ },+ "email_me_product": {+ "type": "boolean"+ },+ "email_preferred": {+ "type": "string"+ },+ "image": {+ "type": "string"+ },+ "name": {+ "type": "string"+ },+ "phone": {+ "type": "string"+ },+ "provider": {+ "type": "string"+ },+ "token": {+ "type": "string"+ }+ },+ "required": [+ "email",+ "provider",+ "token",+ "provider_uid",+ "api_key"+ ],+ "title": "User",+ "type": "object"+ }+ },+ "required": [+ "name"+ ],+ "title": "Team",+ "type": "object"+ }+ }+ },+ "description": "Created Response"+ },+ "404": {+ "content": {+ "text/plain": {+ "schema": {+ "title": "NotFound"+ }+ }+ },+ "description": "Not found"+ }+ },+ "summary": "Update team",+ "tags": [+ "management"+ ]+ },+ "put": {+ "callbacks": {},+ "operationId": "LogflareWeb.Api.TeamController.update (2)",+ "parameters": [+ {+ "description": "Team Token",+ "in": "path",+ "name": "token",+ "required": true,+ "schema": {+ "type": "string"+ }+ }+ ],+ "requestBody": {+ "content": {+ "application/json": {+ "schema": {+ "properties": {+ "name": {+ "type": "string"+ },+ "team_users": {+ "items": {+ "properties": {+ "email": {+ "type": "string"+ },+ "name": {+ "type": "string"+ }+ },+ "required": [+ "email",+ "name"+ ],+ "title": "TeamUser",+ "type": "object"+ },+ "type": "array"+ },+ "token": {+ "type": "string"+ },+ "user": {+ "properties": {+ "api_key": {+ "type": "string"+ },+ "api_quota": {+ "type": "integer"+ },+ "bigquery_dataset_id": {+ "type": "string"+ },+ "bigquery_dataset_location": {+ "type": "string"+ },+ "bigquery_project_id": {+ "type": "string"+ },+ "company": {+ "type": "string"+ },+ "email": {+ "type": "string"+ },+ "email_me_product": {+ "type": "boolean"+ },+ "email_preferred": {+ "type": "string"+ },+ "image": {+ "type": "string"+ },+ "name": {+ "type": "string"+ },+ "phone": {+ "type": "string"+ },+ "provider": {+ "type": "string"+ },+ "token": {+ "type": "string"+ }+ },+ "required": [+ "email",+ "provider",+ "token",+ "provider_uid",+ "api_key"+ ],+ "title": "User",+ "type": "object"+ }+ },+ "required": [+ "name"+ ],+ "title": "Team",+ "type": "object"+ }+ }+ },+ "description": "Team Parameters",+ "required": false+ },+ "responses": {+ "201": {+ "content": {+ "application/json": {+ "schema": {+ "properties": {+ "name": {+ "type": "string"+ },+ "team_users": {+ "items": {+ "properties": {+ "email": {+ "type": "string"+ },+ "name": {+ "type": "string"+ }+ },+ "required": [+ "email",+ "name"+ ],+ "title": "TeamUser",+ "type": "object"+ },+ "type": "array"+ },+ "token": {+ "type": "string"+ },+ "user": {+ "properties": {+ "api_key": {+ "type": "string"+ },+ "api_quota": {+ "type": "integer"+ },+ "bigquery_dataset_id": {+ "type": "string"+ },+ "bigquery_dataset_location": {+ "type": "string"+ },+ "bigquery_project_id": {+ "type": "string"+ },+ "company": {+ "type": "string"+ },+ "email": {+ "type": "string"+ },+ "email_me_product": {+ "type": "boolean"+ },+ "email_preferred": {+ "type": "string"+ },+ "image": {+ "type": "string"+ },+ "name": {+ "type": "string"+ },+ "phone": {+ "type": "string"+ },+ "provider": {+ "type": "string"+ },+ "token": {+ "type": "string"+ }+ },+ "required": [+ "email",+ "provider",+ "token",+ "provider_uid",+ "api_key"+ ],+ "title": "User",+ "type": "object"+ }+ },+ "required": [+ "name"+ ],+ "title": "Team",+ "type": "object"+ }+ }+ },+ "description": "Created Response"+ },+ "404": {+ "content": {+ "text/plain": {+ "schema": {+ "title": "NotFound"+ }+ }+ },+ "description": "Not found"+ }+ },+ "summary": "Update team",+ "tags": [+ "management"+ ]+ }+ }+ },+ "security": [],+ "servers": [+ {+ "url": "https://logflare.app",+ "variables": {}+ }+ ],+ "tags": []+}