{"openapi":"3.1.0","info":{"title":"Vex API","version":"1.0.0","description":"Generated from Rails routes. Run `bin/rails ts:client:openapi` after route changes."},"paths":{"/api/v1/agent/chat":{"post":{"operationId":"api_v1_chat","tags":["agent"],"parameters":[],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not found"},"422":{"description":"Unprocessable entity"},"502":{"description":"Bad gateway"}},"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"security":[{"bearerAuth":[]}]}},"/api/v1/agent/roder/session":{"post":{"operationId":"api_v1_roder_session","tags":["agent"],"parameters":[],"responses":{"200":{"description":"Roder browser session","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"$ref":"#/components/schemas/AgentRoderSession"}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Organization not found","content":{"application/json":{"schema":{"type":"object","required":["error"],"properties":{"error":{"type":"string"}}}}}},"422":{"description":"Unprocessable entity"},"502":{"description":"Bad gateway"},"400":{"description":"Organization is required","content":{"application/json":{"schema":{"type":"object","required":["error"],"properties":{"error":{"type":"string"}}}}}}},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"$ref":"#/components/schemas/AgentRoderSessionPayload"}}}},"security":[{"bearerAuth":[]}]}},"/api/v1/agent/roder/workspace_authorization":{"post":{"operationId":"api_v1_roder_workspace_authorization","tags":["agent"],"parameters":[],"responses":{"204":{"description":"The capability still authorizes native runner access"},"401":{"description":"Invalid, expired, revoked, or unauthorized agent capability","content":{"application/json":{"schema":{"type":"object","required":["error"],"properties":{"error":{"type":"string"}}}}}}},"security":[{"bearerAuth":[]}],"summary":"Revalidate a hosted runner capability at a native tool boundary","description":"Requires the server-held turn capability delegated by Roder and re-checks current user membership and beta access. Browser session capabilities are not accepted."}},"/api/v1/agent/roder/workspace_credentials":{"post":{"operationId":"api_v1_roder_workspace_credentials","tags":["agent"],"parameters":[],"responses":{"200":{"description":"Short-lived repository clone credential","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AgentRoderWorkspaceCredentials"}}}},"401":{"description":"Invalid, expired, or unauthorized agent capability","content":{"application/json":{"schema":{"type":"object","required":["error"],"properties":{"error":{"type":"string"}}}}}},"400":{"description":"Required credential lifetime is missing or invalid","content":{"application/json":{"schema":{"type":"object","required":["error"],"properties":{"error":{"type":"string"}}}}}},"503":{"description":"Agent repository access is not configured","content":{"application/json":{"schema":{"type":"object","required":["error"],"properties":{"error":{"type":"string"}}}}}}},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"$ref":"#/components/schemas/AgentRoderWorkspaceCredentialRequest"}}}},"security":[{"bearerAuth":[]}],"summary":"Exchange a delegated runner capability for home-repository clone credentials","description":"Requires the server-held turn capability delegated by Roder. Browser session capabilities, browser cookies, and personal access tokens are not accepted."}},"/api/v1/agent/swarms":{"get":{"operationId":"api_v1_swarms","tags":["agent"],"parameters":[],"responses":{"200":{"description":"Agent swarms visible to the current user","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"required":["swarms"],"properties":{"swarms":{"type":"array","items":{"$ref":"#/components/schemas/AgentSwarm"}}}}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not found"},"422":{"description":"Unprocessable entity"},"502":{"description":"Bad gateway"}},"security":[{"bearerAuth":[]}]},"post":{"operationId":"post_api_v1_agent_swarms","tags":["agent"],"parameters":[],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"401":{"description":"Unauthorized"},"403":{"description":"Invalid agent swarm request","content":{"application/json":{"schema":{"type":"object","required":["error"],"properties":{"error":{"type":"string"},"details":{"type":"array","items":{"type":"string"}}}}}}},"404":{"description":"Not found"},"422":{"description":"Invalid agent swarm request","content":{"application/json":{"schema":{"type":"object","required":["error"],"properties":{"error":{"type":"string"},"details":{"type":"array","items":{"type":"string"}}}}}}},"502":{"description":"Bad gateway"},"201":{"description":"Agent swarm created","content":{"application/json":{"schema":{"type":"object","required":["swarm"],"properties":{"swarm":{"$ref":"#/components/schemas/AgentSwarmDetail"}}}}}},"400":{"description":"Invalid agent swarm request","content":{"application/json":{"schema":{"type":"object","required":["error"],"properties":{"error":{"type":"string"},"details":{"type":"array","items":{"type":"string"}}}}}}}},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"$ref":"#/components/schemas/AgentSwarmCreatePayload"}}}},"security":[{"bearerAuth":[]}]}},"/api/v1/agent/swarms/{id}":{"get":{"operationId":"api_v1_swarm","tags":["agent"],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Agent swarm with recent tasks","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"required":["swarm"],"properties":{"swarm":{"$ref":"#/components/schemas/AgentSwarmDetail"}}}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Invalid agent swarm request","content":{"application/json":{"schema":{"type":"object","required":["error"],"properties":{"error":{"type":"string"},"details":{"type":"array","items":{"type":"string"}}}}}}},"422":{"description":"Unprocessable entity"},"502":{"description":"Bad gateway"}},"security":[{"bearerAuth":[]}]}},"/api/v1/agent/swarms/{swarm_id}/tasks":{"get":{"operationId":"api_v1_swarm_tasks","tags":["agent"],"parameters":[{"name":"swarm_id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Agent swarm tasks","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"required":["tasks"],"properties":{"tasks":{"type":"array","items":{"$ref":"#/components/schemas/AgentSwarmTask"}}}}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Invalid agent swarm request","content":{"application/json":{"schema":{"type":"object","required":["error"],"properties":{"error":{"type":"string"},"details":{"type":"array","items":{"type":"string"}}}}}}},"422":{"description":"Unprocessable entity"},"502":{"description":"Bad gateway"}},"security":[{"bearerAuth":[]}]}},"/api/v1/agent/swarms/{swarm_id}/tasks/{task_id}/leases":{"post":{"operationId":"api_v1_swarm_task_leases","tags":["agent"],"parameters":[{"name":"swarm_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"task_id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not found"},"422":{"description":"Unprocessable entity"},"502":{"description":"Bad gateway"}},"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"security":[{"bearerAuth":[]}]}},"/api/v1/agent/swarms/{swarm_id}/tasks/{task_id}/leases/{id}/claim":{"post":{"operationId":"claim_api_v1_swarm_task_lease","tags":["agent"],"parameters":[{"name":"swarm_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"task_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not found"},"422":{"description":"Unprocessable entity"},"502":{"description":"Bad gateway"}},"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"security":[{"bearerAuth":[]}]}},"/api/v1/agent/swarms/{swarm_id}/tasks/{task_id}/leases/{id}/heartbeat":{"post":{"operationId":"heartbeat_api_v1_swarm_task_lease","tags":["agent"],"parameters":[{"name":"swarm_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"task_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not found"},"422":{"description":"Unprocessable entity"},"502":{"description":"Bad gateway"}},"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"security":[{"bearerAuth":[]}]}},"/api/v1/agent/swarms/{swarm_id}/tasks/{task_id}/leases/{id}/release":{"post":{"operationId":"release_api_v1_swarm_task_lease","tags":["agent"],"parameters":[{"name":"swarm_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"task_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not found"},"422":{"description":"Unprocessable entity"},"502":{"description":"Bad gateway"}},"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"security":[{"bearerAuth":[]}]}},"/api/v1/agent/threads":{"get":{"operationId":"api_v1_threads","tags":["agent"],"parameters":[],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not found"},"422":{"description":"Unprocessable entity"},"502":{"description":"Bad gateway"}},"security":[{"bearerAuth":[]}]},"post":{"operationId":"post_api_v1_agent_threads","tags":["agent"],"parameters":[],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not found"},"422":{"description":"Unprocessable entity"},"502":{"description":"Bad gateway"}},"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"security":[{"bearerAuth":[]}]}},"/api/v1/agent/threads/{id}":{"get":{"operationId":"api_v1_thread","tags":["agent"],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not found"},"422":{"description":"Unprocessable entity"},"502":{"description":"Bad gateway"}},"security":[{"bearerAuth":[]}]}},"/api/v1/agent/threads/{id}/archive":{"post":{"operationId":"archive_api_v1_thread","tags":["agent"],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not found"},"422":{"description":"Unprocessable entity"},"502":{"description":"Bad gateway"}},"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"security":[{"bearerAuth":[]}]}},"/api/v1/artifacts/artifacts":{"get":{"operationId":"api_v1_artifacts","tags":["artifacts"],"parameters":[],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not found"},"422":{"description":"Unprocessable entity"},"502":{"description":"Bad gateway"}},"security":[{"bearerAuth":[]}]},"post":{"operationId":"post_api_v1_artifacts_artifacts","tags":["artifacts"],"parameters":[],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not found"},"422":{"description":"Unprocessable entity"},"502":{"description":"Bad gateway"}},"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"security":[{"bearerAuth":[]}]}},"/api/v1/artifacts/artifacts/{id}":{"get":{"operationId":"api_v1_artifact","tags":["artifacts"],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not found"},"422":{"description":"Unprocessable entity"},"502":{"description":"Bad gateway"}},"security":[{"bearerAuth":[]}]},"patch":{"operationId":"patch_api_v1_artifacts_artifacts_id_","tags":["artifacts"],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not found"},"422":{"description":"Unprocessable entity"},"502":{"description":"Bad gateway"}},"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"security":[{"bearerAuth":[]}]},"put":{"operationId":"put_api_v1_artifacts_artifacts_id_","tags":["artifacts"],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not found"},"422":{"description":"Unprocessable entity"},"502":{"description":"Bad gateway"}},"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"security":[{"bearerAuth":[]}]},"delete":{"operationId":"delete_api_v1_artifacts_artifacts_id_","tags":["artifacts"],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not found"},"422":{"description":"Unprocessable entity"},"502":{"description":"Bad gateway"}},"security":[{"bearerAuth":[]}]}},"/api/v1/artifacts/artifacts/{id}/expire":{"post":{"operationId":"expire_api_v1_artifact","tags":["artifacts"],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not found"},"422":{"description":"Unprocessable entity"},"502":{"description":"Bad gateway"}},"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"security":[{"bearerAuth":[]}]}},"/api/v1/artifacts/artifacts/{id}/issue_contract":{"post":{"operationId":"issue_contract_api_v1_artifact","tags":["artifacts"],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not found"},"422":{"description":"Unprocessable entity"},"502":{"description":"Bad gateway"}},"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"security":[{"bearerAuth":[]}]}},"/api/v1/artifacts/artifacts/{id}/restore":{"post":{"operationId":"restore_api_v1_artifact","tags":["artifacts"],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not found"},"422":{"description":"Unprocessable entity"},"502":{"description":"Bad gateway"}},"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"security":[{"bearerAuth":[]}]}},"/api/v1/artifacts/cache_namespaces":{"get":{"operationId":"api_v1_cache_namespaces","tags":["artifacts"],"parameters":[],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not found"},"422":{"description":"Unprocessable entity"},"502":{"description":"Bad gateway"}},"security":[{"bearerAuth":[]}]},"post":{"operationId":"post_api_v1_artifacts_cache_namespaces","tags":["artifacts"],"parameters":[],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not found"},"422":{"description":"Unprocessable entity"},"502":{"description":"Bad gateway"}},"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"security":[{"bearerAuth":[]}]}},"/api/v1/artifacts/cache_namespaces/{cache_namespace_id}/entries":{"get":{"operationId":"api_v1_cache_namespace_entries","tags":["artifacts"],"parameters":[{"name":"cache_namespace_id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not found"},"422":{"description":"Unprocessable entity"},"502":{"description":"Bad gateway"}},"security":[{"bearerAuth":[]}]},"post":{"operationId":"post_api_v1_artifacts_cache_namespaces_cache_namespace_id_entries","tags":["artifacts"],"parameters":[{"name":"cache_namespace_id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not found"},"422":{"description":"Unprocessable entity"},"502":{"description":"Bad gateway"}},"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"security":[{"bearerAuth":[]}]}},"/api/v1/artifacts/cache_namespaces/{cache_namespace_id}/entries/{id}":{"get":{"operationId":"api_v1_cache_namespace_entry","tags":["artifacts"],"parameters":[{"name":"cache_namespace_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not found"},"422":{"description":"Unprocessable entity"},"502":{"description":"Bad gateway"}},"security":[{"bearerAuth":[]}]},"patch":{"operationId":"patch_api_v1_artifacts_cache_namespaces_cache_namespace_id_entries_id_","tags":["artifacts"],"parameters":[{"name":"cache_namespace_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not found"},"422":{"description":"Unprocessable entity"},"502":{"description":"Bad gateway"}},"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"security":[{"bearerAuth":[]}]},"put":{"operationId":"put_api_v1_artifacts_cache_namespaces_cache_namespace_id_entries_id_","tags":["artifacts"],"parameters":[{"name":"cache_namespace_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not found"},"422":{"description":"Unprocessable entity"},"502":{"description":"Bad gateway"}},"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"security":[{"bearerAuth":[]}]},"delete":{"operationId":"delete_api_v1_artifacts_cache_namespaces_cache_namespace_id_entries_id_","tags":["artifacts"],"parameters":[{"name":"cache_namespace_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not found"},"422":{"description":"Unprocessable entity"},"502":{"description":"Bad gateway"}},"security":[{"bearerAuth":[]}]}},"/api/v1/artifacts/cache_namespaces/{cache_namespace_id}/entries/{id}/evict":{"post":{"operationId":"evict_api_v1_cache_namespace_entry","tags":["artifacts"],"parameters":[{"name":"cache_namespace_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not found"},"422":{"description":"Unprocessable entity"},"502":{"description":"Bad gateway"}},"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"security":[{"bearerAuth":[]}]}},"/api/v1/artifacts/cache_namespaces/{cache_namespace_id}/entries/{id}/issue_contract":{"post":{"operationId":"issue_contract_api_v1_cache_namespace_entry","tags":["artifacts"],"parameters":[{"name":"cache_namespace_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not found"},"422":{"description":"Unprocessable entity"},"502":{"description":"Bad gateway"}},"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"security":[{"bearerAuth":[]}]}},"/api/v1/artifacts/cache_namespaces/{cache_namespace_id}/entries/{id}/record_hit":{"post":{"operationId":"record_hit_api_v1_cache_namespace_entry","tags":["artifacts"],"parameters":[{"name":"cache_namespace_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not found"},"422":{"description":"Unprocessable entity"},"502":{"description":"Bad gateway"}},"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"security":[{"bearerAuth":[]}]}},"/api/v1/artifacts/cache_namespaces/{cache_namespace_id}/entries/{id}/record_miss":{"post":{"operationId":"record_miss_api_v1_cache_namespace_entry","tags":["artifacts"],"parameters":[{"name":"cache_namespace_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not found"},"422":{"description":"Unprocessable entity"},"502":{"description":"Bad gateway"}},"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"security":[{"bearerAuth":[]}]}},"/api/v1/artifacts/cache_namespaces/{id}":{"get":{"operationId":"api_v1_cache_namespace","tags":["artifacts"],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not found"},"422":{"description":"Unprocessable entity"},"502":{"description":"Bad gateway"}},"security":[{"bearerAuth":[]}]},"patch":{"operationId":"patch_api_v1_artifacts_cache_namespaces_id_","tags":["artifacts"],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not found"},"422":{"description":"Unprocessable entity"},"502":{"description":"Bad gateway"}},"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"security":[{"bearerAuth":[]}]},"put":{"operationId":"put_api_v1_artifacts_cache_namespaces_id_","tags":["artifacts"],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not found"},"422":{"description":"Unprocessable entity"},"502":{"description":"Bad gateway"}},"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"security":[{"bearerAuth":[]}]},"delete":{"operationId":"delete_api_v1_artifacts_cache_namespaces_id_","tags":["artifacts"],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not found"},"422":{"description":"Unprocessable entity"},"502":{"description":"Bad gateway"}},"security":[{"bearerAuth":[]}]}},"/api/v1/artifacts/cache_namespaces/{id}/archive":{"post":{"operationId":"archive_api_v1_cache_namespace","tags":["artifacts"],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not found"},"422":{"description":"Unprocessable entity"},"502":{"description":"Bad gateway"}},"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"security":[{"bearerAuth":[]}]}},"/api/v1/artifacts/cache_namespaces/{id}/pause":{"post":{"operationId":"pause_api_v1_cache_namespace","tags":["artifacts"],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not found"},"422":{"description":"Unprocessable entity"},"502":{"description":"Bad gateway"}},"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"security":[{"bearerAuth":[]}]}},"/api/v1/artifacts/cache_namespaces/{id}/resume":{"post":{"operationId":"resume_api_v1_cache_namespace","tags":["artifacts"],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not found"},"422":{"description":"Unprocessable entity"},"502":{"description":"Bad gateway"}},"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"security":[{"bearerAuth":[]}]}},"/api/v1/artifacts/image_repositories":{"get":{"operationId":"get_api_v1_artifacts_image_repositories","tags":["artifacts"],"parameters":[],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not found"},"422":{"description":"Unprocessable entity"},"502":{"description":"Bad gateway"}},"security":[{"bearerAuth":[]}]},"post":{"operationId":"post_api_v1_artifacts_image_repositories","tags":["artifacts"],"parameters":[],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not found"},"422":{"description":"Unprocessable entity"},"502":{"description":"Bad gateway"}},"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"security":[{"bearerAuth":[]}]}},"/api/v1/artifacts/image_repositories/{id}":{"get":{"operationId":"api_v1_image_repository","tags":["artifacts"],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not found"},"422":{"description":"Unprocessable entity"},"502":{"description":"Bad gateway"}},"security":[{"bearerAuth":[]}]},"patch":{"operationId":"patch_api_v1_artifacts_image_repositories_id_","tags":["artifacts"],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not found"},"422":{"description":"Unprocessable entity"},"502":{"description":"Bad gateway"}},"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"security":[{"bearerAuth":[]}]},"put":{"operationId":"put_api_v1_artifacts_image_repositories_id_","tags":["artifacts"],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not found"},"422":{"description":"Unprocessable entity"},"502":{"description":"Bad gateway"}},"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"security":[{"bearerAuth":[]}]},"delete":{"operationId":"delete_api_v1_artifacts_image_repositories_id_","tags":["artifacts"],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not found"},"422":{"description":"Unprocessable entity"},"502":{"description":"Bad gateway"}},"security":[{"bearerAuth":[]}]}},"/api/v1/artifacts/image_repositories/{id}/archive":{"post":{"operationId":"archive_api_v1_image_repository","tags":["artifacts"],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not found"},"422":{"description":"Unprocessable entity"},"502":{"description":"Bad gateway"}},"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"security":[{"bearerAuth":[]}]}},"/api/v1/artifacts/image_repositories/{id}/contract":{"post":{"operationId":"contract_api_v1_image_repository","tags":["artifacts"],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Image repository push or pull contract","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"$ref":"#/components/schemas/ImageRepositoryContractResponse"}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not found"},"422":{"description":"Unprocessable entity"},"502":{"description":"Bad gateway"}},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"$ref":"#/components/schemas/ImageRepositoryContractPayload"}}}},"security":[{"bearerAuth":[]}]}},"/api/v1/artifacts/image_repositories/{id}/pause":{"post":{"operationId":"pause_api_v1_image_repository","tags":["artifacts"],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not found"},"422":{"description":"Unprocessable entity"},"502":{"description":"Bad gateway"}},"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"security":[{"bearerAuth":[]}]}},"/api/v1/artifacts/image_repositories/{id}/resume":{"post":{"operationId":"resume_api_v1_image_repository","tags":["artifacts"],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not found"},"422":{"description":"Unprocessable entity"},"502":{"description":"Bad gateway"}},"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"security":[{"bearerAuth":[]}]}},"/api/v1/artifacts/image_repositories/{id}/tags":{"get":{"operationId":"tags_api_v1_image_repository","tags":["artifacts"],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Image repository tags","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"$ref":"#/components/schemas/ImageRepositoryTagsResponse"}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not found"},"422":{"description":"Unprocessable entity"},"502":{"description":"Bad gateway"}},"security":[{"bearerAuth":[]}]}},"/api/v1/artifacts/package_mirrors":{"get":{"operationId":"api_v1_package_mirrors","tags":["artifacts"],"parameters":[],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not found"},"422":{"description":"Unprocessable entity"},"502":{"description":"Bad gateway"}},"security":[{"bearerAuth":[]}]},"post":{"operationId":"post_api_v1_artifacts_package_mirrors","tags":["artifacts"],"parameters":[],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not found"},"422":{"description":"Unprocessable entity"},"502":{"description":"Bad gateway"}},"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"security":[{"bearerAuth":[]}]}},"/api/v1/artifacts/package_mirrors/{id}":{"get":{"operationId":"api_v1_package_mirror","tags":["artifacts"],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not found"},"422":{"description":"Unprocessable entity"},"502":{"description":"Bad gateway"}},"security":[{"bearerAuth":[]}]},"patch":{"operationId":"patch_api_v1_artifacts_package_mirrors_id_","tags":["artifacts"],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not found"},"422":{"description":"Unprocessable entity"},"502":{"description":"Bad gateway"}},"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"security":[{"bearerAuth":[]}]},"put":{"operationId":"put_api_v1_artifacts_package_mirrors_id_","tags":["artifacts"],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not found"},"422":{"description":"Unprocessable entity"},"502":{"description":"Bad gateway"}},"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"security":[{"bearerAuth":[]}]},"delete":{"operationId":"delete_api_v1_artifacts_package_mirrors_id_","tags":["artifacts"],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not found"},"422":{"description":"Unprocessable entity"},"502":{"description":"Bad gateway"}},"security":[{"bearerAuth":[]}]}},"/api/v1/artifacts/package_mirrors/{id}/pause":{"post":{"operationId":"pause_api_v1_package_mirror","tags":["artifacts"],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not found"},"422":{"description":"Unprocessable entity"},"502":{"description":"Bad gateway"}},"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"security":[{"bearerAuth":[]}]}},"/api/v1/artifacts/package_mirrors/{id}/resume":{"post":{"operationId":"resume_api_v1_package_mirror","tags":["artifacts"],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not found"},"422":{"description":"Unprocessable entity"},"502":{"description":"Bad gateway"}},"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"security":[{"bearerAuth":[]}]}},"/api/v1/artifacts/package_mirrors/{id}/sync":{"post":{"operationId":"sync_api_v1_package_mirror","tags":["artifacts"],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not found"},"422":{"description":"Unprocessable entity"},"502":{"description":"Bad gateway"}},"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"security":[{"bearerAuth":[]}]}},"/api/v1/artifacts/retention_policies":{"get":{"operationId":"api_v1_retention_policies","tags":["artifacts"],"parameters":[],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not found"},"422":{"description":"Unprocessable entity"},"502":{"description":"Bad gateway"}},"security":[{"bearerAuth":[]}]},"post":{"operationId":"post_api_v1_artifacts_retention_policies","tags":["artifacts"],"parameters":[],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not found"},"422":{"description":"Unprocessable entity"},"502":{"description":"Bad gateway"}},"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"security":[{"bearerAuth":[]}]}},"/api/v1/artifacts/retention_policies/{id}":{"get":{"operationId":"api_v1_retention_policy","tags":["artifacts"],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not found"},"422":{"description":"Unprocessable entity"},"502":{"description":"Bad gateway"}},"security":[{"bearerAuth":[]}]},"patch":{"operationId":"patch_api_v1_artifacts_retention_policies_id_","tags":["artifacts"],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not found"},"422":{"description":"Unprocessable entity"},"502":{"description":"Bad gateway"}},"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"security":[{"bearerAuth":[]}]},"put":{"operationId":"put_api_v1_artifacts_retention_policies_id_","tags":["artifacts"],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not found"},"422":{"description":"Unprocessable entity"},"502":{"description":"Bad gateway"}},"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"security":[{"bearerAuth":[]}]},"delete":{"operationId":"delete_api_v1_artifacts_retention_policies_id_","tags":["artifacts"],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not found"},"422":{"description":"Unprocessable entity"},"502":{"description":"Bad gateway"}},"security":[{"bearerAuth":[]}]}},"/api/v1/auth/cli/complete":{"post":{"operationId":"api_v1_auth_cli_complete","tags":["auth"],"parameters":[],"responses":{"200":{"description":"CLI login completed","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"required":["status"],"properties":{"status":{"type":"string"}}}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not found"},"422":{"description":"Unprocessable entity"},"502":{"description":"Bad gateway"}},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"$ref":"#/components/schemas/CliLoginCompletePayload"}}}},"security":[{"bearerAuth":[]}]}},"/api/v1/auth/cli/exchange":{"post":{"operationId":"api_v1_auth_cli_exchange","tags":["auth"],"parameters":[],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not found"},"422":{"description":"Unprocessable entity"},"502":{"description":"Bad gateway"}},"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"security":[{"bearerAuth":[]}]}},"/api/v1/auth/cli/start":{"post":{"operationId":"api_v1_auth_cli_start","tags":["auth"],"parameters":[],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not found"},"422":{"description":"Unprocessable entity"},"502":{"description":"Bad gateway"}},"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"security":[{"bearerAuth":[]}]}},"/api/v1/auth/csrf":{"get":{"operationId":"api_v1_auth_csrf","tags":["auth"],"parameters":[],"responses":{"200":{"description":"Browser CSRF token","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"required":["csrf_token"],"properties":{"csrf_token":{"type":"string"}}}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not found"},"422":{"description":"Unprocessable entity"},"502":{"description":"Bad gateway"}},"security":[{"bearerAuth":[]}]}},"/api/v1/auth/github":{"post":{"operationId":"api_v1_auth_github","tags":["auth"],"parameters":[],"responses":{"200":{"description":"Authenticated user session","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"$ref":"#/components/schemas/AuthSession","required":["id","email","name","picture_url","organizations","active_organization","pending_organization_invitation_count","pending_organization_invitation_count_label"],"properties":{"id":{"type":"string"},"email":{"type":"string","format":"email"},"name":{"type":"string","nullable":true},"picture_url":{"type":"string","nullable":true},"superadmin":{"type":"boolean"},"organizations":{"type":"array","items":{"type":"object","required":["id","slug","name","logo_url","role","personal","member_count","pending_invitation_count","allow_author_self_review_on_main_repo","author_self_review_on_main_repo_effective","allow_author_self_review_on_home_repository","author_self_review_on_home_repository_effective","main_repository_slug","main_repository_display_name","home_repository_slug","home_repository_display_name","created_at","updated_at","created_at_label","updated_at_label"],"properties":{"id":{"type":"string"},"slug":{"type":"string"},"name":{"type":"string"},"logo_url":{"type":"string","nullable":true},"role":{"type":"string","nullable":true},"personal":{"type":"boolean"},"member_count":{"type":"integer","minimum":0},"pending_invitation_count":{"type":"integer","minimum":0},"allow_author_self_review_on_main_repo":{"type":"boolean"},"author_self_review_on_main_repo_effective":{"type":"boolean"},"allow_author_self_review_on_home_repository":{"type":"boolean"},"author_self_review_on_home_repository_effective":{"type":"boolean"},"main_repository_slug":{"type":"string"},"main_repository_display_name":{"type":"string"},"home_repository_slug":{"type":"string"},"home_repository_display_name":{"type":"string"},"created_at":{"type":"string","format":"date-time"},"updated_at":{"type":"string","format":"date-time"},"created_at_label":{"type":"string","nullable":true},"updated_at_label":{"type":"string","nullable":true}}}},"active_organization":{"oneOf":[{"type":"object","required":["id","slug","name","logo_url","role","personal","member_count","pending_invitation_count","allow_author_self_review_on_main_repo","author_self_review_on_main_repo_effective","allow_author_self_review_on_home_repository","author_self_review_on_home_repository_effective","main_repository_slug","main_repository_display_name","home_repository_slug","home_repository_display_name","created_at","updated_at","created_at_label","updated_at_label"],"properties":{"id":{"type":"string"},"slug":{"type":"string"},"name":{"type":"string"},"logo_url":{"type":"string","nullable":true},"role":{"type":"string","nullable":true},"personal":{"type":"boolean"},"member_count":{"type":"integer","minimum":0},"pending_invitation_count":{"type":"integer","minimum":0},"allow_author_self_review_on_main_repo":{"type":"boolean"},"author_self_review_on_main_repo_effective":{"type":"boolean"},"allow_author_self_review_on_home_repository":{"type":"boolean"},"author_self_review_on_home_repository_effective":{"type":"boolean"},"main_repository_slug":{"type":"string"},"main_repository_display_name":{"type":"string"},"home_repository_slug":{"type":"string"},"home_repository_display_name":{"type":"string"},"created_at":{"type":"string","format":"date-time"},"updated_at":{"type":"string","format":"date-time"},"created_at_label":{"type":"string","nullable":true},"updated_at_label":{"type":"string","nullable":true}}},{"type":"null"}]},"pending_organization_invitation_count":{"type":"integer","minimum":0},"pending_organization_invitation_count_label":{"type":"string"},"api_token":{"type":"string"},"api_base_url":{"type":"string","format":"uri"}}}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not found"},"422":{"description":"Unprocessable entity"},"502":{"description":"Bad gateway"}},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"required":["code","redirect_uri","state"],"properties":{"code":{"type":"string"},"redirect_uri":{"type":"string","format":"uri"},"state":{"type":"string"}}}}}},"security":[]}},"/api/v1/auth/github/start":{"get":{"operationId":"api_v1_auth_github_start","tags":["auth"],"parameters":[{"name":"redirect_uri","in":"query","required":true,"schema":{"type":"string","format":"uri"}}],"responses":{"200":{"description":"Provider authorization URL","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"required":["auth_url"],"properties":{"auth_url":{"type":"string","format":"uri"}}}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not found"},"422":{"description":"Unprocessable entity"},"502":{"description":"Bad gateway"}},"security":[{"bearerAuth":[]}]}},"/api/v1/auth/google":{"post":{"operationId":"api_v1_auth_google","tags":["auth"],"parameters":[],"responses":{"200":{"description":"Authenticated user session","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"$ref":"#/components/schemas/AuthSession","required":["id","email","name","picture_url","organizations","active_organization","pending_organization_invitation_count","pending_organization_invitation_count_label"],"properties":{"id":{"type":"string"},"email":{"type":"string","format":"email"},"name":{"type":"string","nullable":true},"picture_url":{"type":"string","nullable":true},"superadmin":{"type":"boolean"},"organizations":{"type":"array","items":{"type":"object","required":["id","slug","name","logo_url","role","personal","member_count","pending_invitation_count","allow_author_self_review_on_main_repo","author_self_review_on_main_repo_effective","allow_author_self_review_on_home_repository","author_self_review_on_home_repository_effective","main_repository_slug","main_repository_display_name","home_repository_slug","home_repository_display_name","created_at","updated_at","created_at_label","updated_at_label"],"properties":{"id":{"type":"string"},"slug":{"type":"string"},"name":{"type":"string"},"logo_url":{"type":"string","nullable":true},"role":{"type":"string","nullable":true},"personal":{"type":"boolean"},"member_count":{"type":"integer","minimum":0},"pending_invitation_count":{"type":"integer","minimum":0},"allow_author_self_review_on_main_repo":{"type":"boolean"},"author_self_review_on_main_repo_effective":{"type":"boolean"},"allow_author_self_review_on_home_repository":{"type":"boolean"},"author_self_review_on_home_repository_effective":{"type":"boolean"},"main_repository_slug":{"type":"string"},"main_repository_display_name":{"type":"string"},"home_repository_slug":{"type":"string"},"home_repository_display_name":{"type":"string"},"created_at":{"type":"string","format":"date-time"},"updated_at":{"type":"string","format":"date-time"},"created_at_label":{"type":"string","nullable":true},"updated_at_label":{"type":"string","nullable":true}}}},"active_organization":{"oneOf":[{"type":"object","required":["id","slug","name","logo_url","role","personal","member_count","pending_invitation_count","allow_author_self_review_on_main_repo","author_self_review_on_main_repo_effective","allow_author_self_review_on_home_repository","author_self_review_on_home_repository_effective","main_repository_slug","main_repository_display_name","home_repository_slug","home_repository_display_name","created_at","updated_at","created_at_label","updated_at_label"],"properties":{"id":{"type":"string"},"slug":{"type":"string"},"name":{"type":"string"},"logo_url":{"type":"string","nullable":true},"role":{"type":"string","nullable":true},"personal":{"type":"boolean"},"member_count":{"type":"integer","minimum":0},"pending_invitation_count":{"type":"integer","minimum":0},"allow_author_self_review_on_main_repo":{"type":"boolean"},"author_self_review_on_main_repo_effective":{"type":"boolean"},"allow_author_self_review_on_home_repository":{"type":"boolean"},"author_self_review_on_home_repository_effective":{"type":"boolean"},"main_repository_slug":{"type":"string"},"main_repository_display_name":{"type":"string"},"home_repository_slug":{"type":"string"},"home_repository_display_name":{"type":"string"},"created_at":{"type":"string","format":"date-time"},"updated_at":{"type":"string","format":"date-time"},"created_at_label":{"type":"string","nullable":true},"updated_at_label":{"type":"string","nullable":true}}},{"type":"null"}]},"pending_organization_invitation_count":{"type":"integer","minimum":0},"pending_organization_invitation_count_label":{"type":"string"},"api_token":{"type":"string"},"api_base_url":{"type":"string","format":"uri"}}}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not found"},"422":{"description":"Unprocessable entity"},"502":{"description":"Bad gateway"}},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"required":["code","redirect_uri","state"],"properties":{"code":{"type":"string"},"redirect_uri":{"type":"string","format":"uri"},"state":{"type":"string"}}}}}},"security":[]}},"/api/v1/auth/google/start":{"get":{"operationId":"api_v1_auth_google_start","tags":["auth"],"parameters":[{"name":"redirect_uri","in":"query","required":true,"schema":{"type":"string","format":"uri"}}],"responses":{"200":{"description":"Provider authorization URL","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"required":["auth_url"],"properties":{"auth_url":{"type":"string","format":"uri"}}}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not found"},"422":{"description":"Unprocessable entity"},"502":{"description":"Bad gateway"}},"security":[{"bearerAuth":[]}]}},"/api/v1/auth/login":{"post":{"operationId":"api_v1_auth_login","tags":["auth"],"parameters":[],"responses":{"200":{"description":"Authenticated user session","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"$ref":"#/components/schemas/AuthSession","required":["id","email","name","picture_url","organizations","active_organization","pending_organization_invitation_count","pending_organization_invitation_count_label"],"properties":{"id":{"type":"string"},"email":{"type":"string","format":"email"},"name":{"type":"string","nullable":true},"picture_url":{"type":"string","nullable":true},"superadmin":{"type":"boolean"},"organizations":{"type":"array","items":{"type":"object","required":["id","slug","name","logo_url","role","personal","member_count","pending_invitation_count","allow_author_self_review_on_main_repo","author_self_review_on_main_repo_effective","allow_author_self_review_on_home_repository","author_self_review_on_home_repository_effective","main_repository_slug","main_repository_display_name","home_repository_slug","home_repository_display_name","created_at","updated_at","created_at_label","updated_at_label"],"properties":{"id":{"type":"string"},"slug":{"type":"string"},"name":{"type":"string"},"logo_url":{"type":"string","nullable":true},"role":{"type":"string","nullable":true},"personal":{"type":"boolean"},"member_count":{"type":"integer","minimum":0},"pending_invitation_count":{"type":"integer","minimum":0},"allow_author_self_review_on_main_repo":{"type":"boolean"},"author_self_review_on_main_repo_effective":{"type":"boolean"},"allow_author_self_review_on_home_repository":{"type":"boolean"},"author_self_review_on_home_repository_effective":{"type":"boolean"},"main_repository_slug":{"type":"string"},"main_repository_display_name":{"type":"string"},"home_repository_slug":{"type":"string"},"home_repository_display_name":{"type":"string"},"created_at":{"type":"string","format":"date-time"},"updated_at":{"type":"string","format":"date-time"},"created_at_label":{"type":"string","nullable":true},"updated_at_label":{"type":"string","nullable":true}}}},"active_organization":{"oneOf":[{"type":"object","required":["id","slug","name","logo_url","role","personal","member_count","pending_invitation_count","allow_author_self_review_on_main_repo","author_self_review_on_main_repo_effective","allow_author_self_review_on_home_repository","author_self_review_on_home_repository_effective","main_repository_slug","main_repository_display_name","home_repository_slug","home_repository_display_name","created_at","updated_at","created_at_label","updated_at_label"],"properties":{"id":{"type":"string"},"slug":{"type":"string"},"name":{"type":"string"},"logo_url":{"type":"string","nullable":true},"role":{"type":"string","nullable":true},"personal":{"type":"boolean"},"member_count":{"type":"integer","minimum":0},"pending_invitation_count":{"type":"integer","minimum":0},"allow_author_self_review_on_main_repo":{"type":"boolean"},"author_self_review_on_main_repo_effective":{"type":"boolean"},"allow_author_self_review_on_home_repository":{"type":"boolean"},"author_self_review_on_home_repository_effective":{"type":"boolean"},"main_repository_slug":{"type":"string"},"main_repository_display_name":{"type":"string"},"home_repository_slug":{"type":"string"},"home_repository_display_name":{"type":"string"},"created_at":{"type":"string","format":"date-time"},"updated_at":{"type":"string","format":"date-time"},"created_at_label":{"type":"string","nullable":true},"updated_at_label":{"type":"string","nullable":true}}},{"type":"null"}]},"pending_organization_invitation_count":{"type":"integer","minimum":0},"pending_organization_invitation_count_label":{"type":"string"},"api_token":{"type":"string"},"api_base_url":{"type":"string","format":"uri"}}}}}},"401":{"description":"Invalid email or password"},"403":{"description":"Forbidden"},"404":{"description":"Not found"},"422":{"description":"Unprocessable entity"},"502":{"description":"Bad gateway"}},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"required":["email","password"],"properties":{"email":{"type":"string","format":"email"},"password":{"type":"string","format":"password"}}}}}},"security":[]}},"/api/v1/auth/logout":{"post":{"operationId":"api_v1_auth_logout","tags":["auth"],"parameters":[],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not found"},"422":{"description":"Unprocessable entity"},"502":{"description":"Bad gateway"},"204":{"description":"Session cleared"}},"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"security":[{"bearerAuth":[]}]}},"/api/v1/auth/register":{"post":{"operationId":"api_v1_auth_register","tags":["auth"],"parameters":[],"responses":{"200":{"description":"Authenticated user session","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"$ref":"#/components/schemas/AuthSession","required":["id","email","name","picture_url","organizations","active_organization","pending_organization_invitation_count","pending_organization_invitation_count_label"],"properties":{"id":{"type":"string"},"email":{"type":"string","format":"email"},"name":{"type":"string","nullable":true},"picture_url":{"type":"string","nullable":true},"superadmin":{"type":"boolean"},"organizations":{"type":"array","items":{"type":"object","required":["id","slug","name","logo_url","role","personal","member_count","pending_invitation_count","allow_author_self_review_on_main_repo","author_self_review_on_main_repo_effective","allow_author_self_review_on_home_repository","author_self_review_on_home_repository_effective","main_repository_slug","main_repository_display_name","home_repository_slug","home_repository_display_name","created_at","updated_at","created_at_label","updated_at_label"],"properties":{"id":{"type":"string"},"slug":{"type":"string"},"name":{"type":"string"},"logo_url":{"type":"string","nullable":true},"role":{"type":"string","nullable":true},"personal":{"type":"boolean"},"member_count":{"type":"integer","minimum":0},"pending_invitation_count":{"type":"integer","minimum":0},"allow_author_self_review_on_main_repo":{"type":"boolean"},"author_self_review_on_main_repo_effective":{"type":"boolean"},"allow_author_self_review_on_home_repository":{"type":"boolean"},"author_self_review_on_home_repository_effective":{"type":"boolean"},"main_repository_slug":{"type":"string"},"main_repository_display_name":{"type":"string"},"home_repository_slug":{"type":"string"},"home_repository_display_name":{"type":"string"},"created_at":{"type":"string","format":"date-time"},"updated_at":{"type":"string","format":"date-time"},"created_at_label":{"type":"string","nullable":true},"updated_at_label":{"type":"string","nullable":true}}}},"active_organization":{"oneOf":[{"type":"object","required":["id","slug","name","logo_url","role","personal","member_count","pending_invitation_count","allow_author_self_review_on_main_repo","author_self_review_on_main_repo_effective","allow_author_self_review_on_home_repository","author_self_review_on_home_repository_effective","main_repository_slug","main_repository_display_name","home_repository_slug","home_repository_display_name","created_at","updated_at","created_at_label","updated_at_label"],"properties":{"id":{"type":"string"},"slug":{"type":"string"},"name":{"type":"string"},"logo_url":{"type":"string","nullable":true},"role":{"type":"string","nullable":true},"personal":{"type":"boolean"},"member_count":{"type":"integer","minimum":0},"pending_invitation_count":{"type":"integer","minimum":0},"allow_author_self_review_on_main_repo":{"type":"boolean"},"author_self_review_on_main_repo_effective":{"type":"boolean"},"allow_author_self_review_on_home_repository":{"type":"boolean"},"author_self_review_on_home_repository_effective":{"type":"boolean"},"main_repository_slug":{"type":"string"},"main_repository_display_name":{"type":"string"},"home_repository_slug":{"type":"string"},"home_repository_display_name":{"type":"string"},"created_at":{"type":"string","format":"date-time"},"updated_at":{"type":"string","format":"date-time"},"created_at_label":{"type":"string","nullable":true},"updated_at_label":{"type":"string","nullable":true}}},{"type":"null"}]},"pending_organization_invitation_count":{"type":"integer","minimum":0},"pending_organization_invitation_count_label":{"type":"string"},"api_token":{"type":"string"},"api_base_url":{"type":"string","format":"uri"}}}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not found"},"422":{"description":"Unprocessable entity"},"502":{"description":"Bad gateway"}},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"required":["email","password"],"properties":{"email":{"type":"string","format":"email"},"password":{"type":"string","format":"password"},"name":{"type":"string","nullable":true}}}}}},"security":[]}},"/api/v1/bazel/action_results/{hash}/{size_bytes}":{"get":{"operationId":"get_api_v1_bazel_action_results_hash_size_bytes_","tags":["bazel"],"parameters":[{"name":"hash","in":"path","required":true,"schema":{"type":"string"}},{"name":"size_bytes","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not found"},"422":{"description":"Unprocessable entity"},"502":{"description":"Bad gateway"}},"security":[{"bearerAuth":[]}]},"put":{"operationId":"put_api_v1_bazel_action_results_hash_size_bytes_","tags":["bazel"],"parameters":[{"name":"hash","in":"path","required":true,"schema":{"type":"string"}},{"name":"size_bytes","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not found"},"422":{"description":"Unprocessable entity"},"502":{"description":"Bad gateway"}},"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"security":[{"bearerAuth":[]}]}},"/api/v1/bazel/authorize":{"post":{"operationId":"api_v1_authorize","tags":["bazel"],"parameters":[],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not found"},"422":{"description":"Unprocessable entity"},"502":{"description":"Bad gateway"}},"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"security":[{"bearerAuth":[]}]}},"/api/v1/bazel/backends":{"get":{"operationId":"api_v1_backends","tags":["bazel"],"parameters":[],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not found"},"422":{"description":"Unprocessable entity"},"502":{"description":"Bad gateway"}},"security":[{"bearerAuth":[]}]},"post":{"operationId":"post_api_v1_bazel_backends","tags":["bazel"],"parameters":[],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not found"},"422":{"description":"Unprocessable entity"},"502":{"description":"Bad gateway"}},"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"security":[{"bearerAuth":[]}]}},"/api/v1/bazel/backends/{backend_id}/runner_pools":{"get":{"operationId":"api_v1_backend_runner_pools","tags":["bazel"],"parameters":[{"name":"backend_id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not found"},"422":{"description":"Unprocessable entity"},"502":{"description":"Bad gateway"}},"security":[{"bearerAuth":[]}]},"post":{"operationId":"post_api_v1_bazel_backends_backend_id_runner_pools","tags":["bazel"],"parameters":[{"name":"backend_id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not found"},"422":{"description":"Unprocessable entity"},"502":{"description":"Bad gateway"}},"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"security":[{"bearerAuth":[]}]}},"/api/v1/bazel/backends/{backend_id}/runner_pools/{id}":{"delete":{"operationId":"api_v1_backend_runner_pool","tags":["bazel"],"parameters":[{"name":"backend_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not found"},"422":{"description":"Unprocessable entity"},"502":{"description":"Bad gateway"}},"security":[{"bearerAuth":[]}]}},"/api/v1/bazel/backends/{id}":{"get":{"operationId":"api_v1_backend","tags":["bazel"],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not found"},"422":{"description":"Unprocessable entity"},"502":{"description":"Bad gateway"}},"security":[{"bearerAuth":[]}]},"patch":{"operationId":"patch_api_v1_bazel_backends_id_","tags":["bazel"],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not found"},"422":{"description":"Unprocessable entity"},"502":{"description":"Bad gateway"}},"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"security":[{"bearerAuth":[]}]},"put":{"operationId":"put_api_v1_bazel_backends_id_","tags":["bazel"],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not found"},"422":{"description":"Unprocessable entity"},"502":{"description":"Bad gateway"}},"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"security":[{"bearerAuth":[]}]},"delete":{"operationId":"delete_api_v1_bazel_backends_id_","tags":["bazel"],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not found"},"422":{"description":"Unprocessable entity"},"502":{"description":"Bad gateway"}},"security":[{"bearerAuth":[]}]}},"/api/v1/bazel/backends/{id}/issue_token":{"post":{"operationId":"issue_token_api_v1_backend","tags":["bazel"],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not found"},"422":{"description":"Unprocessable entity"},"502":{"description":"Bad gateway"}},"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"security":[{"bearerAuth":[]}]}},"/api/v1/bazel/backends/{id}/pause":{"post":{"operationId":"pause_api_v1_backend","tags":["bazel"],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not found"},"422":{"description":"Unprocessable entity"},"502":{"description":"Bad gateway"}},"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"security":[{"bearerAuth":[]}]}},"/api/v1/bazel/backends/{id}/resume":{"post":{"operationId":"resume_api_v1_backend","tags":["bazel"],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not found"},"422":{"description":"Unprocessable entity"},"502":{"description":"Bad gateway"}},"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"security":[{"bearerAuth":[]}]}},"/api/v1/bazel/blobs/{kind}/{hash}/{size_bytes}":{"put":{"operationId":"put_api_v1_bazel_blobs_kind_hash_size_bytes_","tags":["bazel"],"parameters":[{"name":"kind","in":"path","required":true,"schema":{"type":"string"}},{"name":"hash","in":"path","required":true,"schema":{"type":"string"}},{"name":"size_bytes","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not found"},"422":{"description":"Unprocessable entity"},"502":{"description":"Bad gateway"}},"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"security":[{"bearerAuth":[]}]},"get":{"operationId":"get_api_v1_bazel_blobs_kind_hash_size_bytes_","tags":["bazel"],"parameters":[{"name":"kind","in":"path","required":true,"schema":{"type":"string"}},{"name":"hash","in":"path","required":true,"schema":{"type":"string"}},{"name":"size_bytes","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not found"},"422":{"description":"Unprocessable entity"},"502":{"description":"Bad gateway"}},"security":[{"bearerAuth":[]}]}},"/api/v1/bazel/executions":{"post":{"operationId":"api_v1_executions","tags":["bazel"],"parameters":[],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not found"},"422":{"description":"Unprocessable entity"},"502":{"description":"Bad gateway"}},"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"security":[{"bearerAuth":[]}]}},"/api/v1/bazel/executions/claim_next":{"post":{"operationId":"api_v1_executions_claim_next","tags":["bazel"],"parameters":[],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not found"},"422":{"description":"Unprocessable entity"},"502":{"description":"Bad gateway"}},"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"security":[{"bearerAuth":[]}]}},"/api/v1/bazel/executions/lookup":{"get":{"operationId":"api_v1_executions_lookup","tags":["bazel"],"parameters":[],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not found"},"422":{"description":"Unprocessable entity"},"502":{"description":"Bad gateway"}},"security":[{"bearerAuth":[]}]}},"/api/v1/bazel/executions/{id}":{"get":{"operationId":"get_api_v1_bazel_executions_id_","tags":["bazel"],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not found"},"422":{"description":"Unprocessable entity"},"502":{"description":"Bad gateway"}},"security":[{"bearerAuth":[]}]}},"/api/v1/bazel/executions/{id}/complete":{"post":{"operationId":"post_api_v1_bazel_executions_id_complete","tags":["bazel"],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not found"},"422":{"description":"Unprocessable entity"},"502":{"description":"Bad gateway"}},"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"security":[{"bearerAuth":[]}]}},"/api/v1/bazel/executions/{id}/fail":{"post":{"operationId":"post_api_v1_bazel_executions_id_fail","tags":["bazel"],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not found"},"422":{"description":"Unprocessable entity"},"502":{"description":"Bad gateway"}},"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"security":[{"bearerAuth":[]}]}},"/api/v1/bazel/executions/{id}/heartbeat":{"post":{"operationId":"post_api_v1_bazel_executions_id_heartbeat","tags":["bazel"],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not found"},"422":{"description":"Unprocessable entity"},"502":{"description":"Bad gateway"}},"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"security":[{"bearerAuth":[]}]}},"/api/v1/bazel/find_missing_blobs":{"post":{"operationId":"api_v1_find_missing_blobs","tags":["bazel"],"parameters":[],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not found"},"422":{"description":"Unprocessable entity"},"502":{"description":"Bad gateway"}},"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"security":[{"bearerAuth":[]}]}},"/api/v1/cdn_spaces/{cdn_space_id}/objects":{"put":{"operationId":"api_v1_cdn_space_objects","tags":["cdn_spaces"],"parameters":[{"name":"cdn_space_id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not found"},"422":{"description":"Unprocessable entity"},"502":{"description":"Bad gateway"}},"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"security":[{"bearerAuth":[]}]},"get":{"operationId":"get_api_v1_cdn_spaces_cdn_space_id_objects","tags":["cdn_spaces"],"parameters":[{"name":"cdn_space_id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not found"},"422":{"description":"Unprocessable entity"},"502":{"description":"Bad gateway"}},"security":[{"bearerAuth":[]}]}},"/api/v1/cdn_spaces/{cdn_space_id}/objects/{path}":{"get":{"operationId":"get_api_v1_cdn_spaces_cdn_space_id_objects_path_","tags":["cdn_spaces"],"parameters":[{"name":"cdn_space_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"path","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not found"},"422":{"description":"Unprocessable entity"},"502":{"description":"Bad gateway"}},"security":[{"bearerAuth":[]}]},"delete":{"operationId":"delete_api_v1_cdn_spaces_cdn_space_id_objects_path_","tags":["cdn_spaces"],"parameters":[{"name":"cdn_space_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"path","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not found"},"422":{"description":"Unprocessable entity"},"502":{"description":"Bad gateway"}},"security":[{"bearerAuth":[]}]}},"/api/v1/cdn_spaces/{id}":{"get":{"operationId":"api_v1_cdn_space","tags":["cdn_spaces"],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not found"},"422":{"description":"Unprocessable entity"},"502":{"description":"Bad gateway"}},"security":[{"bearerAuth":[]}]},"patch":{"operationId":"patch_api_v1_cdn_spaces_id_","tags":["cdn_spaces"],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not found"},"422":{"description":"Unprocessable entity"},"502":{"description":"Bad gateway"}},"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"security":[{"bearerAuth":[]}]},"put":{"operationId":"put_api_v1_cdn_spaces_id_","tags":["cdn_spaces"],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not found"},"422":{"description":"Unprocessable entity"},"502":{"description":"Bad gateway"}},"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"security":[{"bearerAuth":[]}]},"delete":{"operationId":"delete_api_v1_cdn_spaces_id_","tags":["cdn_spaces"],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not found"},"422":{"description":"Unprocessable entity"},"502":{"description":"Bad gateway"}},"security":[{"bearerAuth":[]}]}},"/api/v1/cdn_spaces/{id}/archive":{"post":{"operationId":"archive_api_v1_cdn_space","tags":["cdn_spaces"],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not found"},"422":{"description":"Unprocessable entity"},"502":{"description":"Bad gateway"}},"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"security":[{"bearerAuth":[]}]}},"/api/v1/cdn_spaces/{id}/provision":{"post":{"operationId":"provision_api_v1_cdn_space","tags":["cdn_spaces"],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not found"},"422":{"description":"Unprocessable entity"},"502":{"description":"Bad gateway"}},"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"security":[{"bearerAuth":[]}]}},"/api/v1/ci/nodes/enroll":{"post":{"operationId":"api_v1_nodes_enroll","tags":["ci"],"parameters":[],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not found"},"422":{"description":"Unprocessable entity"},"502":{"description":"Bad gateway"}},"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"security":[{"bearerAuth":[]}]}},"/api/v1/ci/nodes/{id}":{"get":{"operationId":"api_v1_node","tags":["ci"],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"CI runner","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"required":["id","organization_id","ci_runner_pool_id","network_peer_id","slug","name","status","kind","os","architecture","version","labels_csv","node_capabilities_csv","node_certificate_fingerprint_sha256","node_certificate_serial","node_certificate_expires_at","bazel_enabled","bazel_properties_json","last_seen_at","online_at","offline_at","cordoned_at","revoked_at","created_at","updated_at","node_certificate_expires_at_label","last_seen_at_label","online_at_label","offline_at_label","cordoned_at_label","revoked_at_label","created_at_label","updated_at_label"],"properties":{"id":{"type":"string"},"organization_id":{"type":"string"},"ci_runner_pool_id":{"type":"string"},"network_peer_id":{"type":"string","nullable":true},"slug":{"type":"string"},"name":{"type":"string"},"status":{"type":"string"},"kind":{"type":"string"},"os":{"type":"string","nullable":true},"architecture":{"type":"string","nullable":true},"version":{"type":"string","nullable":true},"labels_csv":{"type":"string","nullable":true},"node_capabilities_csv":{"type":"string","nullable":true},"node_certificate_fingerprint_sha256":{"type":"string","nullable":true},"node_certificate_serial":{"type":"string","nullable":true},"node_certificate_expires_at":{"type":"string","format":"date-time","nullable":true},"bazel_enabled":{"type":"boolean"},"bazel_properties_json":{"type":"string","nullable":true},"last_seen_at":{"type":"string","format":"date-time","nullable":true},"online_at":{"type":"string","format":"date-time","nullable":true},"offline_at":{"type":"string","format":"date-time","nullable":true},"cordoned_at":{"type":"string","format":"date-time","nullable":true},"revoked_at":{"type":"string","format":"date-time","nullable":true},"created_at":{"type":"string","format":"date-time"},"updated_at":{"type":"string","format":"date-time"},"node_certificate_expires_at_label":{"type":"string","nullable":true},"last_seen_at_label":{"type":"string","nullable":true},"online_at_label":{"type":"string","nullable":true},"offline_at_label":{"type":"string","nullable":true},"cordoned_at_label":{"type":"string","nullable":true},"revoked_at_label":{"type":"string","nullable":true},"created_at_label":{"type":"string","nullable":true},"updated_at_label":{"type":"string","nullable":true}}}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not found"},"422":{"description":"Unprocessable entity"},"502":{"description":"Bad gateway"}},"security":[{"bearerAuth":[]}]}},"/api/v1/ci/nodes/{id}/certificate/rotate":{"post":{"operationId":"certificate_rotate_api_v1_node","tags":["ci"],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not found"},"422":{"description":"Unprocessable entity"},"502":{"description":"Bad gateway"}},"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"security":[{"bearerAuth":[]}]}},"/api/v1/ci/nodes/{id}/cordon":{"post":{"operationId":"cordon_api_v1_node","tags":["ci"],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"CI runner","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"required":["id","organization_id","ci_runner_pool_id","network_peer_id","slug","name","status","kind","os","architecture","version","labels_csv","node_capabilities_csv","node_certificate_fingerprint_sha256","node_certificate_serial","node_certificate_expires_at","bazel_enabled","bazel_properties_json","last_seen_at","online_at","offline_at","cordoned_at","revoked_at","created_at","updated_at","node_certificate_expires_at_label","last_seen_at_label","online_at_label","offline_at_label","cordoned_at_label","revoked_at_label","created_at_label","updated_at_label"],"properties":{"id":{"type":"string"},"organization_id":{"type":"string"},"ci_runner_pool_id":{"type":"string"},"network_peer_id":{"type":"string","nullable":true},"slug":{"type":"string"},"name":{"type":"string"},"status":{"type":"string"},"kind":{"type":"string"},"os":{"type":"string","nullable":true},"architecture":{"type":"string","nullable":true},"version":{"type":"string","nullable":true},"labels_csv":{"type":"string","nullable":true},"node_capabilities_csv":{"type":"string","nullable":true},"node_certificate_fingerprint_sha256":{"type":"string","nullable":true},"node_certificate_serial":{"type":"string","nullable":true},"node_certificate_expires_at":{"type":"string","format":"date-time","nullable":true},"bazel_enabled":{"type":"boolean"},"bazel_properties_json":{"type":"string","nullable":true},"last_seen_at":{"type":"string","format":"date-time","nullable":true},"online_at":{"type":"string","format":"date-time","nullable":true},"offline_at":{"type":"string","format":"date-time","nullable":true},"cordoned_at":{"type":"string","format":"date-time","nullable":true},"revoked_at":{"type":"string","format":"date-time","nullable":true},"created_at":{"type":"string","format":"date-time"},"updated_at":{"type":"string","format":"date-time"},"node_certificate_expires_at_label":{"type":"string","nullable":true},"last_seen_at_label":{"type":"string","nullable":true},"online_at_label":{"type":"string","nullable":true},"offline_at_label":{"type":"string","nullable":true},"cordoned_at_label":{"type":"string","nullable":true},"revoked_at_label":{"type":"string","nullable":true},"created_at_label":{"type":"string","nullable":true},"updated_at_label":{"type":"string","nullable":true}}}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not found"},"422":{"description":"Unprocessable entity"},"502":{"description":"Bad gateway"}},"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"security":[{"bearerAuth":[]}]}},"/api/v1/ci/nodes/{id}/drain":{"post":{"operationId":"drain_api_v1_node","tags":["ci"],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"CI runner","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"required":["id","organization_id","ci_runner_pool_id","network_peer_id","slug","name","status","kind","os","architecture","version","labels_csv","node_capabilities_csv","node_certificate_fingerprint_sha256","node_certificate_serial","node_certificate_expires_at","bazel_enabled","bazel_properties_json","last_seen_at","online_at","offline_at","cordoned_at","revoked_at","created_at","updated_at","node_certificate_expires_at_label","last_seen_at_label","online_at_label","offline_at_label","cordoned_at_label","revoked_at_label","created_at_label","updated_at_label"],"properties":{"id":{"type":"string"},"organization_id":{"type":"string"},"ci_runner_pool_id":{"type":"string"},"network_peer_id":{"type":"string","nullable":true},"slug":{"type":"string"},"name":{"type":"string"},"status":{"type":"string"},"kind":{"type":"string"},"os":{"type":"string","nullable":true},"architecture":{"type":"string","nullable":true},"version":{"type":"string","nullable":true},"labels_csv":{"type":"string","nullable":true},"node_capabilities_csv":{"type":"string","nullable":true},"node_certificate_fingerprint_sha256":{"type":"string","nullable":true},"node_certificate_serial":{"type":"string","nullable":true},"node_certificate_expires_at":{"type":"string","format":"date-time","nullable":true},"bazel_enabled":{"type":"boolean"},"bazel_properties_json":{"type":"string","nullable":true},"last_seen_at":{"type":"string","format":"date-time","nullable":true},"online_at":{"type":"string","format":"date-time","nullable":true},"offline_at":{"type":"string","format":"date-time","nullable":true},"cordoned_at":{"type":"string","format":"date-time","nullable":true},"revoked_at":{"type":"string","format":"date-time","nullable":true},"created_at":{"type":"string","format":"date-time"},"updated_at":{"type":"string","format":"date-time"},"node_certificate_expires_at_label":{"type":"string","nullable":true},"last_seen_at_label":{"type":"string","nullable":true},"online_at_label":{"type":"string","nullable":true},"offline_at_label":{"type":"string","nullable":true},"cordoned_at_label":{"type":"string","nullable":true},"revoked_at_label":{"type":"string","nullable":true},"created_at_label":{"type":"string","nullable":true},"updated_at_label":{"type":"string","nullable":true}}}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not found"},"422":{"description":"Unprocessable entity"},"502":{"description":"Bad gateway"}},"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"security":[{"bearerAuth":[]}]}},"/api/v1/ci/nodes/{id}/heartbeat":{"post":{"operationId":"heartbeat_api_v1_node","tags":["ci"],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not found"},"422":{"description":"Unprocessable entity"},"502":{"description":"Bad gateway"}},"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"security":[{"bearerAuth":[]}]}},"/api/v1/ci/nodes/{id}/leases":{"get":{"operationId":"leases_api_v1_node","tags":["ci"],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not found"},"422":{"description":"Unprocessable entity"},"502":{"description":"Bad gateway"}},"security":[{"bearerAuth":[]}]}},"/api/v1/ci/nodes/{id}/leases/{lease_id}/artifacts":{"post":{"operationId":"post_api_v1_ci_nodes_id_leases_lease_id_artifacts","tags":["ci"],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}},{"name":"lease_id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not found"},"422":{"description":"Unprocessable entity"},"502":{"description":"Bad gateway"}},"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"security":[{"bearerAuth":[]}]}},"/api/v1/ci/nodes/{id}/leases/{lease_id}/cache/restore":{"post":{"operationId":"post_api_v1_ci_nodes_id_leases_lease_id_cache_restore","tags":["ci"],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}},{"name":"lease_id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not found"},"422":{"description":"Unprocessable entity"},"502":{"description":"Bad gateway"}},"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"security":[{"bearerAuth":[]}]}},"/api/v1/ci/nodes/{id}/leases/{lease_id}/cache/save":{"post":{"operationId":"post_api_v1_ci_nodes_id_leases_lease_id_cache_save","tags":["ci"],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}},{"name":"lease_id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not found"},"422":{"description":"Unprocessable entity"},"502":{"description":"Bad gateway"}},"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"security":[{"bearerAuth":[]}]}},"/api/v1/ci/nodes/{id}/leases/{lease_id}/claim":{"post":{"operationId":"post_api_v1_ci_nodes_id_leases_lease_id_claim","tags":["ci"],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}},{"name":"lease_id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not found"},"422":{"description":"Unprocessable entity"},"502":{"description":"Bad gateway"}},"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"security":[{"bearerAuth":[]}]}},"/api/v1/ci/nodes/{id}/leases/{lease_id}/heartbeat":{"post":{"operationId":"post_api_v1_ci_nodes_id_leases_lease_id_heartbeat","tags":["ci"],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}},{"name":"lease_id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not found"},"422":{"description":"Unprocessable entity"},"502":{"description":"Bad gateway"}},"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"security":[{"bearerAuth":[]}]}},"/api/v1/ci/nodes/{id}/leases/{lease_id}/job":{"get":{"operationId":"get_api_v1_ci_nodes_id_leases_lease_id_job","tags":["ci"],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}},{"name":"lease_id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not found"},"422":{"description":"Unprocessable entity"},"502":{"description":"Bad gateway"}},"security":[{"bearerAuth":[]}]}},"/api/v1/ci/nodes/{id}/leases/{lease_id}/log_chunks":{"post":{"operationId":"post_api_v1_ci_nodes_id_leases_lease_id_log_chunks","tags":["ci"],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}},{"name":"lease_id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not found"},"422":{"description":"Unprocessable entity"},"502":{"description":"Bad gateway"}},"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"security":[{"bearerAuth":[]}]}},"/api/v1/ci/nodes/{id}/leases/{lease_id}/release":{"post":{"operationId":"post_api_v1_ci_nodes_id_leases_lease_id_release","tags":["ci"],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}},{"name":"lease_id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not found"},"422":{"description":"Unprocessable entity"},"502":{"description":"Bad gateway"}},"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"security":[{"bearerAuth":[]}]}},"/api/v1/ci/nodes/{id}/leases/{lease_id}/steps/{ci_step_id}":{"patch":{"operationId":"patch_api_v1_ci_nodes_id_leases_lease_id_steps_ci_step_id_","tags":["ci"],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}},{"name":"lease_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"ci_step_id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not found"},"422":{"description":"Unprocessable entity"},"502":{"description":"Bad gateway"}},"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"security":[{"bearerAuth":[]}]}},"/api/v1/ci/nodes/{id}/leases/{lease_id}/workspace_archive":{"get":{"operationId":"get_api_v1_ci_nodes_id_leases_lease_id_workspace_archive","tags":["ci"],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}},{"name":"lease_id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not found"},"422":{"description":"Unprocessable entity"},"502":{"description":"Bad gateway"}},"security":[{"bearerAuth":[]}]}},"/api/v1/ci/nodes/{id}/leases/{lease_id}/workspaces/{ci_workspace_id}":{"patch":{"operationId":"patch_api_v1_ci_nodes_id_leases_lease_id_workspaces_ci_workspace_id_","tags":["ci"],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}},{"name":"lease_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"ci_workspace_id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not found"},"422":{"description":"Unprocessable entity"},"502":{"description":"Bad gateway"}},"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"security":[{"bearerAuth":[]}]}},"/api/v1/ci/nodes/{id}/uncordon":{"post":{"operationId":"uncordon_api_v1_node","tags":["ci"],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"CI runner","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"required":["id","organization_id","ci_runner_pool_id","network_peer_id","slug","name","status","kind","os","architecture","version","labels_csv","node_capabilities_csv","node_certificate_fingerprint_sha256","node_certificate_serial","node_certificate_expires_at","bazel_enabled","bazel_properties_json","last_seen_at","online_at","offline_at","cordoned_at","revoked_at","created_at","updated_at","node_certificate_expires_at_label","last_seen_at_label","online_at_label","offline_at_label","cordoned_at_label","revoked_at_label","created_at_label","updated_at_label"],"properties":{"id":{"type":"string"},"organization_id":{"type":"string"},"ci_runner_pool_id":{"type":"string"},"network_peer_id":{"type":"string","nullable":true},"slug":{"type":"string"},"name":{"type":"string"},"status":{"type":"string"},"kind":{"type":"string"},"os":{"type":"string","nullable":true},"architecture":{"type":"string","nullable":true},"version":{"type":"string","nullable":true},"labels_csv":{"type":"string","nullable":true},"node_capabilities_csv":{"type":"string","nullable":true},"node_certificate_fingerprint_sha256":{"type":"string","nullable":true},"node_certificate_serial":{"type":"string","nullable":true},"node_certificate_expires_at":{"type":"string","format":"date-time","nullable":true},"bazel_enabled":{"type":"boolean"},"bazel_properties_json":{"type":"string","nullable":true},"last_seen_at":{"type":"string","format":"date-time","nullable":true},"online_at":{"type":"string","format":"date-time","nullable":true},"offline_at":{"type":"string","format":"date-time","nullable":true},"cordoned_at":{"type":"string","format":"date-time","nullable":true},"revoked_at":{"type":"string","format":"date-time","nullable":true},"created_at":{"type":"string","format":"date-time"},"updated_at":{"type":"string","format":"date-time"},"node_certificate_expires_at_label":{"type":"string","nullable":true},"last_seen_at_label":{"type":"string","nullable":true},"online_at_label":{"type":"string","nullable":true},"offline_at_label":{"type":"string","nullable":true},"cordoned_at_label":{"type":"string","nullable":true},"revoked_at_label":{"type":"string","nullable":true},"created_at_label":{"type":"string","nullable":true},"updated_at_label":{"type":"string","nullable":true}}}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not found"},"422":{"description":"Unprocessable entity"},"502":{"description":"Bad gateway"}},"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"security":[{"bearerAuth":[]}]}},"/api/v1/ci/pipelines":{"get":{"operationId":"api_v1_pipelines","tags":["ci"],"parameters":[],"responses":{"200":{"description":"CI pipelines","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"required":["pipelines"],"properties":{"pipelines":{"type":"array","items":{"type":"object","required":["id","organization_id","repository_id","hosted_app_id","ci_runner_pool_id","required_capabilities_csv","slug","name","description","source_kind","status","default_branch","workflow_path","trigger_on_push","trigger_on_pull_request","trigger_on_schedule","concurrency_key","created_at","updated_at","status_label","status_state","status_tone"],"properties":{"id":{"type":"string"},"organization_id":{"type":"string"},"repository_id":{"type":"string","nullable":true},"hosted_app_id":{"type":"string","nullable":true},"ci_runner_pool_id":{"type":"string","nullable":true},"required_capabilities_csv":{"type":"string","nullable":true},"slug":{"type":"string"},"name":{"type":"string"},"description":{"type":"string","nullable":true},"source_kind":{"type":"string"},"status":{"type":"string"},"default_branch":{"type":"string","nullable":true},"workflow_path":{"type":"string","nullable":true},"trigger_on_push":{"type":"boolean"},"trigger_on_pull_request":{"type":"boolean"},"trigger_on_schedule":{"type":"boolean"},"concurrency_key":{"type":"string","nullable":true},"created_at":{"type":"string","format":"date-time"},"updated_at":{"type":"string","format":"date-time"},"status_label":{"type":"string"},"status_state":{"type":"string","enum":["active","successful","failed","canceled","blocked","skipped","enabled","inactive","unknown"]},"status_tone":{"type":"string","enum":["success","danger","warning","default"]}}}}}}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not found"},"422":{"description":"Unprocessable entity"},"502":{"description":"Bad gateway"}},"security":[{"bearerAuth":[]}]},"post":{"operationId":"post_api_v1_ci_pipelines","tags":["ci"],"parameters":[],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not found"},"422":{"description":"Unprocessable entity"},"502":{"description":"Bad gateway"}},"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"security":[{"bearerAuth":[]}]}},"/api/v1/ci/pipelines/{id}":{"get":{"operationId":"api_v1_pipeline","tags":["ci"],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"CI pipeline catalog","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"required":["pipeline"],"properties":{"pipeline":{"allOf":[{"type":"object","required":["id","organization_id","repository_id","hosted_app_id","ci_runner_pool_id","required_capabilities_csv","slug","name","description","source_kind","status","default_branch","workflow_path","trigger_on_push","trigger_on_pull_request","trigger_on_schedule","concurrency_key","created_at","updated_at","status_label","status_state","status_tone"],"properties":{"id":{"type":"string"},"organization_id":{"type":"string"},"repository_id":{"type":"string","nullable":true},"hosted_app_id":{"type":"string","nullable":true},"ci_runner_pool_id":{"type":"string","nullable":true},"required_capabilities_csv":{"type":"string","nullable":true},"slug":{"type":"string"},"name":{"type":"string"},"description":{"type":"string","nullable":true},"source_kind":{"type":"string"},"status":{"type":"string"},"default_branch":{"type":"string","nullable":true},"workflow_path":{"type":"string","nullable":true},"trigger_on_push":{"type":"boolean"},"trigger_on_pull_request":{"type":"boolean"},"trigger_on_schedule":{"type":"boolean"},"concurrency_key":{"type":"string","nullable":true},"created_at":{"type":"string","format":"date-time"},"updated_at":{"type":"string","format":"date-time"},"status_label":{"type":"string"},"status_state":{"type":"string","enum":["active","successful","failed","canceled","blocked","skipped","enabled","inactive","unknown"]},"status_tone":{"type":"string","enum":["success","danger","warning","default"]}}},{"type":"object","required":["runner_pool","runs"],"properties":{"runner_pool":{"type":"object","nullable":true,"additionalProperties":true},"runs":{"type":"array","items":{"type":"object","required":["id","organization_id","repository_id","hosted_app_id","ci_pipeline_id","ci_runner_pool_id","creator_user_id","required_capabilities_csv","number","display_id","slug","status","trigger_kind","ref_name","commit_sha","source_url","message","concurrency_key","retry_number","queued_at","started_at","finished_at","canceled_at","parameters_json","created_at","updated_at","status_label","status_state","status_tone","active","failed"],"properties":{"id":{"type":"string"},"organization_id":{"type":"string"},"repository_id":{"type":"string","nullable":true},"hosted_app_id":{"type":"string","nullable":true},"ci_pipeline_id":{"type":"string"},"ci_runner_pool_id":{"type":"string","nullable":true},"creator_user_id":{"type":"string","nullable":true},"required_capabilities_csv":{"type":"string","nullable":true},"number":{"type":"integer"},"display_id":{"type":"integer"},"slug":{"type":"string"},"status":{"type":"string"},"trigger_kind":{"type":"string"},"ref_name":{"type":"string","nullable":true},"commit_sha":{"type":"string","nullable":true},"source_url":{"type":"string","nullable":true},"message":{"type":"string","nullable":true},"concurrency_key":{"type":"string","nullable":true},"retry_number":{"type":"integer"},"queued_at":{"type":"string","format":"date-time","nullable":true},"started_at":{"type":"string","format":"date-time","nullable":true},"finished_at":{"type":"string","format":"date-time","nullable":true},"canceled_at":{"type":"string","format":"date-time","nullable":true},"parameters_json":{"type":"string","nullable":true},"created_at":{"type":"string","format":"date-time"},"updated_at":{"type":"string","format":"date-time"},"status_label":{"type":"string"},"status_state":{"type":"string","enum":["active","successful","failed","canceled","blocked","skipped","enabled","inactive","unknown"]},"status_tone":{"type":"string","enum":["success","danger","warning","default"]},"active":{"type":"boolean"},"failed":{"type":"boolean"}}}}}}]}}}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not found"},"422":{"description":"Unprocessable entity"},"502":{"description":"Bad gateway"}},"security":[{"bearerAuth":[]}]}},"/api/v1/ci/pipelines/{pipeline_id}/runs":{"get":{"operationId":"api_v1_pipeline_runs","tags":["ci"],"parameters":[{"name":"pipeline_id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not found"},"422":{"description":"Unprocessable entity"},"502":{"description":"Bad gateway"}},"security":[{"bearerAuth":[]}]},"post":{"operationId":"post_api_v1_ci_pipelines_pipeline_id_runs","tags":["ci"],"parameters":[{"name":"pipeline_id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not found"},"422":{"description":"Unprocessable entity"},"502":{"description":"Bad gateway"}},"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"security":[{"bearerAuth":[]}]}},"/api/v1/ci/pipelines/{pipeline_id}/runs/{id}":{"get":{"operationId":"api_v1_pipeline_run","tags":["ci"],"parameters":[{"name":"pipeline_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"CI pipeline run catalog","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"required":["pipeline_run"],"properties":{"pipeline_run":{"allOf":[{"type":"object","required":["id","organization_id","repository_id","hosted_app_id","ci_pipeline_id","ci_runner_pool_id","creator_user_id","required_capabilities_csv","number","display_id","slug","status","trigger_kind","ref_name","commit_sha","source_url","message","concurrency_key","retry_number","queued_at","started_at","finished_at","canceled_at","parameters_json","created_at","updated_at","status_label","status_state","status_tone","active","failed"],"properties":{"id":{"type":"string"},"organization_id":{"type":"string"},"repository_id":{"type":"string","nullable":true},"hosted_app_id":{"type":"string","nullable":true},"ci_pipeline_id":{"type":"string"},"ci_runner_pool_id":{"type":"string","nullable":true},"creator_user_id":{"type":"string","nullable":true},"required_capabilities_csv":{"type":"string","nullable":true},"number":{"type":"integer"},"display_id":{"type":"integer"},"slug":{"type":"string"},"status":{"type":"string"},"trigger_kind":{"type":"string"},"ref_name":{"type":"string","nullable":true},"commit_sha":{"type":"string","nullable":true},"source_url":{"type":"string","nullable":true},"message":{"type":"string","nullable":true},"concurrency_key":{"type":"string","nullable":true},"retry_number":{"type":"integer"},"queued_at":{"type":"string","format":"date-time","nullable":true},"started_at":{"type":"string","format":"date-time","nullable":true},"finished_at":{"type":"string","format":"date-time","nullable":true},"canceled_at":{"type":"string","format":"date-time","nullable":true},"parameters_json":{"type":"string","nullable":true},"created_at":{"type":"string","format":"date-time"},"updated_at":{"type":"string","format":"date-time"},"status_label":{"type":"string"},"status_state":{"type":"string","enum":["active","successful","failed","canceled","blocked","skipped","enabled","inactive","unknown"]},"status_tone":{"type":"string","enum":["success","danger","warning","default"]},"active":{"type":"boolean"},"failed":{"type":"boolean"}}},{"type":"object","required":["jobs"],"properties":{"jobs":{"type":"array","items":{"type":"object","required":["id","organization_id","ci_pipeline_run_id","ci_runner_id","number","display_id","slug","name","kind","status","execution_order","runner_label_selector","timeout_seconds","allow_failure","queued_at","started_at","finished_at","exit_code","retry_number","environment_csv","dependencies_csv","created_at","updated_at","status_label","status_state","status_tone","active","failed"],"properties":{"id":{"type":"string"},"organization_id":{"type":"string"},"ci_pipeline_run_id":{"type":"string"},"ci_runner_id":{"type":"string","nullable":true},"number":{"type":"integer"},"display_id":{"type":"integer"},"slug":{"type":"string"},"name":{"type":"string"},"kind":{"type":"string"},"status":{"type":"string"},"execution_order":{"type":"integer"},"runner_label_selector":{"type":"string","nullable":true},"timeout_seconds":{"type":"integer","nullable":true},"allow_failure":{"type":"boolean"},"queued_at":{"type":"string","format":"date-time","nullable":true},"started_at":{"type":"string","format":"date-time","nullable":true},"finished_at":{"type":"string","format":"date-time","nullable":true},"exit_code":{"type":"integer","nullable":true},"retry_number":{"type":"integer"},"environment_csv":{"type":"string","nullable":true},"dependencies_csv":{"type":"string","nullable":true},"created_at":{"type":"string","format":"date-time"},"updated_at":{"type":"string","format":"date-time"},"status_label":{"type":"string"},"status_state":{"type":"string","enum":["active","successful","failed","canceled","blocked","skipped","enabled","inactive","unknown"]},"status_tone":{"type":"string","enum":["success","danger","warning","default"]},"active":{"type":"boolean"},"failed":{"type":"boolean"}}}}}}]}}}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not found"},"422":{"description":"Unprocessable entity"},"502":{"description":"Bad gateway"}},"security":[{"bearerAuth":[]}]}},"/api/v1/ci/pipelines/{pipeline_id}/runs/{run_id}/artifacts":{"get":{"operationId":"api_v1_pipeline_run_artifacts","tags":["ci"],"parameters":[{"name":"pipeline_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"run_id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not found"},"422":{"description":"Unprocessable entity"},"502":{"description":"Bad gateway"}},"security":[{"bearerAuth":[]}]},"post":{"operationId":"post_api_v1_ci_pipelines_pipeline_id_runs_run_id_artifacts","tags":["ci"],"parameters":[{"name":"pipeline_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"run_id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not found"},"422":{"description":"Unprocessable entity"},"502":{"description":"Bad gateway"}},"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"security":[{"bearerAuth":[]}]}},"/api/v1/ci/pipelines/{pipeline_id}/runs/{run_id}/jobs":{"get":{"operationId":"api_v1_pipeline_run_jobs","tags":["ci"],"parameters":[{"name":"pipeline_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"run_id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not found"},"422":{"description":"Unprocessable entity"},"502":{"description":"Bad gateway"}},"security":[{"bearerAuth":[]}]},"post":{"operationId":"post_api_v1_ci_pipelines_pipeline_id_runs_run_id_jobs","tags":["ci"],"parameters":[{"name":"pipeline_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"run_id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not found"},"422":{"description":"Unprocessable entity"},"502":{"description":"Bad gateway"}},"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"security":[{"bearerAuth":[]}]}},"/api/v1/ci/pipelines/{pipeline_id}/runs/{run_id}/jobs/{id}":{"get":{"operationId":"api_v1_pipeline_run_job","tags":["ci"],"parameters":[{"name":"pipeline_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"run_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"CI job catalog","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"required":["job"],"properties":{"job":{"allOf":[{"type":"object","required":["id","organization_id","ci_pipeline_run_id","ci_runner_id","number","display_id","slug","name","kind","status","execution_order","runner_label_selector","timeout_seconds","allow_failure","queued_at","started_at","finished_at","exit_code","retry_number","environment_csv","dependencies_csv","created_at","updated_at","status_label","status_state","status_tone","active","failed"],"properties":{"id":{"type":"string"},"organization_id":{"type":"string"},"ci_pipeline_run_id":{"type":"string"},"ci_runner_id":{"type":"string","nullable":true},"number":{"type":"integer"},"display_id":{"type":"integer"},"slug":{"type":"string"},"name":{"type":"string"},"kind":{"type":"string"},"status":{"type":"string"},"execution_order":{"type":"integer"},"runner_label_selector":{"type":"string","nullable":true},"timeout_seconds":{"type":"integer","nullable":true},"allow_failure":{"type":"boolean"},"queued_at":{"type":"string","format":"date-time","nullable":true},"started_at":{"type":"string","format":"date-time","nullable":true},"finished_at":{"type":"string","format":"date-time","nullable":true},"exit_code":{"type":"integer","nullable":true},"retry_number":{"type":"integer"},"environment_csv":{"type":"string","nullable":true},"dependencies_csv":{"type":"string","nullable":true},"created_at":{"type":"string","format":"date-time"},"updated_at":{"type":"string","format":"date-time"},"status_label":{"type":"string"},"status_state":{"type":"string","enum":["active","successful","failed","canceled","blocked","skipped","enabled","inactive","unknown"]},"status_tone":{"type":"string","enum":["success","danger","warning","default"]},"active":{"type":"boolean"},"failed":{"type":"boolean"}}},{"type":"object","required":["steps","log_chunks"],"properties":{"steps":{"type":"array","items":{"type":"object","required":["id","organization_id","ci_job_id","slug","name","command","shell","working_directory","status","execution_order","retry_number","exit_code","started_at","finished_at","created_at","updated_at","status_label","status_state","status_tone","active","failed","secret_refs"],"properties":{"id":{"type":"string"},"organization_id":{"type":"string"},"ci_job_id":{"type":"string"},"slug":{"type":"string"},"name":{"type":"string"},"command":{"type":"string"},"shell":{"type":"string","nullable":true},"working_directory":{"type":"string","nullable":true},"status":{"type":"string"},"execution_order":{"type":"integer"},"retry_number":{"type":"integer"},"exit_code":{"type":"integer","nullable":true},"started_at":{"type":"string","format":"date-time","nullable":true},"finished_at":{"type":"string","format":"date-time","nullable":true},"created_at":{"type":"string","format":"date-time"},"updated_at":{"type":"string","format":"date-time"},"status_label":{"type":"string"},"status_state":{"type":"string","enum":["active","successful","failed","canceled","blocked","skipped","enabled","inactive","unknown"]},"status_tone":{"type":"string","enum":["success","danger","warning","default"]},"active":{"type":"boolean"},"failed":{"type":"boolean"},"secret_refs":{"type":"object","additionalProperties":{"type":"string"}}}}},"log_chunks":{"type":"array","maxItems":25,"items":{"type":"object","required":["id","organization_id","ci_pipeline_run_id","ci_job_id","ci_step_id","sequence_number","stream","content_format","content","byte_size","created_at","updated_at"],"properties":{"id":{"type":"string"},"organization_id":{"type":"string"},"ci_pipeline_run_id":{"type":"string","nullable":true},"ci_job_id":{"type":"string","nullable":true},"ci_step_id":{"type":"string","nullable":true},"sequence_number":{"type":"integer"},"stream":{"type":"string"},"content_format":{"type":"string"},"content":{"type":"string"},"byte_size":{"type":"integer"},"created_at":{"type":"string","format":"date-time"},"updated_at":{"type":"string","format":"date-time"}}}}}}]}}}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not found"},"422":{"description":"Unprocessable entity"},"502":{"description":"Bad gateway"}},"security":[{"bearerAuth":[]}]}},"/api/v1/ci/pipelines/{pipeline_id}/runs/{run_id}/jobs/{job_id}/log_chunks":{"get":{"operationId":"api_v1_pipeline_run_job_log_chunks","tags":["ci"],"parameters":[{"name":"pipeline_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"run_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"job_id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not found"},"422":{"description":"Unprocessable entity"},"502":{"description":"Bad gateway"}},"security":[{"bearerAuth":[]}]},"post":{"operationId":"post_api_v1_ci_pipelines_pipeline_id_runs_run_id_jobs_job_id_log_chunks","tags":["ci"],"parameters":[{"name":"pipeline_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"run_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"job_id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not found"},"422":{"description":"Unprocessable entity"},"502":{"description":"Bad gateway"}},"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"security":[{"bearerAuth":[]}]}},"/api/v1/ci/pipelines/{pipeline_id}/runs/{run_id}/jobs/{job_id}/steps":{"get":{"operationId":"api_v1_pipeline_run_job_steps","tags":["ci"],"parameters":[{"name":"pipeline_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"run_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"job_id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not found"},"422":{"description":"Unprocessable entity"},"502":{"description":"Bad gateway"}},"security":[{"bearerAuth":[]}]},"post":{"operationId":"post_api_v1_ci_pipelines_pipeline_id_runs_run_id_jobs_job_id_steps","tags":["ci"],"parameters":[{"name":"pipeline_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"run_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"job_id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not found"},"422":{"description":"Unprocessable entity"},"502":{"description":"Bad gateway"}},"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"security":[{"bearerAuth":[]}]}},"/api/v1/ci/pipelines/{pipeline_id}/runs/{run_id}/jobs/{job_id}/steps/{id}":{"patch":{"operationId":"api_v1_pipeline_run_job_step","tags":["ci"],"parameters":[{"name":"pipeline_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"run_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"job_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not found"},"422":{"description":"Unprocessable entity"},"502":{"description":"Bad gateway"}},"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"security":[{"bearerAuth":[]}]},"put":{"operationId":"put_api_v1_ci_pipelines_pipeline_id_runs_run_id_jobs_job_id_steps_id_","tags":["ci"],"parameters":[{"name":"pipeline_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"run_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"job_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not found"},"422":{"description":"Unprocessable entity"},"502":{"description":"Bad gateway"}},"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"security":[{"bearerAuth":[]}]}},"/api/v1/ci/pipelines/{pipeline_id}/runs/{run_id}/jobs/{job_id}/workspaces":{"get":{"operationId":"api_v1_pipeline_run_job_workspaces","tags":["ci"],"parameters":[{"name":"pipeline_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"run_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"job_id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not found"},"422":{"description":"Unprocessable entity"},"502":{"description":"Bad gateway"}},"security":[{"bearerAuth":[]}]},"post":{"operationId":"post_api_v1_ci_pipelines_pipeline_id_runs_run_id_jobs_job_id_workspaces","tags":["ci"],"parameters":[{"name":"pipeline_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"run_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"job_id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not found"},"422":{"description":"Unprocessable entity"},"502":{"description":"Bad gateway"}},"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"security":[{"bearerAuth":[]}]}},"/api/v1/ci/pipelines/{pipeline_id}/runs/{run_id}/jobs/{job_id}/workspaces/{id}":{"patch":{"operationId":"api_v1_pipeline_run_job_workspace","tags":["ci"],"parameters":[{"name":"pipeline_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"run_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"job_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not found"},"422":{"description":"Unprocessable entity"},"502":{"description":"Bad gateway"}},"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"security":[{"bearerAuth":[]}]},"put":{"operationId":"put_api_v1_ci_pipelines_pipeline_id_runs_run_id_jobs_job_id_workspaces_id_","tags":["ci"],"parameters":[{"name":"pipeline_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"run_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"job_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not found"},"422":{"description":"Unprocessable entity"},"502":{"description":"Bad gateway"}},"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"security":[{"bearerAuth":[]}]}},"/api/v1/ci/pipelines/{pipeline_id}/runs/{run_id}/page":{"get":{"operationId":"api_v1_pipeline_run_page","tags":["ci"],"parameters":[{"name":"pipeline_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"run_id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"CI action run page contract","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"required":["jobs","error"],"properties":{"jobs":{"type":"array","items":{"$ref":"#/components/schemas/CiJobCatalog"}},"error":{"type":"string","nullable":true}}}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not found"},"422":{"description":"Unprocessable entity"},"502":{"description":"Bad gateway"}},"security":[{"bearerAuth":[]}]}},"/api/v1/ci/runner_pools":{"get":{"operationId":"api_v1_runner_pools","tags":["ci"],"parameters":[{"name":"organization_id","in":"query","required":false,"schema":{"type":"string"}}],"responses":{"200":{"description":"CI runner pools","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"required":["runner_pools"],"properties":{"runner_pools":{"type":"array","items":{"type":"object","required":["id","organization_id","network_space_id","slug","name","status","runner_kind","isolation_mode","description","max_concurrency","labels_csv","node_capabilities_csv","elastic_provider_kind","elastic_config_json","bazel_enabled","bazel_properties_json","created_at","updated_at"],"properties":{"id":{"type":"string"},"organization_id":{"type":"string"},"network_space_id":{"type":"string","nullable":true},"slug":{"type":"string"},"name":{"type":"string"},"status":{"type":"string"},"runner_kind":{"type":"string"},"isolation_mode":{"type":"string"},"description":{"type":"string","nullable":true},"max_concurrency":{"type":"integer"},"labels_csv":{"type":"string","nullable":true},"node_capabilities_csv":{"type":"string","nullable":true},"elastic_provider_kind":{"type":"string","nullable":true},"elastic_config_json":{"type":"string","nullable":true},"bazel_enabled":{"type":"boolean"},"bazel_properties_json":{"type":"string","nullable":true},"created_at":{"type":"string","format":"date-time"},"updated_at":{"type":"string","format":"date-time"}}}}}}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not found"},"422":{"description":"Unprocessable entity"},"502":{"description":"Bad gateway"}},"security":[{"bearerAuth":[]}]},"post":{"operationId":"post_api_v1_ci_runner_pools","tags":["ci"],"parameters":[],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not found"},"422":{"description":"Unprocessable entity"},"502":{"description":"Bad gateway"}},"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"security":[{"bearerAuth":[]}]}},"/api/v1/ci/runner_pools/{id}":{"get":{"operationId":"api_v1_runner_pool","tags":["ci"],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"CI runner pool catalog","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"allOf":[{"type":"object","required":["id","organization_id","network_space_id","slug","name","status","runner_kind","isolation_mode","description","max_concurrency","labels_csv","node_capabilities_csv","elastic_provider_kind","elastic_config_json","bazel_enabled","bazel_properties_json","created_at","updated_at"],"properties":{"id":{"type":"string"},"organization_id":{"type":"string"},"network_space_id":{"type":"string","nullable":true},"slug":{"type":"string"},"name":{"type":"string"},"status":{"type":"string"},"runner_kind":{"type":"string"},"isolation_mode":{"type":"string"},"description":{"type":"string","nullable":true},"max_concurrency":{"type":"integer"},"labels_csv":{"type":"string","nullable":true},"node_capabilities_csv":{"type":"string","nullable":true},"elastic_provider_kind":{"type":"string","nullable":true},"elastic_config_json":{"type":"string","nullable":true},"bazel_enabled":{"type":"boolean"},"bazel_properties_json":{"type":"string","nullable":true},"created_at":{"type":"string","format":"date-time"},"updated_at":{"type":"string","format":"date-time"}}},{"type":"object","required":["runners","runner_count_label","modal_capacity","modal_runner_invocations"],"properties":{"runners":{"type":"array","items":{"type":"object","required":["id","organization_id","ci_runner_pool_id","network_peer_id","slug","name","status","kind","os","architecture","version","labels_csv","node_capabilities_csv","node_certificate_fingerprint_sha256","node_certificate_serial","node_certificate_expires_at","bazel_enabled","bazel_properties_json","last_seen_at","online_at","offline_at","cordoned_at","revoked_at","created_at","updated_at","node_certificate_expires_at_label","last_seen_at_label","online_at_label","offline_at_label","cordoned_at_label","revoked_at_label","created_at_label","updated_at_label"],"properties":{"id":{"type":"string"},"organization_id":{"type":"string"},"ci_runner_pool_id":{"type":"string"},"network_peer_id":{"type":"string","nullable":true},"slug":{"type":"string"},"name":{"type":"string"},"status":{"type":"string"},"kind":{"type":"string"},"os":{"type":"string","nullable":true},"architecture":{"type":"string","nullable":true},"version":{"type":"string","nullable":true},"labels_csv":{"type":"string","nullable":true},"node_capabilities_csv":{"type":"string","nullable":true},"node_certificate_fingerprint_sha256":{"type":"string","nullable":true},"node_certificate_serial":{"type":"string","nullable":true},"node_certificate_expires_at":{"type":"string","format":"date-time","nullable":true},"bazel_enabled":{"type":"boolean"},"bazel_properties_json":{"type":"string","nullable":true},"last_seen_at":{"type":"string","format":"date-time","nullable":true},"online_at":{"type":"string","format":"date-time","nullable":true},"offline_at":{"type":"string","format":"date-time","nullable":true},"cordoned_at":{"type":"string","format":"date-time","nullable":true},"revoked_at":{"type":"string","format":"date-time","nullable":true},"created_at":{"type":"string","format":"date-time"},"updated_at":{"type":"string","format":"date-time"},"node_certificate_expires_at_label":{"type":"string","nullable":true},"last_seen_at_label":{"type":"string","nullable":true},"online_at_label":{"type":"string","nullable":true},"offline_at_label":{"type":"string","nullable":true},"cordoned_at_label":{"type":"string","nullable":true},"revoked_at_label":{"type":"string","nullable":true},"created_at_label":{"type":"string","nullable":true},"updated_at_label":{"type":"string","nullable":true}}}},"runner_count_label":{"type":"string"},"modal_capacity":{"type":"object","required":["queued_jobs","active_or_pending_leases","inflight_modal_invocations","failed_modal_invocations","deficit"],"properties":{"queued_jobs":{"type":"integer"},"active_or_pending_leases":{"type":"integer"},"inflight_modal_invocations":{"type":"integer"},"failed_modal_invocations":{"type":"integer"},"deficit":{"type":"integer"}}},"modal_runner_invocations":{"type":"array","maxItems":50,"items":{"type":"object","required":["id","organization_id","ci_runner_pool_id","ci_runner_id","ci_runner_lease_id","ci_pipeline_run_id","ci_job_id","status","modal_app_name","modal_function_name","modal_environment_name","modal_call_id","runner_slug","resource_class","cpu_millicores","memory_mb","ephemeral_disk_mb","retry_count","last_error","spawned_at","claimed_at","finished_at","created_at","updated_at","spawned_at_label","claimed_at_label","finished_at_label","created_at_label","updated_at_label"],"properties":{"id":{"type":"string"},"organization_id":{"type":"string"},"ci_runner_pool_id":{"type":"string"},"ci_runner_id":{"type":"string","nullable":true},"ci_runner_lease_id":{"type":"string","nullable":true},"ci_pipeline_run_id":{"type":"string","nullable":true},"ci_job_id":{"type":"string","nullable":true},"status":{"type":"string"},"modal_app_name":{"type":"string"},"modal_function_name":{"type":"string"},"modal_environment_name":{"type":"string","nullable":true},"modal_call_id":{"type":"string","nullable":true},"runner_slug":{"type":"string"},"resource_class":{"type":"string"},"cpu_millicores":{"type":"integer"},"memory_mb":{"type":"integer"},"ephemeral_disk_mb":{"type":"integer"},"retry_count":{"type":"integer"},"last_error":{"type":"string","nullable":true},"spawned_at":{"type":"string","format":"date-time","nullable":true},"claimed_at":{"type":"string","format":"date-time","nullable":true},"finished_at":{"type":"string","format":"date-time","nullable":true},"created_at":{"type":"string","format":"date-time"},"updated_at":{"type":"string","format":"date-time"},"spawned_at_label":{"type":"string","nullable":true},"claimed_at_label":{"type":"string","nullable":true},"finished_at_label":{"type":"string","nullable":true},"created_at_label":{"type":"string","nullable":true},"updated_at_label":{"type":"string","nullable":true}}}}}}]}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not found"},"422":{"description":"Unprocessable entity"},"502":{"description":"Bad gateway"}},"security":[{"bearerAuth":[]}]},"patch":{"operationId":"patch_api_v1_ci_runner_pools_id_","tags":["ci"],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"CI runner pool catalog","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"allOf":[{"type":"object","required":["id","organization_id","network_space_id","slug","name","status","runner_kind","isolation_mode","description","max_concurrency","labels_csv","node_capabilities_csv","elastic_provider_kind","elastic_config_json","bazel_enabled","bazel_properties_json","created_at","updated_at"],"properties":{"id":{"type":"string"},"organization_id":{"type":"string"},"network_space_id":{"type":"string","nullable":true},"slug":{"type":"string"},"name":{"type":"string"},"status":{"type":"string"},"runner_kind":{"type":"string"},"isolation_mode":{"type":"string"},"description":{"type":"string","nullable":true},"max_concurrency":{"type":"integer"},"labels_csv":{"type":"string","nullable":true},"node_capabilities_csv":{"type":"string","nullable":true},"elastic_provider_kind":{"type":"string","nullable":true},"elastic_config_json":{"type":"string","nullable":true},"bazel_enabled":{"type":"boolean"},"bazel_properties_json":{"type":"string","nullable":true},"created_at":{"type":"string","format":"date-time"},"updated_at":{"type":"string","format":"date-time"}}},{"type":"object","required":["runners","runner_count_label","modal_capacity","modal_runner_invocations"],"properties":{"runners":{"type":"array","items":{"type":"object","required":["id","organization_id","ci_runner_pool_id","network_peer_id","slug","name","status","kind","os","architecture","version","labels_csv","node_capabilities_csv","node_certificate_fingerprint_sha256","node_certificate_serial","node_certificate_expires_at","bazel_enabled","bazel_properties_json","last_seen_at","online_at","offline_at","cordoned_at","revoked_at","created_at","updated_at","node_certificate_expires_at_label","last_seen_at_label","online_at_label","offline_at_label","cordoned_at_label","revoked_at_label","created_at_label","updated_at_label"],"properties":{"id":{"type":"string"},"organization_id":{"type":"string"},"ci_runner_pool_id":{"type":"string"},"network_peer_id":{"type":"string","nullable":true},"slug":{"type":"string"},"name":{"type":"string"},"status":{"type":"string"},"kind":{"type":"string"},"os":{"type":"string","nullable":true},"architecture":{"type":"string","nullable":true},"version":{"type":"string","nullable":true},"labels_csv":{"type":"string","nullable":true},"node_capabilities_csv":{"type":"string","nullable":true},"node_certificate_fingerprint_sha256":{"type":"string","nullable":true},"node_certificate_serial":{"type":"string","nullable":true},"node_certificate_expires_at":{"type":"string","format":"date-time","nullable":true},"bazel_enabled":{"type":"boolean"},"bazel_properties_json":{"type":"string","nullable":true},"last_seen_at":{"type":"string","format":"date-time","nullable":true},"online_at":{"type":"string","format":"date-time","nullable":true},"offline_at":{"type":"string","format":"date-time","nullable":true},"cordoned_at":{"type":"string","format":"date-time","nullable":true},"revoked_at":{"type":"string","format":"date-time","nullable":true},"created_at":{"type":"string","format":"date-time"},"updated_at":{"type":"string","format":"date-time"},"node_certificate_expires_at_label":{"type":"string","nullable":true},"last_seen_at_label":{"type":"string","nullable":true},"online_at_label":{"type":"string","nullable":true},"offline_at_label":{"type":"string","nullable":true},"cordoned_at_label":{"type":"string","nullable":true},"revoked_at_label":{"type":"string","nullable":true},"created_at_label":{"type":"string","nullable":true},"updated_at_label":{"type":"string","nullable":true}}}},"runner_count_label":{"type":"string"},"modal_capacity":{"type":"object","required":["queued_jobs","active_or_pending_leases","inflight_modal_invocations","failed_modal_invocations","deficit"],"properties":{"queued_jobs":{"type":"integer"},"active_or_pending_leases":{"type":"integer"},"inflight_modal_invocations":{"type":"integer"},"failed_modal_invocations":{"type":"integer"},"deficit":{"type":"integer"}}},"modal_runner_invocations":{"type":"array","maxItems":50,"items":{"type":"object","required":["id","organization_id","ci_runner_pool_id","ci_runner_id","ci_runner_lease_id","ci_pipeline_run_id","ci_job_id","status","modal_app_name","modal_function_name","modal_environment_name","modal_call_id","runner_slug","resource_class","cpu_millicores","memory_mb","ephemeral_disk_mb","retry_count","last_error","spawned_at","claimed_at","finished_at","created_at","updated_at","spawned_at_label","claimed_at_label","finished_at_label","created_at_label","updated_at_label"],"properties":{"id":{"type":"string"},"organization_id":{"type":"string"},"ci_runner_pool_id":{"type":"string"},"ci_runner_id":{"type":"string","nullable":true},"ci_runner_lease_id":{"type":"string","nullable":true},"ci_pipeline_run_id":{"type":"string","nullable":true},"ci_job_id":{"type":"string","nullable":true},"status":{"type":"string"},"modal_app_name":{"type":"string"},"modal_function_name":{"type":"string"},"modal_environment_name":{"type":"string","nullable":true},"modal_call_id":{"type":"string","nullable":true},"runner_slug":{"type":"string"},"resource_class":{"type":"string"},"cpu_millicores":{"type":"integer"},"memory_mb":{"type":"integer"},"ephemeral_disk_mb":{"type":"integer"},"retry_count":{"type":"integer"},"last_error":{"type":"string","nullable":true},"spawned_at":{"type":"string","format":"date-time","nullable":true},"claimed_at":{"type":"string","format":"date-time","nullable":true},"finished_at":{"type":"string","format":"date-time","nullable":true},"created_at":{"type":"string","format":"date-time"},"updated_at":{"type":"string","format":"date-time"},"spawned_at_label":{"type":"string","nullable":true},"claimed_at_label":{"type":"string","nullable":true},"finished_at_label":{"type":"string","nullable":true},"created_at_label":{"type":"string","nullable":true},"updated_at_label":{"type":"string","nullable":true}}}}}}]}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not found"},"422":{"description":"Unprocessable entity"},"502":{"description":"Bad gateway"}},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"properties":{"status":{"type":"string"},"runner_kind":{"type":"string"},"isolation_mode":{"type":"string"},"description":{"type":"string","nullable":true},"max_concurrency":{"type":"integer"},"labels_csv":{"type":"string","nullable":true},"node_capabilities_csv":{"type":"string","nullable":true},"elastic_provider_kind":{"type":"string","nullable":true},"elastic_config_json":{"type":"string","nullable":true}}}}}},"security":[{"bearerAuth":[]}]},"put":{"operationId":"put_api_v1_ci_runner_pools_id_","tags":["ci"],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not found"},"422":{"description":"Unprocessable entity"},"502":{"description":"Bad gateway"}},"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"security":[{"bearerAuth":[]}]}},"/api/v1/ci/runner_pools/{runner_pool_id}/node_enrollment_tokens":{"get":{"operationId":"api_v1_runner_pool_node_enrollment_tokens","tags":["ci"],"parameters":[{"name":"runner_pool_id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"CI node enrollment tokens","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"required":["node_enrollment_tokens"],"properties":{"node_enrollment_tokens":{"type":"array","items":{"type":"object","required":["id","organization_id","ci_runner_pool_id","creator_user_id","name","description","status","kind","capabilities_csv","token_hint","usage_count","expires_at","last_used_at","revoked_at","raw_token","created_at","updated_at","expires_at_label","last_used_at_label","created_at_label","updated_at_label","usage_count_label"],"properties":{"id":{"type":"string"},"organization_id":{"type":"string"},"ci_runner_pool_id":{"type":"string"},"creator_user_id":{"type":"string","nullable":true},"name":{"type":"string"},"description":{"type":"string","nullable":true},"status":{"type":"string"},"kind":{"type":"string"},"capabilities_csv":{"type":"string","nullable":true},"token_hint":{"type":"string"},"usage_count":{"type":"integer"},"expires_at":{"type":"string","format":"date-time","nullable":true},"last_used_at":{"type":"string","format":"date-time","nullable":true},"revoked_at":{"type":"string","format":"date-time","nullable":true},"raw_token":{"type":"string","nullable":true},"created_at":{"type":"string","format":"date-time"},"updated_at":{"type":"string","format":"date-time"},"expires_at_label":{"type":"string","nullable":true},"last_used_at_label":{"type":"string","nullable":true},"created_at_label":{"type":"string","nullable":true},"updated_at_label":{"type":"string","nullable":true},"usage_count_label":{"type":"string"}}}}}}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not found"},"422":{"description":"Unprocessable entity"},"502":{"description":"Bad gateway"}},"security":[{"bearerAuth":[]}]},"post":{"operationId":"post_api_v1_ci_runner_pools_runner_pool_id_node_enrollment_tokens","tags":["ci"],"parameters":[{"name":"runner_pool_id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"CI node enrollment token","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"required":["id","organization_id","ci_runner_pool_id","creator_user_id","name","description","status","kind","capabilities_csv","token_hint","usage_count","expires_at","last_used_at","revoked_at","raw_token","created_at","updated_at","expires_at_label","last_used_at_label","created_at_label","updated_at_label","usage_count_label"],"properties":{"id":{"type":"string"},"organization_id":{"type":"string"},"ci_runner_pool_id":{"type":"string"},"creator_user_id":{"type":"string","nullable":true},"name":{"type":"string"},"description":{"type":"string","nullable":true},"status":{"type":"string"},"kind":{"type":"string"},"capabilities_csv":{"type":"string","nullable":true},"token_hint":{"type":"string"},"usage_count":{"type":"integer"},"expires_at":{"type":"string","format":"date-time","nullable":true},"last_used_at":{"type":"string","format":"date-time","nullable":true},"revoked_at":{"type":"string","format":"date-time","nullable":true},"raw_token":{"type":"string","nullable":true},"created_at":{"type":"string","format":"date-time"},"updated_at":{"type":"string","format":"date-time"},"expires_at_label":{"type":"string","nullable":true},"last_used_at_label":{"type":"string","nullable":true},"created_at_label":{"type":"string","nullable":true},"updated_at_label":{"type":"string","nullable":true},"usage_count_label":{"type":"string"}}}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not found"},"422":{"description":"Unprocessable entity"},"502":{"description":"Bad gateway"},"201":{"description":"CI node enrollment token","content":{"application/json":{"schema":{"type":"object","required":["id","organization_id","ci_runner_pool_id","creator_user_id","name","description","status","kind","capabilities_csv","token_hint","usage_count","expires_at","last_used_at","revoked_at","raw_token","created_at","updated_at","expires_at_label","last_used_at_label","created_at_label","updated_at_label","usage_count_label"],"properties":{"id":{"type":"string"},"organization_id":{"type":"string"},"ci_runner_pool_id":{"type":"string"},"creator_user_id":{"type":"string","nullable":true},"name":{"type":"string"},"description":{"type":"string","nullable":true},"status":{"type":"string"},"kind":{"type":"string"},"capabilities_csv":{"type":"string","nullable":true},"token_hint":{"type":"string"},"usage_count":{"type":"integer"},"expires_at":{"type":"string","format":"date-time","nullable":true},"last_used_at":{"type":"string","format":"date-time","nullable":true},"revoked_at":{"type":"string","format":"date-time","nullable":true},"raw_token":{"type":"string","nullable":true},"created_at":{"type":"string","format":"date-time"},"updated_at":{"type":"string","format":"date-time"},"expires_at_label":{"type":"string","nullable":true},"last_used_at_label":{"type":"string","nullable":true},"created_at_label":{"type":"string","nullable":true},"updated_at_label":{"type":"string","nullable":true},"usage_count_label":{"type":"string"}}}}}}},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"required":["name"],"properties":{"name":{"type":"string"},"capabilities_csv":{"type":"string"},"expires_at":{"type":"string","format":"date-time","nullable":true},"kind":{"type":"string"},"description":{"type":"string"}}}}}},"security":[{"bearerAuth":[]}]}},"/api/v1/ci/runner_pools/{runner_pool_id}/node_enrollment_tokens/{id}/revoke":{"post":{"operationId":"revoke_api_v1_runner_pool_node_enrollment_token","tags":["ci"],"parameters":[{"name":"runner_pool_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"CI node enrollment token","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"required":["id","organization_id","ci_runner_pool_id","creator_user_id","name","description","status","kind","capabilities_csv","token_hint","usage_count","expires_at","last_used_at","revoked_at","raw_token","created_at","updated_at","expires_at_label","last_used_at_label","created_at_label","updated_at_label","usage_count_label"],"properties":{"id":{"type":"string"},"organization_id":{"type":"string"},"ci_runner_pool_id":{"type":"string"},"creator_user_id":{"type":"string","nullable":true},"name":{"type":"string"},"description":{"type":"string","nullable":true},"status":{"type":"string"},"kind":{"type":"string"},"capabilities_csv":{"type":"string","nullable":true},"token_hint":{"type":"string"},"usage_count":{"type":"integer"},"expires_at":{"type":"string","format":"date-time","nullable":true},"last_used_at":{"type":"string","format":"date-time","nullable":true},"revoked_at":{"type":"string","format":"date-time","nullable":true},"raw_token":{"type":"string","nullable":true},"created_at":{"type":"string","format":"date-time"},"updated_at":{"type":"string","format":"date-time"},"expires_at_label":{"type":"string","nullable":true},"last_used_at_label":{"type":"string","nullable":true},"created_at_label":{"type":"string","nullable":true},"updated_at_label":{"type":"string","nullable":true},"usage_count_label":{"type":"string"}}}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not found"},"422":{"description":"Unprocessable entity"},"502":{"description":"Bad gateway"}},"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"security":[{"bearerAuth":[]}]}},"/api/v1/ci/runner_pools/{runner_pool_id}/runners":{"get":{"operationId":"api_v1_runner_pool_runners","tags":["ci"],"parameters":[{"name":"runner_pool_id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not found"},"422":{"description":"Unprocessable entity"},"502":{"description":"Bad gateway"}},"security":[{"bearerAuth":[]}]},"post":{"operationId":"post_api_v1_ci_runner_pools_runner_pool_id_runners","tags":["ci"],"parameters":[{"name":"runner_pool_id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not found"},"422":{"description":"Unprocessable entity"},"502":{"description":"Bad gateway"}},"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"security":[{"bearerAuth":[]}]}},"/api/v1/ci/runner_pools/{runner_pool_id}/runners/{id}":{"get":{"operationId":"api_v1_runner_pool_runner","tags":["ci"],"parameters":[{"name":"runner_pool_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not found"},"422":{"description":"Unprocessable entity"},"502":{"description":"Bad gateway"}},"security":[{"bearerAuth":[]}]},"patch":{"operationId":"patch_api_v1_ci_runner_pools_runner_pool_id_runners_id_","tags":["ci"],"parameters":[{"name":"runner_pool_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not found"},"422":{"description":"Unprocessable entity"},"502":{"description":"Bad gateway"}},"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"security":[{"bearerAuth":[]}]},"put":{"operationId":"put_api_v1_ci_runner_pools_runner_pool_id_runners_id_","tags":["ci"],"parameters":[{"name":"runner_pool_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not found"},"422":{"description":"Unprocessable entity"},"502":{"description":"Bad gateway"}},"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"security":[{"bearerAuth":[]}]}},"/api/v1/ci/runner_pools/{runner_pool_id}/runners/{id}/heartbeat":{"post":{"operationId":"heartbeat_api_v1_runner_pool_runner","tags":["ci"],"parameters":[{"name":"runner_pool_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not found"},"422":{"description":"Unprocessable entity"},"502":{"description":"Bad gateway"}},"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"security":[{"bearerAuth":[]}]}},"/api/v1/ci/runner_pools/{runner_pool_id}/runners/{runner_id}/leases":{"get":{"operationId":"api_v1_runner_pool_runner_leases","tags":["ci"],"parameters":[{"name":"runner_pool_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"runner_id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not found"},"422":{"description":"Unprocessable entity"},"502":{"description":"Bad gateway"}},"security":[{"bearerAuth":[]}]},"post":{"operationId":"post_api_v1_ci_runner_pools_runner_pool_id_runners_runner_id_leases","tags":["ci"],"parameters":[{"name":"runner_pool_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"runner_id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not found"},"422":{"description":"Unprocessable entity"},"502":{"description":"Bad gateway"}},"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"security":[{"bearerAuth":[]}]}},"/api/v1/ci/runner_pools/{runner_pool_id}/runners/{runner_id}/leases/{id}/claim":{"post":{"operationId":"claim_api_v1_runner_pool_runner_lease","tags":["ci"],"parameters":[{"name":"runner_pool_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"runner_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not found"},"422":{"description":"Unprocessable entity"},"502":{"description":"Bad gateway"}},"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"security":[{"bearerAuth":[]}]}},"/api/v1/ci/runner_pools/{runner_pool_id}/runners/{runner_id}/leases/{id}/heartbeat":{"post":{"operationId":"heartbeat_api_v1_runner_pool_runner_lease","tags":["ci"],"parameters":[{"name":"runner_pool_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"runner_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not found"},"422":{"description":"Unprocessable entity"},"502":{"description":"Bad gateway"}},"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"security":[{"bearerAuth":[]}]}},"/api/v1/ci/runner_pools/{runner_pool_id}/runners/{runner_id}/leases/{id}/release":{"post":{"operationId":"release_api_v1_runner_pool_runner_lease","tags":["ci"],"parameters":[{"name":"runner_pool_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"runner_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not found"},"422":{"description":"Unprocessable entity"},"502":{"description":"Bad gateway"}},"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"security":[{"bearerAuth":[]}]}},"/api/v1/cli_releases":{"get":{"operationId":"api_v1_cli_releases","tags":["cli_releases"],"parameters":[],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not found"},"422":{"description":"Unprocessable entity"},"502":{"description":"Bad gateway"}},"security":[{"bearerAuth":[]}]},"post":{"operationId":"post_api_v1_cli_releases","tags":["cli_releases"],"parameters":[],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not found"},"422":{"description":"Unprocessable entity"},"502":{"description":"Bad gateway"}},"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"security":[{"bearerAuth":[]}]}},"/api/v1/cli_releases/latest":{"get":{"operationId":"latest_api_v1_cli_releases","tags":["cli_releases"],"parameters":[],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not found"},"422":{"description":"Unprocessable entity"},"502":{"description":"Bad gateway"}},"security":[{"bearerAuth":[]}]}},"/api/v1/edge/tls-check":{"get":{"operationId":"api_v1_edge_tls_check","tags":["edge"],"parameters":[],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not found"},"422":{"description":"Unprocessable entity"},"502":{"description":"Bad gateway"}},"security":[{"bearerAuth":[]}]}},"/api/v1/email_verifications/verify":{"get":{"operationId":"api_v1_email_verifications_verify","tags":["email_verifications"],"parameters":[],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not found"},"422":{"description":"Unprocessable entity"},"502":{"description":"Bad gateway"}},"security":[{"bearerAuth":[]}]}},"/api/v1/execution/desired_states":{"get":{"operationId":"api_v1_desired_states","tags":["execution"],"parameters":[],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not found"},"422":{"description":"Unprocessable entity"},"502":{"description":"Bad gateway"}},"security":[{"bearerAuth":[]}]},"post":{"operationId":"post_api_v1_execution_desired_states","tags":["execution"],"parameters":[],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not found"},"422":{"description":"Unprocessable entity"},"502":{"description":"Bad gateway"}},"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"security":[{"bearerAuth":[]}]}},"/api/v1/execution/desired_states/{id}":{"get":{"operationId":"api_v1_desired_state","tags":["execution"],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not found"},"422":{"description":"Unprocessable entity"},"502":{"description":"Bad gateway"}},"security":[{"bearerAuth":[]}]},"patch":{"operationId":"patch_api_v1_execution_desired_states_id_","tags":["execution"],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not found"},"422":{"description":"Unprocessable entity"},"502":{"description":"Bad gateway"}},"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"security":[{"bearerAuth":[]}]},"put":{"operationId":"put_api_v1_execution_desired_states_id_","tags":["execution"],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not found"},"422":{"description":"Unprocessable entity"},"502":{"description":"Bad gateway"}},"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"security":[{"bearerAuth":[]}]},"delete":{"operationId":"delete_api_v1_execution_desired_states_id_","tags":["execution"],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not found"},"422":{"description":"Unprocessable entity"},"502":{"description":"Bad gateway"}},"security":[{"bearerAuth":[]}]}},"/api/v1/execution/desired_states/{id}/reconcile":{"post":{"operationId":"reconcile_api_v1_desired_state","tags":["execution"],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not found"},"422":{"description":"Unprocessable entity"},"502":{"description":"Bad gateway"}},"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"security":[{"bearerAuth":[]}]}},"/api/v1/execution/reconciler_ticks":{"get":{"operationId":"api_v1_reconciler_ticks","tags":["execution"],"parameters":[],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not found"},"422":{"description":"Unprocessable entity"},"502":{"description":"Bad gateway"}},"security":[{"bearerAuth":[]}]},"post":{"operationId":"post_api_v1_execution_reconciler_ticks","tags":["execution"],"parameters":[],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not found"},"422":{"description":"Unprocessable entity"},"502":{"description":"Bad gateway"}},"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"security":[{"bearerAuth":[]}]}},"/api/v1/execution/reconciler_ticks/{id}":{"get":{"operationId":"api_v1_reconciler_tick","tags":["execution"],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not found"},"422":{"description":"Unprocessable entity"},"502":{"description":"Bad gateway"}},"security":[{"bearerAuth":[]}]}},"/api/v1/execution/releases":{"get":{"operationId":"api_v1_releases","tags":["execution"],"parameters":[],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not found"},"422":{"description":"Unprocessable entity"},"502":{"description":"Bad gateway"}},"security":[{"bearerAuth":[]}]},"post":{"operationId":"post_api_v1_execution_releases","tags":["execution"],"parameters":[],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not found"},"422":{"description":"Unprocessable entity"},"502":{"description":"Bad gateway"}},"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"security":[{"bearerAuth":[]}]}},"/api/v1/execution/releases/{id}":{"get":{"operationId":"api_v1_release","tags":["execution"],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not found"},"422":{"description":"Unprocessable entity"},"502":{"description":"Bad gateway"}},"security":[{"bearerAuth":[]}]}},"/api/v1/execution/releases/{id}/activate":{"post":{"operationId":"activate_api_v1_release","tags":["execution"],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not found"},"422":{"description":"Unprocessable entity"},"502":{"description":"Bad gateway"}},"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"security":[{"bearerAuth":[]}]}},"/api/v1/execution/releases/{id}/fail":{"post":{"operationId":"fail_api_v1_release","tags":["execution"],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not found"},"422":{"description":"Unprocessable entity"},"502":{"description":"Bad gateway"}},"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"security":[{"bearerAuth":[]}]}},"/api/v1/execution/releases/{id}/mark_ready":{"post":{"operationId":"mark_ready_api_v1_release","tags":["execution"],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not found"},"422":{"description":"Unprocessable entity"},"502":{"description":"Bad gateway"}},"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"security":[{"bearerAuth":[]}]}},"/api/v1/execution/releases/{release_id}/rollouts":{"get":{"operationId":"api_v1_release_rollouts","tags":["execution"],"parameters":[{"name":"release_id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not found"},"422":{"description":"Unprocessable entity"},"502":{"description":"Bad gateway"}},"security":[{"bearerAuth":[]}]},"post":{"operationId":"post_api_v1_execution_releases_release_id_rollouts","tags":["execution"],"parameters":[{"name":"release_id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not found"},"422":{"description":"Unprocessable entity"},"502":{"description":"Bad gateway"}},"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"security":[{"bearerAuth":[]}]}},"/api/v1/execution/releases/{release_id}/rollouts/{id}":{"get":{"operationId":"api_v1_release_rollout","tags":["execution"],"parameters":[{"name":"release_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not found"},"422":{"description":"Unprocessable entity"},"502":{"description":"Bad gateway"}},"security":[{"bearerAuth":[]}]}},"/api/v1/execution/releases/{release_id}/rollouts/{id}/complete":{"post":{"operationId":"complete_api_v1_release_rollout","tags":["execution"],"parameters":[{"name":"release_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not found"},"422":{"description":"Unprocessable entity"},"502":{"description":"Bad gateway"}},"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"security":[{"bearerAuth":[]}]}},"/api/v1/execution/releases/{release_id}/rollouts/{id}/fail":{"post":{"operationId":"fail_api_v1_release_rollout","tags":["execution"],"parameters":[{"name":"release_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not found"},"422":{"description":"Unprocessable entity"},"502":{"description":"Bad gateway"}},"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"security":[{"bearerAuth":[]}]}},"/api/v1/execution/releases/{release_id}/rollouts/{id}/start":{"post":{"operationId":"start_api_v1_release_rollout","tags":["execution"],"parameters":[{"name":"release_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not found"},"422":{"description":"Unprocessable entity"},"502":{"description":"Bad gateway"}},"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"security":[{"bearerAuth":[]}]}},"/api/v1/execution/runtime_instances":{"get":{"operationId":"api_v1_runtime_instances","tags":["execution"],"parameters":[],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not found"},"422":{"description":"Unprocessable entity"},"502":{"description":"Bad gateway"}},"security":[{"bearerAuth":[]}]},"post":{"operationId":"post_api_v1_execution_runtime_instances","tags":["execution"],"parameters":[],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not found"},"422":{"description":"Unprocessable entity"},"502":{"description":"Bad gateway"}},"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"security":[{"bearerAuth":[]}]}},"/api/v1/execution/runtime_instances/{id}":{"get":{"operationId":"api_v1_runtime_instance","tags":["execution"],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not found"},"422":{"description":"Unprocessable entity"},"502":{"description":"Bad gateway"}},"security":[{"bearerAuth":[]}]},"patch":{"operationId":"patch_api_v1_execution_runtime_instances_id_","tags":["execution"],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not found"},"422":{"description":"Unprocessable entity"},"502":{"description":"Bad gateway"}},"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"security":[{"bearerAuth":[]}]},"put":{"operationId":"put_api_v1_execution_runtime_instances_id_","tags":["execution"],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not found"},"422":{"description":"Unprocessable entity"},"502":{"description":"Bad gateway"}},"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"security":[{"bearerAuth":[]}]},"delete":{"operationId":"delete_api_v1_execution_runtime_instances_id_","tags":["execution"],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not found"},"422":{"description":"Unprocessable entity"},"502":{"description":"Bad gateway"}},"security":[{"bearerAuth":[]}]}},"/api/v1/execution/runtime_instances/{id}/refresh":{"post":{"operationId":"refresh_api_v1_runtime_instance","tags":["execution"],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not found"},"422":{"description":"Unprocessable entity"},"502":{"description":"Bad gateway"}},"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"security":[{"bearerAuth":[]}]}},"/api/v1/execution/runtime_instances/{id}/terminate":{"post":{"operationId":"terminate_api_v1_runtime_instance","tags":["execution"],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not found"},"422":{"description":"Unprocessable entity"},"502":{"description":"Bad gateway"}},"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"security":[{"bearerAuth":[]}]}},"/api/v1/execution/runtime_instances/{runtime_instance_id}/health_snapshots":{"get":{"operationId":"api_v1_runtime_instance_health_snapshots","tags":["execution"],"parameters":[{"name":"runtime_instance_id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not found"},"422":{"description":"Unprocessable entity"},"502":{"description":"Bad gateway"}},"security":[{"bearerAuth":[]}]},"post":{"operationId":"post_api_v1_execution_runtime_instances_runtime_instance_id_health_snapshots","tags":["execution"],"parameters":[{"name":"runtime_instance_id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not found"},"422":{"description":"Unprocessable entity"},"502":{"description":"Bad gateway"}},"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"security":[{"bearerAuth":[]}]}},"/api/v1/github_app/importable_repositories":{"get":{"operationId":"api_v1_github_app_importable_repositories","tags":["github_app"],"parameters":[],"responses":{"200":{"description":"Importable GitHub repositories grouped by installation account","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"required":["accounts"],"properties":{"accounts":{"type":"array","items":{"type":"object","required":["github_app_installation_id","account_login","repositories"],"properties":{"github_app_installation_id":{"type":"string"},"account_login":{"type":"string"},"repositories":{"type":"array","items":{"type":"object","required":["owner","name","full_name","default_branch","visibility","private","empty","html_url","updated_at","already_imported"],"properties":{"owner":{"type":"string"},"name":{"type":"string"},"full_name":{"type":"string"},"default_branch":{"type":"string","nullable":true},"visibility":{"type":"string","nullable":true},"private":{"type":"boolean","nullable":true},"empty":{"type":"boolean","nullable":true},"html_url":{"type":"string","nullable":true},"updated_at":{"type":"string","nullable":true},"already_imported":{"type":"boolean"}}}}}}}}}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not found"},"422":{"description":"Unprocessable entity"},"502":{"description":"Bad gateway"}},"security":[{"bearerAuth":[]}]}},"/api/v1/github_app/installation_authorizations":{"post":{"operationId":"api_v1_github_app_installation_authorizations","tags":["github_app"],"parameters":[],"responses":{"200":{"description":"GitHub App installation URL with opaque setup state","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"required":["installation_url"],"properties":{"installation_url":{"type":"string","format":"uri"}}}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not found"},"422":{"description":"Unprocessable entity"},"502":{"description":"Bad gateway"},"201":{"description":"GitHub App installation URL with opaque setup state","content":{"application/json":{"schema":{"type":"object","required":["installation_url"],"properties":{"installation_url":{"type":"string","format":"uri"}}}}}},"503":{"description":"GitHub App or durable authorization state is not configured"}},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"required":["organization_slug","return_target"],"properties":{"organization_slug":{"type":"string","description":"Vex organization slug whose installation will be linked."},"return_target":{"type":"string","description":"Server-validated Vex application target used after verification."}}}}}},"security":[{"bearerAuth":[]}],"summary":"Start verified GitHub App installation linking","description":"Creates a short-lived, user-bound setup state for an organization administrator and returns the server-generated GitHub App installation URL. Requires an authenticated Vex session or bearer token."}},"/api/v1/github_app/installation_authorizations/complete":{"post":{"operationId":"api_v1_github_app_installation_authorizations_complete","tags":["github_app"],"parameters":[],"responses":{"200":{"description":"Existing verified installation link refreshed","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"required":["github_app_installation","return_target"],"properties":{"github_app_installation":{"type":"object","required":["id","organization_id","installation_id","account_login","account_id","status","permissions","installed_at","installed_at_label","suspended_at","suspended_at_label","created_at","created_at_label","updated_at","updated_at_label"],"properties":{"id":{"type":"string"},"organization_id":{"type":"string"},"installation_id":{"type":"string"},"account_login":{"type":"string"},"account_id":{"type":"string","nullable":true},"status":{"type":"string","enum":["active","suspended"]},"permissions":{"type":"object","additionalProperties":true},"installed_at":{"type":"string","format":"date-time","nullable":true},"installed_at_label":{"type":"string","nullable":true},"suspended_at":{"type":"string","format":"date-time","nullable":true},"suspended_at_label":{"type":"string","nullable":true},"created_at":{"type":"string","format":"date-time"},"created_at_label":{"type":"string","nullable":true},"updated_at":{"type":"string","format":"date-time"},"updated_at_label":{"type":"string","nullable":true}}},"return_target":{"type":"string"}}}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not found"},"422":{"description":"Unprocessable entity"},"502":{"description":"Bad gateway"},"201":{"description":"Verified installation link created","content":{"application/json":{"schema":{"type":"object","required":["github_app_installation","return_target"],"properties":{"github_app_installation":{"type":"object","required":["id","organization_id","installation_id","account_login","account_id","status","permissions","installed_at","installed_at_label","suspended_at","suspended_at_label","created_at","created_at_label","updated_at","updated_at_label"],"properties":{"id":{"type":"string"},"organization_id":{"type":"string"},"installation_id":{"type":"string"},"account_login":{"type":"string"},"account_id":{"type":"string","nullable":true},"status":{"type":"string","enum":["active","suspended"]},"permissions":{"type":"object","additionalProperties":true},"installed_at":{"type":"string","format":"date-time","nullable":true},"installed_at_label":{"type":"string","nullable":true},"suspended_at":{"type":"string","format":"date-time","nullable":true},"suspended_at_label":{"type":"string","nullable":true},"created_at":{"type":"string","format":"date-time"},"created_at_label":{"type":"string","nullable":true},"updated_at":{"type":"string","format":"date-time"},"updated_at_label":{"type":"string","nullable":true}}},"return_target":{"type":"string"}}}}}},"409":{"description":"The GitHub account is already linked to another Vex organization"},"503":{"description":"GitHub App OAuth or durable authorization state is not configured"}},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"required":["state"],"properties":{"code":{"type":"string","description":"GitHub App user authorization code when authorization succeeds."},"error":{"type":"string","description":"GitHub OAuth error when the user denies or cannot grant authorization."},"state":{"type":"string","description":"Opaque one-time verification state returned by GitHub OAuth."}}}}}},"security":[{"bearerAuth":[]}],"summary":"Verify ownership and link a GitHub App installation","description":"Consumes the one-time verification state and GitHub OAuth result, verifies the current GitHub identity, organization ownership or personal-account identity, complete repository visibility, and repository administration before creating or refreshing the Vex link."}},"/api/v1/github_app/installation_authorizations/setup":{"post":{"operationId":"api_v1_github_app_installation_authorizations_setup","tags":["github_app"],"parameters":[],"responses":{"200":{"description":"PKCE-protected GitHub App user authorization URL","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"required":["authorization_url"],"properties":{"authorization_url":{"type":"string","format":"uri"}}}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not found"},"422":{"description":"Unprocessable entity"},"502":{"description":"Bad gateway"},"201":{"description":"PKCE-protected GitHub App user authorization URL","content":{"application/json":{"schema":{"type":"object","required":["authorization_url"],"properties":{"authorization_url":{"type":"string","format":"uri"}}}}}},"503":{"description":"GitHub App OAuth or durable authorization state is not configured"}},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"required":["installation_id","setup_action","state"],"properties":{"installation_id":{"type":"string"},"setup_action":{"type":"string","enum":["install","update"]},"state":{"type":"string","description":"Opaque one-time state returned in the GitHub Setup URL callback."}}}}}},"security":[{"bearerAuth":[]}],"summary":"Begin GitHub user verification for an installation","description":"Consumes the one-time installation setup state, records the App-owned installation snapshot, and returns a PKCE-protected GitHub App user authorization URL. No installation is linked at this stage."}},"/api/v1/github_app/webhook":{"post":{"operationId":"api_v1_github_app_webhook","tags":["github_app"],"parameters":[],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not found"},"422":{"description":"Unprocessable entity"},"502":{"description":"Bad gateway"}},"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"security":[{"bearerAuth":[]}]}},"/api/v1/hosting/apps":{"get":{"operationId":"api_v1_apps","tags":["hosting"],"parameters":[{"name":"organization_id","in":"query","required":false,"schema":{"type":"string"}}],"responses":{"200":{"description":"Hosted apps visible to the current user","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"required":["apps"],"properties":{"apps":{"type":"array","items":{"$ref":"#/components/schemas/HostedApp"}}}}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not found"},"422":{"description":"Unprocessable entity"},"502":{"description":"Bad gateway"}},"security":[{"bearerAuth":[]}]},"post":{"operationId":"post_api_v1_hosting_apps","tags":["hosting"],"parameters":[],"responses":{"200":{"description":"Hosted app created","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"required":["app"],"properties":{"app":{"$ref":"#/components/schemas/HostedApp"}}}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not found"},"422":{"description":"Unprocessable entity"},"502":{"description":"Bad gateway"},"201":{"description":"Hosted app created","content":{"application/json":{"schema":{"type":"object","required":["app"],"properties":{"app":{"$ref":"#/components/schemas/HostedApp"}}}}}}},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"$ref":"#/components/schemas/HostedAppCreatePayload"}}}},"security":[{"bearerAuth":[]}]}},"/api/v1/hosting/apps/{app_id}/catalog":{"get":{"operationId":"api_v1_app_catalog","tags":["hosting"],"parameters":[{"name":"app_id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Hosted app configuration catalog","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"required":["app"],"properties":{"app":{"$ref":"#/components/schemas/HostedAppCatalog"}}}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not found"},"422":{"description":"Unprocessable entity"},"502":{"description":"Bad gateway"}},"security":[{"bearerAuth":[]}]}},"/api/v1/hosting/apps/{app_id}/cdns":{"get":{"operationId":"api_v1_app_cdns","tags":["hosting"],"parameters":[{"name":"app_id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not found"},"422":{"description":"Unprocessable entity"},"502":{"description":"Bad gateway"}},"security":[{"bearerAuth":[]}]},"post":{"operationId":"post_api_v1_hosting_apps_app_id_cdns","tags":["hosting"],"parameters":[{"name":"app_id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"App CDN distribution created","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"required":["cdn"],"properties":{"cdn":{"$ref":"#/components/schemas/AppCdnDistribution"}}}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not found"},"422":{"description":"CDN request failed validation","content":{"application/json":{"schema":{"type":"object","required":["error"],"properties":{"error":{"type":"string"},"details":{"type":"array","items":{"type":"string"}}}}}}},"502":{"description":"Bad gateway"},"201":{"description":"App CDN distribution created","content":{"application/json":{"schema":{"type":"object","required":["cdn"],"properties":{"cdn":{"$ref":"#/components/schemas/AppCdnDistribution"}}}}}}},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"$ref":"#/components/schemas/AppCdnDistributionCreatePayload"}}}},"security":[{"bearerAuth":[]}]}},"/api/v1/hosting/apps/{app_id}/cdns/{cdn_id}/deployments":{"get":{"operationId":"api_v1_app_cdn_deployments","tags":["hosting"],"parameters":[{"name":"app_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"cdn_id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not found"},"422":{"description":"Unprocessable entity"},"502":{"description":"Bad gateway"}},"security":[{"bearerAuth":[]}]},"post":{"operationId":"post_api_v1_hosting_apps_app_id_cdns_cdn_id_deployments","tags":["hosting"],"parameters":[{"name":"app_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"cdn_id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not found"},"422":{"description":"Unprocessable entity"},"502":{"description":"Bad gateway"}},"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"security":[{"bearerAuth":[]}]}},"/api/v1/hosting/apps/{app_id}/cdns/{cdn_id}/deployments/{id}":{"get":{"operationId":"api_v1_app_cdn_deployment","tags":["hosting"],"parameters":[{"name":"app_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"cdn_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not found"},"422":{"description":"Unprocessable entity"},"502":{"description":"Bad gateway"}},"security":[{"bearerAuth":[]}]}},"/api/v1/hosting/apps/{app_id}/cdns/{cdn_id}/hostnames":{"get":{"operationId":"api_v1_app_cdn_hostnames","tags":["hosting"],"parameters":[{"name":"app_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"cdn_id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not found"},"422":{"description":"Unprocessable entity"},"502":{"description":"Bad gateway"}},"security":[{"bearerAuth":[]}]},"post":{"operationId":"post_api_v1_hosting_apps_app_id_cdns_cdn_id_hostnames","tags":["hosting"],"parameters":[{"name":"app_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"cdn_id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"App CDN hostname created","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"required":["hostname"],"properties":{"hostname":{"$ref":"#/components/schemas/AppCdnHostname"}}}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not found"},"422":{"description":"CDN request failed validation","content":{"application/json":{"schema":{"type":"object","required":["error"],"properties":{"error":{"type":"string"},"details":{"type":"array","items":{"type":"string"}}}}}}},"502":{"description":"Bad gateway"},"201":{"description":"App CDN hostname created","content":{"application/json":{"schema":{"type":"object","required":["hostname"],"properties":{"hostname":{"$ref":"#/components/schemas/AppCdnHostname"}}}}}}},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"$ref":"#/components/schemas/AppCdnHostnameCreatePayload"}}}},"security":[{"bearerAuth":[]}]}},"/api/v1/hosting/apps/{app_id}/cdns/{cdn_id}/hostnames/{id}":{"get":{"operationId":"api_v1_app_cdn_hostname","tags":["hosting"],"parameters":[{"name":"app_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"cdn_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not found"},"422":{"description":"Unprocessable entity"},"502":{"description":"Bad gateway"}},"security":[{"bearerAuth":[]}]},"patch":{"operationId":"patch_api_v1_hosting_apps_app_id_cdns_cdn_id_hostnames_id_","tags":["hosting"],"parameters":[{"name":"app_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"cdn_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not found"},"422":{"description":"Unprocessable entity"},"502":{"description":"Bad gateway"}},"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"security":[{"bearerAuth":[]}]},"put":{"operationId":"put_api_v1_hosting_apps_app_id_cdns_cdn_id_hostnames_id_","tags":["hosting"],"parameters":[{"name":"app_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"cdn_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not found"},"422":{"description":"Unprocessable entity"},"502":{"description":"Bad gateway"}},"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"security":[{"bearerAuth":[]}]},"delete":{"operationId":"delete_api_v1_hosting_apps_app_id_cdns_cdn_id_hostnames_id_","tags":["hosting"],"parameters":[{"name":"app_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"cdn_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not found"},"422":{"description":"Unprocessable entity"},"502":{"description":"Bad gateway"},"204":{"description":"App CDN hostname deleted"}},"security":[{"bearerAuth":[]}]}},"/api/v1/hosting/apps/{app_id}/cdns/{id}":{"get":{"operationId":"api_v1_app_cdn","tags":["hosting"],"parameters":[{"name":"app_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not found"},"422":{"description":"Unprocessable entity"},"502":{"description":"Bad gateway"}},"security":[{"bearerAuth":[]}]},"patch":{"operationId":"patch_api_v1_hosting_apps_app_id_cdns_id_","tags":["hosting"],"parameters":[{"name":"app_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Updated app CDN distribution","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"required":["cdn"],"properties":{"cdn":{"$ref":"#/components/schemas/AppCdnDistribution"}}}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not found"},"422":{"description":"CDN request failed validation","content":{"application/json":{"schema":{"type":"object","required":["error"],"properties":{"error":{"type":"string"},"details":{"type":"array","items":{"type":"string"}}}}}}},"502":{"description":"Bad gateway"}},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"$ref":"#/components/schemas/AppCdnDistributionUpdatePayload"}}}},"security":[{"bearerAuth":[]}]},"put":{"operationId":"put_api_v1_hosting_apps_app_id_cdns_id_","tags":["hosting"],"parameters":[{"name":"app_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Updated app CDN distribution","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"required":["cdn"],"properties":{"cdn":{"$ref":"#/components/schemas/AppCdnDistribution"}}}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not found"},"422":{"description":"CDN request failed validation","content":{"application/json":{"schema":{"type":"object","required":["error"],"properties":{"error":{"type":"string"},"details":{"type":"array","items":{"type":"string"}}}}}}},"502":{"description":"Bad gateway"}},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"$ref":"#/components/schemas/AppCdnDistributionUpdatePayload"}}}},"security":[{"bearerAuth":[]}]},"delete":{"operationId":"delete_api_v1_hosting_apps_app_id_cdns_id_","tags":["hosting"],"parameters":[{"name":"app_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not found"},"422":{"description":"Unprocessable entity"},"502":{"description":"Bad gateway"}},"security":[{"bearerAuth":[]}]}},"/api/v1/hosting/apps/{app_id}/cdns/{id}/archive":{"post":{"operationId":"archive_api_v1_app_cdn","tags":["hosting"],"parameters":[{"name":"app_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Updated app CDN distribution","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"required":["cdn"],"properties":{"cdn":{"$ref":"#/components/schemas/AppCdnDistribution"}}}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not found"},"422":{"description":"Unprocessable entity"},"502":{"description":"Bad gateway"}},"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"security":[{"bearerAuth":[]}]}},"/api/v1/hosting/apps/{app_id}/cdns/{id}/pause":{"post":{"operationId":"pause_api_v1_app_cdn","tags":["hosting"],"parameters":[{"name":"app_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Updated app CDN distribution","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"required":["cdn"],"properties":{"cdn":{"$ref":"#/components/schemas/AppCdnDistribution"}}}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not found"},"422":{"description":"Unprocessable entity"},"502":{"description":"Bad gateway"}},"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"security":[{"bearerAuth":[]}]}},"/api/v1/hosting/apps/{app_id}/cdns/{id}/provision":{"post":{"operationId":"provision_api_v1_app_cdn","tags":["hosting"],"parameters":[{"name":"app_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"App CDN deployment action completed","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"required":["deployment"],"properties":{"deployment":{"$ref":"#/components/schemas/AppCdnDeployment"}}}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not found"},"422":{"description":"CDN request failed validation","content":{"application/json":{"schema":{"type":"object","required":["error"],"properties":{"error":{"type":"string"},"details":{"type":"array","items":{"type":"string"}}}}}}},"502":{"description":"Bad gateway"}},"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"$ref":"#/components/schemas/AppCdnDeploymentPayload"}}}},"security":[{"bearerAuth":[]}]}},"/api/v1/hosting/apps/{app_id}/cdns/{id}/purge":{"post":{"operationId":"purge_api_v1_app_cdn","tags":["hosting"],"parameters":[{"name":"app_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"App CDN deployment action completed","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"required":["deployment"],"properties":{"deployment":{"$ref":"#/components/schemas/AppCdnDeployment"}}}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not found"},"422":{"description":"CDN request failed validation","content":{"application/json":{"schema":{"type":"object","required":["error"],"properties":{"error":{"type":"string"},"details":{"type":"array","items":{"type":"string"}}}}}}},"502":{"description":"Bad gateway"}},"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"$ref":"#/components/schemas/AppCdnPurgePayload"}}}},"security":[{"bearerAuth":[]}]}},"/api/v1/hosting/apps/{app_id}/cdns/{id}/resume":{"post":{"operationId":"resume_api_v1_app_cdn","tags":["hosting"],"parameters":[{"name":"app_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Updated app CDN distribution","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"required":["cdn"],"properties":{"cdn":{"$ref":"#/components/schemas/AppCdnDistribution"}}}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not found"},"422":{"description":"Unprocessable entity"},"502":{"description":"Bad gateway"}},"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"security":[{"bearerAuth":[]}]}},"/api/v1/hosting/apps/{app_id}/cdns/{id}/sync":{"post":{"operationId":"sync_api_v1_app_cdn","tags":["hosting"],"parameters":[{"name":"app_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"App CDN deployment action completed","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"required":["deployment"],"properties":{"deployment":{"$ref":"#/components/schemas/AppCdnDeployment"}}}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not found"},"422":{"description":"CDN request failed validation","content":{"application/json":{"schema":{"type":"object","required":["error"],"properties":{"error":{"type":"string"},"details":{"type":"array","items":{"type":"string"}}}}}}},"502":{"description":"Bad gateway"}},"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"$ref":"#/components/schemas/AppCdnDeploymentPayload"}}}},"security":[{"bearerAuth":[]}]}},"/api/v1/hosting/apps/{app_id}/config_variables":{"get":{"operationId":"api_v1_app_config_variables","tags":["hosting"],"parameters":[{"name":"app_id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not found"},"422":{"description":"Unprocessable entity"},"502":{"description":"Bad gateway"}},"security":[{"bearerAuth":[]}]},"post":{"operationId":"post_api_v1_hosting_apps_app_id_config_variables","tags":["hosting"],"parameters":[{"name":"app_id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"App configuration variable created","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"required":["config_variable"],"properties":{"config_variable":{"$ref":"#/components/schemas/AppConfigVariable"}}}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not found"},"422":{"description":"Hosting delivery request failed validation","content":{"application/json":{"schema":{"type":"object","required":["error"],"properties":{"error":{"type":"string"},"details":{"type":"array","items":{"type":"string"}}}}}}},"502":{"description":"Bad gateway"},"201":{"description":"App configuration variable created","content":{"application/json":{"schema":{"type":"object","required":["config_variable"],"properties":{"config_variable":{"$ref":"#/components/schemas/AppConfigVariable"}}}}}}},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"$ref":"#/components/schemas/AppConfigVariableCreatePayload"}}}},"security":[{"bearerAuth":[]}]}},"/api/v1/hosting/apps/{app_id}/config_variables/{id}":{"get":{"operationId":"api_v1_app_config_variable","tags":["hosting"],"parameters":[{"name":"app_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not found"},"422":{"description":"Unprocessable entity"},"502":{"description":"Bad gateway"}},"security":[{"bearerAuth":[]}]},"patch":{"operationId":"patch_api_v1_hosting_apps_app_id_config_variables_id_","tags":["hosting"],"parameters":[{"name":"app_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not found"},"422":{"description":"Unprocessable entity"},"502":{"description":"Bad gateway"}},"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"security":[{"bearerAuth":[]}]},"put":{"operationId":"put_api_v1_hosting_apps_app_id_config_variables_id_","tags":["hosting"],"parameters":[{"name":"app_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not found"},"422":{"description":"Unprocessable entity"},"502":{"description":"Bad gateway"}},"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"security":[{"bearerAuth":[]}]},"delete":{"operationId":"delete_api_v1_hosting_apps_app_id_config_variables_id_","tags":["hosting"],"parameters":[{"name":"app_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not found"},"422":{"description":"Unprocessable entity"},"502":{"description":"Bad gateway"}},"security":[{"bearerAuth":[]}]}},"/api/v1/hosting/apps/{app_id}/config_variables/{id}/disable":{"post":{"operationId":"disable_api_v1_app_config_variable","tags":["hosting"],"parameters":[{"name":"app_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Updated app configuration variable","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"required":["config_variable"],"properties":{"config_variable":{"$ref":"#/components/schemas/AppConfigVariable"}}}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not found"},"422":{"description":"Unprocessable entity"},"502":{"description":"Bad gateway"}},"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"security":[{"bearerAuth":[]}]}},"/api/v1/hosting/apps/{app_id}/config_variables/{id}/rotate":{"post":{"operationId":"rotate_api_v1_app_config_variable","tags":["hosting"],"parameters":[{"name":"app_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Updated app configuration variable","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"required":["config_variable"],"properties":{"config_variable":{"$ref":"#/components/schemas/AppConfigVariable"}}}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not found"},"422":{"description":"Hosting delivery request failed validation","content":{"application/json":{"schema":{"type":"object","required":["error"],"properties":{"error":{"type":"string"},"details":{"type":"array","items":{"type":"string"}}}}}}},"502":{"description":"Bad gateway"}},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"$ref":"#/components/schemas/AppConfigVariableRotatePayload"}}}},"security":[{"bearerAuth":[]}]}},"/api/v1/hosting/apps/{app_id}/data_resources":{"get":{"operationId":"api_v1_app_data_resources","tags":["hosting"],"parameters":[{"name":"app_id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not found"},"422":{"description":"Unprocessable entity"},"502":{"description":"Bad gateway"}},"security":[{"bearerAuth":[]}]},"post":{"operationId":"post_api_v1_hosting_apps_app_id_data_resources","tags":["hosting"],"parameters":[{"name":"app_id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"App data resource created","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"required":["data_resource"],"properties":{"data_resource":{"$ref":"#/components/schemas/AppDataResource"}}}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not found"},"422":{"description":"Infrastructure request failed validation","content":{"application/json":{"schema":{"type":"object","required":["error"],"properties":{"error":{"type":"string"},"details":{"type":"array","items":{"type":"string"}}}}}}},"502":{"description":"Data resource provider request failed","content":{"application/json":{"schema":{"type":"object","required":["data_resource"],"properties":{"data_resource":{"$ref":"#/components/schemas/AppDataResource"}}}}}},"201":{"description":"App data resource created","content":{"application/json":{"schema":{"type":"object","required":["data_resource"],"properties":{"data_resource":{"$ref":"#/components/schemas/AppDataResource"}}}}}}},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"$ref":"#/components/schemas/AppDataResourceCreatePayload"}}}},"security":[{"bearerAuth":[]}]}},"/api/v1/hosting/apps/{app_id}/data_resources/{id}":{"get":{"operationId":"api_v1_app_data_resource","tags":["hosting"],"parameters":[{"name":"app_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not found"},"422":{"description":"Unprocessable entity"},"502":{"description":"Bad gateway"}},"security":[{"bearerAuth":[]}]},"patch":{"operationId":"patch_api_v1_hosting_apps_app_id_data_resources_id_","tags":["hosting"],"parameters":[{"name":"app_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not found"},"422":{"description":"Unprocessable entity"},"502":{"description":"Bad gateway"}},"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"security":[{"bearerAuth":[]}]},"put":{"operationId":"put_api_v1_hosting_apps_app_id_data_resources_id_","tags":["hosting"],"parameters":[{"name":"app_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not found"},"422":{"description":"Unprocessable entity"},"502":{"description":"Bad gateway"}},"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"security":[{"bearerAuth":[]}]},"delete":{"operationId":"delete_api_v1_hosting_apps_app_id_data_resources_id_","tags":["hosting"],"parameters":[{"name":"app_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not found"},"422":{"description":"Unprocessable entity"},"502":{"description":"Bad gateway"}},"security":[{"bearerAuth":[]}]}},"/api/v1/hosting/apps/{app_id}/data_resources/{id}/archive":{"post":{"operationId":"archive_api_v1_app_data_resource","tags":["hosting"],"parameters":[{"name":"app_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not found"},"422":{"description":"Unprocessable entity"},"502":{"description":"Bad gateway"}},"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"security":[{"bearerAuth":[]}]}},"/api/v1/hosting/apps/{app_id}/data_resources/{id}/refresh":{"post":{"operationId":"refresh_api_v1_app_data_resource","tags":["hosting"],"parameters":[{"name":"app_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Updated app data resource","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"required":["data_resource"],"properties":{"data_resource":{"$ref":"#/components/schemas/AppDataResource"}}}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not found"},"422":{"description":"Unprocessable entity"},"502":{"description":"Data resource provider request failed","content":{"application/json":{"schema":{"type":"object","required":["data_resource"],"properties":{"data_resource":{"$ref":"#/components/schemas/AppDataResource"}}}}}}},"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"security":[{"bearerAuth":[]}]}},"/api/v1/hosting/apps/{app_id}/data_resources/{id}/restore":{"post":{"operationId":"restore_api_v1_app_data_resource","tags":["hosting"],"parameters":[{"name":"app_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Restored app data resource created","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"required":["data_resource"],"properties":{"data_resource":{"$ref":"#/components/schemas/AppDataResource"}}}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not found"},"422":{"description":"Infrastructure request failed validation","content":{"application/json":{"schema":{"type":"object","required":["error"],"properties":{"error":{"type":"string"},"details":{"type":"array","items":{"type":"string"}}}}}}},"502":{"description":"Data resource provider request failed","content":{"application/json":{"schema":{"type":"object","required":["data_resource"],"properties":{"data_resource":{"$ref":"#/components/schemas/AppDataResource"}}}}}},"201":{"description":"Restored app data resource created","content":{"application/json":{"schema":{"type":"object","required":["data_resource"],"properties":{"data_resource":{"$ref":"#/components/schemas/AppDataResource"}}}}}}},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"$ref":"#/components/schemas/AppDataResourceRestorePayload"}}}},"security":[{"bearerAuth":[]}]}},"/api/v1/hosting/apps/{app_id}/data_resources/{id}/resume":{"post":{"operationId":"resume_api_v1_app_data_resource","tags":["hosting"],"parameters":[{"name":"app_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not found"},"422":{"description":"Unprocessable entity"},"502":{"description":"Bad gateway"}},"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"security":[{"bearerAuth":[]}]}},"/api/v1/hosting/apps/{app_id}/data_resources/{id}/rotate_credentials":{"post":{"operationId":"rotate_credentials_api_v1_app_data_resource","tags":["hosting"],"parameters":[{"name":"app_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Updated app data resource","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"required":["data_resource"],"properties":{"data_resource":{"$ref":"#/components/schemas/AppDataResource"}}}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not found"},"422":{"description":"Unprocessable entity"},"502":{"description":"Data resource provider request failed","content":{"application/json":{"schema":{"type":"object","required":["data_resource"],"properties":{"data_resource":{"$ref":"#/components/schemas/AppDataResource"}}}}}}},"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"security":[{"bearerAuth":[]}]}},"/api/v1/hosting/apps/{app_id}/data_resources/{id}/suspend":{"post":{"operationId":"suspend_api_v1_app_data_resource","tags":["hosting"],"parameters":[{"name":"app_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not found"},"422":{"description":"Unprocessable entity"},"502":{"description":"Bad gateway"}},"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"security":[{"bearerAuth":[]}]}},"/api/v1/hosting/apps/{app_id}/deployment_dashboard":{"get":{"operationId":"api_v1_app_deployment_dashboard","tags":["hosting"],"parameters":[{"name":"app_id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Hosted app deployment dashboard","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"$ref":"#/components/schemas/DeploymentDashboard"}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not found"},"422":{"description":"Unprocessable entity"},"502":{"description":"Bad gateway"}},"security":[{"bearerAuth":[]}]}},"/api/v1/hosting/apps/{app_id}/deployment_dashboard/nomad/allocations/{allocation_id}":{"get":{"operationId":"get_api_v1_hosting_apps_app_id_deployment_dashboard_nomad_allocations_allocation_id_","tags":["hosting"],"parameters":[{"name":"app_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"allocation_id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Live Nomad allocation details","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"$ref":"#/components/schemas/NomadAllocationDetails"}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not found"},"422":{"description":"Unprocessable entity"},"502":{"description":"Nomad request failed","content":{"application/json":{"schema":{"type":"object","required":["error"],"properties":{"error":{"type":"string"}}}}}}},"security":[{"bearerAuth":[]}]}},"/api/v1/hosting/apps/{app_id}/deployment_dashboard/nomad/allocations/{allocation_id}/logs":{"get":{"operationId":"get_api_v1_hosting_apps_app_id_deployment_dashboard_nomad_allocations_allocation_id_logs","tags":["hosting"],"parameters":[{"name":"app_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"allocation_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"task","in":"query","required":false,"schema":{"type":"string"}},{"name":"type","in":"query","required":false,"schema":{"type":"string","enum":["stdout","stderr"],"default":"stdout"}},{"name":"origin","in":"query","required":false,"schema":{"type":"string","enum":["start","end"],"default":"end"}},{"name":"offset","in":"query","required":false,"schema":{"type":"integer","minimum":0,"maximum":262144,"default":65536}}],"responses":{"200":{"description":"Live Nomad task logs","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"$ref":"#/components/schemas/NomadAllocationLogs"}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not found"},"422":{"description":"Unprocessable entity"},"502":{"description":"Nomad request failed","content":{"application/json":{"schema":{"type":"object","required":["error"],"properties":{"error":{"type":"string"}}}}}},"400":{"description":"Invalid task or log options","content":{"application/json":{"schema":{"type":"object","required":["error"],"properties":{"error":{"type":"string"}}}}}}},"security":[{"bearerAuth":[]}]}},"/api/v1/hosting/apps/{app_id}/deployment_rollbacks":{"post":{"operationId":"api_v1_app_deployment_rollbacks","tags":["hosting"],"parameters":[{"name":"app_id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Existing idempotent deployment rollback","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"$ref":"#/components/schemas/DeploymentRollbackResult"}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not found"},"422":{"description":"Deployment request failed validation","content":{"application/json":{"schema":{"type":"object","required":["error"],"properties":{"error":{"type":"string"},"details":{"type":"array","items":{"type":"string"}}}}}}},"502":{"description":"Bad gateway"},"201":{"description":"Deployment rollback created","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DeploymentRollbackResult"}}}}},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"$ref":"#/components/schemas/DeploymentRollbackPayload"}}}},"security":[{"bearerAuth":[]}]}},"/api/v1/hosting/apps/{app_id}/deployment_rollbacks/plan":{"post":{"operationId":"api_v1_app_deployment_rollbacks_plan","tags":["hosting"],"parameters":[{"name":"app_id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Deployment rollback plan","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"$ref":"#/components/schemas/DeploymentRollbackPlan"}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not found"},"422":{"description":"Unprocessable entity"},"502":{"description":"Bad gateway"}},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"$ref":"#/components/schemas/DeploymentRollbackPayload"}}}},"security":[{"bearerAuth":[]}]}},"/api/v1/hosting/apps/{app_id}/deployments":{"get":{"operationId":"api_v1_app_deployments","tags":["hosting"],"parameters":[{"name":"app_id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not found"},"422":{"description":"Unprocessable entity"},"502":{"description":"Bad gateway"}},"security":[{"bearerAuth":[]}]},"post":{"operationId":"post_api_v1_hosting_apps_app_id_deployments","tags":["hosting"],"parameters":[{"name":"app_id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"App deployment created","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"required":["deployment"],"properties":{"deployment":{"$ref":"#/components/schemas/AppDeployment"}}}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not found"},"422":{"description":"Deployment request failed validation","content":{"application/json":{"schema":{"type":"object","required":["error"],"properties":{"error":{"type":"string"},"details":{"type":"array","items":{"type":"string"}}}}}}},"502":{"description":"Bad gateway"},"201":{"description":"App deployment created","content":{"application/json":{"schema":{"type":"object","required":["deployment"],"properties":{"deployment":{"$ref":"#/components/schemas/AppDeployment"}}}}}}},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"$ref":"#/components/schemas/AppDeploymentCreatePayload"}}}},"security":[{"bearerAuth":[]}]}},"/api/v1/hosting/apps/{app_id}/deployments/{deployment_id}/live":{"get":{"operationId":"get_api_v1_hosting_apps_app_id_deployments_deployment_id_live","tags":["hosting"],"parameters":[{"name":"app_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"deployment_id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not found"},"422":{"description":"Unprocessable entity"},"502":{"description":"Bad gateway"}},"security":[{"bearerAuth":[]}]}},"/api/v1/hosting/apps/{app_id}/deployments/{id}":{"get":{"operationId":"api_v1_app_deployment","tags":["hosting"],"parameters":[{"name":"app_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not found"},"422":{"description":"Unprocessable entity"},"502":{"description":"Bad gateway"}},"security":[{"bearerAuth":[]}]},"patch":{"operationId":"patch_api_v1_hosting_apps_app_id_deployments_id_","tags":["hosting"],"parameters":[{"name":"app_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not found"},"422":{"description":"Unprocessable entity"},"502":{"description":"Bad gateway"}},"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"security":[{"bearerAuth":[]}]},"put":{"operationId":"put_api_v1_hosting_apps_app_id_deployments_id_","tags":["hosting"],"parameters":[{"name":"app_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not found"},"422":{"description":"Unprocessable entity"},"502":{"description":"Bad gateway"}},"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"security":[{"bearerAuth":[]}]},"delete":{"operationId":"delete_api_v1_hosting_apps_app_id_deployments_id_","tags":["hosting"],"parameters":[{"name":"app_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not found"},"422":{"description":"Unprocessable entity"},"502":{"description":"Bad gateway"}},"security":[{"bearerAuth":[]}]}},"/api/v1/hosting/apps/{app_id}/deployments/{id}/cancel":{"post":{"operationId":"cancel_api_v1_app_deployment","tags":["hosting"],"parameters":[{"name":"app_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Updated app deployment","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"required":["deployment"],"properties":{"deployment":{"$ref":"#/components/schemas/AppDeployment"}}}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not found"},"422":{"description":"Unprocessable entity"},"502":{"description":"Bad gateway"}},"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"security":[{"bearerAuth":[]}]}},"/api/v1/hosting/apps/{app_id}/deployments/{id}/fail":{"post":{"operationId":"fail_api_v1_app_deployment","tags":["hosting"],"parameters":[{"name":"app_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Updated app deployment","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"required":["deployment"],"properties":{"deployment":{"$ref":"#/components/schemas/AppDeployment"}}}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not found"},"422":{"description":"Unprocessable entity"},"502":{"description":"Bad gateway"}},"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"security":[{"bearerAuth":[]}]}},"/api/v1/hosting/apps/{app_id}/deployments/{id}/succeed":{"post":{"operationId":"succeed_api_v1_app_deployment","tags":["hosting"],"parameters":[{"name":"app_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Updated app deployment","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"required":["deployment"],"properties":{"deployment":{"$ref":"#/components/schemas/AppDeployment"}}}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not found"},"422":{"description":"Unprocessable entity"},"502":{"description":"Bad gateway"}},"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"security":[{"bearerAuth":[]}]}},"/api/v1/hosting/apps/{app_id}/domains":{"get":{"operationId":"api_v1_app_domains","tags":["hosting"],"parameters":[{"name":"app_id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not found"},"422":{"description":"Unprocessable entity"},"502":{"description":"Bad gateway"}},"security":[{"bearerAuth":[]}]},"post":{"operationId":"post_api_v1_hosting_apps_app_id_domains","tags":["hosting"],"parameters":[{"name":"app_id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"App domain created","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"required":["domain"],"properties":{"domain":{"$ref":"#/components/schemas/AppDomain"}}}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not found"},"422":{"description":"Hosting delivery request failed validation","content":{"application/json":{"schema":{"type":"object","required":["error"],"properties":{"error":{"type":"string"},"details":{"type":"array","items":{"type":"string"}}}}}}},"502":{"description":"Bad gateway"},"201":{"description":"App domain created","content":{"application/json":{"schema":{"type":"object","required":["domain"],"properties":{"domain":{"$ref":"#/components/schemas/AppDomain"}}}}}}},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"$ref":"#/components/schemas/AppDomainCreatePayload"}}}},"security":[{"bearerAuth":[]}]}},"/api/v1/hosting/apps/{app_id}/domains/{domain_id}/path_rules":{"get":{"operationId":"api_v1_app_domain_path_rules","tags":["hosting"],"parameters":[{"name":"app_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"domain_id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not found"},"422":{"description":"Unprocessable entity"},"502":{"description":"Bad gateway"}},"security":[{"bearerAuth":[]}]},"post":{"operationId":"post_api_v1_hosting_apps_app_id_domains_domain_id_path_rules","tags":["hosting"],"parameters":[{"name":"app_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"domain_id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not found"},"422":{"description":"Unprocessable entity"},"502":{"description":"Bad gateway"}},"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"security":[{"bearerAuth":[]}]}},"/api/v1/hosting/apps/{app_id}/domains/{domain_id}/path_rules/{id}":{"get":{"operationId":"api_v1_app_domain_path_rule","tags":["hosting"],"parameters":[{"name":"app_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"domain_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not found"},"422":{"description":"Unprocessable entity"},"502":{"description":"Bad gateway"}},"security":[{"bearerAuth":[]}]},"patch":{"operationId":"patch_api_v1_hosting_apps_app_id_domains_domain_id_path_rules_id_","tags":["hosting"],"parameters":[{"name":"app_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"domain_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not found"},"422":{"description":"Unprocessable entity"},"502":{"description":"Bad gateway"}},"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"security":[{"bearerAuth":[]}]},"put":{"operationId":"put_api_v1_hosting_apps_app_id_domains_domain_id_path_rules_id_","tags":["hosting"],"parameters":[{"name":"app_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"domain_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not found"},"422":{"description":"Unprocessable entity"},"502":{"description":"Bad gateway"}},"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"security":[{"bearerAuth":[]}]},"delete":{"operationId":"delete_api_v1_hosting_apps_app_id_domains_domain_id_path_rules_id_","tags":["hosting"],"parameters":[{"name":"app_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"domain_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not found"},"422":{"description":"Unprocessable entity"},"502":{"description":"Bad gateway"}},"security":[{"bearerAuth":[]}]}},"/api/v1/hosting/apps/{app_id}/domains/{id}":{"get":{"operationId":"api_v1_app_domain","tags":["hosting"],"parameters":[{"name":"app_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not found"},"422":{"description":"Unprocessable entity"},"502":{"description":"Bad gateway"}},"security":[{"bearerAuth":[]}]},"patch":{"operationId":"patch_api_v1_hosting_apps_app_id_domains_id_","tags":["hosting"],"parameters":[{"name":"app_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not found"},"422":{"description":"Unprocessable entity"},"502":{"description":"Bad gateway"}},"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"security":[{"bearerAuth":[]}]},"put":{"operationId":"put_api_v1_hosting_apps_app_id_domains_id_","tags":["hosting"],"parameters":[{"name":"app_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not found"},"422":{"description":"Unprocessable entity"},"502":{"description":"Bad gateway"}},"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"security":[{"bearerAuth":[]}]},"delete":{"operationId":"delete_api_v1_hosting_apps_app_id_domains_id_","tags":["hosting"],"parameters":[{"name":"app_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not found"},"422":{"description":"Unprocessable entity"},"502":{"description":"Bad gateway"}},"security":[{"bearerAuth":[]}]}},"/api/v1/hosting/apps/{app_id}/domains/{id}/disable":{"post":{"operationId":"disable_api_v1_app_domain","tags":["hosting"],"parameters":[{"name":"app_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Updated app domain","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"required":["domain"],"properties":{"domain":{"$ref":"#/components/schemas/AppDomain"}}}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not found"},"422":{"description":"Unprocessable entity"},"502":{"description":"Bad gateway"}},"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"security":[{"bearerAuth":[]}]}},"/api/v1/hosting/apps/{app_id}/domains/{id}/enable":{"post":{"operationId":"enable_api_v1_app_domain","tags":["hosting"],"parameters":[{"name":"app_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Updated app domain","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"required":["domain"],"properties":{"domain":{"$ref":"#/components/schemas/AppDomain"}}}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not found"},"422":{"description":"Unprocessable entity"},"502":{"description":"Bad gateway"}},"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"security":[{"bearerAuth":[]}]}},"/api/v1/hosting/apps/{app_id}/environments":{"get":{"operationId":"api_v1_app_environments","tags":["hosting"],"parameters":[{"name":"app_id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not found"},"422":{"description":"Unprocessable entity"},"502":{"description":"Bad gateway"}},"security":[{"bearerAuth":[]}]},"post":{"operationId":"post_api_v1_hosting_apps_app_id_environments","tags":["hosting"],"parameters":[{"name":"app_id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"App environment created","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"required":["environment"],"properties":{"environment":{"$ref":"#/components/schemas/AppEnvironment"}}}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not found"},"422":{"description":"Deployment request failed validation","content":{"application/json":{"schema":{"type":"object","required":["error"],"properties":{"error":{"type":"string"},"details":{"type":"array","items":{"type":"string"}}}}}}},"502":{"description":"Bad gateway"},"201":{"description":"App environment created","content":{"application/json":{"schema":{"type":"object","required":["environment"],"properties":{"environment":{"$ref":"#/components/schemas/AppEnvironment"}}}}}}},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"$ref":"#/components/schemas/AppEnvironmentCreatePayload"}}}},"security":[{"bearerAuth":[]}]}},"/api/v1/hosting/apps/{app_id}/environments/{id}":{"get":{"operationId":"api_v1_app_environment","tags":["hosting"],"parameters":[{"name":"app_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not found"},"422":{"description":"Unprocessable entity"},"502":{"description":"Bad gateway"}},"security":[{"bearerAuth":[]}]},"patch":{"operationId":"patch_api_v1_hosting_apps_app_id_environments_id_","tags":["hosting"],"parameters":[{"name":"app_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Updated app environment","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"required":["environment"],"properties":{"environment":{"$ref":"#/components/schemas/AppEnvironment"}}}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not found"},"422":{"description":"Deployment request failed validation","content":{"application/json":{"schema":{"type":"object","required":["error"],"properties":{"error":{"type":"string"},"details":{"type":"array","items":{"type":"string"}}}}}}},"502":{"description":"Bad gateway"}},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"$ref":"#/components/schemas/AppEnvironmentUpdatePayload"}}}},"security":[{"bearerAuth":[]}]},"put":{"operationId":"put_api_v1_hosting_apps_app_id_environments_id_","tags":["hosting"],"parameters":[{"name":"app_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Updated app environment","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"required":["environment"],"properties":{"environment":{"$ref":"#/components/schemas/AppEnvironment"}}}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not found"},"422":{"description":"Deployment request failed validation","content":{"application/json":{"schema":{"type":"object","required":["error"],"properties":{"error":{"type":"string"},"details":{"type":"array","items":{"type":"string"}}}}}}},"502":{"description":"Bad gateway"}},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"$ref":"#/components/schemas/AppEnvironmentUpdatePayload"}}}},"security":[{"bearerAuth":[]}]},"delete":{"operationId":"delete_api_v1_hosting_apps_app_id_environments_id_","tags":["hosting"],"parameters":[{"name":"app_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not found"},"422":{"description":"Unprocessable entity"},"502":{"description":"Bad gateway"}},"security":[{"bearerAuth":[]}]}},"/api/v1/hosting/apps/{app_id}/environments/{id}/archive":{"post":{"operationId":"archive_api_v1_app_environment","tags":["hosting"],"parameters":[{"name":"app_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Updated app environment","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"required":["environment"],"properties":{"environment":{"$ref":"#/components/schemas/AppEnvironment"}}}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not found"},"422":{"description":"Unprocessable entity"},"502":{"description":"Bad gateway"}},"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"security":[{"bearerAuth":[]}]}},"/api/v1/hosting/apps/{app_id}/environments/{id}/pause":{"post":{"operationId":"pause_api_v1_app_environment","tags":["hosting"],"parameters":[{"name":"app_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Updated app environment","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"required":["environment"],"properties":{"environment":{"$ref":"#/components/schemas/AppEnvironment"}}}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not found"},"422":{"description":"Unprocessable entity"},"502":{"description":"Bad gateway"}},"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"security":[{"bearerAuth":[]}]}},"/api/v1/hosting/apps/{app_id}/environments/{id}/resume":{"post":{"operationId":"resume_api_v1_app_environment","tags":["hosting"],"parameters":[{"name":"app_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Updated app environment","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"required":["environment"],"properties":{"environment":{"$ref":"#/components/schemas/AppEnvironment"}}}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not found"},"422":{"description":"Unprocessable entity"},"502":{"description":"Bad gateway"}},"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"security":[{"bearerAuth":[]}]}},"/api/v1/hosting/apps/{app_id}/locations":{"get":{"operationId":"api_v1_app_locations","tags":["hosting"],"parameters":[{"name":"app_id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Available hosting locations","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"required":["locations"],"properties":{"locations":{"type":"array","items":{"$ref":"#/components/schemas/HostingLocation"}}}}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not found"},"422":{"description":"Unprocessable entity"},"502":{"description":"Bad gateway"}},"security":[{"bearerAuth":[]}]},"post":{"operationId":"post_api_v1_hosting_apps_app_id_locations","tags":["hosting"],"parameters":[{"name":"app_id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Hosting location enabled for an app","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"required":["location"],"properties":{"location":{"$ref":"#/components/schemas/HostingLocation"}}}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not found"},"422":{"description":"Unprocessable entity"},"502":{"description":"Bad gateway"},"201":{"description":"Hosting location enabled for an app","content":{"application/json":{"schema":{"type":"object","required":["location"],"properties":{"location":{"$ref":"#/components/schemas/HostingLocation"}}}}}}},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"$ref":"#/components/schemas/HostedAppLocationPayload"}}}},"security":[{"bearerAuth":[]}]}},"/api/v1/hosting/apps/{app_id}/locations/{id}":{"delete":{"operationId":"api_v1_app_location","tags":["hosting"],"parameters":[{"name":"app_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not found"},"422":{"description":"Unprocessable entity"},"502":{"description":"Bad gateway"},"204":{"description":"Hosting location disabled for an app"}},"security":[{"bearerAuth":[]}]}},"/api/v1/hosting/apps/{app_id}/secrets":{"get":{"operationId":"api_v1_app_secrets","tags":["hosting"],"parameters":[{"name":"app_id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"List of secret metadata objects","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"required":["secrets"],"properties":{"secrets":{"type":"array","items":{"type":"object","required":["id","hosted_app_id","organization_id","slug","name","scope_kind","status"],"properties":{"id":{"type":"string"},"hosted_app_id":{"type":"string"},"organization_id":{"type":"string"},"slug":{"type":"string"},"name":{"type":"string"},"env_key":{"type":"string","nullable":true},"scope_kind":{"type":"string"},"status":{"type":"string"},"description":{"type":"string","nullable":true},"rotation_policy":{"type":"string","nullable":true},"expose_to_build":{"type":"boolean"},"has_value":{"type":"boolean"},"value_kind":{"type":"string","nullable":true},"value_digest":{"type":"string","nullable":true},"latest_version_number":{"type":"integer","nullable":true},"created_at":{"type":"string","format":"date-time"},"updated_at":{"type":"string","format":"date-time"}}}}}}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not found"},"422":{"description":"Unprocessable entity"},"502":{"description":"Bad gateway"}},"security":[{"bearerAuth":[]}],"summary":"List app secrets (metadata only)"},"post":{"operationId":"post_api_v1_hosting_apps_app_id_secrets","tags":["hosting"],"parameters":[{"name":"app_id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not found"},"422":{"description":"Unprocessable entity"},"502":{"description":"Bad gateway"},"201":{"description":"Created secret metadata","content":{"application/json":{"schema":{"type":"object","required":["id","hosted_app_id","organization_id","slug","name","scope_kind","status"],"properties":{"id":{"type":"string"},"hosted_app_id":{"type":"string"},"organization_id":{"type":"string"},"slug":{"type":"string"},"name":{"type":"string"},"env_key":{"type":"string","nullable":true},"scope_kind":{"type":"string"},"status":{"type":"string"},"description":{"type":"string","nullable":true},"rotation_policy":{"type":"string","nullable":true},"expose_to_build":{"type":"boolean"},"has_value":{"type":"boolean"},"value_kind":{"type":"string","nullable":true},"value_digest":{"type":"string","nullable":true},"latest_version_number":{"type":"integer","nullable":true},"created_at":{"type":"string","format":"date-time"},"updated_at":{"type":"string","format":"date-time"}}}}}}},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"required":["slug","name"],"properties":{"slug":{"type":"string"},"name":{"type":"string"},"env_key":{"type":"string","nullable":true},"description":{"type":"string","nullable":true},"rotation_policy":{"type":"string","nullable":true},"expose_to_build":{"type":"boolean"},"value":{"type":"string","writeOnly":true},"value_kind":{"type":"string"}}}}}},"security":[{"bearerAuth":[]}],"summary":"Create an app secret"}},"/api/v1/hosting/apps/{app_id}/secrets/bulk":{"post":{"operationId":"bulk_api_v1_app_secrets","tags":["hosting"],"parameters":[{"name":"app_id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Bulk import result summary","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not found"},"422":{"description":"Unprocessable entity"},"502":{"description":"Bad gateway"}},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"required":["dotenv"],"properties":{"dotenv":{"type":"string"},"dry_run":{"type":"boolean","default":false},"prune":{"type":"boolean","default":false}}}}}},"security":[{"bearerAuth":[]}],"summary":"Bulk import secrets from dotenv text"}},"/api/v1/hosting/apps/{app_id}/secrets/dotenv":{"get":{"operationId":"dotenv_api_v1_app_secrets","tags":["hosting"],"parameters":[{"name":"app_id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Dotenv-formatted secrets (KEY=value pairs)","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}},"text/plain":{"schema":{"type":"string"}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not found"},"422":{"description":"Unprocessable entity"},"502":{"description":"Bad gateway"}},"security":[{"bearerAuth":[]}],"summary":"Export all active app secrets as dotenv text (audited)"}},"/api/v1/hosting/apps/{app_id}/secrets/{id}":{"get":{"operationId":"api_v1_app_secret","tags":["hosting"],"parameters":[{"name":"app_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Secret metadata","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"required":["id","hosted_app_id","organization_id","slug","name","scope_kind","status"],"properties":{"id":{"type":"string"},"hosted_app_id":{"type":"string"},"organization_id":{"type":"string"},"slug":{"type":"string"},"name":{"type":"string"},"env_key":{"type":"string","nullable":true},"scope_kind":{"type":"string"},"status":{"type":"string"},"description":{"type":"string","nullable":true},"rotation_policy":{"type":"string","nullable":true},"expose_to_build":{"type":"boolean"},"has_value":{"type":"boolean"},"value_kind":{"type":"string","nullable":true},"value_digest":{"type":"string","nullable":true},"latest_version_number":{"type":"integer","nullable":true},"created_at":{"type":"string","format":"date-time"},"updated_at":{"type":"string","format":"date-time"}}}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not found"},"422":{"description":"Unprocessable entity"},"502":{"description":"Bad gateway"}},"security":[{"bearerAuth":[]}],"summary":"Get a single app secret (metadata only)"},"patch":{"operationId":"patch_api_v1_hosting_apps_app_id_secrets_id_","tags":["hosting"],"parameters":[{"name":"app_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Updated secret metadata","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"required":["id","hosted_app_id","organization_id","slug","name","scope_kind","status"],"properties":{"id":{"type":"string"},"hosted_app_id":{"type":"string"},"organization_id":{"type":"string"},"slug":{"type":"string"},"name":{"type":"string"},"env_key":{"type":"string","nullable":true},"scope_kind":{"type":"string"},"status":{"type":"string"},"description":{"type":"string","nullable":true},"rotation_policy":{"type":"string","nullable":true},"expose_to_build":{"type":"boolean"},"has_value":{"type":"boolean"},"value_kind":{"type":"string","nullable":true},"value_digest":{"type":"string","nullable":true},"latest_version_number":{"type":"integer","nullable":true},"created_at":{"type":"string","format":"date-time"},"updated_at":{"type":"string","format":"date-time"}}}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not found"},"422":{"description":"Unprocessable entity"},"502":{"description":"Bad gateway"}},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"properties":{"name":{"type":"string"},"env_key":{"type":"string","nullable":true},"description":{"type":"string","nullable":true},"rotation_policy":{"type":"string","nullable":true},"expose_to_build":{"type":"boolean"}}}}}},"security":[{"bearerAuth":[]}],"summary":"Update app secret metadata"},"put":{"operationId":"put_api_v1_hosting_apps_app_id_secrets_id_","tags":["hosting"],"parameters":[{"name":"app_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Updated secret metadata","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"required":["id","hosted_app_id","organization_id","slug","name","scope_kind","status"],"properties":{"id":{"type":"string"},"hosted_app_id":{"type":"string"},"organization_id":{"type":"string"},"slug":{"type":"string"},"name":{"type":"string"},"env_key":{"type":"string","nullable":true},"scope_kind":{"type":"string"},"status":{"type":"string"},"description":{"type":"string","nullable":true},"rotation_policy":{"type":"string","nullable":true},"expose_to_build":{"type":"boolean"},"has_value":{"type":"boolean"},"value_kind":{"type":"string","nullable":true},"value_digest":{"type":"string","nullable":true},"latest_version_number":{"type":"integer","nullable":true},"created_at":{"type":"string","format":"date-time"},"updated_at":{"type":"string","format":"date-time"}}}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not found"},"422":{"description":"Unprocessable entity"},"502":{"description":"Bad gateway"}},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"properties":{"name":{"type":"string"},"env_key":{"type":"string","nullable":true},"description":{"type":"string","nullable":true},"rotation_policy":{"type":"string","nullable":true},"expose_to_build":{"type":"boolean"}}}}}},"security":[{"bearerAuth":[]}],"summary":"Update app secret metadata (full replacement)"},"delete":{"operationId":"delete_api_v1_hosting_apps_app_id_secrets_id_","tags":["hosting"],"parameters":[{"name":"app_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not found"},"422":{"description":"Unprocessable entity"},"502":{"description":"Bad gateway"},"204":{"description":"Secret deleted"}},"security":[{"bearerAuth":[]}],"summary":"Delete an app secret"}},"/api/v1/hosting/apps/{app_id}/secrets/{id}/set_value":{"post":{"operationId":"set_value_api_v1_app_secret","tags":["hosting"],"parameters":[{"name":"app_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not found"},"422":{"description":"Unprocessable entity"},"502":{"description":"Bad gateway"},"201":{"description":"Updated secret metadata after new version","content":{"application/json":{"schema":{"type":"object","required":["id","hosted_app_id","organization_id","slug","name","scope_kind","status"],"properties":{"id":{"type":"string"},"hosted_app_id":{"type":"string"},"organization_id":{"type":"string"},"slug":{"type":"string"},"name":{"type":"string"},"env_key":{"type":"string","nullable":true},"scope_kind":{"type":"string"},"status":{"type":"string"},"description":{"type":"string","nullable":true},"rotation_policy":{"type":"string","nullable":true},"expose_to_build":{"type":"boolean"},"has_value":{"type":"boolean"},"value_kind":{"type":"string","nullable":true},"value_digest":{"type":"string","nullable":true},"latest_version_number":{"type":"integer","nullable":true},"created_at":{"type":"string","format":"date-time"},"updated_at":{"type":"string","format":"date-time"}}}}}}},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"required":["value"],"properties":{"value":{"type":"string","writeOnly":true},"value_kind":{"type":"string"}}}}}},"security":[{"bearerAuth":[]}],"summary":"Write a new secret version (audited)"}},"/api/v1/hosting/apps/{app_id}/secrets/{id}/value":{"get":{"operationId":"value_api_v1_app_secret","tags":["hosting"],"parameters":[{"name":"app_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Raw secret value for the current active version","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"required":["id","slug","version_number","value","value_kind"],"properties":{"id":{"type":"string"},"slug":{"type":"string"},"env_key":{"type":"string","nullable":true},"version_number":{"type":"integer"},"value":{"type":"string"},"value_kind":{"type":"string"},"value_digest":{"type":"string","nullable":true}}}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"No active version found"},"422":{"description":"Unprocessable entity"},"502":{"description":"Bad gateway"}},"security":[{"bearerAuth":[]}],"summary":"Read raw secret value (audited, admin-only)"}},"/api/v1/hosting/apps/{app_id}/service_bindings":{"get":{"operationId":"api_v1_app_service_bindings","tags":["hosting"],"parameters":[{"name":"app_id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not found"},"422":{"description":"Unprocessable entity"},"502":{"description":"Bad gateway"}},"security":[{"bearerAuth":[]}]},"post":{"operationId":"post_api_v1_hosting_apps_app_id_service_bindings","tags":["hosting"],"parameters":[{"name":"app_id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not found"},"422":{"description":"Unprocessable entity"},"502":{"description":"Bad gateway"}},"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"security":[{"bearerAuth":[]}]}},"/api/v1/hosting/apps/{app_id}/service_bindings/{id}":{"get":{"operationId":"api_v1_app_service_binding","tags":["hosting"],"parameters":[{"name":"app_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not found"},"422":{"description":"Unprocessable entity"},"502":{"description":"Bad gateway"}},"security":[{"bearerAuth":[]}]},"patch":{"operationId":"patch_api_v1_hosting_apps_app_id_service_bindings_id_","tags":["hosting"],"parameters":[{"name":"app_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not found"},"422":{"description":"Unprocessable entity"},"502":{"description":"Bad gateway"}},"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"security":[{"bearerAuth":[]}]},"put":{"operationId":"put_api_v1_hosting_apps_app_id_service_bindings_id_","tags":["hosting"],"parameters":[{"name":"app_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not found"},"422":{"description":"Unprocessable entity"},"502":{"description":"Bad gateway"}},"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"security":[{"bearerAuth":[]}]},"delete":{"operationId":"delete_api_v1_hosting_apps_app_id_service_bindings_id_","tags":["hosting"],"parameters":[{"name":"app_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not found"},"422":{"description":"Unprocessable entity"},"502":{"description":"Bad gateway"}},"security":[{"bearerAuth":[]}]}},"/api/v1/hosting/apps/{app_id}/service_bindings/{id}/disable":{"post":{"operationId":"disable_api_v1_app_service_binding","tags":["hosting"],"parameters":[{"name":"app_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not found"},"422":{"description":"Unprocessable entity"},"502":{"description":"Bad gateway"}},"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"security":[{"bearerAuth":[]}]}},"/api/v1/hosting/apps/{app_id}/service_bindings/{id}/enable":{"post":{"operationId":"enable_api_v1_app_service_binding","tags":["hosting"],"parameters":[{"name":"app_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not found"},"422":{"description":"Unprocessable entity"},"502":{"description":"Bad gateway"}},"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"security":[{"bearerAuth":[]}]}},"/api/v1/hosting/apps/{app_id}/services":{"get":{"operationId":"api_v1_app_services","tags":["hosting"],"parameters":[{"name":"app_id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not found"},"422":{"description":"Unprocessable entity"},"502":{"description":"Bad gateway"}},"security":[{"bearerAuth":[]}]},"post":{"operationId":"post_api_v1_hosting_apps_app_id_services","tags":["hosting"],"parameters":[{"name":"app_id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"App service created","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"required":["service"],"properties":{"service":{"$ref":"#/components/schemas/AppService"}}}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not found"},"422":{"description":"Infrastructure request failed validation","content":{"application/json":{"schema":{"type":"object","required":["error"],"properties":{"error":{"type":"string"},"details":{"type":"array","items":{"type":"string"}}}}}}},"502":{"description":"Bad gateway"},"201":{"description":"App service created","content":{"application/json":{"schema":{"type":"object","required":["service"],"properties":{"service":{"$ref":"#/components/schemas/AppService"}}}}}}},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"$ref":"#/components/schemas/AppServiceCreatePayload"}}}},"security":[{"bearerAuth":[]}]}},"/api/v1/hosting/apps/{app_id}/services/{id}":{"get":{"operationId":"api_v1_app_service","tags":["hosting"],"parameters":[{"name":"app_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not found"},"422":{"description":"Unprocessable entity"},"502":{"description":"Bad gateway"}},"security":[{"bearerAuth":[]}]},"patch":{"operationId":"patch_api_v1_hosting_apps_app_id_services_id_","tags":["hosting"],"parameters":[{"name":"app_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Updated app service","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"required":["service"],"properties":{"service":{"$ref":"#/components/schemas/AppService"}}}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not found"},"422":{"description":"Deployment request failed validation","content":{"application/json":{"schema":{"type":"object","required":["error"],"properties":{"error":{"type":"string"},"details":{"type":"array","items":{"type":"string"}}}}}}},"502":{"description":"Bad gateway"}},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"$ref":"#/components/schemas/AppServiceUpdatePayload"}}}},"security":[{"bearerAuth":[]}]},"put":{"operationId":"put_api_v1_hosting_apps_app_id_services_id_","tags":["hosting"],"parameters":[{"name":"app_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Updated app service","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"required":["service"],"properties":{"service":{"$ref":"#/components/schemas/AppService"}}}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not found"},"422":{"description":"Deployment request failed validation","content":{"application/json":{"schema":{"type":"object","required":["error"],"properties":{"error":{"type":"string"},"details":{"type":"array","items":{"type":"string"}}}}}}},"502":{"description":"Bad gateway"}},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"$ref":"#/components/schemas/AppServiceUpdatePayload"}}}},"security":[{"bearerAuth":[]}]},"delete":{"operationId":"delete_api_v1_hosting_apps_app_id_services_id_","tags":["hosting"],"parameters":[{"name":"app_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not found"},"422":{"description":"Unprocessable entity"},"502":{"description":"Bad gateway"}},"security":[{"bearerAuth":[]}]}},"/api/v1/hosting/apps/{app_id}/services/{id}/archive":{"post":{"operationId":"archive_api_v1_app_service","tags":["hosting"],"parameters":[{"name":"app_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Updated app service","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"required":["service"],"properties":{"service":{"$ref":"#/components/schemas/AppService"}}}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not found"},"422":{"description":"Unprocessable entity"},"502":{"description":"Bad gateway"}},"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"security":[{"bearerAuth":[]}]}},"/api/v1/hosting/apps/{app_id}/services/{id}/pause":{"post":{"operationId":"pause_api_v1_app_service","tags":["hosting"],"parameters":[{"name":"app_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Updated app service","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"required":["service"],"properties":{"service":{"$ref":"#/components/schemas/AppService"}}}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not found"},"422":{"description":"Unprocessable entity"},"502":{"description":"Bad gateway"}},"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"security":[{"bearerAuth":[]}]}},"/api/v1/hosting/apps/{app_id}/services/{id}/resume":{"post":{"operationId":"resume_api_v1_app_service","tags":["hosting"],"parameters":[{"name":"app_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Updated app service","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"required":["service"],"properties":{"service":{"$ref":"#/components/schemas/AppService"}}}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not found"},"422":{"description":"Unprocessable entity"},"502":{"description":"Bad gateway"}},"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"security":[{"bearerAuth":[]}]}},"/api/v1/hosting/apps/{app_id}/storage_resources":{"get":{"operationId":"api_v1_app_storage_resources","tags":["hosting"],"parameters":[{"name":"app_id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not found"},"422":{"description":"Unprocessable entity"},"502":{"description":"Bad gateway"}},"security":[{"bearerAuth":[]}]},"post":{"operationId":"post_api_v1_hosting_apps_app_id_storage_resources","tags":["hosting"],"parameters":[{"name":"app_id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"App storage resource created","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"required":["storage_resource"],"properties":{"storage_resource":{"$ref":"#/components/schemas/AppStorageResource"}}}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not found"},"422":{"description":"Infrastructure request failed validation","content":{"application/json":{"schema":{"type":"object","required":["error"],"properties":{"error":{"type":"string"},"details":{"type":"array","items":{"type":"string"}}}}}}},"502":{"description":"Bad gateway"},"201":{"description":"App storage resource created","content":{"application/json":{"schema":{"type":"object","required":["storage_resource"],"properties":{"storage_resource":{"$ref":"#/components/schemas/AppStorageResource"}}}}}}},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"$ref":"#/components/schemas/AppStorageResourceCreatePayload"}}}},"security":[{"bearerAuth":[]}]}},"/api/v1/hosting/apps/{app_id}/storage_resources/{id}":{"get":{"operationId":"api_v1_app_storage_resource","tags":["hosting"],"parameters":[{"name":"app_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not found"},"422":{"description":"Unprocessable entity"},"502":{"description":"Bad gateway"}},"security":[{"bearerAuth":[]}]},"patch":{"operationId":"patch_api_v1_hosting_apps_app_id_storage_resources_id_","tags":["hosting"],"parameters":[{"name":"app_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not found"},"422":{"description":"Unprocessable entity"},"502":{"description":"Bad gateway"}},"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"security":[{"bearerAuth":[]}]},"put":{"operationId":"put_api_v1_hosting_apps_app_id_storage_resources_id_","tags":["hosting"],"parameters":[{"name":"app_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not found"},"422":{"description":"Unprocessable entity"},"502":{"description":"Bad gateway"}},"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"security":[{"bearerAuth":[]}]},"delete":{"operationId":"delete_api_v1_hosting_apps_app_id_storage_resources_id_","tags":["hosting"],"parameters":[{"name":"app_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not found"},"422":{"description":"Unprocessable entity"},"502":{"description":"Bad gateway"}},"security":[{"bearerAuth":[]}]}},"/api/v1/hosting/apps/{app_id}/storage_resources/{id}/archive":{"post":{"operationId":"archive_api_v1_app_storage_resource","tags":["hosting"],"parameters":[{"name":"app_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not found"},"422":{"description":"Unprocessable entity"},"502":{"description":"Bad gateway"}},"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"security":[{"bearerAuth":[]}]}},"/api/v1/hosting/apps/{app_id}/storage_resources/{id}/issue_access_key":{"post":{"operationId":"issue_access_key_api_v1_app_storage_resource","tags":["hosting"],"parameters":[{"name":"app_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not found"},"422":{"description":"Unprocessable entity"},"502":{"description":"Bad gateway"}},"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"security":[{"bearerAuth":[]}]}},"/api/v1/hosting/apps/{app_id}/storage_resources/{id}/resume":{"post":{"operationId":"resume_api_v1_app_storage_resource","tags":["hosting"],"parameters":[{"name":"app_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not found"},"422":{"description":"Unprocessable entity"},"502":{"description":"Bad gateway"}},"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"security":[{"bearerAuth":[]}]}},"/api/v1/hosting/apps/{app_id}/storage_resources/{id}/suspend":{"post":{"operationId":"suspend_api_v1_app_storage_resource","tags":["hosting"],"parameters":[{"name":"app_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not found"},"422":{"description":"Unprocessable entity"},"502":{"description":"Bad gateway"}},"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"security":[{"bearerAuth":[]}]}},"/api/v1/hosting/apps/{id}":{"get":{"operationId":"api_v1_app","tags":["hosting"],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not found"},"422":{"description":"Unprocessable entity"},"502":{"description":"Bad gateway"}},"security":[{"bearerAuth":[]}]},"patch":{"operationId":"patch_api_v1_hosting_apps_id_","tags":["hosting"],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Hosted app updated","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"required":["app"],"properties":{"app":{"$ref":"#/components/schemas/HostedApp"}}}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not found"},"422":{"description":"Unprocessable entity"},"502":{"description":"Bad gateway"}},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"$ref":"#/components/schemas/HostedAppUpdatePayload"}}}},"security":[{"bearerAuth":[]}]},"put":{"operationId":"put_api_v1_hosting_apps_id_","tags":["hosting"],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Hosted app updated","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"required":["app"],"properties":{"app":{"$ref":"#/components/schemas/HostedApp"}}}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not found"},"422":{"description":"Unprocessable entity"},"502":{"description":"Bad gateway"}},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"$ref":"#/components/schemas/HostedAppUpdatePayload"}}}},"security":[{"bearerAuth":[]}]},"delete":{"operationId":"delete_api_v1_hosting_apps_id_","tags":["hosting"],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not found"},"422":{"description":"Unprocessable entity"},"502":{"description":"Bad gateway"}},"security":[{"bearerAuth":[]}]}},"/api/v1/hosting/apps/{id}/activate":{"post":{"operationId":"activate_api_v1_app","tags":["hosting"],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not found"},"422":{"description":"Unprocessable entity"},"502":{"description":"Bad gateway"}},"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"security":[{"bearerAuth":[]}]}},"/api/v1/hosting/apps/{id}/archive":{"post":{"operationId":"archive_api_v1_app","tags":["hosting"],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not found"},"422":{"description":"Unprocessable entity"},"502":{"description":"Bad gateway"}},"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"security":[{"bearerAuth":[]}]}},"/api/v1/hosting/locations":{"get":{"operationId":"api_v1_locations","tags":["hosting"],"parameters":[],"responses":{"200":{"description":"Available hosting locations","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"required":["locations"],"properties":{"locations":{"type":"array","items":{"$ref":"#/components/schemas/HostingLocation"}}}}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not found"},"422":{"description":"Unprocessable entity"},"502":{"description":"Bad gateway"}},"security":[{"bearerAuth":[]}]}},"/api/v1/identity/organizations/{organization_id}/catalog":{"get":{"operationId":"api_v1_organization_catalog","tags":["identity"],"parameters":[{"name":"organization_id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not found"},"422":{"description":"Unprocessable entity"},"502":{"description":"Bad gateway"}},"security":[{"bearerAuth":[]}]}},"/api/v1/identity/organizations/{organization_id}/identity_certificates":{"get":{"operationId":"api_v1_organization_identity_certificates","tags":["identity"],"parameters":[{"name":"organization_id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not found"},"422":{"description":"Unprocessable entity"},"502":{"description":"Bad gateway"}},"security":[{"bearerAuth":[]}]},"post":{"operationId":"post_api_v1_identity_organizations_organization_id_identity_certificates","tags":["identity"],"parameters":[{"name":"organization_id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not found"},"422":{"description":"Unprocessable entity"},"502":{"description":"Bad gateway"}},"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"security":[{"bearerAuth":[]}]}},"/api/v1/identity/organizations/{organization_id}/identity_certificates/{id}":{"get":{"operationId":"api_v1_organization_identity_certificate","tags":["identity"],"parameters":[{"name":"organization_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not found"},"422":{"description":"Unprocessable entity"},"502":{"description":"Bad gateway"}},"security":[{"bearerAuth":[]}]},"patch":{"operationId":"patch_api_v1_identity_organizations_organization_id_identity_certificates_id_","tags":["identity"],"parameters":[{"name":"organization_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not found"},"422":{"description":"Unprocessable entity"},"502":{"description":"Bad gateway"}},"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"security":[{"bearerAuth":[]}]},"put":{"operationId":"put_api_v1_identity_organizations_organization_id_identity_certificates_id_","tags":["identity"],"parameters":[{"name":"organization_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not found"},"422":{"description":"Unprocessable entity"},"502":{"description":"Bad gateway"}},"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"security":[{"bearerAuth":[]}]},"delete":{"operationId":"delete_api_v1_identity_organizations_organization_id_identity_certificates_id_","tags":["identity"],"parameters":[{"name":"organization_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not found"},"422":{"description":"Unprocessable entity"},"502":{"description":"Bad gateway"}},"security":[{"bearerAuth":[]}]}},"/api/v1/identity/organizations/{organization_id}/identity_certificates/{id}/expire":{"post":{"operationId":"expire_api_v1_organization_identity_certificate","tags":["identity"],"parameters":[{"name":"organization_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not found"},"422":{"description":"Unprocessable entity"},"502":{"description":"Bad gateway"}},"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"security":[{"bearerAuth":[]}]}},"/api/v1/identity/organizations/{organization_id}/identity_certificates/{id}/revoke":{"post":{"operationId":"revoke_api_v1_organization_identity_certificate","tags":["identity"],"parameters":[{"name":"organization_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not found"},"422":{"description":"Unprocessable entity"},"502":{"description":"Bad gateway"}},"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"security":[{"bearerAuth":[]}]}},"/api/v1/identity/organizations/{organization_id}/oidc_trusts":{"get":{"operationId":"api_v1_organization_oidc_trusts","tags":["identity"],"parameters":[{"name":"organization_id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not found"},"422":{"description":"Unprocessable entity"},"502":{"description":"Bad gateway"}},"security":[{"bearerAuth":[]}]},"post":{"operationId":"post_api_v1_identity_organizations_organization_id_oidc_trusts","tags":["identity"],"parameters":[{"name":"organization_id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not found"},"422":{"description":"Unprocessable entity"},"502":{"description":"Bad gateway"}},"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"security":[{"bearerAuth":[]}]}},"/api/v1/identity/organizations/{organization_id}/oidc_trusts/{id}":{"get":{"operationId":"api_v1_organization_oidc_trust","tags":["identity"],"parameters":[{"name":"organization_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not found"},"422":{"description":"Unprocessable entity"},"502":{"description":"Bad gateway"}},"security":[{"bearerAuth":[]}]},"patch":{"operationId":"patch_api_v1_identity_organizations_organization_id_oidc_trusts_id_","tags":["identity"],"parameters":[{"name":"organization_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not found"},"422":{"description":"Unprocessable entity"},"502":{"description":"Bad gateway"}},"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"security":[{"bearerAuth":[]}]},"put":{"operationId":"put_api_v1_identity_organizations_organization_id_oidc_trusts_id_","tags":["identity"],"parameters":[{"name":"organization_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not found"},"422":{"description":"Unprocessable entity"},"502":{"description":"Bad gateway"}},"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"security":[{"bearerAuth":[]}]},"delete":{"operationId":"delete_api_v1_identity_organizations_organization_id_oidc_trusts_id_","tags":["identity"],"parameters":[{"name":"organization_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not found"},"422":{"description":"Unprocessable entity"},"502":{"description":"Bad gateway"}},"security":[{"bearerAuth":[]}]}},"/api/v1/identity/organizations/{organization_id}/oidc_trusts/{id}/activate":{"post":{"operationId":"activate_api_v1_organization_oidc_trust","tags":["identity"],"parameters":[{"name":"organization_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not found"},"422":{"description":"Unprocessable entity"},"502":{"description":"Bad gateway"}},"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"security":[{"bearerAuth":[]}]}},"/api/v1/identity/organizations/{organization_id}/oidc_trusts/{id}/pause":{"post":{"operationId":"pause_api_v1_organization_oidc_trust","tags":["identity"],"parameters":[{"name":"organization_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not found"},"422":{"description":"Unprocessable entity"},"502":{"description":"Bad gateway"}},"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"security":[{"bearerAuth":[]}]}},"/api/v1/identity/organizations/{organization_id}/oidc_trusts/{id}/revoke":{"post":{"operationId":"revoke_api_v1_organization_oidc_trust","tags":["identity"],"parameters":[{"name":"organization_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not found"},"422":{"description":"Unprocessable entity"},"502":{"description":"Bad gateway"}},"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"security":[{"bearerAuth":[]}]}},"/api/v1/identity/organizations/{organization_id}/secrets":{"get":{"operationId":"api_v1_organization_secrets","tags":["identity"],"parameters":[{"name":"organization_id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Organization secret metadata","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"required":["secrets"],"properties":{"secrets":{"type":"array","items":{"type":"object","required":["id","organization_id","hosted_app_id","app_environment_id","app_service_id","owner_service_account_id","slug","name","env_key","scope_kind","status","description","rotation_policy","expose_to_build","expose_to_ci","latest_version_number","current_version","created_at","updated_at","created_at_label","updated_at_label"],"properties":{"id":{"type":"string"},"organization_id":{"type":"string","nullable":true},"hosted_app_id":{"type":"string","nullable":true},"app_environment_id":{"type":"string","nullable":true},"app_service_id":{"type":"string","nullable":true},"owner_service_account_id":{"type":"string","nullable":true},"slug":{"type":"string"},"name":{"type":"string"},"env_key":{"type":"string"},"scope_kind":{"type":"string"},"status":{"type":"string"},"description":{"type":"string","nullable":true},"rotation_policy":{"type":"string","nullable":true},"expose_to_build":{"type":"boolean"},"expose_to_ci":{"type":"boolean"},"latest_version_number":{"type":"integer","nullable":true},"current_version":{"type":"object","nullable":true,"required":["id","secret_id","version_number","value","has_value","value_kind","value_digest","status","created_by_user_id","expires_at","rotated_at","created_at","updated_at"],"properties":{"id":{"type":"string"},"secret_id":{"type":"string"},"version_number":{"type":"integer"},"value":{"type":"string","nullable":true,"writeOnly":true},"has_value":{"type":"boolean"},"value_kind":{"type":"string"},"value_digest":{"type":"string","nullable":true},"status":{"type":"string"},"created_by_user_id":{"type":"string","nullable":true},"expires_at":{"type":"string","format":"date-time","nullable":true},"rotated_at":{"type":"string","format":"date-time","nullable":true},"created_at":{"type":"string","format":"date-time"},"updated_at":{"type":"string","format":"date-time"}}},"created_at":{"type":"string","format":"date-time"},"updated_at":{"type":"string","format":"date-time"},"created_at_label":{"type":"string","nullable":true},"updated_at_label":{"type":"string","nullable":true}}}}}}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not found"},"422":{"description":"Unprocessable entity"},"502":{"description":"Bad gateway"}},"security":[{"bearerAuth":[]}],"summary":"List organization secrets"},"post":{"operationId":"post_api_v1_identity_organizations_organization_id_secrets","tags":["identity"],"parameters":[{"name":"organization_id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not found"},"422":{"description":"Unprocessable entity"},"502":{"description":"Bad gateway"}},"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"security":[{"bearerAuth":[]}]}},"/api/v1/identity/organizations/{organization_id}/secrets/dotenv":{"get":{"operationId":"dotenv_api_v1_organization_secrets","tags":["identity"],"parameters":[{"name":"organization_id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not found"},"422":{"description":"Unprocessable entity"},"502":{"description":"Bad gateway"}},"security":[{"bearerAuth":[]}]}},"/api/v1/identity/organizations/{organization_id}/secrets/upsert":{"post":{"operationId":"upsert_api_v1_organization_secrets","tags":["identity"],"parameters":[{"name":"organization_id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Updated organization secret metadata","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"required":["secret"],"properties":{"secret":{"type":"object","required":["id","organization_id","hosted_app_id","app_environment_id","app_service_id","owner_service_account_id","slug","name","env_key","scope_kind","status","description","rotation_policy","expose_to_build","expose_to_ci","latest_version_number","current_version","created_at","updated_at","created_at_label","updated_at_label"],"properties":{"id":{"type":"string"},"organization_id":{"type":"string","nullable":true},"hosted_app_id":{"type":"string","nullable":true},"app_environment_id":{"type":"string","nullable":true},"app_service_id":{"type":"string","nullable":true},"owner_service_account_id":{"type":"string","nullable":true},"slug":{"type":"string"},"name":{"type":"string"},"env_key":{"type":"string"},"scope_kind":{"type":"string"},"status":{"type":"string"},"description":{"type":"string","nullable":true},"rotation_policy":{"type":"string","nullable":true},"expose_to_build":{"type":"boolean"},"expose_to_ci":{"type":"boolean"},"latest_version_number":{"type":"integer","nullable":true},"current_version":{"type":"object","nullable":true,"required":["id","secret_id","version_number","value","has_value","value_kind","value_digest","status","created_by_user_id","expires_at","rotated_at","created_at","updated_at"],"properties":{"id":{"type":"string"},"secret_id":{"type":"string"},"version_number":{"type":"integer"},"value":{"type":"string","nullable":true,"writeOnly":true},"has_value":{"type":"boolean"},"value_kind":{"type":"string"},"value_digest":{"type":"string","nullable":true},"status":{"type":"string"},"created_by_user_id":{"type":"string","nullable":true},"expires_at":{"type":"string","format":"date-time","nullable":true},"rotated_at":{"type":"string","format":"date-time","nullable":true},"created_at":{"type":"string","format":"date-time"},"updated_at":{"type":"string","format":"date-time"}}},"created_at":{"type":"string","format":"date-time"},"updated_at":{"type":"string","format":"date-time"},"created_at_label":{"type":"string","nullable":true},"updated_at_label":{"type":"string","nullable":true}}}}}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not found"},"422":{"description":"Unprocessable entity"},"502":{"description":"Bad gateway"},"201":{"description":"Created organization secret metadata","content":{"application/json":{"schema":{"type":"object","required":["secret"],"properties":{"secret":{"type":"object","required":["id","organization_id","hosted_app_id","app_environment_id","app_service_id","owner_service_account_id","slug","name","env_key","scope_kind","status","description","rotation_policy","expose_to_build","expose_to_ci","latest_version_number","current_version","created_at","updated_at","created_at_label","updated_at_label"],"properties":{"id":{"type":"string"},"organization_id":{"type":"string","nullable":true},"hosted_app_id":{"type":"string","nullable":true},"app_environment_id":{"type":"string","nullable":true},"app_service_id":{"type":"string","nullable":true},"owner_service_account_id":{"type":"string","nullable":true},"slug":{"type":"string"},"name":{"type":"string"},"env_key":{"type":"string"},"scope_kind":{"type":"string"},"status":{"type":"string"},"description":{"type":"string","nullable":true},"rotation_policy":{"type":"string","nullable":true},"expose_to_build":{"type":"boolean"},"expose_to_ci":{"type":"boolean"},"latest_version_number":{"type":"integer","nullable":true},"current_version":{"type":"object","nullable":true,"required":["id","secret_id","version_number","value","has_value","value_kind","value_digest","status","created_by_user_id","expires_at","rotated_at","created_at","updated_at"],"properties":{"id":{"type":"string"},"secret_id":{"type":"string"},"version_number":{"type":"integer"},"value":{"type":"string","nullable":true,"writeOnly":true},"has_value":{"type":"boolean"},"value_kind":{"type":"string"},"value_digest":{"type":"string","nullable":true},"status":{"type":"string"},"created_by_user_id":{"type":"string","nullable":true},"expires_at":{"type":"string","format":"date-time","nullable":true},"rotated_at":{"type":"string","format":"date-time","nullable":true},"created_at":{"type":"string","format":"date-time"},"updated_at":{"type":"string","format":"date-time"}}},"created_at":{"type":"string","format":"date-time"},"updated_at":{"type":"string","format":"date-time"},"created_at_label":{"type":"string","nullable":true},"updated_at_label":{"type":"string","nullable":true}}}}}}}}},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"required":["env_key","value"],"properties":{"env_key":{"type":"string"},"name":{"type":"string"},"scope_kind":{"type":"string","enum":["organization"]},"expose_to_ci":{"type":"boolean"},"value":{"type":"string","writeOnly":true}}}}}},"security":[{"bearerAuth":[]}],"summary":"Create or rotate an organization secret by environment key"}},"/api/v1/identity/organizations/{organization_id}/secrets/{id}":{"get":{"operationId":"api_v1_organization_secret","tags":["identity"],"parameters":[{"name":"organization_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not found"},"422":{"description":"Unprocessable entity"},"502":{"description":"Bad gateway"}},"security":[{"bearerAuth":[]}]},"patch":{"operationId":"patch_api_v1_identity_organizations_organization_id_secrets_id_","tags":["identity"],"parameters":[{"name":"organization_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not found"},"422":{"description":"Unprocessable entity"},"502":{"description":"Bad gateway"}},"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"security":[{"bearerAuth":[]}]},"put":{"operationId":"put_api_v1_identity_organizations_organization_id_secrets_id_","tags":["identity"],"parameters":[{"name":"organization_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not found"},"422":{"description":"Unprocessable entity"},"502":{"description":"Bad gateway"}},"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"security":[{"bearerAuth":[]}]},"delete":{"operationId":"delete_api_v1_identity_organizations_organization_id_secrets_id_","tags":["identity"],"parameters":[{"name":"organization_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not found"},"422":{"description":"Unprocessable entity"},"502":{"description":"Bad gateway"},"204":{"description":"Organization secret deleted"}},"security":[{"bearerAuth":[]}],"summary":"Delete an organization secret"}},"/api/v1/identity/organizations/{organization_id}/secrets/{id}/disable":{"post":{"operationId":"disable_api_v1_organization_secret","tags":["identity"],"parameters":[{"name":"organization_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not found"},"422":{"description":"Unprocessable entity"},"502":{"description":"Bad gateway"}},"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"security":[{"bearerAuth":[]}]}},"/api/v1/identity/organizations/{organization_id}/secrets/{id}/enable":{"post":{"operationId":"enable_api_v1_organization_secret","tags":["identity"],"parameters":[{"name":"organization_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not found"},"422":{"description":"Unprocessable entity"},"502":{"description":"Bad gateway"}},"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"security":[{"bearerAuth":[]}]}},"/api/v1/identity/organizations/{organization_id}/secrets/{id}/rotate":{"post":{"operationId":"rotate_api_v1_organization_secret","tags":["identity"],"parameters":[{"name":"organization_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not found"},"422":{"description":"Unprocessable entity"},"502":{"description":"Bad gateway"}},"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"security":[{"bearerAuth":[]}]}},"/api/v1/identity/organizations/{organization_id}/secrets/{id}/value":{"get":{"operationId":"value_api_v1_organization_secret","tags":["identity"],"parameters":[{"name":"organization_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not found"},"422":{"description":"Unprocessable entity"},"502":{"description":"Bad gateway"}},"security":[{"bearerAuth":[]}]}},"/api/v1/identity/organizations/{organization_id}/secrets/{secret_id}/grants":{"get":{"operationId":"api_v1_organization_secret_grants","tags":["identity"],"parameters":[{"name":"organization_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"secret_id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not found"},"422":{"description":"Unprocessable entity"},"502":{"description":"Bad gateway"}},"security":[{"bearerAuth":[]}]},"post":{"operationId":"post_api_v1_identity_organizations_organization_id_secrets_secret_id_grants","tags":["identity"],"parameters":[{"name":"organization_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"secret_id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not found"},"422":{"description":"Unprocessable entity"},"502":{"description":"Bad gateway"}},"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"security":[{"bearerAuth":[]}]}},"/api/v1/identity/organizations/{organization_id}/secrets/{secret_id}/grants/{id}":{"get":{"operationId":"api_v1_organization_secret_grant","tags":["identity"],"parameters":[{"name":"organization_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"secret_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not found"},"422":{"description":"Unprocessable entity"},"502":{"description":"Bad gateway"}},"security":[{"bearerAuth":[]}]},"patch":{"operationId":"patch_api_v1_identity_organizations_organization_id_secrets_secret_id_grants_id_","tags":["identity"],"parameters":[{"name":"organization_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"secret_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not found"},"422":{"description":"Unprocessable entity"},"502":{"description":"Bad gateway"}},"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"security":[{"bearerAuth":[]}]},"put":{"operationId":"put_api_v1_identity_organizations_organization_id_secrets_secret_id_grants_id_","tags":["identity"],"parameters":[{"name":"organization_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"secret_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not found"},"422":{"description":"Unprocessable entity"},"502":{"description":"Bad gateway"}},"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"security":[{"bearerAuth":[]}]},"delete":{"operationId":"delete_api_v1_identity_organizations_organization_id_secrets_secret_id_grants_id_","tags":["identity"],"parameters":[{"name":"organization_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"secret_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not found"},"422":{"description":"Unprocessable entity"},"502":{"description":"Bad gateway"}},"security":[{"bearerAuth":[]}]}},"/api/v1/identity/organizations/{organization_id}/secrets/{secret_id}/grants/{id}/restore":{"post":{"operationId":"restore_api_v1_organization_secret_grant","tags":["identity"],"parameters":[{"name":"organization_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"secret_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not found"},"422":{"description":"Unprocessable entity"},"502":{"description":"Bad gateway"}},"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"security":[{"bearerAuth":[]}]}},"/api/v1/identity/organizations/{organization_id}/secrets/{secret_id}/grants/{id}/revoke":{"post":{"operationId":"revoke_api_v1_organization_secret_grant","tags":["identity"],"parameters":[{"name":"organization_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"secret_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not found"},"422":{"description":"Unprocessable entity"},"502":{"description":"Bad gateway"}},"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"security":[{"bearerAuth":[]}]}},"/api/v1/identity/organizations/{organization_id}/secrets/{secret_id}/grants/{id}/suspend":{"post":{"operationId":"suspend_api_v1_organization_secret_grant","tags":["identity"],"parameters":[{"name":"organization_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"secret_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not found"},"422":{"description":"Unprocessable entity"},"502":{"description":"Bad gateway"}},"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"security":[{"bearerAuth":[]}]}},"/api/v1/identity/organizations/{organization_id}/secrets/{secret_id}/versions":{"get":{"operationId":"api_v1_organization_secret_versions","tags":["identity"],"parameters":[{"name":"organization_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"secret_id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not found"},"422":{"description":"Unprocessable entity"},"502":{"description":"Bad gateway"}},"security":[{"bearerAuth":[]}]},"post":{"operationId":"post_api_v1_identity_organizations_organization_id_secrets_secret_id_versions","tags":["identity"],"parameters":[{"name":"organization_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"secret_id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not found"},"422":{"description":"Unprocessable entity"},"502":{"description":"Bad gateway"}},"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"security":[{"bearerAuth":[]}]}},"/api/v1/identity/organizations/{organization_id}/secrets/{secret_id}/versions/{id}":{"get":{"operationId":"api_v1_organization_secret_version","tags":["identity"],"parameters":[{"name":"organization_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"secret_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not found"},"422":{"description":"Unprocessable entity"},"502":{"description":"Bad gateway"}},"security":[{"bearerAuth":[]}]},"patch":{"operationId":"patch_api_v1_identity_organizations_organization_id_secrets_secret_id_versions_id_","tags":["identity"],"parameters":[{"name":"organization_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"secret_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not found"},"422":{"description":"Unprocessable entity"},"502":{"description":"Bad gateway"}},"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"security":[{"bearerAuth":[]}]},"put":{"operationId":"put_api_v1_identity_organizations_organization_id_secrets_secret_id_versions_id_","tags":["identity"],"parameters":[{"name":"organization_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"secret_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not found"},"422":{"description":"Unprocessable entity"},"502":{"description":"Bad gateway"}},"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"security":[{"bearerAuth":[]}]},"delete":{"operationId":"delete_api_v1_identity_organizations_organization_id_secrets_secret_id_versions_id_","tags":["identity"],"parameters":[{"name":"organization_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"secret_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not found"},"422":{"description":"Unprocessable entity"},"502":{"description":"Bad gateway"}},"security":[{"bearerAuth":[]}]}},"/api/v1/identity/organizations/{organization_id}/secrets/{secret_id}/versions/{id}/redact":{"post":{"operationId":"redact_api_v1_organization_secret_version","tags":["identity"],"parameters":[{"name":"organization_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"secret_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not found"},"422":{"description":"Unprocessable entity"},"502":{"description":"Bad gateway"}},"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"security":[{"bearerAuth":[]}]}},"/api/v1/identity/organizations/{organization_id}/secrets/{secret_id}/versions/{id}/revoke":{"post":{"operationId":"revoke_api_v1_organization_secret_version","tags":["identity"],"parameters":[{"name":"organization_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"secret_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not found"},"422":{"description":"Unprocessable entity"},"502":{"description":"Bad gateway"}},"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"security":[{"bearerAuth":[]}]}},"/api/v1/identity/organizations/{organization_id}/service_accounts":{"get":{"operationId":"api_v1_organization_service_accounts","tags":["identity"],"parameters":[{"name":"organization_id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not found"},"422":{"description":"Unprocessable entity"},"502":{"description":"Bad gateway"}},"security":[{"bearerAuth":[]}]},"post":{"operationId":"post_api_v1_identity_organizations_organization_id_service_accounts","tags":["identity"],"parameters":[{"name":"organization_id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not found"},"422":{"description":"Unprocessable entity"},"502":{"description":"Bad gateway"}},"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"security":[{"bearerAuth":[]}]}},"/api/v1/identity/organizations/{organization_id}/service_accounts/{id}":{"get":{"operationId":"api_v1_organization_service_account","tags":["identity"],"parameters":[{"name":"organization_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not found"},"422":{"description":"Unprocessable entity"},"502":{"description":"Bad gateway"}},"security":[{"bearerAuth":[]}]},"patch":{"operationId":"patch_api_v1_identity_organizations_organization_id_service_accounts_id_","tags":["identity"],"parameters":[{"name":"organization_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not found"},"422":{"description":"Unprocessable entity"},"502":{"description":"Bad gateway"}},"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"security":[{"bearerAuth":[]}]},"put":{"operationId":"put_api_v1_identity_organizations_organization_id_service_accounts_id_","tags":["identity"],"parameters":[{"name":"organization_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not found"},"422":{"description":"Unprocessable entity"},"502":{"description":"Bad gateway"}},"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"security":[{"bearerAuth":[]}]},"delete":{"operationId":"delete_api_v1_identity_organizations_organization_id_service_accounts_id_","tags":["identity"],"parameters":[{"name":"organization_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not found"},"422":{"description":"Unprocessable entity"},"502":{"description":"Bad gateway"}},"security":[{"bearerAuth":[]}]}},"/api/v1/identity/organizations/{organization_id}/service_accounts/{id}/activate":{"post":{"operationId":"activate_api_v1_organization_service_account","tags":["identity"],"parameters":[{"name":"organization_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not found"},"422":{"description":"Unprocessable entity"},"502":{"description":"Bad gateway"}},"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"security":[{"bearerAuth":[]}]}},"/api/v1/identity/organizations/{organization_id}/service_accounts/{id}/revoke":{"post":{"operationId":"revoke_api_v1_organization_service_account","tags":["identity"],"parameters":[{"name":"organization_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not found"},"422":{"description":"Unprocessable entity"},"502":{"description":"Bad gateway"}},"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"security":[{"bearerAuth":[]}]}},"/api/v1/identity/organizations/{organization_id}/service_accounts/{id}/suspend":{"post":{"operationId":"suspend_api_v1_organization_service_account","tags":["identity"],"parameters":[{"name":"organization_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not found"},"422":{"description":"Unprocessable entity"},"502":{"description":"Bad gateway"}},"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"security":[{"bearerAuth":[]}]}},"/api/v1/identity/organizations/{organization_id}/workload_identities":{"get":{"operationId":"api_v1_organization_workload_identities","tags":["identity"],"parameters":[{"name":"organization_id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not found"},"422":{"description":"Unprocessable entity"},"502":{"description":"Bad gateway"}},"security":[{"bearerAuth":[]}]},"post":{"operationId":"post_api_v1_identity_organizations_organization_id_workload_identities","tags":["identity"],"parameters":[{"name":"organization_id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not found"},"422":{"description":"Unprocessable entity"},"502":{"description":"Bad gateway"}},"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"security":[{"bearerAuth":[]}]}},"/api/v1/identity/organizations/{organization_id}/workload_identities/token_exchange":{"post":{"operationId":"token_exchange_api_v1_organization_workload_identities","tags":["identity"],"parameters":[{"name":"organization_id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not found"},"422":{"description":"Unprocessable entity"},"502":{"description":"Bad gateway"}},"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"security":[{"bearerAuth":[]}]}},"/api/v1/identity/organizations/{organization_id}/workload_identities/{id}":{"get":{"operationId":"api_v1_organization_workload_identity","tags":["identity"],"parameters":[{"name":"organization_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not found"},"422":{"description":"Unprocessable entity"},"502":{"description":"Bad gateway"}},"security":[{"bearerAuth":[]}]},"patch":{"operationId":"patch_api_v1_identity_organizations_organization_id_workload_identities_id_","tags":["identity"],"parameters":[{"name":"organization_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not found"},"422":{"description":"Unprocessable entity"},"502":{"description":"Bad gateway"}},"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"security":[{"bearerAuth":[]}]},"put":{"operationId":"put_api_v1_identity_organizations_organization_id_workload_identities_id_","tags":["identity"],"parameters":[{"name":"organization_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not found"},"422":{"description":"Unprocessable entity"},"502":{"description":"Bad gateway"}},"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"security":[{"bearerAuth":[]}]},"delete":{"operationId":"delete_api_v1_identity_organizations_organization_id_workload_identities_id_","tags":["identity"],"parameters":[{"name":"organization_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not found"},"422":{"description":"Unprocessable entity"},"502":{"description":"Bad gateway"}},"security":[{"bearerAuth":[]}]}},"/api/v1/identity/organizations/{organization_id}/workload_identities/{id}/activate":{"post":{"operationId":"activate_api_v1_organization_workload_identity","tags":["identity"],"parameters":[{"name":"organization_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not found"},"422":{"description":"Unprocessable entity"},"502":{"description":"Bad gateway"}},"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"security":[{"bearerAuth":[]}]}},"/api/v1/identity/organizations/{organization_id}/workload_identities/{id}/issue_exchange_token":{"post":{"operationId":"issue_exchange_token_api_v1_organization_workload_identity","tags":["identity"],"parameters":[{"name":"organization_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not found"},"422":{"description":"Unprocessable entity"},"502":{"description":"Bad gateway"}},"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"security":[{"bearerAuth":[]}]}},"/api/v1/identity/organizations/{organization_id}/workload_identities/{id}/materialize":{"post":{"operationId":"materialize_api_v1_organization_workload_identity","tags":["identity"],"parameters":[{"name":"organization_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not found"},"422":{"description":"Unprocessable entity"},"502":{"description":"Bad gateway"}},"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"security":[{"bearerAuth":[]}]}},"/api/v1/identity/organizations/{organization_id}/workload_identities/{id}/revoke":{"post":{"operationId":"revoke_api_v1_organization_workload_identity","tags":["identity"],"parameters":[{"name":"organization_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not found"},"422":{"description":"Unprocessable entity"},"502":{"description":"Bad gateway"}},"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"security":[{"bearerAuth":[]}]}},"/api/v1/identity/organizations/{organization_id}/workload_identities/{id}/suspend":{"post":{"operationId":"suspend_api_v1_organization_workload_identity","tags":["identity"],"parameters":[{"name":"organization_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not found"},"422":{"description":"Unprocessable entity"},"502":{"description":"Bad gateway"}},"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"security":[{"bearerAuth":[]}]}},"/api/v1/jj/begin_upload":{"post":{"operationId":"api_v1_jj_begin_upload","tags":["jj"],"parameters":[],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not found"},"422":{"description":"Unprocessable entity"},"502":{"description":"Bad gateway"}},"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"security":[{"bearerAuth":[]}]}},"/api/v1/jj/commit_operation":{"post":{"operationId":"api_v1_jj_commit_operation","tags":["jj"],"parameters":[],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not found"},"422":{"description":"Unprocessable entity"},"502":{"description":"Bad gateway"}},"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"security":[{"bearerAuth":[]}]}},"/api/v1/jj/discover":{"get":{"operationId":"api_v1_jj_discover","tags":["jj"],"parameters":[],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not found"},"422":{"description":"Unprocessable entity"},"502":{"description":"Bad gateway"}},"security":[{"bearerAuth":[]}]}},"/api/v1/jj/finalize_upload":{"post":{"operationId":"api_v1_jj_finalize_upload","tags":["jj"],"parameters":[],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not found"},"422":{"description":"Unprocessable entity"},"502":{"description":"Bad gateway"}},"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"security":[{"bearerAuth":[]}]}},"/api/v1/jj/get_objects":{"post":{"operationId":"api_v1_jj_get_objects","tags":["jj"],"parameters":[],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not found"},"422":{"description":"Unprocessable entity"},"502":{"description":"Bad gateway"}},"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"security":[{"bearerAuth":[]}]}},"/api/v1/jj/op_heads":{"get":{"operationId":"api_v1_jj_op_heads","tags":["jj"],"parameters":[],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not found"},"422":{"description":"Unprocessable entity"},"502":{"description":"Bad gateway"}},"security":[{"bearerAuth":[]}]}},"/api/v1/jj/resolve_refs":{"post":{"operationId":"api_v1_jj_resolve_refs","tags":["jj"],"parameters":[],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not found"},"422":{"description":"Unprocessable entity"},"502":{"description":"Bad gateway"}},"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"security":[{"bearerAuth":[]}]}},"/api/v1/jj/update_refs":{"patch":{"operationId":"api_v1_jj_update_refs","tags":["jj"],"parameters":[],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not found"},"422":{"description":"Unprocessable entity"},"502":{"description":"Bad gateway"}},"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"security":[{"bearerAuth":[]}]}},"/api/v1/mcp":{"get|post|delete":{"operationId":"api_v1_mcp","tags":["mcp"],"parameters":[],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not found"},"422":{"description":"Unprocessable entity"},"502":{"description":"Bad gateway"}},"security":[{"bearerAuth":[]}]}},"/api/v1/me":{"get":{"operationId":"api_v1_me","tags":["me"],"parameters":[],"responses":{"200":{"description":"Current authenticated session","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"$ref":"#/components/schemas/AuthSession","required":["id","email","name","picture_url","organizations","active_organization","pending_organization_invitation_count","pending_organization_invitation_count_label"],"properties":{"id":{"type":"string"},"email":{"type":"string","format":"email"},"name":{"type":"string","nullable":true},"picture_url":{"type":"string","nullable":true},"superadmin":{"type":"boolean"},"organizations":{"type":"array","items":{"type":"object","required":["id","slug","name","logo_url","role","personal","member_count","pending_invitation_count","allow_author_self_review_on_main_repo","author_self_review_on_main_repo_effective","allow_author_self_review_on_home_repository","author_self_review_on_home_repository_effective","main_repository_slug","main_repository_display_name","home_repository_slug","home_repository_display_name","created_at","updated_at","created_at_label","updated_at_label"],"properties":{"id":{"type":"string"},"slug":{"type":"string"},"name":{"type":"string"},"logo_url":{"type":"string","nullable":true},"role":{"type":"string","nullable":true},"personal":{"type":"boolean"},"member_count":{"type":"integer","minimum":0},"pending_invitation_count":{"type":"integer","minimum":0},"allow_author_self_review_on_main_repo":{"type":"boolean"},"author_self_review_on_main_repo_effective":{"type":"boolean"},"allow_author_self_review_on_home_repository":{"type":"boolean"},"author_self_review_on_home_repository_effective":{"type":"boolean"},"main_repository_slug":{"type":"string"},"main_repository_display_name":{"type":"string"},"home_repository_slug":{"type":"string"},"home_repository_display_name":{"type":"string"},"created_at":{"type":"string","format":"date-time"},"updated_at":{"type":"string","format":"date-time"},"created_at_label":{"type":"string","nullable":true},"updated_at_label":{"type":"string","nullable":true}}}},"active_organization":{"oneOf":[{"type":"object","required":["id","slug","name","logo_url","role","personal","member_count","pending_invitation_count","allow_author_self_review_on_main_repo","author_self_review_on_main_repo_effective","allow_author_self_review_on_home_repository","author_self_review_on_home_repository_effective","main_repository_slug","main_repository_display_name","home_repository_slug","home_repository_display_name","created_at","updated_at","created_at_label","updated_at_label"],"properties":{"id":{"type":"string"},"slug":{"type":"string"},"name":{"type":"string"},"logo_url":{"type":"string","nullable":true},"role":{"type":"string","nullable":true},"personal":{"type":"boolean"},"member_count":{"type":"integer","minimum":0},"pending_invitation_count":{"type":"integer","minimum":0},"allow_author_self_review_on_main_repo":{"type":"boolean"},"author_self_review_on_main_repo_effective":{"type":"boolean"},"allow_author_self_review_on_home_repository":{"type":"boolean"},"author_self_review_on_home_repository_effective":{"type":"boolean"},"main_repository_slug":{"type":"string"},"main_repository_display_name":{"type":"string"},"home_repository_slug":{"type":"string"},"home_repository_display_name":{"type":"string"},"created_at":{"type":"string","format":"date-time"},"updated_at":{"type":"string","format":"date-time"},"created_at_label":{"type":"string","nullable":true},"updated_at_label":{"type":"string","nullable":true}}},{"type":"null"}]},"pending_organization_invitation_count":{"type":"integer","minimum":0},"pending_organization_invitation_count_label":{"type":"string"},"api_token":{"type":"string"},"api_base_url":{"type":"string","format":"uri"}}}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not found"},"422":{"description":"Unprocessable entity"},"502":{"description":"Bad gateway"}},"security":[{"bearerAuth":[]}]},"patch":{"operationId":"patch_api_v1_me","tags":["me"],"parameters":[],"responses":{"200":{"description":"Updated authenticated session","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"required":["id","email","name","picture_url","organizations","active_organization","pending_organization_invitation_count","pending_organization_invitation_count_label"],"properties":{"id":{"type":"string"},"email":{"type":"string","format":"email"},"name":{"type":"string","nullable":true},"picture_url":{"type":"string","nullable":true},"superadmin":{"type":"boolean"},"organizations":{"type":"array","items":{"type":"object","required":["id","slug","name","logo_url","role","personal","member_count","pending_invitation_count","allow_author_self_review_on_main_repo","author_self_review_on_main_repo_effective","allow_author_self_review_on_home_repository","author_self_review_on_home_repository_effective","main_repository_slug","main_repository_display_name","home_repository_slug","home_repository_display_name","created_at","updated_at","created_at_label","updated_at_label"],"properties":{"id":{"type":"string"},"slug":{"type":"string"},"name":{"type":"string"},"logo_url":{"type":"string","nullable":true},"role":{"type":"string","nullable":true},"personal":{"type":"boolean"},"member_count":{"type":"integer","minimum":0},"pending_invitation_count":{"type":"integer","minimum":0},"allow_author_self_review_on_main_repo":{"type":"boolean"},"author_self_review_on_main_repo_effective":{"type":"boolean"},"allow_author_self_review_on_home_repository":{"type":"boolean"},"author_self_review_on_home_repository_effective":{"type":"boolean"},"main_repository_slug":{"type":"string"},"main_repository_display_name":{"type":"string"},"home_repository_slug":{"type":"string"},"home_repository_display_name":{"type":"string"},"created_at":{"type":"string","format":"date-time"},"updated_at":{"type":"string","format":"date-time"},"created_at_label":{"type":"string","nullable":true},"updated_at_label":{"type":"string","nullable":true}}}},"active_organization":{"oneOf":[{"type":"object","required":["id","slug","name","logo_url","role","personal","member_count","pending_invitation_count","allow_author_self_review_on_main_repo","author_self_review_on_main_repo_effective","allow_author_self_review_on_home_repository","author_self_review_on_home_repository_effective","main_repository_slug","main_repository_display_name","home_repository_slug","home_repository_display_name","created_at","updated_at","created_at_label","updated_at_label"],"properties":{"id":{"type":"string"},"slug":{"type":"string"},"name":{"type":"string"},"logo_url":{"type":"string","nullable":true},"role":{"type":"string","nullable":true},"personal":{"type":"boolean"},"member_count":{"type":"integer","minimum":0},"pending_invitation_count":{"type":"integer","minimum":0},"allow_author_self_review_on_main_repo":{"type":"boolean"},"author_self_review_on_main_repo_effective":{"type":"boolean"},"allow_author_self_review_on_home_repository":{"type":"boolean"},"author_self_review_on_home_repository_effective":{"type":"boolean"},"main_repository_slug":{"type":"string"},"main_repository_display_name":{"type":"string"},"home_repository_slug":{"type":"string"},"home_repository_display_name":{"type":"string"},"created_at":{"type":"string","format":"date-time"},"updated_at":{"type":"string","format":"date-time"},"created_at_label":{"type":"string","nullable":true},"updated_at_label":{"type":"string","nullable":true}}},{"type":"null"}]},"pending_organization_invitation_count":{"type":"integer","minimum":0},"pending_organization_invitation_count_label":{"type":"string"},"api_token":{"type":"string"},"api_base_url":{"type":"string","format":"uri"}}}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not found"},"422":{"description":"Unprocessable entity"},"502":{"description":"Bad gateway"}},"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"security":[{"bearerAuth":[]}]}},"/api/v1/me/active_organization":{"put":{"operationId":"api_v1_me_active_organization","tags":["me"],"parameters":[],"responses":{"200":{"description":"Active organization updated","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"required":["active_organization"],"properties":{"active_organization":{"oneOf":[{"$ref":"#/components/schemas/OrganizationSummary"},{"type":"null"}]}}}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not found"},"422":{"description":"Unprocessable entity"},"502":{"description":"Bad gateway"}},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"$ref":"#/components/schemas/ActiveOrganizationPayload"}}}},"security":[{"bearerAuth":[]}]}},"/api/v1/me/profile_image":{"put":{"operationId":"api_v1_me_profile_image","tags":["me"],"parameters":[],"responses":{"200":{"description":"Authenticated session","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"$ref":"#/components/schemas/AuthSession"}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not found"},"422":{"description":"Unprocessable entity"},"502":{"description":"Bad gateway"}},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}},"multipart/form-data":{"schema":{"$ref":"#/components/schemas/ImageUploadPayload"}}}},"security":[{"bearerAuth":[]}]},"delete":{"operationId":"delete_api_v1_me_profile_image","tags":["me"],"parameters":[],"responses":{"200":{"description":"Authenticated session","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"$ref":"#/components/schemas/AuthSession"}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not found"},"422":{"description":"Unprocessable entity"},"502":{"description":"Bad gateway"}},"security":[{"bearerAuth":[]}]}},"/api/v1/networking/spaces":{"get":{"operationId":"api_v1_spaces","tags":["networking"],"parameters":[],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not found"},"422":{"description":"Unprocessable entity"},"502":{"description":"Bad gateway"}},"security":[{"bearerAuth":[]}]},"post":{"operationId":"post_api_v1_networking_spaces","tags":["networking"],"parameters":[],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not found"},"422":{"description":"Unprocessable entity"},"502":{"description":"Bad gateway"}},"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"security":[{"bearerAuth":[]}]}},"/api/v1/networking/spaces/{id}":{"get":{"operationId":"api_v1_space","tags":["networking"],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not found"},"422":{"description":"Unprocessable entity"},"502":{"description":"Bad gateway"}},"security":[{"bearerAuth":[]}]},"patch":{"operationId":"patch_api_v1_networking_spaces_id_","tags":["networking"],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not found"},"422":{"description":"Unprocessable entity"},"502":{"description":"Bad gateway"}},"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"security":[{"bearerAuth":[]}]},"put":{"operationId":"put_api_v1_networking_spaces_id_","tags":["networking"],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not found"},"422":{"description":"Unprocessable entity"},"502":{"description":"Bad gateway"}},"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"security":[{"bearerAuth":[]}]},"delete":{"operationId":"delete_api_v1_networking_spaces_id_","tags":["networking"],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not found"},"422":{"description":"Unprocessable entity"},"502":{"description":"Bad gateway"}},"security":[{"bearerAuth":[]}]}},"/api/v1/networking/spaces/{id}/activate":{"post":{"operationId":"activate_api_v1_space","tags":["networking"],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not found"},"422":{"description":"Unprocessable entity"},"502":{"description":"Bad gateway"}},"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"security":[{"bearerAuth":[]}]}},"/api/v1/networking/spaces/{id}/archive":{"post":{"operationId":"archive_api_v1_space","tags":["networking"],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not found"},"422":{"description":"Unprocessable entity"},"502":{"description":"Bad gateway"}},"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"security":[{"bearerAuth":[]}]}},"/api/v1/networking/spaces/{id}/pause":{"post":{"operationId":"pause_api_v1_space","tags":["networking"],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not found"},"422":{"description":"Unprocessable entity"},"502":{"description":"Bad gateway"}},"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"security":[{"bearerAuth":[]}]}},"/api/v1/networking/spaces/{id}/validate_route":{"post":{"operationId":"validate_route_api_v1_space","tags":["networking"],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not found"},"422":{"description":"Unprocessable entity"},"502":{"description":"Bad gateway"}},"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"security":[{"bearerAuth":[]}]}},"/api/v1/networking/spaces/{space_id}/catalog":{"get":{"operationId":"api_v1_space_catalog","tags":["networking"],"parameters":[{"name":"space_id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not found"},"422":{"description":"Unprocessable entity"},"502":{"description":"Bad gateway"}},"security":[{"bearerAuth":[]}]}},"/api/v1/networking/spaces/{space_id}/dns_records":{"get":{"operationId":"api_v1_space_dns_records","tags":["networking"],"parameters":[{"name":"space_id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not found"},"422":{"description":"Unprocessable entity"},"502":{"description":"Bad gateway"}},"security":[{"bearerAuth":[]}]},"post":{"operationId":"post_api_v1_networking_spaces_space_id_dns_records","tags":["networking"],"parameters":[{"name":"space_id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not found"},"422":{"description":"Unprocessable entity"},"502":{"description":"Bad gateway"}},"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"security":[{"bearerAuth":[]}]}},"/api/v1/networking/spaces/{space_id}/dns_records/{id}":{"get":{"operationId":"api_v1_space_dns_record","tags":["networking"],"parameters":[{"name":"space_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not found"},"422":{"description":"Unprocessable entity"},"502":{"description":"Bad gateway"}},"security":[{"bearerAuth":[]}]},"patch":{"operationId":"patch_api_v1_networking_spaces_space_id_dns_records_id_","tags":["networking"],"parameters":[{"name":"space_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not found"},"422":{"description":"Unprocessable entity"},"502":{"description":"Bad gateway"}},"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"security":[{"bearerAuth":[]}]},"put":{"operationId":"put_api_v1_networking_spaces_space_id_dns_records_id_","tags":["networking"],"parameters":[{"name":"space_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not found"},"422":{"description":"Unprocessable entity"},"502":{"description":"Bad gateway"}},"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"security":[{"bearerAuth":[]}]},"delete":{"operationId":"delete_api_v1_networking_spaces_space_id_dns_records_id_","tags":["networking"],"parameters":[{"name":"space_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not found"},"422":{"description":"Unprocessable entity"},"502":{"description":"Bad gateway"}},"security":[{"bearerAuth":[]}]}},"/api/v1/networking/spaces/{space_id}/enrollment_tokens":{"get":{"operationId":"api_v1_space_enrollment_tokens","tags":["networking"],"parameters":[{"name":"space_id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not found"},"422":{"description":"Unprocessable entity"},"502":{"description":"Bad gateway"}},"security":[{"bearerAuth":[]}]},"post":{"operationId":"post_api_v1_networking_spaces_space_id_enrollment_tokens","tags":["networking"],"parameters":[{"name":"space_id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not found"},"422":{"description":"Unprocessable entity"},"502":{"description":"Bad gateway"}},"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"security":[{"bearerAuth":[]}]}},"/api/v1/networking/spaces/{space_id}/enrollment_tokens/{id}":{"get":{"operationId":"api_v1_space_enrollment_token","tags":["networking"],"parameters":[{"name":"space_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not found"},"422":{"description":"Unprocessable entity"},"502":{"description":"Bad gateway"}},"security":[{"bearerAuth":[]}]},"patch":{"operationId":"patch_api_v1_networking_spaces_space_id_enrollment_tokens_id_","tags":["networking"],"parameters":[{"name":"space_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not found"},"422":{"description":"Unprocessable entity"},"502":{"description":"Bad gateway"}},"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"security":[{"bearerAuth":[]}]},"put":{"operationId":"put_api_v1_networking_spaces_space_id_enrollment_tokens_id_","tags":["networking"],"parameters":[{"name":"space_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not found"},"422":{"description":"Unprocessable entity"},"502":{"description":"Bad gateway"}},"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"security":[{"bearerAuth":[]}]},"delete":{"operationId":"delete_api_v1_networking_spaces_space_id_enrollment_tokens_id_","tags":["networking"],"parameters":[{"name":"space_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not found"},"422":{"description":"Unprocessable entity"},"502":{"description":"Bad gateway"}},"security":[{"bearerAuth":[]}]}},"/api/v1/networking/spaces/{space_id}/enrollment_tokens/{id}/revoke":{"post":{"operationId":"revoke_api_v1_space_enrollment_token","tags":["networking"],"parameters":[{"name":"space_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not found"},"422":{"description":"Unprocessable entity"},"502":{"description":"Bad gateway"}},"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"security":[{"bearerAuth":[]}]}},"/api/v1/networking/spaces/{space_id}/gateways":{"get":{"operationId":"api_v1_space_gateways","tags":["networking"],"parameters":[{"name":"space_id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not found"},"422":{"description":"Unprocessable entity"},"502":{"description":"Bad gateway"}},"security":[{"bearerAuth":[]}]},"post":{"operationId":"post_api_v1_networking_spaces_space_id_gateways","tags":["networking"],"parameters":[{"name":"space_id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not found"},"422":{"description":"Unprocessable entity"},"502":{"description":"Bad gateway"}},"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"security":[{"bearerAuth":[]}]}},"/api/v1/networking/spaces/{space_id}/gateways/{id}":{"get":{"operationId":"api_v1_space_gateway","tags":["networking"],"parameters":[{"name":"space_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not found"},"422":{"description":"Unprocessable entity"},"502":{"description":"Bad gateway"}},"security":[{"bearerAuth":[]}]},"patch":{"operationId":"patch_api_v1_networking_spaces_space_id_gateways_id_","tags":["networking"],"parameters":[{"name":"space_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not found"},"422":{"description":"Unprocessable entity"},"502":{"description":"Bad gateway"}},"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"security":[{"bearerAuth":[]}]},"put":{"operationId":"put_api_v1_networking_spaces_space_id_gateways_id_","tags":["networking"],"parameters":[{"name":"space_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not found"},"422":{"description":"Unprocessable entity"},"502":{"description":"Bad gateway"}},"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"security":[{"bearerAuth":[]}]},"delete":{"operationId":"delete_api_v1_networking_spaces_space_id_gateways_id_","tags":["networking"],"parameters":[{"name":"space_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not found"},"422":{"description":"Unprocessable entity"},"502":{"description":"Bad gateway"}},"security":[{"bearerAuth":[]}]}},"/api/v1/networking/spaces/{space_id}/gateways/{id}/config":{"get":{"operationId":"config_api_v1_space_gateway","tags":["networking"],"parameters":[{"name":"space_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not found"},"422":{"description":"Unprocessable entity"},"502":{"description":"Bad gateway"}},"security":[{"bearerAuth":[]}]}},"/api/v1/networking/spaces/{space_id}/gateways/{id}/heartbeat":{"post":{"operationId":"heartbeat_api_v1_space_gateway","tags":["networking"],"parameters":[{"name":"space_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not found"},"422":{"description":"Unprocessable entity"},"502":{"description":"Bad gateway"}},"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"security":[{"bearerAuth":[]}]}},"/api/v1/networking/spaces/{space_id}/gateways/{id}/sync":{"post":{"operationId":"sync_api_v1_space_gateway","tags":["networking"],"parameters":[{"name":"space_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not found"},"422":{"description":"Unprocessable entity"},"502":{"description":"Bad gateway"}},"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"security":[{"bearerAuth":[]}]}},"/api/v1/networking/spaces/{space_id}/group_memberships":{"get":{"operationId":"api_v1_space_group_memberships","tags":["networking"],"parameters":[{"name":"space_id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not found"},"422":{"description":"Unprocessable entity"},"502":{"description":"Bad gateway"}},"security":[{"bearerAuth":[]}]},"post":{"operationId":"post_api_v1_networking_spaces_space_id_group_memberships","tags":["networking"],"parameters":[{"name":"space_id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not found"},"422":{"description":"Unprocessable entity"},"502":{"description":"Bad gateway"}},"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"security":[{"bearerAuth":[]}]}},"/api/v1/networking/spaces/{space_id}/group_memberships/{id}":{"patch":{"operationId":"api_v1_space_group_membership","tags":["networking"],"parameters":[{"name":"space_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not found"},"422":{"description":"Unprocessable entity"},"502":{"description":"Bad gateway"}},"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"security":[{"bearerAuth":[]}]},"put":{"operationId":"put_api_v1_networking_spaces_space_id_group_memberships_id_","tags":["networking"],"parameters":[{"name":"space_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not found"},"422":{"description":"Unprocessable entity"},"502":{"description":"Bad gateway"}},"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"security":[{"bearerAuth":[]}]},"delete":{"operationId":"delete_api_v1_networking_spaces_space_id_group_memberships_id_","tags":["networking"],"parameters":[{"name":"space_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not found"},"422":{"description":"Unprocessable entity"},"502":{"description":"Bad gateway"}},"security":[{"bearerAuth":[]}]}},"/api/v1/networking/spaces/{space_id}/groups":{"get":{"operationId":"api_v1_space_groups","tags":["networking"],"parameters":[{"name":"space_id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not found"},"422":{"description":"Unprocessable entity"},"502":{"description":"Bad gateway"}},"security":[{"bearerAuth":[]}]},"post":{"operationId":"post_api_v1_networking_spaces_space_id_groups","tags":["networking"],"parameters":[{"name":"space_id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not found"},"422":{"description":"Unprocessable entity"},"502":{"description":"Bad gateway"}},"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"security":[{"bearerAuth":[]}]}},"/api/v1/networking/spaces/{space_id}/groups/{id}":{"patch":{"operationId":"api_v1_space_group","tags":["networking"],"parameters":[{"name":"space_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not found"},"422":{"description":"Unprocessable entity"},"502":{"description":"Bad gateway"}},"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"security":[{"bearerAuth":[]}]},"put":{"operationId":"put_api_v1_networking_spaces_space_id_groups_id_","tags":["networking"],"parameters":[{"name":"space_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not found"},"422":{"description":"Unprocessable entity"},"502":{"description":"Bad gateway"}},"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"security":[{"bearerAuth":[]}]},"delete":{"operationId":"delete_api_v1_networking_spaces_space_id_groups_id_","tags":["networking"],"parameters":[{"name":"space_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not found"},"422":{"description":"Unprocessable entity"},"502":{"description":"Bad gateway"}},"security":[{"bearerAuth":[]}]}},"/api/v1/networking/spaces/{space_id}/peer_attachments":{"get":{"operationId":"api_v1_space_peer_attachments","tags":["networking"],"parameters":[{"name":"space_id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not found"},"422":{"description":"Unprocessable entity"},"502":{"description":"Bad gateway"}},"security":[{"bearerAuth":[]}]},"post":{"operationId":"post_api_v1_networking_spaces_space_id_peer_attachments","tags":["networking"],"parameters":[{"name":"space_id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not found"},"422":{"description":"Unprocessable entity"},"502":{"description":"Bad gateway"}},"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"security":[{"bearerAuth":[]}]}},"/api/v1/networking/spaces/{space_id}/peer_attachments/{id}":{"patch":{"operationId":"api_v1_space_peer_attachment","tags":["networking"],"parameters":[{"name":"space_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not found"},"422":{"description":"Unprocessable entity"},"502":{"description":"Bad gateway"}},"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"security":[{"bearerAuth":[]}]},"put":{"operationId":"put_api_v1_networking_spaces_space_id_peer_attachments_id_","tags":["networking"],"parameters":[{"name":"space_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not found"},"422":{"description":"Unprocessable entity"},"502":{"description":"Bad gateway"}},"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"security":[{"bearerAuth":[]}]},"delete":{"operationId":"delete_api_v1_networking_spaces_space_id_peer_attachments_id_","tags":["networking"],"parameters":[{"name":"space_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not found"},"422":{"description":"Unprocessable entity"},"502":{"description":"Bad gateway"}},"security":[{"bearerAuth":[]}]}},"/api/v1/networking/spaces/{space_id}/peers":{"get":{"operationId":"api_v1_space_peers","tags":["networking"],"parameters":[{"name":"space_id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not found"},"422":{"description":"Unprocessable entity"},"502":{"description":"Bad gateway"}},"security":[{"bearerAuth":[]}]},"post":{"operationId":"post_api_v1_networking_spaces_space_id_peers","tags":["networking"],"parameters":[{"name":"space_id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not found"},"422":{"description":"Unprocessable entity"},"502":{"description":"Bad gateway"}},"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"security":[{"bearerAuth":[]}]}},"/api/v1/networking/spaces/{space_id}/peers/enroll":{"post":{"operationId":"enroll_api_v1_space_peers","tags":["networking"],"parameters":[{"name":"space_id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not found"},"422":{"description":"Unprocessable entity"},"502":{"description":"Bad gateway"}},"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"security":[{"bearerAuth":[]}]}},"/api/v1/networking/spaces/{space_id}/peers/{id}":{"get":{"operationId":"api_v1_space_peer","tags":["networking"],"parameters":[{"name":"space_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not found"},"422":{"description":"Unprocessable entity"},"502":{"description":"Bad gateway"}},"security":[{"bearerAuth":[]}]},"patch":{"operationId":"patch_api_v1_networking_spaces_space_id_peers_id_","tags":["networking"],"parameters":[{"name":"space_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not found"},"422":{"description":"Unprocessable entity"},"502":{"description":"Bad gateway"}},"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"security":[{"bearerAuth":[]}]},"put":{"operationId":"put_api_v1_networking_spaces_space_id_peers_id_","tags":["networking"],"parameters":[{"name":"space_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not found"},"422":{"description":"Unprocessable entity"},"502":{"description":"Bad gateway"}},"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"security":[{"bearerAuth":[]}]},"delete":{"operationId":"delete_api_v1_networking_spaces_space_id_peers_id_","tags":["networking"],"parameters":[{"name":"space_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not found"},"422":{"description":"Unprocessable entity"},"502":{"description":"Bad gateway"}},"security":[{"bearerAuth":[]}]}},"/api/v1/networking/spaces/{space_id}/peers/{id}/approve":{"post":{"operationId":"approve_api_v1_space_peer","tags":["networking"],"parameters":[{"name":"space_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not found"},"422":{"description":"Unprocessable entity"},"502":{"description":"Bad gateway"}},"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"security":[{"bearerAuth":[]}]}},"/api/v1/networking/spaces/{space_id}/peers/{id}/bootstrap":{"get":{"operationId":"bootstrap_api_v1_space_peer","tags":["networking"],"parameters":[{"name":"space_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not found"},"422":{"description":"Unprocessable entity"},"502":{"description":"Bad gateway"}},"security":[{"bearerAuth":[]}]}},"/api/v1/networking/spaces/{space_id}/peers/{id}/revoke":{"post":{"operationId":"revoke_api_v1_space_peer","tags":["networking"],"parameters":[{"name":"space_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not found"},"422":{"description":"Unprocessable entity"},"502":{"description":"Bad gateway"}},"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"security":[{"bearerAuth":[]}]}},"/api/v1/networking/spaces/{space_id}/peers/{id}/suspend":{"post":{"operationId":"suspend_api_v1_space_peer","tags":["networking"],"parameters":[{"name":"space_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not found"},"422":{"description":"Unprocessable entity"},"502":{"description":"Bad gateway"}},"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"security":[{"bearerAuth":[]}]}},"/api/v1/networking/spaces/{space_id}/policies":{"get":{"operationId":"api_v1_space_policies","tags":["networking"],"parameters":[{"name":"space_id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not found"},"422":{"description":"Unprocessable entity"},"502":{"description":"Bad gateway"}},"security":[{"bearerAuth":[]}]},"post":{"operationId":"post_api_v1_networking_spaces_space_id_policies","tags":["networking"],"parameters":[{"name":"space_id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not found"},"422":{"description":"Unprocessable entity"},"502":{"description":"Bad gateway"}},"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"security":[{"bearerAuth":[]}]}},"/api/v1/networking/spaces/{space_id}/policies/{id}":{"get":{"operationId":"api_v1_space_policy","tags":["networking"],"parameters":[{"name":"space_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not found"},"422":{"description":"Unprocessable entity"},"502":{"description":"Bad gateway"}},"security":[{"bearerAuth":[]}]},"patch":{"operationId":"patch_api_v1_networking_spaces_space_id_policies_id_","tags":["networking"],"parameters":[{"name":"space_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not found"},"422":{"description":"Unprocessable entity"},"502":{"description":"Bad gateway"}},"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"security":[{"bearerAuth":[]}]},"put":{"operationId":"put_api_v1_networking_spaces_space_id_policies_id_","tags":["networking"],"parameters":[{"name":"space_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not found"},"422":{"description":"Unprocessable entity"},"502":{"description":"Bad gateway"}},"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"security":[{"bearerAuth":[]}]},"delete":{"operationId":"delete_api_v1_networking_spaces_space_id_policies_id_","tags":["networking"],"parameters":[{"name":"space_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not found"},"422":{"description":"Unprocessable entity"},"502":{"description":"Bad gateway"}},"security":[{"bearerAuth":[]}]}},"/api/v1/networking/spaces/{space_id}/policies/{id}/activate":{"post":{"operationId":"activate_api_v1_space_policy","tags":["networking"],"parameters":[{"name":"space_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not found"},"422":{"description":"Unprocessable entity"},"502":{"description":"Bad gateway"}},"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"security":[{"bearerAuth":[]}]}},"/api/v1/networking/spaces/{space_id}/policies/{id}/archive":{"post":{"operationId":"archive_api_v1_space_policy","tags":["networking"],"parameters":[{"name":"space_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not found"},"422":{"description":"Unprocessable entity"},"502":{"description":"Bad gateway"}},"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"security":[{"bearerAuth":[]}]}},"/api/v1/networking/spaces/{space_id}/policies/{id}/pause":{"post":{"operationId":"pause_api_v1_space_policy","tags":["networking"],"parameters":[{"name":"space_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not found"},"422":{"description":"Unprocessable entity"},"502":{"description":"Bad gateway"}},"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"security":[{"bearerAuth":[]}]}},"/api/v1/networking/spaces/{space_id}/segments":{"get":{"operationId":"api_v1_space_segments","tags":["networking"],"parameters":[{"name":"space_id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not found"},"422":{"description":"Unprocessable entity"},"502":{"description":"Bad gateway"}},"security":[{"bearerAuth":[]}]},"post":{"operationId":"post_api_v1_networking_spaces_space_id_segments","tags":["networking"],"parameters":[{"name":"space_id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not found"},"422":{"description":"Unprocessable entity"},"502":{"description":"Bad gateway"}},"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"security":[{"bearerAuth":[]}]}},"/api/v1/networking/spaces/{space_id}/segments/{id}":{"get":{"operationId":"api_v1_space_segment","tags":["networking"],"parameters":[{"name":"space_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not found"},"422":{"description":"Unprocessable entity"},"502":{"description":"Bad gateway"}},"security":[{"bearerAuth":[]}]},"patch":{"operationId":"patch_api_v1_networking_spaces_space_id_segments_id_","tags":["networking"],"parameters":[{"name":"space_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not found"},"422":{"description":"Unprocessable entity"},"502":{"description":"Bad gateway"}},"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"security":[{"bearerAuth":[]}]},"put":{"operationId":"put_api_v1_networking_spaces_space_id_segments_id_","tags":["networking"],"parameters":[{"name":"space_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not found"},"422":{"description":"Unprocessable entity"},"502":{"description":"Bad gateway"}},"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"security":[{"bearerAuth":[]}]},"delete":{"operationId":"delete_api_v1_networking_spaces_space_id_segments_id_","tags":["networking"],"parameters":[{"name":"space_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not found"},"422":{"description":"Unprocessable entity"},"502":{"description":"Bad gateway"}},"security":[{"bearerAuth":[]}]}},"/api/v1/observability/clickhouse_clusters":{"get":{"operationId":"api_v1_clickhouse_clusters","tags":["observability"],"parameters":[],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not found"},"422":{"description":"Unprocessable entity"},"502":{"description":"Bad gateway"}},"security":[{"bearerAuth":[]}]},"post":{"operationId":"post_api_v1_observability_clickhouse_clusters","tags":["observability"],"parameters":[],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not found"},"422":{"description":"Unprocessable entity"},"502":{"description":"Bad gateway"}},"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"security":[{"bearerAuth":[]}]}},"/api/v1/observability/clickhouse_clusters/{id}":{"get":{"operationId":"api_v1_clickhouse_cluster","tags":["observability"],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not found"},"422":{"description":"Unprocessable entity"},"502":{"description":"Bad gateway"}},"security":[{"bearerAuth":[]}]},"patch":{"operationId":"patch_api_v1_observability_clickhouse_clusters_id_","tags":["observability"],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not found"},"422":{"description":"Unprocessable entity"},"502":{"description":"Bad gateway"}},"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"security":[{"bearerAuth":[]}]},"put":{"operationId":"put_api_v1_observability_clickhouse_clusters_id_","tags":["observability"],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not found"},"422":{"description":"Unprocessable entity"},"502":{"description":"Bad gateway"}},"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"security":[{"bearerAuth":[]}]},"delete":{"operationId":"delete_api_v1_observability_clickhouse_clusters_id_","tags":["observability"],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not found"},"422":{"description":"Unprocessable entity"},"502":{"description":"Bad gateway"}},"security":[{"bearerAuth":[]}]}},"/api/v1/observability/clickhouse_clusters/{id}/activate":{"post":{"operationId":"activate_api_v1_clickhouse_cluster","tags":["observability"],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not found"},"422":{"description":"Unprocessable entity"},"502":{"description":"Bad gateway"}},"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"security":[{"bearerAuth":[]}]}},"/api/v1/observability/clickhouse_clusters/{id}/archive":{"post":{"operationId":"archive_api_v1_clickhouse_cluster","tags":["observability"],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not found"},"422":{"description":"Unprocessable entity"},"502":{"description":"Bad gateway"}},"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"security":[{"bearerAuth":[]}]}},"/api/v1/observability/clickhouse_clusters/{id}/deploy":{"post":{"operationId":"deploy_api_v1_clickhouse_cluster","tags":["observability"],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not found"},"422":{"description":"Unprocessable entity"},"502":{"description":"Bad gateway"}},"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"security":[{"bearerAuth":[]}]}},"/api/v1/observability/clickhouse_clusters/{id}/pause":{"post":{"operationId":"pause_api_v1_clickhouse_cluster","tags":["observability"],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not found"},"422":{"description":"Unprocessable entity"},"502":{"description":"Bad gateway"}},"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"security":[{"bearerAuth":[]}]}},"/api/v1/observability/quickwit_clusters":{"get":{"operationId":"api_v1_quickwit_clusters","tags":["observability"],"parameters":[],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not found"},"422":{"description":"Unprocessable entity"},"502":{"description":"Bad gateway"}},"security":[{"bearerAuth":[]}]},"post":{"operationId":"post_api_v1_observability_quickwit_clusters","tags":["observability"],"parameters":[],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not found"},"422":{"description":"Unprocessable entity"},"502":{"description":"Bad gateway"}},"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"security":[{"bearerAuth":[]}]}},"/api/v1/observability/quickwit_clusters/{id}":{"get":{"operationId":"api_v1_quickwit_cluster","tags":["observability"],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not found"},"422":{"description":"Unprocessable entity"},"502":{"description":"Bad gateway"}},"security":[{"bearerAuth":[]}]},"patch":{"operationId":"patch_api_v1_observability_quickwit_clusters_id_","tags":["observability"],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not found"},"422":{"description":"Unprocessable entity"},"502":{"description":"Bad gateway"}},"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"security":[{"bearerAuth":[]}]},"put":{"operationId":"put_api_v1_observability_quickwit_clusters_id_","tags":["observability"],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not found"},"422":{"description":"Unprocessable entity"},"502":{"description":"Bad gateway"}},"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"security":[{"bearerAuth":[]}]},"delete":{"operationId":"delete_api_v1_observability_quickwit_clusters_id_","tags":["observability"],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not found"},"422":{"description":"Unprocessable entity"},"502":{"description":"Bad gateway"}},"security":[{"bearerAuth":[]}]}},"/api/v1/observability/quickwit_clusters/{id}/activate":{"post":{"operationId":"activate_api_v1_quickwit_cluster","tags":["observability"],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not found"},"422":{"description":"Unprocessable entity"},"502":{"description":"Bad gateway"}},"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"security":[{"bearerAuth":[]}]}},"/api/v1/observability/quickwit_clusters/{id}/archive":{"post":{"operationId":"archive_api_v1_quickwit_cluster","tags":["observability"],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not found"},"422":{"description":"Unprocessable entity"},"502":{"description":"Bad gateway"}},"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"security":[{"bearerAuth":[]}]}},"/api/v1/observability/quickwit_clusters/{id}/deploy":{"post":{"operationId":"deploy_api_v1_quickwit_cluster","tags":["observability"],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not found"},"422":{"description":"Unprocessable entity"},"502":{"description":"Bad gateway"}},"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"security":[{"bearerAuth":[]}]}},"/api/v1/observability/quickwit_clusters/{id}/pause":{"post":{"operationId":"pause_api_v1_quickwit_cluster","tags":["observability"],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not found"},"422":{"description":"Unprocessable entity"},"502":{"description":"Bad gateway"}},"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"security":[{"bearerAuth":[]}]}},"/api/v1/observability/spaces":{"get":{"operationId":"get_api_v1_observability_spaces","tags":["observability"],"parameters":[],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not found"},"422":{"description":"Unprocessable entity"},"502":{"description":"Bad gateway"}},"security":[{"bearerAuth":[]}]},"post":{"operationId":"post_api_v1_observability_spaces","tags":["observability"],"parameters":[],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not found"},"422":{"description":"Unprocessable entity"},"502":{"description":"Bad gateway"}},"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"security":[{"bearerAuth":[]}]}},"/api/v1/observability/spaces/{id}":{"get":{"operationId":"get_api_v1_observability_spaces_id_","tags":["observability"],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not found"},"422":{"description":"Unprocessable entity"},"502":{"description":"Bad gateway"}},"security":[{"bearerAuth":[]}]},"patch":{"operationId":"patch_api_v1_observability_spaces_id_","tags":["observability"],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not found"},"422":{"description":"Unprocessable entity"},"502":{"description":"Bad gateway"}},"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"security":[{"bearerAuth":[]}]},"put":{"operationId":"put_api_v1_observability_spaces_id_","tags":["observability"],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not found"},"422":{"description":"Unprocessable entity"},"502":{"description":"Bad gateway"}},"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"security":[{"bearerAuth":[]}]},"delete":{"operationId":"delete_api_v1_observability_spaces_id_","tags":["observability"],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not found"},"422":{"description":"Unprocessable entity"},"502":{"description":"Bad gateway"}},"security":[{"bearerAuth":[]}]}},"/api/v1/observability/spaces/{id}/activate":{"post":{"operationId":"post_api_v1_observability_spaces_id_activate","tags":["observability"],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not found"},"422":{"description":"Unprocessable entity"},"502":{"description":"Bad gateway"}},"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"security":[{"bearerAuth":[]}]}},"/api/v1/observability/spaces/{id}/archive":{"post":{"operationId":"post_api_v1_observability_spaces_id_archive","tags":["observability"],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not found"},"422":{"description":"Unprocessable entity"},"502":{"description":"Bad gateway"}},"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"security":[{"bearerAuth":[]}]}},"/api/v1/observability/spaces/{id}/pause":{"post":{"operationId":"post_api_v1_observability_spaces_id_pause","tags":["observability"],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not found"},"422":{"description":"Unprocessable entity"},"502":{"description":"Bad gateway"}},"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"security":[{"bearerAuth":[]}]}},"/api/v1/observability/spaces/{space_id}/alert_rules":{"get":{"operationId":"api_v1_space_alert_rules","tags":["observability"],"parameters":[{"name":"space_id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not found"},"422":{"description":"Unprocessable entity"},"502":{"description":"Bad gateway"}},"security":[{"bearerAuth":[]}]},"post":{"operationId":"post_api_v1_observability_spaces_space_id_alert_rules","tags":["observability"],"parameters":[{"name":"space_id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not found"},"422":{"description":"Unprocessable entity"},"502":{"description":"Bad gateway"}},"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"security":[{"bearerAuth":[]}]}},"/api/v1/observability/spaces/{space_id}/alert_rules/{alert_rule_id}/events":{"get":{"operationId":"api_v1_space_alert_rule_events","tags":["observability"],"parameters":[{"name":"space_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"alert_rule_id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not found"},"422":{"description":"Unprocessable entity"},"502":{"description":"Bad gateway"}},"security":[{"bearerAuth":[]}]},"post":{"operationId":"post_api_v1_observability_spaces_space_id_alert_rules_alert_rule_id_events","tags":["observability"],"parameters":[{"name":"space_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"alert_rule_id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not found"},"422":{"description":"Unprocessable entity"},"502":{"description":"Bad gateway"}},"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"security":[{"bearerAuth":[]}]}},"/api/v1/observability/spaces/{space_id}/alert_rules/{alert_rule_id}/events/{id}":{"get":{"operationId":"api_v1_space_alert_rule_event","tags":["observability"],"parameters":[{"name":"space_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"alert_rule_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not found"},"422":{"description":"Unprocessable entity"},"502":{"description":"Bad gateway"}},"security":[{"bearerAuth":[]}]},"delete":{"operationId":"delete_api_v1_observability_spaces_space_id_alert_rules_alert_rule_id_events_id_","tags":["observability"],"parameters":[{"name":"space_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"alert_rule_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not found"},"422":{"description":"Unprocessable entity"},"502":{"description":"Bad gateway"}},"security":[{"bearerAuth":[]}]}},"/api/v1/observability/spaces/{space_id}/alert_rules/{alert_rule_id}/events/{id}/acknowledge":{"post":{"operationId":"acknowledge_api_v1_space_alert_rule_event","tags":["observability"],"parameters":[{"name":"space_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"alert_rule_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not found"},"422":{"description":"Unprocessable entity"},"502":{"description":"Bad gateway"}},"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"security":[{"bearerAuth":[]}]}},"/api/v1/observability/spaces/{space_id}/alert_rules/{alert_rule_id}/events/{id}/resolve":{"post":{"operationId":"resolve_api_v1_space_alert_rule_event","tags":["observability"],"parameters":[{"name":"space_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"alert_rule_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not found"},"422":{"description":"Unprocessable entity"},"502":{"description":"Bad gateway"}},"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"security":[{"bearerAuth":[]}]}},"/api/v1/observability/spaces/{space_id}/alert_rules/{alert_rule_id}/events/{id}/silence":{"post":{"operationId":"silence_api_v1_space_alert_rule_event","tags":["observability"],"parameters":[{"name":"space_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"alert_rule_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not found"},"422":{"description":"Unprocessable entity"},"502":{"description":"Bad gateway"}},"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"security":[{"bearerAuth":[]}]}},"/api/v1/observability/spaces/{space_id}/alert_rules/{id}":{"get":{"operationId":"api_v1_space_alert_rule","tags":["observability"],"parameters":[{"name":"space_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not found"},"422":{"description":"Unprocessable entity"},"502":{"description":"Bad gateway"}},"security":[{"bearerAuth":[]}]},"patch":{"operationId":"patch_api_v1_observability_spaces_space_id_alert_rules_id_","tags":["observability"],"parameters":[{"name":"space_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not found"},"422":{"description":"Unprocessable entity"},"502":{"description":"Bad gateway"}},"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"security":[{"bearerAuth":[]}]},"put":{"operationId":"put_api_v1_observability_spaces_space_id_alert_rules_id_","tags":["observability"],"parameters":[{"name":"space_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not found"},"422":{"description":"Unprocessable entity"},"502":{"description":"Bad gateway"}},"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"security":[{"bearerAuth":[]}]},"delete":{"operationId":"delete_api_v1_observability_spaces_space_id_alert_rules_id_","tags":["observability"],"parameters":[{"name":"space_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not found"},"422":{"description":"Unprocessable entity"},"502":{"description":"Bad gateway"}},"security":[{"bearerAuth":[]}]}},"/api/v1/observability/spaces/{space_id}/alert_rules/{id}/activate":{"post":{"operationId":"activate_api_v1_space_alert_rule","tags":["observability"],"parameters":[{"name":"space_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not found"},"422":{"description":"Unprocessable entity"},"502":{"description":"Bad gateway"}},"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"security":[{"bearerAuth":[]}]}},"/api/v1/observability/spaces/{space_id}/alert_rules/{id}/archive":{"post":{"operationId":"archive_api_v1_space_alert_rule","tags":["observability"],"parameters":[{"name":"space_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not found"},"422":{"description":"Unprocessable entity"},"502":{"description":"Bad gateway"}},"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"security":[{"bearerAuth":[]}]}},"/api/v1/observability/spaces/{space_id}/alert_rules/{id}/pause":{"post":{"operationId":"pause_api_v1_space_alert_rule","tags":["observability"],"parameters":[{"name":"space_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not found"},"422":{"description":"Unprocessable entity"},"502":{"description":"Bad gateway"}},"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"security":[{"bearerAuth":[]}]}},"/api/v1/observability/spaces/{space_id}/audit_events":{"get":{"operationId":"api_v1_space_audit_events","tags":["observability"],"parameters":[{"name":"space_id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not found"},"422":{"description":"Unprocessable entity"},"502":{"description":"Bad gateway"}},"security":[{"bearerAuth":[]}]},"post":{"operationId":"post_api_v1_observability_spaces_space_id_audit_events","tags":["observability"],"parameters":[{"name":"space_id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not found"},"422":{"description":"Unprocessable entity"},"502":{"description":"Bad gateway"}},"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"security":[{"bearerAuth":[]}]}},"/api/v1/observability/spaces/{space_id}/log_streams":{"get":{"operationId":"api_v1_space_log_streams","tags":["observability"],"parameters":[{"name":"space_id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not found"},"422":{"description":"Unprocessable entity"},"502":{"description":"Bad gateway"}},"security":[{"bearerAuth":[]}]},"post":{"operationId":"post_api_v1_observability_spaces_space_id_log_streams","tags":["observability"],"parameters":[{"name":"space_id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not found"},"422":{"description":"Unprocessable entity"},"502":{"description":"Bad gateway"}},"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"security":[{"bearerAuth":[]}]}},"/api/v1/observability/spaces/{space_id}/log_streams/{log_stream_id}/chunks":{"get":{"operationId":"api_v1_space_log_stream_chunks","tags":["observability"],"parameters":[{"name":"space_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"log_stream_id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not found"},"422":{"description":"Unprocessable entity"},"502":{"description":"Bad gateway"}},"security":[{"bearerAuth":[]}]},"post":{"operationId":"post_api_v1_observability_spaces_space_id_log_streams_log_stream_id_chunks","tags":["observability"],"parameters":[{"name":"space_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"log_stream_id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not found"},"422":{"description":"Unprocessable entity"},"502":{"description":"Bad gateway"}},"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"security":[{"bearerAuth":[]}]}},"/api/v1/observability/spaces/{space_id}/log_streams/{log_stream_id}/chunks/{id}":{"get":{"operationId":"api_v1_space_log_stream_chunk","tags":["observability"],"parameters":[{"name":"space_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"log_stream_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not found"},"422":{"description":"Unprocessable entity"},"502":{"description":"Bad gateway"}},"security":[{"bearerAuth":[]}]}},"/api/v1/observability/spaces/{space_id}/metric_series":{"get":{"operationId":"api_v1_space_metric_series_index","tags":["observability"],"parameters":[{"name":"space_id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not found"},"422":{"description":"Unprocessable entity"},"502":{"description":"Bad gateway"}},"security":[{"bearerAuth":[]}]},"post":{"operationId":"post_api_v1_observability_spaces_space_id_metric_series","tags":["observability"],"parameters":[{"name":"space_id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not found"},"422":{"description":"Unprocessable entity"},"502":{"description":"Bad gateway"}},"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"security":[{"bearerAuth":[]}]}},"/api/v1/observability/spaces/{space_id}/otel_collectors":{"get":{"operationId":"api_v1_space_otel_collectors","tags":["observability"],"parameters":[{"name":"space_id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not found"},"422":{"description":"Unprocessable entity"},"502":{"description":"Bad gateway"}},"security":[{"bearerAuth":[]}]},"post":{"operationId":"post_api_v1_observability_spaces_space_id_otel_collectors","tags":["observability"],"parameters":[{"name":"space_id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not found"},"422":{"description":"Unprocessable entity"},"502":{"description":"Bad gateway"}},"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"security":[{"bearerAuth":[]}]}},"/api/v1/observability/spaces/{space_id}/otel_collectors/{id}":{"get":{"operationId":"api_v1_space_otel_collector","tags":["observability"],"parameters":[{"name":"space_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not found"},"422":{"description":"Unprocessable entity"},"502":{"description":"Bad gateway"}},"security":[{"bearerAuth":[]}]},"patch":{"operationId":"patch_api_v1_observability_spaces_space_id_otel_collectors_id_","tags":["observability"],"parameters":[{"name":"space_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not found"},"422":{"description":"Unprocessable entity"},"502":{"description":"Bad gateway"}},"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"security":[{"bearerAuth":[]}]},"put":{"operationId":"put_api_v1_observability_spaces_space_id_otel_collectors_id_","tags":["observability"],"parameters":[{"name":"space_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not found"},"422":{"description":"Unprocessable entity"},"502":{"description":"Bad gateway"}},"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"security":[{"bearerAuth":[]}]},"delete":{"operationId":"delete_api_v1_observability_spaces_space_id_otel_collectors_id_","tags":["observability"],"parameters":[{"name":"space_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not found"},"422":{"description":"Unprocessable entity"},"502":{"description":"Bad gateway"}},"security":[{"bearerAuth":[]}]}},"/api/v1/observability/spaces/{space_id}/otel_collectors/{id}/activate":{"post":{"operationId":"activate_api_v1_space_otel_collector","tags":["observability"],"parameters":[{"name":"space_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not found"},"422":{"description":"Unprocessable entity"},"502":{"description":"Bad gateway"}},"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"security":[{"bearerAuth":[]}]}},"/api/v1/observability/spaces/{space_id}/otel_collectors/{id}/archive":{"post":{"operationId":"archive_api_v1_space_otel_collector","tags":["observability"],"parameters":[{"name":"space_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not found"},"422":{"description":"Unprocessable entity"},"502":{"description":"Bad gateway"}},"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"security":[{"bearerAuth":[]}]}},"/api/v1/observability/spaces/{space_id}/otel_collectors/{id}/bootstrap_config":{"get":{"operationId":"bootstrap_config_api_v1_space_otel_collector","tags":["observability"],"parameters":[{"name":"space_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not found"},"422":{"description":"Unprocessable entity"},"502":{"description":"Bad gateway"}},"security":[{"bearerAuth":[]}]}},"/api/v1/observability/spaces/{space_id}/otel_collectors/{id}/deploy":{"post":{"operationId":"deploy_api_v1_space_otel_collector","tags":["observability"],"parameters":[{"name":"space_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not found"},"422":{"description":"Unprocessable entity"},"502":{"description":"Bad gateway"}},"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"security":[{"bearerAuth":[]}]}},"/api/v1/observability/spaces/{space_id}/otel_collectors/{id}/heartbeat":{"post":{"operationId":"heartbeat_api_v1_space_otel_collector","tags":["observability"],"parameters":[{"name":"space_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not found"},"422":{"description":"Unprocessable entity"},"502":{"description":"Bad gateway"}},"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"security":[{"bearerAuth":[]}]}},"/api/v1/observability/spaces/{space_id}/otel_collectors/{id}/nomad_spec":{"get":{"operationId":"nomad_spec_api_v1_space_otel_collector","tags":["observability"],"parameters":[{"name":"space_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not found"},"422":{"description":"Unprocessable entity"},"502":{"description":"Bad gateway"}},"security":[{"bearerAuth":[]}]}},"/api/v1/observability/spaces/{space_id}/otel_collectors/{id}/pause":{"post":{"operationId":"pause_api_v1_space_otel_collector","tags":["observability"],"parameters":[{"name":"space_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not found"},"422":{"description":"Unprocessable entity"},"502":{"description":"Bad gateway"}},"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"security":[{"bearerAuth":[]}]}},"/api/v1/observability/spaces/{space_id}/otel_collectors/{id}/rendered_config":{"get":{"operationId":"rendered_config_api_v1_space_otel_collector","tags":["observability"],"parameters":[{"name":"space_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not found"},"422":{"description":"Unprocessable entity"},"502":{"description":"Bad gateway"}},"security":[{"bearerAuth":[]}]}},"/api/v1/observability/spaces/{space_id}/trace_spans":{"get":{"operationId":"api_v1_space_trace_spans","tags":["observability"],"parameters":[{"name":"space_id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not found"},"422":{"description":"Unprocessable entity"},"502":{"description":"Bad gateway"}},"security":[{"bearerAuth":[]}]},"post":{"operationId":"post_api_v1_observability_spaces_space_id_trace_spans","tags":["observability"],"parameters":[{"name":"space_id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not found"},"422":{"description":"Unprocessable entity"},"502":{"description":"Bad gateway"}},"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"security":[{"bearerAuth":[]}]}},"/api/v1/open_source_publish_contracts":{"get":{"operationId":"api_v1_open_source_publish_contracts","tags":["open_source_publish_contracts"],"parameters":[{"name":"organization_id","in":"query","required":false,"schema":{"type":"string"}},{"name":"repository_id","in":"query","required":false,"schema":{"type":"string"}},{"name":"status","in":"query","required":false,"schema":{"type":"string","enum":["active","paused","archived"]}}],"responses":{"200":{"description":"Open source publish contracts","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"required":["open_source_publish_contracts"],"properties":{"open_source_publish_contracts":{"type":"array","items":{"type":"object","required":["id","organization_id","repository_id","repository_slug","virtual_repository_id","name","folder_path","source_bookmark","target_repository_owner","target_repository_name","target_repository_full_name","target_branch","target_visibility","target_remote_url","provision_mode","divergence_policy","divergence_state","divergence_detected_at","divergence_detected_at_label","divergence_remote_sha","diverged","status","auto_sync_enabled","acknowledged_public_exposure","acknowledged_at","acknowledged_at_label","github_app_installation_id","github_app_account_login","publishable","baseline_source_commit_id","baseline_source_change_id","baseline_source_git_sha","baseline_remote_sha","last_sync_run_id","last_synced_at","last_synced_at_label","last_error_message","created_at","updated_at","created_at_label","updated_at_label"],"properties":{"id":{"type":"string"},"organization_id":{"type":"string"},"repository_id":{"type":"string"},"repository_slug":{"type":"string"},"virtual_repository_id":{"type":"string","nullable":true},"name":{"type":"string","nullable":true},"folder_path":{"type":"string"},"source_bookmark":{"type":"string"},"target_repository_owner":{"type":"string"},"target_repository_name":{"type":"string"},"target_repository_full_name":{"type":"string"},"target_branch":{"type":"string"},"target_visibility":{"type":"string","enum":["private","public"]},"target_remote_url":{"type":"string"},"provision_mode":{"type":"string","enum":["create","attach","create_or_attach"]},"divergence_policy":{"type":"string","enum":["block","overwrite"]},"divergence_state":{"type":"string","enum":["clean","diverged"]},"divergence_detected_at":{"type":"string","format":"date-time","nullable":true},"divergence_detected_at_label":{"type":"string","nullable":true},"divergence_remote_sha":{"type":"string","nullable":true},"diverged":{"type":"boolean"},"status":{"type":"string","enum":["active","paused","archived"]},"auto_sync_enabled":{"type":"boolean"},"acknowledged_public_exposure":{"type":"boolean"},"acknowledged_at":{"type":"string","format":"date-time","nullable":true},"acknowledged_at_label":{"type":"string","nullable":true},"github_app_installation_id":{"type":"string","nullable":true},"github_app_account_login":{"type":"string","nullable":true},"publishable":{"type":"boolean"},"baseline_source_commit_id":{"type":"string","nullable":true},"baseline_source_change_id":{"type":"string","nullable":true},"baseline_source_git_sha":{"type":"string","nullable":true},"baseline_remote_sha":{"type":"string","nullable":true},"last_sync_run_id":{"type":"string","nullable":true},"last_synced_at":{"type":"string","format":"date-time","nullable":true},"last_synced_at_label":{"type":"string","nullable":true},"last_error_message":{"type":"string","nullable":true},"created_at":{"type":"string","format":"date-time"},"updated_at":{"type":"string","format":"date-time"},"created_at_label":{"type":"string","nullable":true},"updated_at_label":{"type":"string","nullable":true}}}}}}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not found"},"422":{"description":"Unprocessable entity"},"502":{"description":"Bad gateway"}},"security":[{"bearerAuth":[]}]},"post":{"operationId":"post_api_v1_open_source_publish_contracts","tags":["open_source_publish_contracts"],"parameters":[],"responses":{"200":{"description":"Open source publish contract","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"required":["id","organization_id","repository_id","repository_slug","virtual_repository_id","name","folder_path","source_bookmark","target_repository_owner","target_repository_name","target_repository_full_name","target_branch","target_visibility","target_remote_url","provision_mode","divergence_policy","divergence_state","divergence_detected_at","divergence_detected_at_label","divergence_remote_sha","diverged","status","auto_sync_enabled","acknowledged_public_exposure","acknowledged_at","acknowledged_at_label","github_app_installation_id","github_app_account_login","publishable","baseline_source_commit_id","baseline_source_change_id","baseline_source_git_sha","baseline_remote_sha","last_sync_run_id","last_synced_at","last_synced_at_label","last_error_message","created_at","updated_at","created_at_label","updated_at_label"],"properties":{"id":{"type":"string"},"organization_id":{"type":"string"},"repository_id":{"type":"string"},"repository_slug":{"type":"string"},"virtual_repository_id":{"type":"string","nullable":true},"name":{"type":"string","nullable":true},"folder_path":{"type":"string"},"source_bookmark":{"type":"string"},"target_repository_owner":{"type":"string"},"target_repository_name":{"type":"string"},"target_repository_full_name":{"type":"string"},"target_branch":{"type":"string"},"target_visibility":{"type":"string","enum":["private","public"]},"target_remote_url":{"type":"string"},"provision_mode":{"type":"string","enum":["create","attach","create_or_attach"]},"divergence_policy":{"type":"string","enum":["block","overwrite"]},"divergence_state":{"type":"string","enum":["clean","diverged"]},"divergence_detected_at":{"type":"string","format":"date-time","nullable":true},"divergence_detected_at_label":{"type":"string","nullable":true},"divergence_remote_sha":{"type":"string","nullable":true},"diverged":{"type":"boolean"},"status":{"type":"string","enum":["active","paused","archived"]},"auto_sync_enabled":{"type":"boolean"},"acknowledged_public_exposure":{"type":"boolean"},"acknowledged_at":{"type":"string","format":"date-time","nullable":true},"acknowledged_at_label":{"type":"string","nullable":true},"github_app_installation_id":{"type":"string","nullable":true},"github_app_account_login":{"type":"string","nullable":true},"publishable":{"type":"boolean"},"baseline_source_commit_id":{"type":"string","nullable":true},"baseline_source_change_id":{"type":"string","nullable":true},"baseline_source_git_sha":{"type":"string","nullable":true},"baseline_remote_sha":{"type":"string","nullable":true},"last_sync_run_id":{"type":"string","nullable":true},"last_synced_at":{"type":"string","format":"date-time","nullable":true},"last_synced_at_label":{"type":"string","nullable":true},"last_error_message":{"type":"string","nullable":true},"created_at":{"type":"string","format":"date-time"},"updated_at":{"type":"string","format":"date-time"},"created_at_label":{"type":"string","nullable":true},"updated_at_label":{"type":"string","nullable":true}}}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not found"},"422":{"description":"Unprocessable entity"},"502":{"description":"Bad gateway"},"201":{"description":"Open source publish contract","content":{"application/json":{"schema":{"type":"object","required":["id","organization_id","repository_id","repository_slug","virtual_repository_id","name","folder_path","source_bookmark","target_repository_owner","target_repository_name","target_repository_full_name","target_branch","target_visibility","target_remote_url","provision_mode","divergence_policy","divergence_state","divergence_detected_at","divergence_detected_at_label","divergence_remote_sha","diverged","status","auto_sync_enabled","acknowledged_public_exposure","acknowledged_at","acknowledged_at_label","github_app_installation_id","github_app_account_login","publishable","baseline_source_commit_id","baseline_source_change_id","baseline_source_git_sha","baseline_remote_sha","last_sync_run_id","last_synced_at","last_synced_at_label","last_error_message","created_at","updated_at","created_at_label","updated_at_label"],"properties":{"id":{"type":"string"},"organization_id":{"type":"string"},"repository_id":{"type":"string"},"repository_slug":{"type":"string"},"virtual_repository_id":{"type":"string","nullable":true},"name":{"type":"string","nullable":true},"folder_path":{"type":"string"},"source_bookmark":{"type":"string"},"target_repository_owner":{"type":"string"},"target_repository_name":{"type":"string"},"target_repository_full_name":{"type":"string"},"target_branch":{"type":"string"},"target_visibility":{"type":"string","enum":["private","public"]},"target_remote_url":{"type":"string"},"provision_mode":{"type":"string","enum":["create","attach","create_or_attach"]},"divergence_policy":{"type":"string","enum":["block","overwrite"]},"divergence_state":{"type":"string","enum":["clean","diverged"]},"divergence_detected_at":{"type":"string","format":"date-time","nullable":true},"divergence_detected_at_label":{"type":"string","nullable":true},"divergence_remote_sha":{"type":"string","nullable":true},"diverged":{"type":"boolean"},"status":{"type":"string","enum":["active","paused","archived"]},"auto_sync_enabled":{"type":"boolean"},"acknowledged_public_exposure":{"type":"boolean"},"acknowledged_at":{"type":"string","format":"date-time","nullable":true},"acknowledged_at_label":{"type":"string","nullable":true},"github_app_installation_id":{"type":"string","nullable":true},"github_app_account_login":{"type":"string","nullable":true},"publishable":{"type":"boolean"},"baseline_source_commit_id":{"type":"string","nullable":true},"baseline_source_change_id":{"type":"string","nullable":true},"baseline_source_git_sha":{"type":"string","nullable":true},"baseline_remote_sha":{"type":"string","nullable":true},"last_sync_run_id":{"type":"string","nullable":true},"last_synced_at":{"type":"string","format":"date-time","nullable":true},"last_synced_at_label":{"type":"string","nullable":true},"last_error_message":{"type":"string","nullable":true},"created_at":{"type":"string","format":"date-time"},"updated_at":{"type":"string","format":"date-time"},"created_at_label":{"type":"string","nullable":true},"updated_at_label":{"type":"string","nullable":true}}}}}}},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"required":["organization_id","repository_id","folder_path","target_repository_owner","target_repository_name"],"properties":{"organization_id":{"type":"string"},"repository_id":{"type":"string"},"github_app_installation_id":{"type":"string","nullable":true},"virtual_repository_id":{"type":"string","nullable":true},"name":{"type":"string"},"folder_path":{"type":"string"},"source_bookmark":{"type":"string"},"target_repository_owner":{"type":"string"},"target_repository_name":{"type":"string"},"target_branch":{"type":"string"},"target_visibility":{"type":"string","enum":["private","public"]},"provision_mode":{"type":"string","enum":["create","attach","create_or_attach"]},"divergence_policy":{"type":"string","enum":["block","overwrite"]},"auto_sync_enabled":{"type":"boolean"},"acknowledged_public_exposure":{"type":"boolean"}}}}}},"security":[{"bearerAuth":[]}]}},"/api/v1/open_source_publish_contracts/{id}":{"get":{"operationId":"api_v1_open_source_publish_contract","tags":["open_source_publish_contracts"],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Open source publish contract","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"required":["id","organization_id","repository_id","repository_slug","virtual_repository_id","name","folder_path","source_bookmark","target_repository_owner","target_repository_name","target_repository_full_name","target_branch","target_visibility","target_remote_url","provision_mode","divergence_policy","divergence_state","divergence_detected_at","divergence_detected_at_label","divergence_remote_sha","diverged","status","auto_sync_enabled","acknowledged_public_exposure","acknowledged_at","acknowledged_at_label","github_app_installation_id","github_app_account_login","publishable","baseline_source_commit_id","baseline_source_change_id","baseline_source_git_sha","baseline_remote_sha","last_sync_run_id","last_synced_at","last_synced_at_label","last_error_message","created_at","updated_at","created_at_label","updated_at_label"],"properties":{"id":{"type":"string"},"organization_id":{"type":"string"},"repository_id":{"type":"string"},"repository_slug":{"type":"string"},"virtual_repository_id":{"type":"string","nullable":true},"name":{"type":"string","nullable":true},"folder_path":{"type":"string"},"source_bookmark":{"type":"string"},"target_repository_owner":{"type":"string"},"target_repository_name":{"type":"string"},"target_repository_full_name":{"type":"string"},"target_branch":{"type":"string"},"target_visibility":{"type":"string","enum":["private","public"]},"target_remote_url":{"type":"string"},"provision_mode":{"type":"string","enum":["create","attach","create_or_attach"]},"divergence_policy":{"type":"string","enum":["block","overwrite"]},"divergence_state":{"type":"string","enum":["clean","diverged"]},"divergence_detected_at":{"type":"string","format":"date-time","nullable":true},"divergence_detected_at_label":{"type":"string","nullable":true},"divergence_remote_sha":{"type":"string","nullable":true},"diverged":{"type":"boolean"},"status":{"type":"string","enum":["active","paused","archived"]},"auto_sync_enabled":{"type":"boolean"},"acknowledged_public_exposure":{"type":"boolean"},"acknowledged_at":{"type":"string","format":"date-time","nullable":true},"acknowledged_at_label":{"type":"string","nullable":true},"github_app_installation_id":{"type":"string","nullable":true},"github_app_account_login":{"type":"string","nullable":true},"publishable":{"type":"boolean"},"baseline_source_commit_id":{"type":"string","nullable":true},"baseline_source_change_id":{"type":"string","nullable":true},"baseline_source_git_sha":{"type":"string","nullable":true},"baseline_remote_sha":{"type":"string","nullable":true},"last_sync_run_id":{"type":"string","nullable":true},"last_synced_at":{"type":"string","format":"date-time","nullable":true},"last_synced_at_label":{"type":"string","nullable":true},"last_error_message":{"type":"string","nullable":true},"created_at":{"type":"string","format":"date-time"},"updated_at":{"type":"string","format":"date-time"},"created_at_label":{"type":"string","nullable":true},"updated_at_label":{"type":"string","nullable":true}}}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not found"},"422":{"description":"Unprocessable entity"},"502":{"description":"Bad gateway"}},"security":[{"bearerAuth":[]}]},"patch":{"operationId":"patch_api_v1_open_source_publish_contracts_id_","tags":["open_source_publish_contracts"],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Open source publish contract","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"required":["id","organization_id","repository_id","repository_slug","virtual_repository_id","name","folder_path","source_bookmark","target_repository_owner","target_repository_name","target_repository_full_name","target_branch","target_visibility","target_remote_url","provision_mode","divergence_policy","divergence_state","divergence_detected_at","divergence_detected_at_label","divergence_remote_sha","diverged","status","auto_sync_enabled","acknowledged_public_exposure","acknowledged_at","acknowledged_at_label","github_app_installation_id","github_app_account_login","publishable","baseline_source_commit_id","baseline_source_change_id","baseline_source_git_sha","baseline_remote_sha","last_sync_run_id","last_synced_at","last_synced_at_label","last_error_message","created_at","updated_at","created_at_label","updated_at_label"],"properties":{"id":{"type":"string"},"organization_id":{"type":"string"},"repository_id":{"type":"string"},"repository_slug":{"type":"string"},"virtual_repository_id":{"type":"string","nullable":true},"name":{"type":"string","nullable":true},"folder_path":{"type":"string"},"source_bookmark":{"type":"string"},"target_repository_owner":{"type":"string"},"target_repository_name":{"type":"string"},"target_repository_full_name":{"type":"string"},"target_branch":{"type":"string"},"target_visibility":{"type":"string","enum":["private","public"]},"target_remote_url":{"type":"string"},"provision_mode":{"type":"string","enum":["create","attach","create_or_attach"]},"divergence_policy":{"type":"string","enum":["block","overwrite"]},"divergence_state":{"type":"string","enum":["clean","diverged"]},"divergence_detected_at":{"type":"string","format":"date-time","nullable":true},"divergence_detected_at_label":{"type":"string","nullable":true},"divergence_remote_sha":{"type":"string","nullable":true},"diverged":{"type":"boolean"},"status":{"type":"string","enum":["active","paused","archived"]},"auto_sync_enabled":{"type":"boolean"},"acknowledged_public_exposure":{"type":"boolean"},"acknowledged_at":{"type":"string","format":"date-time","nullable":true},"acknowledged_at_label":{"type":"string","nullable":true},"github_app_installation_id":{"type":"string","nullable":true},"github_app_account_login":{"type":"string","nullable":true},"publishable":{"type":"boolean"},"baseline_source_commit_id":{"type":"string","nullable":true},"baseline_source_change_id":{"type":"string","nullable":true},"baseline_source_git_sha":{"type":"string","nullable":true},"baseline_remote_sha":{"type":"string","nullable":true},"last_sync_run_id":{"type":"string","nullable":true},"last_synced_at":{"type":"string","format":"date-time","nullable":true},"last_synced_at_label":{"type":"string","nullable":true},"last_error_message":{"type":"string","nullable":true},"created_at":{"type":"string","format":"date-time"},"updated_at":{"type":"string","format":"date-time"},"created_at_label":{"type":"string","nullable":true},"updated_at_label":{"type":"string","nullable":true}}}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not found"},"422":{"description":"Unprocessable entity"},"502":{"description":"Bad gateway"}},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"properties":{"repository_id":{"type":"string"},"github_app_installation_id":{"type":"string","nullable":true},"virtual_repository_id":{"type":"string","nullable":true},"name":{"type":"string"},"folder_path":{"type":"string"},"source_bookmark":{"type":"string"},"target_repository_owner":{"type":"string"},"target_repository_name":{"type":"string"},"target_branch":{"type":"string"},"target_visibility":{"type":"string","enum":["private","public"]},"provision_mode":{"type":"string","enum":["create","attach","create_or_attach"]},"divergence_policy":{"type":"string","enum":["block","overwrite"]},"status":{"type":"string","enum":["active","paused","archived"]},"auto_sync_enabled":{"type":"boolean"},"acknowledged_public_exposure":{"type":"boolean"}}}}}},"security":[{"bearerAuth":[]}]},"put":{"operationId":"put_api_v1_open_source_publish_contracts_id_","tags":["open_source_publish_contracts"],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Open source publish contract","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"required":["id","organization_id","repository_id","repository_slug","virtual_repository_id","name","folder_path","source_bookmark","target_repository_owner","target_repository_name","target_repository_full_name","target_branch","target_visibility","target_remote_url","provision_mode","divergence_policy","divergence_state","divergence_detected_at","divergence_detected_at_label","divergence_remote_sha","diverged","status","auto_sync_enabled","acknowledged_public_exposure","acknowledged_at","acknowledged_at_label","github_app_installation_id","github_app_account_login","publishable","baseline_source_commit_id","baseline_source_change_id","baseline_source_git_sha","baseline_remote_sha","last_sync_run_id","last_synced_at","last_synced_at_label","last_error_message","created_at","updated_at","created_at_label","updated_at_label"],"properties":{"id":{"type":"string"},"organization_id":{"type":"string"},"repository_id":{"type":"string"},"repository_slug":{"type":"string"},"virtual_repository_id":{"type":"string","nullable":true},"name":{"type":"string","nullable":true},"folder_path":{"type":"string"},"source_bookmark":{"type":"string"},"target_repository_owner":{"type":"string"},"target_repository_name":{"type":"string"},"target_repository_full_name":{"type":"string"},"target_branch":{"type":"string"},"target_visibility":{"type":"string","enum":["private","public"]},"target_remote_url":{"type":"string"},"provision_mode":{"type":"string","enum":["create","attach","create_or_attach"]},"divergence_policy":{"type":"string","enum":["block","overwrite"]},"divergence_state":{"type":"string","enum":["clean","diverged"]},"divergence_detected_at":{"type":"string","format":"date-time","nullable":true},"divergence_detected_at_label":{"type":"string","nullable":true},"divergence_remote_sha":{"type":"string","nullable":true},"diverged":{"type":"boolean"},"status":{"type":"string","enum":["active","paused","archived"]},"auto_sync_enabled":{"type":"boolean"},"acknowledged_public_exposure":{"type":"boolean"},"acknowledged_at":{"type":"string","format":"date-time","nullable":true},"acknowledged_at_label":{"type":"string","nullable":true},"github_app_installation_id":{"type":"string","nullable":true},"github_app_account_login":{"type":"string","nullable":true},"publishable":{"type":"boolean"},"baseline_source_commit_id":{"type":"string","nullable":true},"baseline_source_change_id":{"type":"string","nullable":true},"baseline_source_git_sha":{"type":"string","nullable":true},"baseline_remote_sha":{"type":"string","nullable":true},"last_sync_run_id":{"type":"string","nullable":true},"last_synced_at":{"type":"string","format":"date-time","nullable":true},"last_synced_at_label":{"type":"string","nullable":true},"last_error_message":{"type":"string","nullable":true},"created_at":{"type":"string","format":"date-time"},"updated_at":{"type":"string","format":"date-time"},"created_at_label":{"type":"string","nullable":true},"updated_at_label":{"type":"string","nullable":true}}}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not found"},"422":{"description":"Unprocessable entity"},"502":{"description":"Bad gateway"}},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"properties":{"repository_id":{"type":"string"},"github_app_installation_id":{"type":"string","nullable":true},"virtual_repository_id":{"type":"string","nullable":true},"name":{"type":"string"},"folder_path":{"type":"string"},"source_bookmark":{"type":"string"},"target_repository_owner":{"type":"string"},"target_repository_name":{"type":"string"},"target_branch":{"type":"string"},"target_visibility":{"type":"string","enum":["private","public"]},"provision_mode":{"type":"string","enum":["create","attach","create_or_attach"]},"divergence_policy":{"type":"string","enum":["block","overwrite"]},"status":{"type":"string","enum":["active","paused","archived"]},"auto_sync_enabled":{"type":"boolean"},"acknowledged_public_exposure":{"type":"boolean"}}}}}},"security":[{"bearerAuth":[]}]}},"/api/v1/open_source_publish_contracts/{id}/adopt":{"post":{"operationId":"adopt_api_v1_open_source_publish_contract","tags":["open_source_publish_contracts"],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Open source publish contract","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"required":["id","organization_id","repository_id","repository_slug","virtual_repository_id","name","folder_path","source_bookmark","target_repository_owner","target_repository_name","target_repository_full_name","target_branch","target_visibility","target_remote_url","provision_mode","divergence_policy","divergence_state","divergence_detected_at","divergence_detected_at_label","divergence_remote_sha","diverged","status","auto_sync_enabled","acknowledged_public_exposure","acknowledged_at","acknowledged_at_label","github_app_installation_id","github_app_account_login","publishable","baseline_source_commit_id","baseline_source_change_id","baseline_source_git_sha","baseline_remote_sha","last_sync_run_id","last_synced_at","last_synced_at_label","last_error_message","created_at","updated_at","created_at_label","updated_at_label"],"properties":{"id":{"type":"string"},"organization_id":{"type":"string"},"repository_id":{"type":"string"},"repository_slug":{"type":"string"},"virtual_repository_id":{"type":"string","nullable":true},"name":{"type":"string","nullable":true},"folder_path":{"type":"string"},"source_bookmark":{"type":"string"},"target_repository_owner":{"type":"string"},"target_repository_name":{"type":"string"},"target_repository_full_name":{"type":"string"},"target_branch":{"type":"string"},"target_visibility":{"type":"string","enum":["private","public"]},"target_remote_url":{"type":"string"},"provision_mode":{"type":"string","enum":["create","attach","create_or_attach"]},"divergence_policy":{"type":"string","enum":["block","overwrite"]},"divergence_state":{"type":"string","enum":["clean","diverged"]},"divergence_detected_at":{"type":"string","format":"date-time","nullable":true},"divergence_detected_at_label":{"type":"string","nullable":true},"divergence_remote_sha":{"type":"string","nullable":true},"diverged":{"type":"boolean"},"status":{"type":"string","enum":["active","paused","archived"]},"auto_sync_enabled":{"type":"boolean"},"acknowledged_public_exposure":{"type":"boolean"},"acknowledged_at":{"type":"string","format":"date-time","nullable":true},"acknowledged_at_label":{"type":"string","nullable":true},"github_app_installation_id":{"type":"string","nullable":true},"github_app_account_login":{"type":"string","nullable":true},"publishable":{"type":"boolean"},"baseline_source_commit_id":{"type":"string","nullable":true},"baseline_source_change_id":{"type":"string","nullable":true},"baseline_source_git_sha":{"type":"string","nullable":true},"baseline_remote_sha":{"type":"string","nullable":true},"last_sync_run_id":{"type":"string","nullable":true},"last_synced_at":{"type":"string","format":"date-time","nullable":true},"last_synced_at_label":{"type":"string","nullable":true},"last_error_message":{"type":"string","nullable":true},"created_at":{"type":"string","format":"date-time"},"updated_at":{"type":"string","format":"date-time"},"created_at_label":{"type":"string","nullable":true},"updated_at_label":{"type":"string","nullable":true}}}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not found"},"422":{"description":"Unprocessable entity"},"502":{"description":"Bad gateway"}},"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"security":[{"bearerAuth":[]}]}},"/api/v1/open_source_publish_contracts/{id}/archive":{"post":{"operationId":"archive_api_v1_open_source_publish_contract","tags":["open_source_publish_contracts"],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Open source publish contract","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"required":["id","organization_id","repository_id","repository_slug","virtual_repository_id","name","folder_path","source_bookmark","target_repository_owner","target_repository_name","target_repository_full_name","target_branch","target_visibility","target_remote_url","provision_mode","divergence_policy","divergence_state","divergence_detected_at","divergence_detected_at_label","divergence_remote_sha","diverged","status","auto_sync_enabled","acknowledged_public_exposure","acknowledged_at","acknowledged_at_label","github_app_installation_id","github_app_account_login","publishable","baseline_source_commit_id","baseline_source_change_id","baseline_source_git_sha","baseline_remote_sha","last_sync_run_id","last_synced_at","last_synced_at_label","last_error_message","created_at","updated_at","created_at_label","updated_at_label"],"properties":{"id":{"type":"string"},"organization_id":{"type":"string"},"repository_id":{"type":"string"},"repository_slug":{"type":"string"},"virtual_repository_id":{"type":"string","nullable":true},"name":{"type":"string","nullable":true},"folder_path":{"type":"string"},"source_bookmark":{"type":"string"},"target_repository_owner":{"type":"string"},"target_repository_name":{"type":"string"},"target_repository_full_name":{"type":"string"},"target_branch":{"type":"string"},"target_visibility":{"type":"string","enum":["private","public"]},"target_remote_url":{"type":"string"},"provision_mode":{"type":"string","enum":["create","attach","create_or_attach"]},"divergence_policy":{"type":"string","enum":["block","overwrite"]},"divergence_state":{"type":"string","enum":["clean","diverged"]},"divergence_detected_at":{"type":"string","format":"date-time","nullable":true},"divergence_detected_at_label":{"type":"string","nullable":true},"divergence_remote_sha":{"type":"string","nullable":true},"diverged":{"type":"boolean"},"status":{"type":"string","enum":["active","paused","archived"]},"auto_sync_enabled":{"type":"boolean"},"acknowledged_public_exposure":{"type":"boolean"},"acknowledged_at":{"type":"string","format":"date-time","nullable":true},"acknowledged_at_label":{"type":"string","nullable":true},"github_app_installation_id":{"type":"string","nullable":true},"github_app_account_login":{"type":"string","nullable":true},"publishable":{"type":"boolean"},"baseline_source_commit_id":{"type":"string","nullable":true},"baseline_source_change_id":{"type":"string","nullable":true},"baseline_source_git_sha":{"type":"string","nullable":true},"baseline_remote_sha":{"type":"string","nullable":true},"last_sync_run_id":{"type":"string","nullable":true},"last_synced_at":{"type":"string","format":"date-time","nullable":true},"last_synced_at_label":{"type":"string","nullable":true},"last_error_message":{"type":"string","nullable":true},"created_at":{"type":"string","format":"date-time"},"updated_at":{"type":"string","format":"date-time"},"created_at_label":{"type":"string","nullable":true},"updated_at_label":{"type":"string","nullable":true}}}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not found"},"422":{"description":"Unprocessable entity"},"502":{"description":"Bad gateway"}},"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"security":[{"bearerAuth":[]}]}},"/api/v1/open_source_publish_contracts/{id}/plan":{"post":{"operationId":"plan_api_v1_open_source_publish_contract","tags":["open_source_publish_contracts"],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Open source publish readiness plan","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"allOf":[{"type":"object","required":["id","organization_id","repository_id","repository_slug","virtual_repository_id","name","folder_path","source_bookmark","target_repository_owner","target_repository_name","target_repository_full_name","target_branch","target_visibility","target_remote_url","provision_mode","divergence_policy","divergence_state","divergence_detected_at","divergence_detected_at_label","divergence_remote_sha","diverged","status","auto_sync_enabled","acknowledged_public_exposure","acknowledged_at","acknowledged_at_label","github_app_installation_id","github_app_account_login","publishable","baseline_source_commit_id","baseline_source_change_id","baseline_source_git_sha","baseline_remote_sha","last_sync_run_id","last_synced_at","last_synced_at_label","last_error_message","created_at","updated_at","created_at_label","updated_at_label"],"properties":{"id":{"type":"string"},"organization_id":{"type":"string"},"repository_id":{"type":"string"},"repository_slug":{"type":"string"},"virtual_repository_id":{"type":"string","nullable":true},"name":{"type":"string","nullable":true},"folder_path":{"type":"string"},"source_bookmark":{"type":"string"},"target_repository_owner":{"type":"string"},"target_repository_name":{"type":"string"},"target_repository_full_name":{"type":"string"},"target_branch":{"type":"string"},"target_visibility":{"type":"string","enum":["private","public"]},"target_remote_url":{"type":"string"},"provision_mode":{"type":"string","enum":["create","attach","create_or_attach"]},"divergence_policy":{"type":"string","enum":["block","overwrite"]},"divergence_state":{"type":"string","enum":["clean","diverged"]},"divergence_detected_at":{"type":"string","format":"date-time","nullable":true},"divergence_detected_at_label":{"type":"string","nullable":true},"divergence_remote_sha":{"type":"string","nullable":true},"diverged":{"type":"boolean"},"status":{"type":"string","enum":["active","paused","archived"]},"auto_sync_enabled":{"type":"boolean"},"acknowledged_public_exposure":{"type":"boolean"},"acknowledged_at":{"type":"string","format":"date-time","nullable":true},"acknowledged_at_label":{"type":"string","nullable":true},"github_app_installation_id":{"type":"string","nullable":true},"github_app_account_login":{"type":"string","nullable":true},"publishable":{"type":"boolean"},"baseline_source_commit_id":{"type":"string","nullable":true},"baseline_source_change_id":{"type":"string","nullable":true},"baseline_source_git_sha":{"type":"string","nullable":true},"baseline_remote_sha":{"type":"string","nullable":true},"last_sync_run_id":{"type":"string","nullable":true},"last_synced_at":{"type":"string","format":"date-time","nullable":true},"last_synced_at_label":{"type":"string","nullable":true},"last_error_message":{"type":"string","nullable":true},"created_at":{"type":"string","format":"date-time"},"updated_at":{"type":"string","format":"date-time"},"created_at_label":{"type":"string","nullable":true},"updated_at_label":{"type":"string","nullable":true}}},{"type":"object","required":["plan"],"properties":{"plan":{"type":"object","required":["ok","publishable","status","folder_path","source_bookmark","target_repository_full_name","target_branch","target_visibility","provision_mode","divergence_policy","blockers","warnings"],"properties":{"ok":{"type":"boolean"},"publishable":{"type":"boolean"},"status":{"type":"string"},"folder_path":{"type":"string"},"source_bookmark":{"type":"string"},"target_repository_full_name":{"type":"string"},"target_branch":{"type":"string"},"target_visibility":{"type":"string","enum":["private","public"]},"provision_mode":{"type":"string","enum":["create","attach","create_or_attach"]},"divergence_policy":{"type":"string","enum":["block","overwrite"]},"inspected_file_count":{"type":"integer","nullable":true},"blockers":{"type":"array","items":{"type":"object","required":["code","message"],"properties":{"code":{"type":"string"},"message":{"type":"string"},"path":{"type":"string"}}}},"warnings":{"type":"array","items":{"type":"object","required":["code","message"],"properties":{"code":{"type":"string"},"message":{"type":"string"},"path":{"type":"string"}}}}}}}}]}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not found"},"422":{"description":"Unprocessable entity"},"502":{"description":"Bad gateway"}},"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"properties":{"file_paths":{"type":"array","items":{"type":"string"}},"file_contents":{"type":"object","additionalProperties":{"type":"string"}}}}}}},"security":[{"bearerAuth":[]}]}},"/api/v1/open_source_publish_contracts/{id}/sync":{"post":{"operationId":"sync_api_v1_open_source_publish_contract","tags":["open_source_publish_contracts"],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Created virtual repository sync run","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"required":["sync_run"],"properties":{"sync_run":{"type":"object","required":["id","organization_id","virtual_repository_id","creator_user_id","trigger_kind","status","kind","sync_provider_kind","sync_mode","source_bookmark","staging_bookmark","merge_commit_id","source_op_head_ids","source_commit_id","source_change_id","source_git_sha","target_repository_owner","target_repository_name","target_repository_full_name","target_branch","remote_url","remote_before_sha","remote_after_sha","github_before_sha","github_after_sha","force","pulled_commit_count","projected_commit_count","skipped_commit_count","error_message","metadata","log_lines","started_at","started_at_label","finished_at","finished_at_label","created_at","created_at_label","updated_at","updated_at_label"],"properties":{"id":{"type":"string"},"organization_id":{"type":"string"},"virtual_repository_id":{"type":"string"},"creator_user_id":{"type":"string","nullable":true},"trigger_kind":{"type":"string","enum":["manual","auto"]},"status":{"type":"string","enum":["queued","running","succeeded","failed","skipped","canceled"]},"kind":{"type":"string","enum":["pull_sync","push_projection","materialization"]},"sync_provider_kind":{"type":"string","enum":["github","git"]},"sync_mode":{"type":"string","enum":["pull","push","bidirectional"]},"source_bookmark":{"type":"string"},"staging_bookmark":{"type":"string","nullable":true},"merge_commit_id":{"type":"string","nullable":true},"source_op_head_ids":{"type":"array","items":{"type":"string"}},"source_commit_id":{"type":"string","nullable":true},"source_change_id":{"type":"string","nullable":true},"source_git_sha":{"type":"string","nullable":true},"target_repository_owner":{"type":"string"},"target_repository_name":{"type":"string"},"target_repository_full_name":{"type":"string"},"target_branch":{"type":"string"},"remote_url":{"type":"string"},"remote_before_sha":{"type":"string","nullable":true},"remote_after_sha":{"type":"string","nullable":true},"github_before_sha":{"type":"string","nullable":true},"github_after_sha":{"type":"string","nullable":true},"force":{"type":"boolean"},"pulled_commit_count":{"type":"integer"},"projected_commit_count":{"type":"integer"},"skipped_commit_count":{"type":"integer"},"error_message":{"type":"string","nullable":true},"metadata":{"type":"object","additionalProperties":true},"log_lines":{"type":"array","items":{"type":"object","required":["timestamp","level","message"],"properties":{"timestamp":{"type":"string"},"timestamp_label":{"type":"string"},"level":{"type":"string"},"message":{"type":"string"}}}},"started_at":{"type":"string","format":"date-time","nullable":true},"started_at_label":{"type":"string","nullable":true},"finished_at":{"type":"string","format":"date-time","nullable":true},"finished_at_label":{"type":"string","nullable":true},"created_at":{"type":"string","format":"date-time"},"created_at_label":{"type":"string","nullable":true},"updated_at":{"type":"string","format":"date-time"},"updated_at_label":{"type":"string","nullable":true}}}}}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not found"},"422":{"description":"Unprocessable entity"},"502":{"description":"Bad gateway"},"201":{"description":"Created virtual repository sync run","content":{"application/json":{"schema":{"type":"object","required":["sync_run"],"properties":{"sync_run":{"type":"object","required":["id","organization_id","virtual_repository_id","creator_user_id","trigger_kind","status","kind","sync_provider_kind","sync_mode","source_bookmark","staging_bookmark","merge_commit_id","source_op_head_ids","source_commit_id","source_change_id","source_git_sha","target_repository_owner","target_repository_name","target_repository_full_name","target_branch","remote_url","remote_before_sha","remote_after_sha","github_before_sha","github_after_sha","force","pulled_commit_count","projected_commit_count","skipped_commit_count","error_message","metadata","log_lines","started_at","started_at_label","finished_at","finished_at_label","created_at","created_at_label","updated_at","updated_at_label"],"properties":{"id":{"type":"string"},"organization_id":{"type":"string"},"virtual_repository_id":{"type":"string"},"creator_user_id":{"type":"string","nullable":true},"trigger_kind":{"type":"string","enum":["manual","auto"]},"status":{"type":"string","enum":["queued","running","succeeded","failed","skipped","canceled"]},"kind":{"type":"string","enum":["pull_sync","push_projection","materialization"]},"sync_provider_kind":{"type":"string","enum":["github","git"]},"sync_mode":{"type":"string","enum":["pull","push","bidirectional"]},"source_bookmark":{"type":"string"},"staging_bookmark":{"type":"string","nullable":true},"merge_commit_id":{"type":"string","nullable":true},"source_op_head_ids":{"type":"array","items":{"type":"string"}},"source_commit_id":{"type":"string","nullable":true},"source_change_id":{"type":"string","nullable":true},"source_git_sha":{"type":"string","nullable":true},"target_repository_owner":{"type":"string"},"target_repository_name":{"type":"string"},"target_repository_full_name":{"type":"string"},"target_branch":{"type":"string"},"remote_url":{"type":"string"},"remote_before_sha":{"type":"string","nullable":true},"remote_after_sha":{"type":"string","nullable":true},"github_before_sha":{"type":"string","nullable":true},"github_after_sha":{"type":"string","nullable":true},"force":{"type":"boolean"},"pulled_commit_count":{"type":"integer"},"projected_commit_count":{"type":"integer"},"skipped_commit_count":{"type":"integer"},"error_message":{"type":"string","nullable":true},"metadata":{"type":"object","additionalProperties":true},"log_lines":{"type":"array","items":{"type":"object","required":["timestamp","level","message"],"properties":{"timestamp":{"type":"string"},"timestamp_label":{"type":"string"},"level":{"type":"string"},"message":{"type":"string"}}}},"started_at":{"type":"string","format":"date-time","nullable":true},"started_at_label":{"type":"string","nullable":true},"finished_at":{"type":"string","format":"date-time","nullable":true},"finished_at_label":{"type":"string","nullable":true},"created_at":{"type":"string","format":"date-time"},"created_at_label":{"type":"string","nullable":true},"updated_at":{"type":"string","format":"date-time"},"updated_at_label":{"type":"string","nullable":true}}}}}}}}},"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"security":[{"bearerAuth":[]}]}},"/api/v1/openapi":{"get":{"operationId":"api_v1_openapi","tags":["openapi"],"parameters":[],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not found"},"422":{"description":"Unprocessable entity"},"502":{"description":"Bad gateway"}},"security":[{"bearerAuth":[]}]}},"/api/v1/org_invitations/{token}":{"get":{"operationId":"get_api_v1_org_invitations_token_","tags":["org_invitations"],"parameters":[{"name":"token","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Organization invitation","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"required":["invitation"],"properties":{"invitation":{"$ref":"#/components/schemas/OrganizationInvitation"}}}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not found"},"422":{"description":"Unprocessable entity"},"502":{"description":"Bad gateway"}},"security":[{"bearerAuth":[]}]}},"/api/v1/org_invitations/{token}/accept":{"post":{"operationId":"post_api_v1_org_invitations_token_accept","tags":["org_invitations"],"parameters":[{"name":"token","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Accepted organization invitation","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"required":["invitation","organization"],"properties":{"invitation":{"$ref":"#/components/schemas/OrganizationInvitation"},"organization":{"$ref":"#/components/schemas/OrganizationSummary"}}}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not found"},"422":{"description":"Unprocessable entity"},"502":{"description":"Bad gateway"}},"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"security":[{"bearerAuth":[]}]}},"/api/v1/organizations":{"get":{"operationId":"api_v1_organizations","tags":["organizations"],"parameters":[],"responses":{"200":{"description":"Organizations visible to the current user","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"required":["organizations","active_organization"],"properties":{"organizations":{"type":"array","items":{"$ref":"#/components/schemas/OrganizationSummary"}},"active_organization":{"oneOf":[{"$ref":"#/components/schemas/OrganizationSummary"},{"type":"null"}]}}}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not found"},"422":{"description":"Unprocessable entity"},"502":{"description":"Bad gateway"}},"security":[{"bearerAuth":[]}]},"post":{"operationId":"post_api_v1_organizations","tags":["organizations"],"parameters":[],"responses":{"200":{"description":"Organization","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"required":["organization"],"properties":{"organization":{"$ref":"#/components/schemas/OrganizationSummary"}}}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not found"},"422":{"description":"Unprocessable entity"},"502":{"description":"Bad gateway"},"201":{"description":"Organization","content":{"application/json":{"schema":{"type":"object","required":["organization"],"properties":{"organization":{"$ref":"#/components/schemas/OrganizationSummary"}}}}}}},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"$ref":"#/components/schemas/OrganizationCreatePayload"}}}},"security":[{"bearerAuth":[]}]}},"/api/v1/organizations/{id}":{"get":{"operationId":"api_v1_organization","tags":["organizations"],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Organization detail","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"required":["organization","organization"],"properties":{"organization":{"$ref":"#/components/schemas/OrganizationSummary","type":"object","required":["id","slug","name","logo_url","role","personal","member_count","pending_invitation_count","allow_author_self_review_on_main_repo","author_self_review_on_main_repo_effective","allow_author_self_review_on_home_repository","author_self_review_on_home_repository_effective","main_repository_slug","main_repository_display_name","home_repository_slug","home_repository_display_name","created_at","updated_at","created_at_label","updated_at_label"],"properties":{"id":{"type":"string"},"slug":{"type":"string"},"name":{"type":"string"},"logo_url":{"type":"string","nullable":true},"role":{"type":"string","nullable":true},"personal":{"type":"boolean"},"member_count":{"type":"integer","minimum":0},"pending_invitation_count":{"type":"integer","minimum":0},"allow_author_self_review_on_main_repo":{"type":"boolean"},"author_self_review_on_main_repo_effective":{"type":"boolean"},"allow_author_self_review_on_home_repository":{"type":"boolean"},"author_self_review_on_home_repository_effective":{"type":"boolean"},"main_repository_slug":{"type":"string"},"main_repository_display_name":{"type":"string"},"home_repository_slug":{"type":"string"},"home_repository_display_name":{"type":"string"},"created_at":{"type":"string","format":"date-time"},"updated_at":{"type":"string","format":"date-time"},"created_at_label":{"type":"string","nullable":true},"updated_at_label":{"type":"string","nullable":true}}}}}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not found"},"422":{"description":"Unprocessable entity"},"502":{"description":"Bad gateway"}},"security":[{"bearerAuth":[]}]},"patch":{"operationId":"patch_api_v1_organizations_id_","tags":["organizations"],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Organization","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"required":["organization"],"properties":{"organization":{"$ref":"#/components/schemas/OrganizationSummary"}}}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not found"},"422":{"description":"Unprocessable entity"},"502":{"description":"Bad gateway"}},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"$ref":"#/components/schemas/OrganizationUpdatePayload"}}}},"security":[{"bearerAuth":[]}]},"put":{"operationId":"put_api_v1_organizations_id_","tags":["organizations"],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Organization","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"required":["organization"],"properties":{"organization":{"$ref":"#/components/schemas/OrganizationSummary"}}}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not found"},"422":{"description":"Unprocessable entity"},"502":{"description":"Bad gateway"}},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"$ref":"#/components/schemas/OrganizationUpdatePayload"}}}},"security":[{"bearerAuth":[]}]}},"/api/v1/organizations/{org_slug}/cdn_spaces":{"get":{"operationId":"api_v1_cdn_spaces","tags":["organizations"],"parameters":[{"name":"org_slug","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not found"},"422":{"description":"Unprocessable entity"},"502":{"description":"Bad gateway"}},"security":[{"bearerAuth":[]}]},"post":{"operationId":"post_api_v1_organizations_org_slug_cdn_spaces","tags":["organizations"],"parameters":[{"name":"org_slug","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not found"},"422":{"description":"Unprocessable entity"},"502":{"description":"Bad gateway"}},"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"security":[{"bearerAuth":[]}]}},"/api/v1/organizations/{org_slug}/image_repositories":{"get":{"operationId":"api_v1_image_repositories","tags":["organizations"],"parameters":[{"name":"org_slug","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Image repositories for an organization","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"required":["image_repositories"],"properties":{"image_repositories":{"type":"array","items":{"$ref":"#/components/schemas/ImageRepository"}}}}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not found"},"422":{"description":"Unprocessable entity"},"502":{"description":"Bad gateway"}},"security":[{"bearerAuth":[]}]},"post":{"operationId":"post_api_v1_organizations_org_slug_image_repositories","tags":["organizations"],"parameters":[{"name":"org_slug","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Image repository created","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"required":["image_repository"],"properties":{"image_repository":{"$ref":"#/components/schemas/ImageRepository"}}}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not found"},"422":{"description":"Unprocessable entity"},"502":{"description":"Bad gateway"},"201":{"description":"Image repository created","content":{"application/json":{"schema":{"type":"object","required":["image_repository"],"properties":{"image_repository":{"$ref":"#/components/schemas/ImageRepository"}}}}}}},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"$ref":"#/components/schemas/ImageRepositoryCreatePayload"}}}},"security":[{"bearerAuth":[]}]}},"/api/v1/organizations/{org_slug}/pages/deployments":{"get":{"operationId":"api_v1_pages_deployments","tags":["organizations"],"parameters":[{"name":"org_slug","in":"path","required":true,"schema":{"type":"string"}},{"in":"query","name":"app_id","required":false,"schema":{"type":"string"}}],"responses":{"200":{"description":"Organization deployment workspace page contract","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"required":["apps","dashboard"],"properties":{"apps":{"type":"array","items":{"$ref":"#/components/schemas/HostedApp"}},"dashboard":{"oneOf":[{"$ref":"#/components/schemas/DeploymentDashboard"},{"type":"null"}]}}}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not found"},"422":{"description":"Unprocessable entity"},"502":{"description":"Bad gateway"}},"security":[{"bearerAuth":[]}]}},"/api/v1/organizations/{org_slug}/pages/github_onboarding":{"get":{"operationId":"api_v1_pages_github_onboarding","tags":["organizations"],"parameters":[{"name":"org_slug","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Organization GitHub onboarding page contract","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"required":["organization","onboarding"],"properties":{"organization":{"$ref":"#/components/schemas/OrganizationSummary"},"onboarding":{"$ref":"#/components/schemas/GithubOnboardingState"}}}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not found"},"422":{"description":"Unprocessable entity"},"502":{"description":"Bad gateway"}},"security":[{"bearerAuth":[]}]}},"/api/v1/organizations/{org_slug}/pages/hosting_sites":{"get":{"operationId":"api_v1_pages_hosting_sites","tags":["organizations"],"parameters":[{"name":"org_slug","in":"path","required":true,"schema":{"type":"string"}},{"in":"query","name":"site_id","required":false,"schema":{"type":"string"}}],"responses":{"200":{"description":"Organization static sites page contract","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"required":["sites","integrations","domains","deployments"],"properties":{"sites":{"type":"array","items":{"$ref":"#/components/schemas/StaticSite"}},"integrations":{"type":"array","items":{"$ref":"#/components/schemas/DomainDnsIntegration"}},"domains":{"type":"array","items":{"$ref":"#/components/schemas/StaticSiteDomain"}},"deployments":{"type":"array","items":{"$ref":"#/components/schemas/StaticSiteDeployment"}}}}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not found"},"422":{"description":"Unprocessable entity"},"502":{"description":"Bad gateway"}},"security":[{"bearerAuth":[]}]}},"/api/v1/organizations/{org_slug}/pages/registry":{"get":{"operationId":"api_v1_pages_registry","tags":["organizations"],"parameters":[{"name":"org_slug","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Organization registry page contract","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"required":["repositories","tags_by_repository","error"],"properties":{"repositories":{"type":"array","items":{"$ref":"#/components/schemas/ImageRepository"}},"tags_by_repository":{"type":"object","additionalProperties":{"type":"object","required":["loading","error","tags"],"properties":{"loading":{"type":"boolean","const":false},"error":{"type":"string","nullable":true},"tags":{"type":"array","items":{"type":"string"}}}}},"error":{"type":"string","nullable":true}}}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not found"},"422":{"description":"Unprocessable entity"},"502":{"description":"Bad gateway"}},"security":[{"bearerAuth":[]}]}},"/api/v1/organizations/{org_slug}/repos":{"get":{"operationId":"api_v1_repos","tags":["organizations"],"parameters":[{"name":"org_slug","in":"path","required":true,"schema":{"type":"string"}},{"name":"q","in":"query","required":false,"schema":{"type":"string"}},{"name":"sort","in":"query","required":false,"schema":{"type":"string","enum":["name","github"],"default":"name"}},{"name":"direction","in":"query","required":false,"schema":{"type":"string","enum":["asc","desc"],"default":"asc"}},{"name":"page","in":"query","required":false,"schema":{"type":"integer","minimum":1,"default":1}}],"responses":{"200":{"description":"Paginated workspace Repo inventory","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"required":["repos","pagination"],"properties":{"repos":{"type":"array","items":{"type":"object","required":["id","slug","name","icon_name","github_repository","sync_status"],"properties":{"id":{"type":"string"},"slug":{"type":"string"},"name":{"type":"string"},"icon_name":{"type":"string"},"github_repository":{"type":"string","nullable":true},"sync_status":{"type":"string","enum":["none","importing","failed","ready"]}}}},"pagination":{"type":"object","required":["page","limit","count","count_label","last","series"],"additionalProperties":true,"properties":{"page":{"type":"integer","minimum":1},"limit":{"type":"integer","minimum":1},"count":{"type":"integer","minimum":0},"count_label":{"type":"string"},"last":{"type":"integer","minimum":1},"previous":{"type":"integer","nullable":true},"next":{"type":"integer","nullable":true},"series":{"type":"array","items":{"oneOf":[{"type":"integer"},{"type":"string"}]}}}}}}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not found"},"422":{"description":"Unprocessable entity"},"502":{"description":"Bad gateway"}},"security":[{"bearerAuth":[]}]}},"/api/v1/organizations/{org_slug}/repos/{repo_slug}/access_tokens":{"get":{"operationId":"api_v1_repository_access_tokens","tags":["organizations"],"parameters":[{"name":"org_slug","in":"path","required":true,"schema":{"type":"string"}},{"name":"repo_slug","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Manual repository access tokens","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"required":["access_tokens"],"properties":{"access_tokens":{"type":"array","items":{"type":"object","required":["id","name","permission_level","token_preview","active","expires_at","last_used_at","revoked_at","created_at","updated_at","expires_at_label","last_used_at_label","revoked_at_label","created_at_label","updated_at_label"],"properties":{"id":{"type":"string"},"name":{"type":"string"},"permission_level":{"type":"string","enum":["read_only","read_write"]},"token_preview":{"type":"string"},"active":{"type":"boolean"},"expires_at":{"type":"string","format":"date-time","nullable":true},"last_used_at":{"type":"string","format":"date-time","nullable":true},"revoked_at":{"type":"string","format":"date-time","nullable":true},"created_at":{"type":"string","format":"date-time"},"updated_at":{"type":"string","format":"date-time"},"expires_at_label":{"type":"string","nullable":true},"last_used_at_label":{"type":"string","nullable":true},"revoked_at_label":{"type":"string","nullable":true},"created_at_label":{"type":"string","nullable":true},"updated_at_label":{"type":"string","nullable":true}}}}}}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not found"},"422":{"description":"Unprocessable entity"},"502":{"description":"Bad gateway"}},"security":[{"bearerAuth":[]}]},"post":{"operationId":"post_api_v1_organizations_org_slug_repos_repo_slug_access_tokens","tags":["organizations"],"parameters":[{"name":"org_slug","in":"path","required":true,"schema":{"type":"string"}},{"name":"repo_slug","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Created repository access token","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"required":["access_token","plain_text_token"],"properties":{"access_token":{"type":"object","required":["id","name","permission_level","token_preview","active","expires_at","last_used_at","revoked_at","created_at","updated_at","expires_at_label","last_used_at_label","revoked_at_label","created_at_label","updated_at_label"],"properties":{"id":{"type":"string"},"name":{"type":"string"},"permission_level":{"type":"string","enum":["read_only","read_write"]},"token_preview":{"type":"string"},"active":{"type":"boolean"},"expires_at":{"type":"string","format":"date-time","nullable":true},"last_used_at":{"type":"string","format":"date-time","nullable":true},"revoked_at":{"type":"string","format":"date-time","nullable":true},"created_at":{"type":"string","format":"date-time"},"updated_at":{"type":"string","format":"date-time"},"expires_at_label":{"type":"string","nullable":true},"last_used_at_label":{"type":"string","nullable":true},"revoked_at_label":{"type":"string","nullable":true},"created_at_label":{"type":"string","nullable":true},"updated_at_label":{"type":"string","nullable":true}}},"plain_text_token":{"type":"string"}}}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not found"},"422":{"description":"Unprocessable entity"},"502":{"description":"Bad gateway"},"201":{"description":"Created repository access token","content":{"application/json":{"schema":{"type":"object","required":["access_token","plain_text_token"],"properties":{"access_token":{"type":"object","required":["id","name","permission_level","token_preview","active","expires_at","last_used_at","revoked_at","created_at","updated_at","expires_at_label","last_used_at_label","revoked_at_label","created_at_label","updated_at_label"],"properties":{"id":{"type":"string"},"name":{"type":"string"},"permission_level":{"type":"string","enum":["read_only","read_write"]},"token_preview":{"type":"string"},"active":{"type":"boolean"},"expires_at":{"type":"string","format":"date-time","nullable":true},"last_used_at":{"type":"string","format":"date-time","nullable":true},"revoked_at":{"type":"string","format":"date-time","nullable":true},"created_at":{"type":"string","format":"date-time"},"updated_at":{"type":"string","format":"date-time"},"expires_at_label":{"type":"string","nullable":true},"last_used_at_label":{"type":"string","nullable":true},"revoked_at_label":{"type":"string","nullable":true},"created_at_label":{"type":"string","nullable":true},"updated_at_label":{"type":"string","nullable":true}}},"plain_text_token":{"type":"string"}}}}}}},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"required":["name","permission_level"],"properties":{"name":{"type":"string"},"permission_level":{"type":"string","enum":["read_only","read_write"]},"expires_in_days":{"type":"integer","minimum":1,"nullable":true}}}}}},"security":[{"bearerAuth":[]}]}},"/api/v1/organizations/{org_slug}/repos/{repo_slug}/access_tokens/{id}":{"delete":{"operationId":"api_v1_repository_access_token","tags":["organizations"],"parameters":[{"name":"org_slug","in":"path","required":true,"schema":{"type":"string"}},{"name":"repo_slug","in":"path","required":true,"schema":{"type":"string"}},{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not found"},"422":{"description":"Unprocessable entity"},"502":{"description":"Bad gateway"},"204":{"description":"Repository access token revoked"}},"security":[{"bearerAuth":[]}]}},"/api/v1/organizations/{org_slug}/repos/{repo_slug}/agent_checkpoints/{id}":{"get":{"operationId":"api_v1_agent_checkpoint","tags":["organizations"],"parameters":[{"name":"org_slug","in":"path","required":true,"schema":{"type":"string"}},{"name":"repo_slug","in":"path","required":true,"schema":{"type":"string"}},{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not found"},"422":{"description":"Unprocessable entity"},"502":{"description":"Bad gateway"}},"security":[{"bearerAuth":[]}]}},"/api/v1/organizations/{org_slug}/repos/{repo_slug}/agent_checkpoints/{id}/download":{"get":{"operationId":"download_api_v1_agent_checkpoint","tags":["organizations"],"parameters":[{"name":"org_slug","in":"path","required":true,"schema":{"type":"string"}},{"name":"repo_slug","in":"path","required":true,"schema":{"type":"string"}},{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not found"},"422":{"description":"Unprocessable entity"},"502":{"description":"Bad gateway"}},"security":[{"bearerAuth":[]}]}},"/api/v1/organizations/{org_slug}/repos/{repo_slug}/agent_sessions":{"get":{"operationId":"api_v1_agent_sessions","tags":["organizations"],"parameters":[{"name":"org_slug","in":"path","required":true,"schema":{"type":"string"}},{"name":"repo_slug","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not found"},"422":{"description":"Unprocessable entity"},"502":{"description":"Bad gateway"}},"security":[{"bearerAuth":[]}]},"post":{"operationId":"post_api_v1_organizations_org_slug_repos_repo_slug_agent_sessions","tags":["organizations"],"parameters":[{"name":"org_slug","in":"path","required":true,"schema":{"type":"string"}},{"name":"repo_slug","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not found"},"422":{"description":"Unprocessable entity"},"502":{"description":"Bad gateway"}},"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"security":[{"bearerAuth":[]}]}},"/api/v1/organizations/{org_slug}/repos/{repo_slug}/agent_sessions/{agent_session_id}/checkpoints":{"get":{"operationId":"api_v1_agent_session_checkpoints","tags":["organizations"],"parameters":[{"name":"org_slug","in":"path","required":true,"schema":{"type":"string"}},{"name":"repo_slug","in":"path","required":true,"schema":{"type":"string"}},{"name":"agent_session_id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not found"},"422":{"description":"Unprocessable entity"},"502":{"description":"Bad gateway"}},"security":[{"bearerAuth":[]}]},"post":{"operationId":"post_api_v1_organizations_org_slug_repos_repo_slug_agent_sessions_agent_session_id_checkpoints","tags":["organizations"],"parameters":[{"name":"org_slug","in":"path","required":true,"schema":{"type":"string"}},{"name":"repo_slug","in":"path","required":true,"schema":{"type":"string"}},{"name":"agent_session_id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not found"},"422":{"description":"Unprocessable entity"},"502":{"description":"Bad gateway"}},"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"security":[{"bearerAuth":[]}]}},"/api/v1/organizations/{org_slug}/repos/{repo_slug}/agent_sessions/{agent_session_id}/checkpoints/{id}":{"get":{"operationId":"api_v1_agent_session_checkpoint","tags":["organizations"],"parameters":[{"name":"org_slug","in":"path","required":true,"schema":{"type":"string"}},{"name":"repo_slug","in":"path","required":true,"schema":{"type":"string"}},{"name":"agent_session_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not found"},"422":{"description":"Unprocessable entity"},"502":{"description":"Bad gateway"}},"security":[{"bearerAuth":[]}]}},"/api/v1/organizations/{org_slug}/repos/{repo_slug}/agent_sessions/{agent_session_id}/checkpoints/{id}/download":{"get":{"operationId":"download_api_v1_agent_session_checkpoint","tags":["organizations"],"parameters":[{"name":"org_slug","in":"path","required":true,"schema":{"type":"string"}},{"name":"repo_slug","in":"path","required":true,"schema":{"type":"string"}},{"name":"agent_session_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not found"},"422":{"description":"Unprocessable entity"},"502":{"description":"Bad gateway"}},"security":[{"bearerAuth":[]}]}},"/api/v1/organizations/{org_slug}/repos/{repo_slug}/agent_sessions/{agent_session_id}/checkpoints/{id}/finalize":{"post":{"operationId":"finalize_api_v1_agent_session_checkpoint","tags":["organizations"],"parameters":[{"name":"org_slug","in":"path","required":true,"schema":{"type":"string"}},{"name":"repo_slug","in":"path","required":true,"schema":{"type":"string"}},{"name":"agent_session_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not found"},"422":{"description":"Unprocessable entity"},"502":{"description":"Bad gateway"}},"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"security":[{"bearerAuth":[]}]}},"/api/v1/organizations/{org_slug}/repos/{repo_slug}/agent_sessions/{id}":{"get":{"operationId":"api_v1_agent_session","tags":["organizations"],"parameters":[{"name":"org_slug","in":"path","required":true,"schema":{"type":"string"}},{"name":"repo_slug","in":"path","required":true,"schema":{"type":"string"}},{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not found"},"422":{"description":"Unprocessable entity"},"502":{"description":"Bad gateway"}},"security":[{"bearerAuth":[]}]}},"/api/v1/organizations/{org_slug}/repos/{repo_slug}/agent_sessions/{id}/complete":{"post":{"operationId":"complete_api_v1_agent_session","tags":["organizations"],"parameters":[{"name":"org_slug","in":"path","required":true,"schema":{"type":"string"}},{"name":"repo_slug","in":"path","required":true,"schema":{"type":"string"}},{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not found"},"422":{"description":"Unprocessable entity"},"502":{"description":"Bad gateway"}},"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"security":[{"bearerAuth":[]}]}},"/api/v1/organizations/{org_slug}/repos/{repo_slug}/bookmark_protection_events":{"get":{"operationId":"api_v1_bookmark_protection_events","tags":["organizations"],"parameters":[{"name":"org_slug","in":"path","required":true,"schema":{"type":"string"}},{"name":"repo_slug","in":"path","required":true,"schema":{"type":"string"}},{"name":"bookmark","in":"query","required":false,"schema":{"type":"string"}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","minimum":1,"maximum":200,"default":50}}],"responses":{"200":{"description":"Recent bookmark protection events","content":{"application/json":{"schema":{"type":"array","additionalProperties":true,"items":{"type":"object","required":["id","bookmark_protection_rule_id","organization_id","repository_id","actor_user_id","bookmark_name","action","old_target","new_target","actor_kind","actor_label","intent","decision","source_request_id","created_at","updated_at","created_at_label","updated_at_label","reason_codes","metadata"],"properties":{"id":{"type":"string"},"bookmark_protection_rule_id":{"type":"string","nullable":true},"organization_id":{"type":"string"},"repository_id":{"type":"string"},"actor_user_id":{"type":"string","nullable":true},"bookmark_name":{"type":"string"},"action":{"type":"string"},"old_target":{"type":"string","nullable":true},"new_target":{"type":"string","nullable":true},"actor_kind":{"type":"string","enum":["user","vex_automation","system","github_app","service"]},"actor_label":{"type":"string","nullable":true},"intent":{"type":"string","nullable":true},"decision":{"type":"string","enum":["allowed","denied","bypassed","simulated"]},"source_request_id":{"type":"string","nullable":true},"created_at":{"type":"string","format":"date-time"},"updated_at":{"type":"string","format":"date-time"},"created_at_label":{"type":"string","nullable":true},"updated_at_label":{"type":"string","nullable":true},"reason_codes":{"type":"array","items":{"type":"string"}},"metadata":{"type":"object","additionalProperties":true}}}}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not found"},"422":{"description":"Unprocessable entity"},"502":{"description":"Bad gateway"}},"security":[{"bearerAuth":[]}]}},"/api/v1/organizations/{org_slug}/repos/{repo_slug}/bookmark_protections":{"get":{"operationId":"api_v1_bookmark_protections","tags":["organizations"],"parameters":[{"name":"org_slug","in":"path","required":true,"schema":{"type":"string"}},{"name":"repo_slug","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Bookmark protection rules","content":{"application/json":{"schema":{"type":"array","additionalProperties":true,"items":{"type":"object","required":["id","organization_id","repository_id","created_by_user_id","updated_by_user_id","name","enabled","priority","target_kind","target_pattern","bypass_mode","created_at","updated_at","requirements","actor_policy"],"properties":{"id":{"type":"string"},"organization_id":{"type":"string"},"repository_id":{"type":"string"},"created_by_user_id":{"type":"string","nullable":true},"updated_by_user_id":{"type":"string","nullable":true},"name":{"type":"string"},"enabled":{"type":"boolean"},"priority":{"type":"integer"},"target_kind":{"type":"string","enum":["exact","pattern","default_branch"]},"target_pattern":{"type":"string","nullable":true},"bypass_mode":{"type":"string","enum":["admins","none"]},"created_at":{"type":"string","format":"date-time"},"updated_at":{"type":"string","format":"date-time"},"requirements":{"type":"object","additionalProperties":true},"actor_policy":{"type":"object","additionalProperties":true}}}}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not found"},"422":{"description":"Unprocessable entity"},"502":{"description":"Bad gateway"}},"security":[{"bearerAuth":[]}]},"post":{"operationId":"post_api_v1_organizations_org_slug_repos_repo_slug_bookmark_protections","tags":["organizations"],"parameters":[{"name":"org_slug","in":"path","required":true,"schema":{"type":"string"}},{"name":"repo_slug","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not found"},"422":{"description":"Unprocessable entity"},"502":{"description":"Bad gateway"},"201":{"description":"Bookmark protection rule created","content":{"application/json":{"schema":{"type":"object","required":["id","organization_id","repository_id","created_by_user_id","updated_by_user_id","name","enabled","priority","target_kind","target_pattern","bypass_mode","created_at","updated_at","requirements","actor_policy"],"properties":{"id":{"type":"string"},"organization_id":{"type":"string"},"repository_id":{"type":"string"},"created_by_user_id":{"type":"string","nullable":true},"updated_by_user_id":{"type":"string","nullable":true},"name":{"type":"string"},"enabled":{"type":"boolean"},"priority":{"type":"integer"},"target_kind":{"type":"string","enum":["exact","pattern","default_branch"]},"target_pattern":{"type":"string","nullable":true},"bypass_mode":{"type":"string","enum":["admins","none"]},"created_at":{"type":"string","format":"date-time"},"updated_at":{"type":"string","format":"date-time"},"requirements":{"type":"object","additionalProperties":true},"actor_policy":{"type":"object","additionalProperties":true}}}}}}},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"properties":{"name":{"type":"string"},"enabled":{"type":"boolean"},"priority":{"type":"integer"},"target_kind":{"type":"string","enum":["exact","pattern","default_branch"]},"target_pattern":{"type":"string","nullable":true},"bypass_mode":{"type":"string","enum":["admins","none"]},"requirements":{"type":"object","additionalProperties":true},"actor_policy":{"type":"object","additionalProperties":true}}}}}},"security":[{"bearerAuth":[]}]}},"/api/v1/organizations/{org_slug}/repos/{repo_slug}/bookmark_protections/simulate":{"post":{"operationId":"simulate_api_v1_bookmark_protections","tags":["organizations"],"parameters":[{"name":"org_slug","in":"path","required":true,"schema":{"type":"string"}},{"name":"repo_slug","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Bookmark protection evaluation","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"required":["evaluation"],"properties":{"evaluation":{"type":"object","required":["allowed","bypassed","action","rule_id","reasons","metadata"],"properties":{"allowed":{"type":"boolean"},"bypassed":{"type":"boolean"},"action":{"type":"string"},"rule_id":{"type":"string","nullable":true},"reasons":{"type":"array","items":{"type":"object","required":["code","message","severity","details"],"properties":{"code":{"type":"string"},"message":{"type":"string"},"severity":{"type":"string"},"details":{"type":"object","additionalProperties":true}}}},"metadata":{"type":"object","additionalProperties":true}}}}}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not found"},"422":{"description":"Unprocessable entity"},"502":{"description":"Bad gateway"}},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"required":["bookmark","to"],"properties":{"bookmark":{"type":"string"},"to":{"type":"string"},"from":{"type":"string","nullable":true},"intent":{"type":"string","nullable":true},"actor_kind":{"type":"string","nullable":true},"stack_id":{"type":"string","nullable":true},"review_id":{"type":"string","nullable":true}}}}}},"security":[{"bearerAuth":[]}]}},"/api/v1/organizations/{org_slug}/repos/{repo_slug}/bookmark_protections/{id}":{"get":{"operationId":"api_v1_bookmark_protection","tags":["organizations"],"parameters":[{"name":"org_slug","in":"path","required":true,"schema":{"type":"string"}},{"name":"repo_slug","in":"path","required":true,"schema":{"type":"string"}},{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Bookmark protection rule","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"required":["id","organization_id","repository_id","created_by_user_id","updated_by_user_id","name","enabled","priority","target_kind","target_pattern","bypass_mode","created_at","updated_at","requirements","actor_policy"],"properties":{"id":{"type":"string"},"organization_id":{"type":"string"},"repository_id":{"type":"string"},"created_by_user_id":{"type":"string","nullable":true},"updated_by_user_id":{"type":"string","nullable":true},"name":{"type":"string"},"enabled":{"type":"boolean"},"priority":{"type":"integer"},"target_kind":{"type":"string","enum":["exact","pattern","default_branch"]},"target_pattern":{"type":"string","nullable":true},"bypass_mode":{"type":"string","enum":["admins","none"]},"created_at":{"type":"string","format":"date-time"},"updated_at":{"type":"string","format":"date-time"},"requirements":{"type":"object","additionalProperties":true},"actor_policy":{"type":"object","additionalProperties":true}}}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not found"},"422":{"description":"Unprocessable entity"},"502":{"description":"Bad gateway"}},"security":[{"bearerAuth":[]}]},"patch":{"operationId":"patch_api_v1_organizations_org_slug_repos_repo_slug_bookmark_protections_id_","tags":["organizations"],"parameters":[{"name":"org_slug","in":"path","required":true,"schema":{"type":"string"}},{"name":"repo_slug","in":"path","required":true,"schema":{"type":"string"}},{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Bookmark protection rule updated","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"required":["id","organization_id","repository_id","created_by_user_id","updated_by_user_id","name","enabled","priority","target_kind","target_pattern","bypass_mode","created_at","updated_at","requirements","actor_policy"],"properties":{"id":{"type":"string"},"organization_id":{"type":"string"},"repository_id":{"type":"string"},"created_by_user_id":{"type":"string","nullable":true},"updated_by_user_id":{"type":"string","nullable":true},"name":{"type":"string"},"enabled":{"type":"boolean"},"priority":{"type":"integer"},"target_kind":{"type":"string","enum":["exact","pattern","default_branch"]},"target_pattern":{"type":"string","nullable":true},"bypass_mode":{"type":"string","enum":["admins","none"]},"created_at":{"type":"string","format":"date-time"},"updated_at":{"type":"string","format":"date-time"},"requirements":{"type":"object","additionalProperties":true},"actor_policy":{"type":"object","additionalProperties":true}}}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not found"},"422":{"description":"Unprocessable entity"},"502":{"description":"Bad gateway"}},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"properties":{"name":{"type":"string"},"enabled":{"type":"boolean"},"priority":{"type":"integer"},"target_kind":{"type":"string","enum":["exact","pattern","default_branch"]},"target_pattern":{"type":"string","nullable":true},"bypass_mode":{"type":"string","enum":["admins","none"]},"requirements":{"type":"object","additionalProperties":true},"actor_policy":{"type":"object","additionalProperties":true}}}}}},"security":[{"bearerAuth":[]}]},"put":{"operationId":"put_api_v1_organizations_org_slug_repos_repo_slug_bookmark_protections_id_","tags":["organizations"],"parameters":[{"name":"org_slug","in":"path","required":true,"schema":{"type":"string"}},{"name":"repo_slug","in":"path","required":true,"schema":{"type":"string"}},{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Bookmark protection rule updated","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"required":["id","organization_id","repository_id","created_by_user_id","updated_by_user_id","name","enabled","priority","target_kind","target_pattern","bypass_mode","created_at","updated_at","requirements","actor_policy"],"properties":{"id":{"type":"string"},"organization_id":{"type":"string"},"repository_id":{"type":"string"},"created_by_user_id":{"type":"string","nullable":true},"updated_by_user_id":{"type":"string","nullable":true},"name":{"type":"string"},"enabled":{"type":"boolean"},"priority":{"type":"integer"},"target_kind":{"type":"string","enum":["exact","pattern","default_branch"]},"target_pattern":{"type":"string","nullable":true},"bypass_mode":{"type":"string","enum":["admins","none"]},"created_at":{"type":"string","format":"date-time"},"updated_at":{"type":"string","format":"date-time"},"requirements":{"type":"object","additionalProperties":true},"actor_policy":{"type":"object","additionalProperties":true}}}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not found"},"422":{"description":"Unprocessable entity"},"502":{"description":"Bad gateway"}},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"properties":{"name":{"type":"string"},"enabled":{"type":"boolean"},"priority":{"type":"integer"},"target_kind":{"type":"string","enum":["exact","pattern","default_branch"]},"target_pattern":{"type":"string","nullable":true},"bypass_mode":{"type":"string","enum":["admins","none"]},"requirements":{"type":"object","additionalProperties":true},"actor_policy":{"type":"object","additionalProperties":true}}}}}},"security":[{"bearerAuth":[]}]},"delete":{"operationId":"delete_api_v1_organizations_org_slug_repos_repo_slug_bookmark_protections_id_","tags":["organizations"],"parameters":[{"name":"org_slug","in":"path","required":true,"schema":{"type":"string"}},{"name":"repo_slug","in":"path","required":true,"schema":{"type":"string"}},{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not found"},"422":{"description":"Unprocessable entity"},"502":{"description":"Bad gateway"},"204":{"description":"Bookmark protection rule deleted"}},"security":[{"bearerAuth":[]}]}},"/api/v1/organizations/{org_slug}/repos/{repo_slug}/ci/status/commits/{commit_sha}":{"get":{"operationId":"api_v1_org_repo_ci_status","tags":["organizations"],"parameters":[{"name":"org_slug","in":"path","required":true,"schema":{"type":"string"}},{"name":"repo_slug","in":"path","required":true,"schema":{"type":"string"}},{"name":"commit_sha","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"CI status for a commit","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"allOf":[{"type":"object","required":["status","total","counts","checks"],"properties":{"status":{"type":"string","enum":["absent","queued","running","succeeded","failed","canceled"]},"total":{"type":"integer","minimum":0},"counts":{"type":"object","additionalProperties":{"type":"integer","minimum":0}},"checks":{"type":"array","items":{"type":"object","required":["run_id","run_slug","run_number","job_id","job_slug","name","status"],"properties":{"run_id":{"type":"string"},"run_slug":{"type":"string"},"run_number":{"type":"integer","minimum":1},"job_id":{"type":"string"},"job_slug":{"type":"string"},"name":{"type":"string"},"status":{"type":"string","enum":["queued","running","succeeded","failed","canceled","blocked"]},"conclusion":{"type":"string"},"allow_failure":{"type":"boolean"},"pipeline_id":{"type":"string"},"pipeline_slug":{"type":"string"},"ref_name":{"type":"string"},"commit_sha":{"type":"string"},"started_at":{"type":"string","format":"date-time"},"finished_at":{"type":"string","format":"date-time"}}}}}},{"type":"object","required":["commit_sha"],"properties":{"commit_sha":{"type":"string"}}}]}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not found"},"422":{"description":"Unprocessable entity"},"502":{"description":"Bad gateway"}},"security":[{"bearerAuth":[]}]}},"/api/v1/organizations/{org_slug}/repos/{repo_slug}/ci/status/patchsets/{id}":{"get":{"operationId":"get_api_v1_organizations_org_slug_repos_repo_slug_ci_status_patchsets_id_","tags":["organizations"],"parameters":[{"name":"org_slug","in":"path","required":true,"schema":{"type":"string"}},{"name":"repo_slug","in":"path","required":true,"schema":{"type":"string"}},{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"CI status for a patchset","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"allOf":[{"type":"object","required":["status","total","counts","checks"],"properties":{"status":{"type":"string","enum":["absent","queued","running","succeeded","failed","canceled"]},"total":{"type":"integer","minimum":0},"counts":{"type":"object","additionalProperties":{"type":"integer","minimum":0}},"checks":{"type":"array","items":{"type":"object","required":["run_id","run_slug","run_number","job_id","job_slug","name","status"],"properties":{"run_id":{"type":"string"},"run_slug":{"type":"string"},"run_number":{"type":"integer","minimum":1},"job_id":{"type":"string"},"job_slug":{"type":"string"},"name":{"type":"string"},"status":{"type":"string","enum":["queued","running","succeeded","failed","canceled","blocked"]},"conclusion":{"type":"string"},"allow_failure":{"type":"boolean"},"pipeline_id":{"type":"string"},"pipeline_slug":{"type":"string"},"ref_name":{"type":"string"},"commit_sha":{"type":"string"},"started_at":{"type":"string","format":"date-time"},"finished_at":{"type":"string","format":"date-time"}}}}}},{"type":"object","required":["patchset_id","commit_sha","checks_status"],"properties":{"patchset_id":{"type":"string"},"commit_sha":{"type":"string","nullable":true},"checks_status":{"type":"string","nullable":true}}}]}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not found"},"422":{"description":"Unprocessable entity"},"502":{"description":"Bad gateway"}},"security":[{"bearerAuth":[]}]}},"/api/v1/organizations/{org_slug}/repos/{repo_slug}/ci/status/ref":{"get":{"operationId":"api_v1_org_repo_ci_status_ref","tags":["organizations"],"parameters":[{"name":"org_slug","in":"path","required":true,"schema":{"type":"string"}},{"name":"repo_slug","in":"path","required":true,"schema":{"type":"string"}},{"name":"ref","in":"query","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"CI status for a ref","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"allOf":[{"type":"object","required":["status","total","counts","checks"],"properties":{"status":{"type":"string","enum":["absent","queued","running","succeeded","failed","canceled"]},"total":{"type":"integer","minimum":0},"counts":{"type":"object","additionalProperties":{"type":"integer","minimum":0}},"checks":{"type":"array","items":{"type":"object","required":["run_id","run_slug","run_number","job_id","job_slug","name","status"],"properties":{"run_id":{"type":"string"},"run_slug":{"type":"string"},"run_number":{"type":"integer","minimum":1},"job_id":{"type":"string"},"job_slug":{"type":"string"},"name":{"type":"string"},"status":{"type":"string","enum":["queued","running","succeeded","failed","canceled","blocked"]},"conclusion":{"type":"string"},"allow_failure":{"type":"boolean"},"pipeline_id":{"type":"string"},"pipeline_slug":{"type":"string"},"ref_name":{"type":"string"},"commit_sha":{"type":"string"},"started_at":{"type":"string","format":"date-time"},"finished_at":{"type":"string","format":"date-time"}}}}}},{"type":"object","required":["ref_name"],"properties":{"ref_name":{"type":"string"}}}]}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not found"},"422":{"description":"Unprocessable entity"},"502":{"description":"Bad gateway"}},"security":[{"bearerAuth":[]}]}},"/api/v1/organizations/{org_slug}/repos/{repo_slug}/ci/status/stacks/{id}":{"get":{"operationId":"get_api_v1_organizations_org_slug_repos_repo_slug_ci_status_stacks_id_","tags":["organizations"],"parameters":[{"name":"org_slug","in":"path","required":true,"schema":{"type":"string"}},{"name":"repo_slug","in":"path","required":true,"schema":{"type":"string"}},{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"CI status for a stack","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"required":["stack_id","status","patchsets"],"properties":{"stack_id":{"type":"string"},"status":{"type":"string","enum":["absent","queued","running","succeeded","failed","canceled"]},"patchsets":{"type":"array","items":{"allOf":[{"type":"object","required":["status","total","counts","checks"],"properties":{"status":{"type":"string","enum":["absent","queued","running","succeeded","failed","canceled"]},"total":{"type":"integer","minimum":0},"counts":{"type":"object","additionalProperties":{"type":"integer","minimum":0}},"checks":{"type":"array","items":{"type":"object","required":["run_id","run_slug","run_number","job_id","job_slug","name","status"],"properties":{"run_id":{"type":"string"},"run_slug":{"type":"string"},"run_number":{"type":"integer","minimum":1},"job_id":{"type":"string"},"job_slug":{"type":"string"},"name":{"type":"string"},"status":{"type":"string","enum":["queued","running","succeeded","failed","canceled","blocked"]},"conclusion":{"type":"string"},"allow_failure":{"type":"boolean"},"pipeline_id":{"type":"string"},"pipeline_slug":{"type":"string"},"ref_name":{"type":"string"},"commit_sha":{"type":"string"},"started_at":{"type":"string","format":"date-time"},"finished_at":{"type":"string","format":"date-time"}}}}}},{"type":"object","required":["patchset_id","commit_sha","checks_status"],"properties":{"patchset_id":{"type":"string"},"commit_sha":{"type":"string","nullable":true},"checks_status":{"type":"string","nullable":true}}}]}}}}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not found"},"422":{"description":"Unprocessable entity"},"502":{"description":"Bad gateway"}},"security":[{"bearerAuth":[]}]}},"/api/v1/organizations/{org_slug}/repos/{repo_slug}/cloud_workspace_backups":{"get":{"operationId":"api_v1_cloud_workspace_backups","tags":["organizations"],"parameters":[{"name":"org_slug","in":"path","required":true,"schema":{"type":"string"}},{"name":"repo_slug","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not found"},"422":{"description":"Unprocessable entity"},"502":{"description":"Bad gateway"}},"security":[{"bearerAuth":[]}]},"post":{"operationId":"post_api_v1_organizations_org_slug_repos_repo_slug_cloud_workspace_backups","tags":["organizations"],"parameters":[{"name":"org_slug","in":"path","required":true,"schema":{"type":"string"}},{"name":"repo_slug","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not found"},"422":{"description":"Unprocessable entity"},"502":{"description":"Bad gateway"}},"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"security":[{"bearerAuth":[]}]}},"/api/v1/organizations/{org_slug}/repos/{repo_slug}/cloud_workspace_backups/{backup_key}":{"get":{"operationId":"get_api_v1_organizations_org_slug_repos_repo_slug_cloud_workspace_backups_backup_key_","tags":["organizations"],"parameters":[{"name":"org_slug","in":"path","required":true,"schema":{"type":"string"}},{"name":"repo_slug","in":"path","required":true,"schema":{"type":"string"}},{"name":"backup_key","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not found"},"422":{"description":"Unprocessable entity"},"502":{"description":"Bad gateway"}},"security":[{"bearerAuth":[]}]}},"/api/v1/organizations/{org_slug}/repos/{repo_slug}/cloud_workspace_backups/{backup_key}/objects/{object_key}":{"get":{"operationId":"get_api_v1_organizations_org_slug_repos_repo_slug_cloud_workspace_backups_backup_key_objects_object_key_","tags":["organizations"],"parameters":[{"name":"org_slug","in":"path","required":true,"schema":{"type":"string"}},{"name":"repo_slug","in":"path","required":true,"schema":{"type":"string"}},{"name":"backup_key","in":"path","required":true,"schema":{"type":"string"}},{"name":"object_key","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not found"},"422":{"description":"Unprocessable entity"},"502":{"description":"Bad gateway"}},"security":[{"bearerAuth":[]}]}},"/api/v1/organizations/{org_slug}/repos/{repo_slug}/cloud_workspace_backups/{backup_key}/restore_request":{"post":{"operationId":"post_api_v1_organizations_org_slug_repos_repo_slug_cloud_workspace_backups_backup_key_restore_request","tags":["organizations"],"parameters":[{"name":"org_slug","in":"path","required":true,"schema":{"type":"string"}},{"name":"repo_slug","in":"path","required":true,"schema":{"type":"string"}},{"name":"backup_key","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not found"},"422":{"description":"Unprocessable entity"},"502":{"description":"Bad gateway"}},"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"security":[{"bearerAuth":[]}]}},"/api/v1/organizations/{org_slug}/repos/{repo_slug}/knowledge_settings":{"get":{"operationId":"api_v1_knowledge_settings","tags":["organizations"],"parameters":[{"name":"org_slug","in":"path","required":true,"schema":{"type":"string"}},{"name":"repo_slug","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Repository Knowledge folder settings","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"required":["folders","configured","can_manage"],"properties":{"folders":{"type":"array","items":{"type":"string"}},"configured":{"type":"boolean"},"can_manage":{"type":"boolean"}}}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not found"},"422":{"description":"Unprocessable entity"},"502":{"description":"Bad gateway"}},"security":[{"bearerAuth":[]}],"summary":"Read the repository's shared Knowledge folder settings"},"patch":{"operationId":"patch_api_v1_organizations_org_slug_repos_repo_slug_knowledge_settings","tags":["organizations"],"parameters":[{"name":"org_slug","in":"path","required":true,"schema":{"type":"string"}},{"name":"repo_slug","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Updated repository Knowledge folder settings","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"required":["folders","configured","can_manage"],"properties":{"folders":{"type":"array","items":{"type":"string"}},"configured":{"type":"boolean"},"can_manage":{"type":"boolean"}}}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not found"},"422":{"description":"Unprocessable entity"},"502":{"description":"Bad gateway"}},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"required":["folders"],"properties":{"folders":{"type":"array","items":{"type":"string"}}}}}}},"security":[{"bearerAuth":[]}],"summary":"Update the repository's shared Knowledge folder settings"}},"/api/v1/organizations/{org_slug}/repos/{repo_slug}/pages/actions":{"get":{"operationId":"get_api_v1_organizations_org_slug_repos_repo_slug_pages_actions","tags":["organizations"],"parameters":[{"name":"org_slug","in":"path","required":true,"schema":{"type":"string"}},{"name":"repo_slug","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Actions page contract","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"required":["default_branch","repository_id","pipelines","action_runs","error","organization_id","virtual_repositories","github_installations","github_installations_error","github_ci_repositories","github_ci_runner_pools","github_ci_error","github_ci_compatibility_reports_by_repository","github_ci_compatibility_error_by_repository"],"properties":{"default_branch":{"type":"string"},"repository_id":{"type":"string"},"pipelines":{"type":"array","items":{"allOf":[{"$ref":"#/components/schemas/CiPipeline"},{"type":"object","required":["runner_pool","runs"],"properties":{"runner_pool":{"oneOf":[{"$ref":"#/components/schemas/CiRunnerPool"},{"type":"null"}]},"runs":{"type":"array","items":{"$ref":"#/components/schemas/CiPipelineRun"}}}}]}},"action_runs":{"type":"array","items":{"type":"object","required":["pipeline","run"],"properties":{"pipeline":{"$ref":"#/components/schemas/CiPipeline"},"run":{"$ref":"#/components/schemas/CiPipelineRun"}}}},"error":{"type":"string","nullable":true},"organization_id":{"type":"string"},"virtual_repositories":{"type":"array","items":{"$ref":"#/components/schemas/VirtualRepository"}},"github_installations":{"type":"array","items":{"$ref":"#/components/schemas/GithubAppInstallation"}},"github_installations_error":{"type":"string","nullable":true},"github_ci_repositories":{"type":"array","items":{"$ref":"#/components/schemas/GithubCiRepository"}},"github_ci_runner_pools":{"type":"array","items":{"$ref":"#/components/schemas/CiRunnerPool"}},"github_ci_error":{"type":"string","nullable":true},"github_ci_compatibility_reports_by_repository":{"type":"object","additionalProperties":{"type":"array","items":{"$ref":"#/components/schemas/GithubCiCompatibilityReport"}}},"github_ci_compatibility_error_by_repository":{"type":"object","additionalProperties":{"type":"string","nullable":true}}}}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not found"},"422":{"description":"Unprocessable entity"},"502":{"description":"Bad gateway"}},"security":[{"bearerAuth":[]}]}},"/api/v1/organizations/{org_slug}/repos/{repo_slug}/pages/sync":{"get":{"operationId":"get_api_v1_organizations_org_slug_repos_repo_slug_pages_sync","tags":["organizations"],"parameters":[{"name":"org_slug","in":"path","required":true,"schema":{"type":"string"}},{"name":"repo_slug","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Sync page contract","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"required":["repositories","repository_counts","repositories_error","runs_by_repository","recent_runs","active_run_count","active_run_count_label","runs_error","github_installations","github_installations_error"],"properties":{"repositories":{"type":"array","items":{"$ref":"#/components/schemas/VirtualRepository"}},"repository_counts":{"type":"object","required":["configured","configured_label","unconfigured","unconfigured_label","target_label"],"properties":{"configured":{"type":"integer"},"configured_label":{"type":"string"},"unconfigured":{"type":"integer"},"unconfigured_label":{"type":"string"},"target_label":{"type":"string"}}},"repositories_error":{"type":"string","nullable":true},"runs_by_repository":{"type":"object","additionalProperties":{"type":"array","items":{"$ref":"#/components/schemas/VirtualRepositorySyncRun"}}},"recent_runs":{"type":"array","items":{"$ref":"#/components/schemas/VirtualRepositorySyncRun"}},"active_run_count":{"type":"integer"},"active_run_count_label":{"type":"string"},"runs_error":{"type":"string","nullable":true},"github_installations":{"type":"array","items":{"$ref":"#/components/schemas/GithubAppInstallation"}},"github_installations_error":{"type":"string","nullable":true}}}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not found"},"422":{"description":"Unprocessable entity"},"502":{"description":"Bad gateway"}},"security":[{"bearerAuth":[]}]}},"/api/v1/organizations/{org_slug}/repos/{repo_slug}/settings":{"get":{"operationId":"api_v1_settings","tags":["organizations"],"parameters":[{"name":"org_slug","in":"path","required":true,"schema":{"type":"string"}},{"name":"repo_slug","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Repository or Space settings snapshot","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"required":["org","repo","organization_id","space","repository","can_manage_settings","default_branch","default_stack_land_method","github_installations","github_installations_error","publish_contracts","publish_error","bookmark_protection_rules","bookmark_protection_events","access_entry","access_catalog_error","access_tokens","access_tokens_error","supports_manual_access_tokens","is_repository_root"],"properties":{"org":{"type":"string"},"repo":{"type":"string"},"organization_id":{"type":"string"},"space":{"oneOf":[{"$ref":"#/components/schemas/WorkspaceSpace"},{"type":"null"}]},"repository":{"oneOf":[{"$ref":"#/components/schemas/VirtualRepository"},{"type":"null"}]},"can_manage_settings":{"type":"boolean"},"default_branch":{"type":"string"},"default_stack_land_method":{"type":"string","enum":["squash","rebase"]},"github_installations":{"type":"array","items":{"$ref":"#/components/schemas/GithubAppInstallation"}},"github_installations_error":{"type":"string","nullable":true},"publish_contracts":{"type":"array","items":{"$ref":"#/components/schemas/OpenSourcePublishContract"}},"publish_error":{"type":"string","nullable":true},"bookmark_protection_rules":{"type":"array","items":{"$ref":"#/components/schemas/BookmarkProtectionRule"}},"bookmark_protection_events":{"type":"array","items":{"$ref":"#/components/schemas/BookmarkProtectionEvent"}},"access_entry":{"oneOf":[{"$ref":"#/components/schemas/RepositoryAccessEntry"},{"type":"null"}]},"access_catalog_error":{"type":"string","nullable":true},"access_tokens":{"type":"array","items":{"$ref":"#/components/schemas/RepositoryAccessToken"}},"access_tokens_error":{"type":"string","nullable":true},"supports_manual_access_tokens":{"type":"boolean"},"is_repository_root":{"type":"boolean"}}}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not found"},"422":{"description":"Unprocessable entity"},"502":{"description":"Bad gateway"}},"security":[{"bearerAuth":[]}]}},"/api/v1/organizations/{org_slug}/repos/{repo_slug}/settings/land_method":{"patch":{"operationId":"api_v1_settings_land_method","tags":["organizations"],"parameters":[{"name":"org_slug","in":"path","required":true,"schema":{"type":"string"}},{"name":"repo_slug","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Default stack land method updated","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"required":["default_stack_land_method"],"properties":{"default_stack_land_method":{"type":"string","enum":["squash","rebase"]}}}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not found"},"422":{"description":"Unprocessable entity"},"502":{"description":"Bad gateway"}},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"required":["default_stack_land_method"],"properties":{"default_stack_land_method":{"type":"string","enum":["squash","rebase"]}}}}}},"security":[{"bearerAuth":[]}]}},"/api/v1/organizations/{org_slug}/repos/{repo_slug}/settings/trunk":{"patch":{"operationId":"api_v1_settings_trunk","tags":["organizations"],"parameters":[{"name":"org_slug","in":"path","required":true,"schema":{"type":"string"}},{"name":"repo_slug","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Repository trunk updated","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"required":["default_branch"],"properties":{"default_branch":{"type":"string"}}}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not found"},"422":{"description":"Unprocessable entity"},"502":{"description":"Bad gateway"}},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"required":["default_branch"],"properties":{"default_branch":{"type":"string","minLength":1}}}}}},"security":[{"bearerAuth":[]}]}},"/api/v1/organizations/{org_slug}/repos/{repo_slug}/vcs/archive.zip":{"get":{"operationId":"api_v1_org_repo_vcs_archive","tags":["organizations"],"parameters":[{"name":"org_slug","in":"path","required":true,"schema":{"type":"string"}},{"name":"repo_slug","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Materialized trunk snapshot without repository history or VCS metadata","content":{"application/zip":{"schema":{"type":"string","format":"binary"}}},"headers":{"Content-Disposition":{"description":"Attachment filename containing organization, repository, trunk, and short commit id","schema":{"type":"string"}},"Content-Length":{"description":"Compressed ZIP size in bytes","schema":{"type":"integer","minimum":0}},"X-Vex-Repository-Ref":{"description":"Resolved trunk name","schema":{"type":"string"}},"X-Vex-Repository-Commit":{"description":"Resolved trunk commit id","schema":{"type":"string"}},"X-Vex-Archive-File-Count":{"description":"Number of files in the archive","schema":{"type":"integer","minimum":0}},"X-Vex-Archive-Uncompressed-Bytes":{"description":"Total uncompressed file bytes","schema":{"type":"integer","minimum":0}}}},"401":{"description":"Authentication required","content":{"application/json":{"schema":{"type":"object","required":["error"],"properties":{"error":{"type":"string"}}}}}},"403":{"description":"Repository read access denied","content":{"application/json":{"schema":{"type":"object","required":["error"],"properties":{"error":{"type":"string"}}}}}},"404":{"description":"Repository or trunk ref not found","content":{"application/json":{"schema":{"type":"object","required":["error"],"properties":{"error":{"type":"string"}}}}}},"422":{"description":"Archive contains an unsupported symlink or unsafe path","content":{"application/json":{"schema":{"type":"object","required":["error"],"properties":{"error":{"type":"string"}}}}}},"502":{"description":"Backend repository read failed","content":{"application/json":{"schema":{"type":"object","required":["error"],"properties":{"error":{"type":"string"}}}}}},"400":{"description":"Invalid virtual-repository path scope","content":{"application/json":{"schema":{"type":"object","required":["error"],"properties":{"error":{"type":"string"}}}}}},"413":{"description":"Archive exceeds a configured direct-download limit","content":{"application/json":{"schema":{"type":"object","required":["error"],"properties":{"error":{"type":"string"}}}}}},"503":{"description":"Archive generation exceeded its configured deadline","content":{"application/json":{"schema":{"type":"object","required":["error"],"properties":{"error":{"type":"string"}}}}}}},"security":[{"bearerAuth":[]}],"summary":"Download the materialized trunk as a ZIP archive","description":"Requires an authenticated session cookie or bearer token with repository read access. The archive always resolves the repository's current trunk; virtual repositories are scoped and rewritten to their own root."}},"/api/v1/organizations/{org_slug}/repos/{repo_slug}/vcs/blame":{"get":{"operationId":"api_v1_org_repo_vcs_blame","tags":["organizations"],"parameters":[{"name":"org_slug","in":"path","required":true,"schema":{"type":"string"}},{"name":"repo_slug","in":"path","required":true,"schema":{"type":"string"}},{"name":"ref","in":"query","required":true,"schema":{"type":"string"}},{"name":"path","in":"query","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Per line file blame","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"$ref":"#/components/schemas/VcsBlameResponse"}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not found"},"422":{"description":"Unprocessable entity"},"502":{"description":"Bad gateway"}},"security":[{"bearerAuth":[]}]}},"/api/v1/organizations/{org_slug}/repos/{repo_slug}/vcs/blob":{"get":{"operationId":"api_v1_org_repo_vcs_blob","tags":["organizations"],"parameters":[{"name":"org_slug","in":"path","required":true,"schema":{"type":"string"}},{"name":"repo_slug","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not found"},"422":{"description":"Unprocessable entity"},"502":{"description":"Bad gateway"}},"security":[{"bearerAuth":[]}]}},"/api/v1/organizations/{org_slug}/repos/{repo_slug}/vcs/branches":{"get":{"operationId":"api_v1_org_repo_vcs_branches","tags":["organizations"],"parameters":[{"name":"org_slug","in":"path","required":true,"schema":{"type":"string"}},{"name":"repo_slug","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Repository bookmarks","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"$ref":"#/components/schemas/VcsBranchesResponse"}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not found"},"422":{"description":"Unprocessable entity"},"502":{"description":"Bad gateway"}},"security":[{"bearerAuth":[]}]},"post":{"operationId":"post_api_v1_organizations_org_slug_repos_repo_slug_vcs_branches","tags":["organizations"],"parameters":[{"name":"org_slug","in":"path","required":true,"schema":{"type":"string"}},{"name":"repo_slug","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not found"},"422":{"description":"Unprocessable entity"},"502":{"description":"Bad gateway"}},"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"security":[{"bearerAuth":[]}]}},"/api/v1/organizations/{org_slug}/repos/{repo_slug}/vcs/branches/{branch_name}":{"delete":{"operationId":"api_v1_org_repo_vcs","tags":["organizations"],"parameters":[{"name":"org_slug","in":"path","required":true,"schema":{"type":"string"}},{"name":"repo_slug","in":"path","required":true,"schema":{"type":"string"}},{"name":"branch_name","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not found"},"422":{"description":"Unprocessable entity"},"502":{"description":"Bad gateway"},"204":{"description":"Bookmark deleted"}},"security":[{"bearerAuth":[]}]}},"/api/v1/organizations/{org_slug}/repos/{repo_slug}/vcs/browser/file":{"get":{"operationId":"api_v1_org_repo_vcs_browser_file","tags":["organizations"],"parameters":[{"name":"org_slug","in":"path","required":true,"schema":{"type":"string"}},{"name":"repo_slug","in":"path","required":true,"schema":{"type":"string"}},{"name":"ref","in":"query","required":true,"schema":{"type":"string"}},{"name":"file","in":"query","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Selected repository browser file","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"$ref":"#/components/schemas/VcsBrowserFileResponse"}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not found"},"422":{"description":"Unprocessable entity"},"502":{"description":"Bad gateway"}},"security":[{"bearerAuth":[]}]}},"/api/v1/organizations/{org_slug}/repos/{repo_slug}/vcs/browser/tree":{"get":{"operationId":"api_v1_org_repo_vcs_browser_tree","tags":["organizations"],"parameters":[{"name":"org_slug","in":"path","required":true,"schema":{"type":"string"}},{"name":"repo_slug","in":"path","required":true,"schema":{"type":"string"}},{"name":"ref","in":"query","required":true,"schema":{"type":"string"}},{"name":"knowledge","in":"query","required":false,"schema":{"type":"boolean"}},{"name":"knowledge_configured","in":"query","required":false,"schema":{"type":"boolean"}},{"name":"knowledge_folders[]","in":"query","required":false,"schema":{"type":"array","items":{"type":"string"}}}],"responses":{"200":{"description":"Repository browser tree","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"$ref":"#/components/schemas/VcsBrowserTreeResponse"}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not found"},"422":{"description":"Unprocessable entity"},"502":{"description":"Bad gateway"}},"security":[{"bearerAuth":[]}]}},"/api/v1/organizations/{org_slug}/repos/{repo_slug}/vcs/commit_file":{"post":{"operationId":"api_v1_org_repo_vcs_commit_file","tags":["organizations"],"parameters":[{"name":"org_slug","in":"path","required":true,"schema":{"type":"string"}},{"name":"repo_slug","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not found"},"422":{"description":"Unprocessable entity"},"502":{"description":"Bad gateway"}},"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"security":[{"bearerAuth":[]}]}},"/api/v1/organizations/{org_slug}/repos/{repo_slug}/vcs/commits":{"get":{"operationId":"api_v1_org_repo_vcs_commits","tags":["organizations"],"parameters":[{"name":"org_slug","in":"path","required":true,"schema":{"type":"string"}},{"name":"repo_slug","in":"path","required":true,"schema":{"type":"string"}},{"name":"ref","in":"query","required":true,"schema":{"type":"string"}},{"name":"limit","in":"query","schema":{"type":"integer","default":50,"maximum":100}},{"name":"offset","in":"query","schema":{"type":"integer","default":0}},{"name":"q","in":"query","description":"Filter by commit message, author, or SHA","schema":{"type":"string"}},{"name":"ref","in":"query","required":true,"schema":{"type":"string"}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","minimum":1,"maximum":100,"default":50}},{"name":"offset","in":"query","required":false,"schema":{"type":"integer","minimum":0,"default":0}},{"name":"q","in":"query","required":false,"schema":{"type":"string"}},{"name":"path","in":"query","required":false,"schema":{"type":"string"}}],"responses":{"200":{"description":"First parent commit history","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"$ref":"#/components/schemas/VcsCommitsResponse"}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not found"},"422":{"description":"Unprocessable entity"},"502":{"description":"Bad gateway"}},"security":[{"bearerAuth":[]}],"summary":"Paginated, searchable commit history for a ref"}},"/api/v1/organizations/{org_slug}/repos/{repo_slug}/vcs/commits/{id}/diff":{"get":{"operationId":"get_api_v1_organizations_org_slug_repos_repo_slug_vcs_commits_id_diff","tags":["organizations"],"parameters":[{"name":"org_slug","in":"path","required":true,"schema":{"type":"string"}},{"name":"repo_slug","in":"path","required":true,"schema":{"type":"string"}},{"name":"id","in":"path","required":true,"schema":{"type":"string"}},{"name":"id","in":"path","required":true,"schema":{"type":"string"}},{"name":"parent","in":"query","description":"Override the base commit (defaults to the commit's first parent)","schema":{"type":"string"}},{"name":"parent","in":"query","required":false,"schema":{"type":"string"}}],"responses":{"200":{"description":"One commit and its file diff","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"$ref":"#/components/schemas/VcsCommitDiffResponse"}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not found"},"422":{"description":"Unprocessable entity"},"502":{"description":"Bad gateway"}},"security":[{"bearerAuth":[]}],"summary":"File/hunk diff for a single commit vs its first parent"}},"/api/v1/organizations/{org_slug}/repos/{repo_slug}/vcs/files":{"get":{"operationId":"api_v1_org_repo_vcs_files","tags":["organizations"],"parameters":[{"name":"org_slug","in":"path","required":true,"schema":{"type":"string"}},{"name":"repo_slug","in":"path","required":true,"schema":{"type":"string"}},{"name":"ref","in":"query","required":true,"schema":{"type":"string"}},{"name":"prefix","in":"query","schema":{"type":"string","default":""}},{"name":"ref","in":"query","required":true,"schema":{"type":"string"}},{"name":"prefix","in":"query","required":false,"schema":{"type":"string"}}],"responses":{"200":{"description":"Flat repository file index","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"$ref":"#/components/schemas/VcsFilesResponse"}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not found"},"422":{"description":"Unprocessable entity"},"502":{"description":"Bad gateway"}},"security":[{"bearerAuth":[]}],"summary":"Recursive flat list of file paths (fuzzy finder)"}},"/api/v1/organizations/{org_slug}/repos/{repo_slug}/vcs/merge":{"post":{"operationId":"api_v1_org_repo_vcs_merge","tags":["organizations"],"parameters":[{"name":"org_slug","in":"path","required":true,"schema":{"type":"string"}},{"name":"repo_slug","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Bookmark merge result","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"$ref":"#/components/schemas/VcsMergeResponse"}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not found"},"422":{"description":"Unprocessable entity"},"502":{"description":"Bad gateway"}},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"$ref":"#/components/schemas/VcsMergePayload"}}}},"security":[{"bearerAuth":[]}]}},"/api/v1/organizations/{org_slug}/repos/{repo_slug}/vcs/merge_queues/{target}":{"get":{"operationId":"get_api_v1_organizations_org_slug_repos_repo_slug_vcs_merge_queues_target_","tags":["organizations"],"parameters":[{"name":"org_slug","in":"path","required":true,"schema":{"type":"string"}},{"name":"repo_slug","in":"path","required":true,"schema":{"type":"string"}},{"name":"target","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Merge queue snapshot","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"required":["queue","policy"],"properties":{"queue":{"type":"object","required":["id","target_branch","state","state_version","merge_authority","merge_authority_version","merge_policy_version","validation_mode","concurrency","entries","entry_count_label","recent_events","capabilities"],"properties":{"id":{"type":"string","nullable":true},"target_branch":{"type":"string"},"state":{"type":"string","enum":["active","paused"]},"state_version":{"type":"integer","minimum":1},"merge_authority":{"type":"string","enum":["vex_primary","github_primary"]},"merge_authority_version":{"type":"integer","minimum":1},"merge_policy_version":{"type":"integer","minimum":1},"validation_mode":{"type":"string","enum":["top_only","per_pr"]},"concurrency":{"type":"integer","minimum":1,"maximum":20},"capabilities":{"type":"object","required":["can_enqueue","can_pause","can_resume","can_promote","can_retry","can_merge"],"properties":{"can_enqueue":{"type":"boolean"},"can_pause":{"type":"boolean"},"can_resume":{"type":"boolean"},"can_promote":{"type":"boolean"},"can_retry":{"type":"boolean"},"can_merge":{"type":"boolean"}}},"entries":{"type":"array","items":{"type":"object","required":["id","kind","state","position","speculation","eta","checks_status","version","merge_when_ready","recovery_count","processing_checkpoint","started_at","completed_at","capabilities","members"],"properties":{"id":{"type":"string"},"kind":{"type":"string","enum":["stack","github_pr"]},"state":{"type":"string","enum":["queued","validating","ready","merging","merged","ejected","cancelled","needs_attention"]},"position":{"type":"integer","minimum":1},"stack_id":{"type":"string","nullable":true},"stack_reference":{"type":"string","nullable":true},"github_pr_number":{"type":"integer","nullable":true},"selected_count":{"type":"integer","nullable":true},"selected_count_label":{"type":"string","nullable":true},"stack_generation":{"type":"integer","nullable":true},"candidate_ref":{"type":"string","nullable":true},"candidate_sha":{"type":"string","nullable":true},"speculation":{"type":"object","nullable":true,"required":["kind","target_sha","base_ref","base_sha","candidate_ref","candidate_sha","prefix_fingerprint","build_duration_ms","ahead_count","cleanup_status"],"properties":{"kind":{"type":"string","enum":["exact_target","predicted_trunk"]},"target_sha":{"type":"string"},"base_ref":{"type":"string","nullable":true},"base_sha":{"type":"string"},"candidate_ref":{"type":"string"},"candidate_sha":{"type":"string"},"prefix_fingerprint":{"type":"string"},"build_duration_ms":{"type":"integer","minimum":0,"nullable":true},"ahead_count":{"type":"integer","minimum":0},"cleanup_status":{"type":"string","enum":["pending","cleaned","failed","not_required"]}}},"eta":{"type":"object","required":["status","reason"],"properties":{"status":{"type":"string","enum":["available","unavailable"]},"reason":{"type":"string"}}},"checks_status":{"type":"string","enum":["pending","passing","failing","stale","missing"]},"ejection_reason":{"type":"string","nullable":true},"error_message":{"type":"string","nullable":true},"version":{"type":"integer","minimum":1},"merge_when_ready":{"type":"boolean"},"recovery_count":{"type":"integer","minimum":0},"processing_checkpoint":{"type":"string","nullable":true},"started_at":{"type":"string","format":"date-time","nullable":true},"started_at_label":{"type":"string","nullable":true},"completed_at":{"type":"string","format":"date-time","nullable":true},"completed_at_label":{"type":"string","nullable":true},"capabilities":{"type":"object","required":["can_cancel","can_promote","can_retry","can_merge"],"properties":{"can_cancel":{"type":"boolean"},"can_promote":{"type":"boolean"},"can_retry":{"type":"boolean"},"can_merge":{"type":"boolean"}}},"members":{"type":"array","items":{"type":"object","required":["id","position","state"],"additionalProperties":true,"properties":{"id":{"type":"string"},"position":{"type":"integer","minimum":1},"review_id":{"type":"string","nullable":true},"change_key":{"type":"string","nullable":true},"title":{"type":"string","nullable":true},"github_pr_number":{"type":"integer","nullable":true},"state":{"type":"string"},"head_sha":{"type":"string","nullable":true},"checks_status":{"type":"string","nullable":true},"github_merge_commit_sha":{"type":"string","nullable":true},"error_message":{"type":"string","nullable":true}}}},"created_at":{"type":"string","format":"date-time","nullable":true},"updated_at":{"type":"string","format":"date-time","nullable":true}}}},"entry_count_label":{"type":"string"},"recent_events":{"type":"array","description":"Newest-first durable queue audit events, limited to 50 records.","maxItems":50,"items":{"type":"object","required":["id","action","entry_id","entry_state","entry_version","created_at"],"properties":{"id":{"type":"string"},"action":{"type":"string"},"entry_id":{"type":"string","nullable":true},"entry_state":{"type":"string","nullable":true},"entry_version":{"type":"integer","nullable":true},"created_at":{"type":"string","format":"date-time","nullable":true}}}},"last_ticked_at":{"type":"string","format":"date-time","nullable":true},"last_error":{"type":"string","nullable":true},"created_at":{"type":"string","format":"date-time","nullable":true},"updated_at":{"type":"string","format":"date-time","nullable":true}}},"policy":{"type":"object","required":["virtual_repository_id","merge_authority","merge_authority_version","merge_policy_version","queue_validation_mode","queue_concurrency","auto_land_enabled","github_primary_eligible","switch_blockers"],"properties":{"virtual_repository_id":{"type":"string","nullable":true},"merge_authority":{"type":"string","enum":["vex_primary","github_primary"]},"merge_authority_version":{"type":"integer","minimum":1},"merge_policy_version":{"type":"integer","minimum":1},"queue_validation_mode":{"type":"string","enum":["top_only","per_pr"]},"queue_concurrency":{"type":"integer","minimum":1,"maximum":20},"queue_concurrency_label":{"type":"string"},"auto_land_enabled":{"type":"boolean"},"github_primary_eligible":{"type":"boolean"},"switch_blockers":{"type":"array","items":{"type":"string"}}}}}}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not found"},"422":{"description":"Unprocessable entity"},"502":{"description":"Bad gateway"},"503":{"description":"Merge queue rollout flag is disabled"}},"security":[{"bearerAuth":[]}],"summary":"Read a target branch merge queue","description":"Returns ordered stack and plain-PR entries with the current authority policy. Before the first mutation, the queue is an empty read-only snapshot and its id is null."}},"/api/v1/organizations/{org_slug}/repos/{repo_slug}/vcs/merge_queues/{target}/entries":{"post":{"operationId":"post_api_v1_organizations_org_slug_repos_repo_slug_vcs_merge_queues_target_entries","tags":["organizations"],"parameters":[{"name":"org_slug","in":"path","required":true,"schema":{"type":"string"}},{"name":"repo_slug","in":"path","required":true,"schema":{"type":"string"}},{"name":"target","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Queue snapshot after idempotent enqueue","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"required":["queue","policy"],"properties":{"queue":{"type":"object","required":["id","target_branch","state","state_version","merge_authority","merge_authority_version","merge_policy_version","validation_mode","concurrency","entries","entry_count_label","recent_events","capabilities"],"properties":{"id":{"type":"string","nullable":true},"target_branch":{"type":"string"},"state":{"type":"string","enum":["active","paused"]},"state_version":{"type":"integer","minimum":1},"merge_authority":{"type":"string","enum":["vex_primary","github_primary"]},"merge_authority_version":{"type":"integer","minimum":1},"merge_policy_version":{"type":"integer","minimum":1},"validation_mode":{"type":"string","enum":["top_only","per_pr"]},"concurrency":{"type":"integer","minimum":1,"maximum":20},"capabilities":{"type":"object","required":["can_enqueue","can_pause","can_resume","can_promote","can_retry","can_merge"],"properties":{"can_enqueue":{"type":"boolean"},"can_pause":{"type":"boolean"},"can_resume":{"type":"boolean"},"can_promote":{"type":"boolean"},"can_retry":{"type":"boolean"},"can_merge":{"type":"boolean"}}},"entries":{"type":"array","items":{"type":"object","required":["id","kind","state","position","speculation","eta","checks_status","version","merge_when_ready","recovery_count","processing_checkpoint","started_at","completed_at","capabilities","members"],"properties":{"id":{"type":"string"},"kind":{"type":"string","enum":["stack","github_pr"]},"state":{"type":"string","enum":["queued","validating","ready","merging","merged","ejected","cancelled","needs_attention"]},"position":{"type":"integer","minimum":1},"stack_id":{"type":"string","nullable":true},"stack_reference":{"type":"string","nullable":true},"github_pr_number":{"type":"integer","nullable":true},"selected_count":{"type":"integer","nullable":true},"selected_count_label":{"type":"string","nullable":true},"stack_generation":{"type":"integer","nullable":true},"candidate_ref":{"type":"string","nullable":true},"candidate_sha":{"type":"string","nullable":true},"speculation":{"type":"object","nullable":true,"required":["kind","target_sha","base_ref","base_sha","candidate_ref","candidate_sha","prefix_fingerprint","build_duration_ms","ahead_count","cleanup_status"],"properties":{"kind":{"type":"string","enum":["exact_target","predicted_trunk"]},"target_sha":{"type":"string"},"base_ref":{"type":"string","nullable":true},"base_sha":{"type":"string"},"candidate_ref":{"type":"string"},"candidate_sha":{"type":"string"},"prefix_fingerprint":{"type":"string"},"build_duration_ms":{"type":"integer","minimum":0,"nullable":true},"ahead_count":{"type":"integer","minimum":0},"cleanup_status":{"type":"string","enum":["pending","cleaned","failed","not_required"]}}},"eta":{"type":"object","required":["status","reason"],"properties":{"status":{"type":"string","enum":["available","unavailable"]},"reason":{"type":"string"}}},"checks_status":{"type":"string","enum":["pending","passing","failing","stale","missing"]},"ejection_reason":{"type":"string","nullable":true},"error_message":{"type":"string","nullable":true},"version":{"type":"integer","minimum":1},"merge_when_ready":{"type":"boolean"},"recovery_count":{"type":"integer","minimum":0},"processing_checkpoint":{"type":"string","nullable":true},"started_at":{"type":"string","format":"date-time","nullable":true},"started_at_label":{"type":"string","nullable":true},"completed_at":{"type":"string","format":"date-time","nullable":true},"completed_at_label":{"type":"string","nullable":true},"capabilities":{"type":"object","required":["can_cancel","can_promote","can_retry","can_merge"],"properties":{"can_cancel":{"type":"boolean"},"can_promote":{"type":"boolean"},"can_retry":{"type":"boolean"},"can_merge":{"type":"boolean"}}},"members":{"type":"array","items":{"type":"object","required":["id","position","state"],"additionalProperties":true,"properties":{"id":{"type":"string"},"position":{"type":"integer","minimum":1},"review_id":{"type":"string","nullable":true},"change_key":{"type":"string","nullable":true},"title":{"type":"string","nullable":true},"github_pr_number":{"type":"integer","nullable":true},"state":{"type":"string"},"head_sha":{"type":"string","nullable":true},"checks_status":{"type":"string","nullable":true},"github_merge_commit_sha":{"type":"string","nullable":true},"error_message":{"type":"string","nullable":true}}}},"created_at":{"type":"string","format":"date-time","nullable":true},"updated_at":{"type":"string","format":"date-time","nullable":true}}}},"entry_count_label":{"type":"string"},"recent_events":{"type":"array","description":"Newest-first durable queue audit events, limited to 50 records.","maxItems":50,"items":{"type":"object","required":["id","action","entry_id","entry_state","entry_version","created_at"],"properties":{"id":{"type":"string"},"action":{"type":"string"},"entry_id":{"type":"string","nullable":true},"entry_state":{"type":"string","nullable":true},"entry_version":{"type":"integer","nullable":true},"created_at":{"type":"string","format":"date-time","nullable":true}}}},"last_ticked_at":{"type":"string","format":"date-time","nullable":true},"last_error":{"type":"string","nullable":true},"created_at":{"type":"string","format":"date-time","nullable":true},"updated_at":{"type":"string","format":"date-time","nullable":true}}},"policy":{"type":"object","required":["virtual_repository_id","merge_authority","merge_authority_version","merge_policy_version","queue_validation_mode","queue_concurrency","auto_land_enabled","github_primary_eligible","switch_blockers"],"properties":{"virtual_repository_id":{"type":"string","nullable":true},"merge_authority":{"type":"string","enum":["vex_primary","github_primary"]},"merge_authority_version":{"type":"integer","minimum":1},"merge_policy_version":{"type":"integer","minimum":1},"queue_validation_mode":{"type":"string","enum":["top_only","per_pr"]},"queue_concurrency":{"type":"integer","minimum":1,"maximum":20},"queue_concurrency_label":{"type":"string"},"auto_land_enabled":{"type":"boolean"},"github_primary_eligible":{"type":"boolean"},"switch_blockers":{"type":"array","items":{"type":"string"}}}}}}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not found"},"422":{"description":"The entry is not eligible for this queue"},"502":{"description":"Bad gateway"},"201":{"description":"Queue snapshot after idempotent enqueue","content":{"application/json":{"schema":{"type":"object","required":["queue","policy"],"properties":{"queue":{"type":"object","required":["id","target_branch","state","state_version","merge_authority","merge_authority_version","merge_policy_version","validation_mode","concurrency","entries","entry_count_label","recent_events","capabilities"],"properties":{"id":{"type":"string","nullable":true},"target_branch":{"type":"string"},"state":{"type":"string","enum":["active","paused"]},"state_version":{"type":"integer","minimum":1},"merge_authority":{"type":"string","enum":["vex_primary","github_primary"]},"merge_authority_version":{"type":"integer","minimum":1},"merge_policy_version":{"type":"integer","minimum":1},"validation_mode":{"type":"string","enum":["top_only","per_pr"]},"concurrency":{"type":"integer","minimum":1,"maximum":20},"capabilities":{"type":"object","required":["can_enqueue","can_pause","can_resume","can_promote","can_retry","can_merge"],"properties":{"can_enqueue":{"type":"boolean"},"can_pause":{"type":"boolean"},"can_resume":{"type":"boolean"},"can_promote":{"type":"boolean"},"can_retry":{"type":"boolean"},"can_merge":{"type":"boolean"}}},"entries":{"type":"array","items":{"type":"object","required":["id","kind","state","position","speculation","eta","checks_status","version","merge_when_ready","recovery_count","processing_checkpoint","started_at","completed_at","capabilities","members"],"properties":{"id":{"type":"string"},"kind":{"type":"string","enum":["stack","github_pr"]},"state":{"type":"string","enum":["queued","validating","ready","merging","merged","ejected","cancelled","needs_attention"]},"position":{"type":"integer","minimum":1},"stack_id":{"type":"string","nullable":true},"stack_reference":{"type":"string","nullable":true},"github_pr_number":{"type":"integer","nullable":true},"selected_count":{"type":"integer","nullable":true},"selected_count_label":{"type":"string","nullable":true},"stack_generation":{"type":"integer","nullable":true},"candidate_ref":{"type":"string","nullable":true},"candidate_sha":{"type":"string","nullable":true},"speculation":{"type":"object","nullable":true,"required":["kind","target_sha","base_ref","base_sha","candidate_ref","candidate_sha","prefix_fingerprint","build_duration_ms","ahead_count","cleanup_status"],"properties":{"kind":{"type":"string","enum":["exact_target","predicted_trunk"]},"target_sha":{"type":"string"},"base_ref":{"type":"string","nullable":true},"base_sha":{"type":"string"},"candidate_ref":{"type":"string"},"candidate_sha":{"type":"string"},"prefix_fingerprint":{"type":"string"},"build_duration_ms":{"type":"integer","minimum":0,"nullable":true},"ahead_count":{"type":"integer","minimum":0},"cleanup_status":{"type":"string","enum":["pending","cleaned","failed","not_required"]}}},"eta":{"type":"object","required":["status","reason"],"properties":{"status":{"type":"string","enum":["available","unavailable"]},"reason":{"type":"string"}}},"checks_status":{"type":"string","enum":["pending","passing","failing","stale","missing"]},"ejection_reason":{"type":"string","nullable":true},"error_message":{"type":"string","nullable":true},"version":{"type":"integer","minimum":1},"merge_when_ready":{"type":"boolean"},"recovery_count":{"type":"integer","minimum":0},"processing_checkpoint":{"type":"string","nullable":true},"started_at":{"type":"string","format":"date-time","nullable":true},"started_at_label":{"type":"string","nullable":true},"completed_at":{"type":"string","format":"date-time","nullable":true},"completed_at_label":{"type":"string","nullable":true},"capabilities":{"type":"object","required":["can_cancel","can_promote","can_retry","can_merge"],"properties":{"can_cancel":{"type":"boolean"},"can_promote":{"type":"boolean"},"can_retry":{"type":"boolean"},"can_merge":{"type":"boolean"}}},"members":{"type":"array","items":{"type":"object","required":["id","position","state"],"additionalProperties":true,"properties":{"id":{"type":"string"},"position":{"type":"integer","minimum":1},"review_id":{"type":"string","nullable":true},"change_key":{"type":"string","nullable":true},"title":{"type":"string","nullable":true},"github_pr_number":{"type":"integer","nullable":true},"state":{"type":"string"},"head_sha":{"type":"string","nullable":true},"checks_status":{"type":"string","nullable":true},"github_merge_commit_sha":{"type":"string","nullable":true},"error_message":{"type":"string","nullable":true}}}},"created_at":{"type":"string","format":"date-time","nullable":true},"updated_at":{"type":"string","format":"date-time","nullable":true}}}},"entry_count_label":{"type":"string"},"recent_events":{"type":"array","description":"Newest-first durable queue audit events, limited to 50 records.","maxItems":50,"items":{"type":"object","required":["id","action","entry_id","entry_state","entry_version","created_at"],"properties":{"id":{"type":"string"},"action":{"type":"string"},"entry_id":{"type":"string","nullable":true},"entry_state":{"type":"string","nullable":true},"entry_version":{"type":"integer","nullable":true},"created_at":{"type":"string","format":"date-time","nullable":true}}}},"last_ticked_at":{"type":"string","format":"date-time","nullable":true},"last_error":{"type":"string","nullable":true},"created_at":{"type":"string","format":"date-time","nullable":true},"updated_at":{"type":"string","format":"date-time","nullable":true}}},"policy":{"type":"object","required":["virtual_repository_id","merge_authority","merge_authority_version","merge_policy_version","queue_validation_mode","queue_concurrency","auto_land_enabled","github_primary_eligible","switch_blockers"],"properties":{"virtual_repository_id":{"type":"string","nullable":true},"merge_authority":{"type":"string","enum":["vex_primary","github_primary"]},"merge_authority_version":{"type":"integer","minimum":1},"merge_policy_version":{"type":"integer","minimum":1},"queue_validation_mode":{"type":"string","enum":["top_only","per_pr"]},"queue_concurrency":{"type":"integer","minimum":1,"maximum":20},"queue_concurrency_label":{"type":"string"},"auto_land_enabled":{"type":"boolean"},"github_primary_eligible":{"type":"boolean"},"switch_blockers":{"type":"array","items":{"type":"string"}}}}}}}}},"409":{"description":"The queue or authority version changed"},"503":{"description":"Merge queue rollout flag is disabled"}},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"required":["kind","idempotency_key","expected_version"],"properties":{"kind":{"type":"string","enum":["stack","github_pr"]},"stack_id":{"type":"string","nullable":true},"github_pr_number":{"type":"integer","minimum":1,"nullable":true},"count":{"type":"integer","minimum":1,"nullable":true},"idempotency_key":{"type":"string"},"expected_version":{"type":"integer","minimum":1},"expected_target_commit_id":{"type":"string","nullable":true},"expected_target_version":{"type":"integer","nullable":true},"when_ready":{"type":"boolean","nullable":true}}}}}},"security":[{"bearerAuth":[]}],"summary":"Enqueue a Vex stack or plain GitHub pull request","description":"Whole-stack enqueue is atomic. Plain GitHub pull requests are accepted only under GitHub-primary authority."}},"/api/v1/organizations/{org_slug}/repos/{repo_slug}/vcs/merge_queues/{target}/entries/{id}":{"delete":{"operationId":"delete_api_v1_organizations_org_slug_repos_repo_slug_vcs_merge_queues_target_entries_id_","tags":["organizations"],"parameters":[{"name":"org_slug","in":"path","required":true,"schema":{"type":"string"}},{"name":"repo_slug","in":"path","required":true,"schema":{"type":"string"}},{"name":"target","in":"path","required":true,"schema":{"type":"string"}},{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Updated queue snapshot","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"required":["queue","policy"],"properties":{"queue":{"type":"object","required":["id","target_branch","state","state_version","merge_authority","merge_authority_version","merge_policy_version","validation_mode","concurrency","entries","entry_count_label","recent_events","capabilities"],"properties":{"id":{"type":"string","nullable":true},"target_branch":{"type":"string"},"state":{"type":"string","enum":["active","paused"]},"state_version":{"type":"integer","minimum":1},"merge_authority":{"type":"string","enum":["vex_primary","github_primary"]},"merge_authority_version":{"type":"integer","minimum":1},"merge_policy_version":{"type":"integer","minimum":1},"validation_mode":{"type":"string","enum":["top_only","per_pr"]},"concurrency":{"type":"integer","minimum":1,"maximum":20},"capabilities":{"type":"object","required":["can_enqueue","can_pause","can_resume","can_promote","can_retry","can_merge"],"properties":{"can_enqueue":{"type":"boolean"},"can_pause":{"type":"boolean"},"can_resume":{"type":"boolean"},"can_promote":{"type":"boolean"},"can_retry":{"type":"boolean"},"can_merge":{"type":"boolean"}}},"entries":{"type":"array","items":{"type":"object","required":["id","kind","state","position","speculation","eta","checks_status","version","merge_when_ready","recovery_count","processing_checkpoint","started_at","completed_at","capabilities","members"],"properties":{"id":{"type":"string"},"kind":{"type":"string","enum":["stack","github_pr"]},"state":{"type":"string","enum":["queued","validating","ready","merging","merged","ejected","cancelled","needs_attention"]},"position":{"type":"integer","minimum":1},"stack_id":{"type":"string","nullable":true},"stack_reference":{"type":"string","nullable":true},"github_pr_number":{"type":"integer","nullable":true},"selected_count":{"type":"integer","nullable":true},"selected_count_label":{"type":"string","nullable":true},"stack_generation":{"type":"integer","nullable":true},"candidate_ref":{"type":"string","nullable":true},"candidate_sha":{"type":"string","nullable":true},"speculation":{"type":"object","nullable":true,"required":["kind","target_sha","base_ref","base_sha","candidate_ref","candidate_sha","prefix_fingerprint","build_duration_ms","ahead_count","cleanup_status"],"properties":{"kind":{"type":"string","enum":["exact_target","predicted_trunk"]},"target_sha":{"type":"string"},"base_ref":{"type":"string","nullable":true},"base_sha":{"type":"string"},"candidate_ref":{"type":"string"},"candidate_sha":{"type":"string"},"prefix_fingerprint":{"type":"string"},"build_duration_ms":{"type":"integer","minimum":0,"nullable":true},"ahead_count":{"type":"integer","minimum":0},"cleanup_status":{"type":"string","enum":["pending","cleaned","failed","not_required"]}}},"eta":{"type":"object","required":["status","reason"],"properties":{"status":{"type":"string","enum":["available","unavailable"]},"reason":{"type":"string"}}},"checks_status":{"type":"string","enum":["pending","passing","failing","stale","missing"]},"ejection_reason":{"type":"string","nullable":true},"error_message":{"type":"string","nullable":true},"version":{"type":"integer","minimum":1},"merge_when_ready":{"type":"boolean"},"recovery_count":{"type":"integer","minimum":0},"processing_checkpoint":{"type":"string","nullable":true},"started_at":{"type":"string","format":"date-time","nullable":true},"started_at_label":{"type":"string","nullable":true},"completed_at":{"type":"string","format":"date-time","nullable":true},"completed_at_label":{"type":"string","nullable":true},"capabilities":{"type":"object","required":["can_cancel","can_promote","can_retry","can_merge"],"properties":{"can_cancel":{"type":"boolean"},"can_promote":{"type":"boolean"},"can_retry":{"type":"boolean"},"can_merge":{"type":"boolean"}}},"members":{"type":"array","items":{"type":"object","required":["id","position","state"],"additionalProperties":true,"properties":{"id":{"type":"string"},"position":{"type":"integer","minimum":1},"review_id":{"type":"string","nullable":true},"change_key":{"type":"string","nullable":true},"title":{"type":"string","nullable":true},"github_pr_number":{"type":"integer","nullable":true},"state":{"type":"string"},"head_sha":{"type":"string","nullable":true},"checks_status":{"type":"string","nullable":true},"github_merge_commit_sha":{"type":"string","nullable":true},"error_message":{"type":"string","nullable":true}}}},"created_at":{"type":"string","format":"date-time","nullable":true},"updated_at":{"type":"string","format":"date-time","nullable":true}}}},"entry_count_label":{"type":"string"},"recent_events":{"type":"array","description":"Newest-first durable queue audit events, limited to 50 records.","maxItems":50,"items":{"type":"object","required":["id","action","entry_id","entry_state","entry_version","created_at"],"properties":{"id":{"type":"string"},"action":{"type":"string"},"entry_id":{"type":"string","nullable":true},"entry_state":{"type":"string","nullable":true},"entry_version":{"type":"integer","nullable":true},"created_at":{"type":"string","format":"date-time","nullable":true}}}},"last_ticked_at":{"type":"string","format":"date-time","nullable":true},"last_error":{"type":"string","nullable":true},"created_at":{"type":"string","format":"date-time","nullable":true},"updated_at":{"type":"string","format":"date-time","nullable":true}}},"policy":{"type":"object","required":["virtual_repository_id","merge_authority","merge_authority_version","merge_policy_version","queue_validation_mode","queue_concurrency","auto_land_enabled","github_primary_eligible","switch_blockers"],"properties":{"virtual_repository_id":{"type":"string","nullable":true},"merge_authority":{"type":"string","enum":["vex_primary","github_primary"]},"merge_authority_version":{"type":"integer","minimum":1},"merge_policy_version":{"type":"integer","minimum":1},"queue_validation_mode":{"type":"string","enum":["top_only","per_pr"]},"queue_concurrency":{"type":"integer","minimum":1,"maximum":20},"queue_concurrency_label":{"type":"string"},"auto_land_enabled":{"type":"boolean"},"github_primary_eligible":{"type":"boolean"},"switch_blockers":{"type":"array","items":{"type":"string"}}}}}}}}},"401":{"description":"Unauthorized"},"403":{"description":"The actor is not allowed to perform this queue mutation"},"404":{"description":"Not found"},"422":{"description":"The requested state transition is invalid"},"502":{"description":"Bad gateway"},"409":{"description":"The queue entry version changed"},"503":{"description":"Merge queue rollout flag is disabled"}},"security":[{"bearerAuth":[]}],"summary":"Cancel an active merge-queue entry","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["expected_version"],"properties":{"expected_version":{"type":"integer","minimum":1}}}}}}}},"/api/v1/organizations/{org_slug}/repos/{repo_slug}/vcs/merge_queues/{target}/entries/{id}/merge":{"post":{"operationId":"post_api_v1_organizations_org_slug_repos_repo_slug_vcs_merge_queues_target_entries_id_merge","tags":["organizations"],"parameters":[{"name":"org_slug","in":"path","required":true,"schema":{"type":"string"}},{"name":"repo_slug","in":"path","required":true,"schema":{"type":"string"}},{"name":"target","in":"path","required":true,"schema":{"type":"string"}},{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Updated queue snapshot","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"required":["queue","policy"],"properties":{"queue":{"type":"object","required":["id","target_branch","state","state_version","merge_authority","merge_authority_version","merge_policy_version","validation_mode","concurrency","entries","entry_count_label","recent_events","capabilities"],"properties":{"id":{"type":"string","nullable":true},"target_branch":{"type":"string"},"state":{"type":"string","enum":["active","paused"]},"state_version":{"type":"integer","minimum":1},"merge_authority":{"type":"string","enum":["vex_primary","github_primary"]},"merge_authority_version":{"type":"integer","minimum":1},"merge_policy_version":{"type":"integer","minimum":1},"validation_mode":{"type":"string","enum":["top_only","per_pr"]},"concurrency":{"type":"integer","minimum":1,"maximum":20},"capabilities":{"type":"object","required":["can_enqueue","can_pause","can_resume","can_promote","can_retry","can_merge"],"properties":{"can_enqueue":{"type":"boolean"},"can_pause":{"type":"boolean"},"can_resume":{"type":"boolean"},"can_promote":{"type":"boolean"},"can_retry":{"type":"boolean"},"can_merge":{"type":"boolean"}}},"entries":{"type":"array","items":{"type":"object","required":["id","kind","state","position","speculation","eta","checks_status","version","merge_when_ready","recovery_count","processing_checkpoint","started_at","completed_at","capabilities","members"],"properties":{"id":{"type":"string"},"kind":{"type":"string","enum":["stack","github_pr"]},"state":{"type":"string","enum":["queued","validating","ready","merging","merged","ejected","cancelled","needs_attention"]},"position":{"type":"integer","minimum":1},"stack_id":{"type":"string","nullable":true},"stack_reference":{"type":"string","nullable":true},"github_pr_number":{"type":"integer","nullable":true},"selected_count":{"type":"integer","nullable":true},"selected_count_label":{"type":"string","nullable":true},"stack_generation":{"type":"integer","nullable":true},"candidate_ref":{"type":"string","nullable":true},"candidate_sha":{"type":"string","nullable":true},"speculation":{"type":"object","nullable":true,"required":["kind","target_sha","base_ref","base_sha","candidate_ref","candidate_sha","prefix_fingerprint","build_duration_ms","ahead_count","cleanup_status"],"properties":{"kind":{"type":"string","enum":["exact_target","predicted_trunk"]},"target_sha":{"type":"string"},"base_ref":{"type":"string","nullable":true},"base_sha":{"type":"string"},"candidate_ref":{"type":"string"},"candidate_sha":{"type":"string"},"prefix_fingerprint":{"type":"string"},"build_duration_ms":{"type":"integer","minimum":0,"nullable":true},"ahead_count":{"type":"integer","minimum":0},"cleanup_status":{"type":"string","enum":["pending","cleaned","failed","not_required"]}}},"eta":{"type":"object","required":["status","reason"],"properties":{"status":{"type":"string","enum":["available","unavailable"]},"reason":{"type":"string"}}},"checks_status":{"type":"string","enum":["pending","passing","failing","stale","missing"]},"ejection_reason":{"type":"string","nullable":true},"error_message":{"type":"string","nullable":true},"version":{"type":"integer","minimum":1},"merge_when_ready":{"type":"boolean"},"recovery_count":{"type":"integer","minimum":0},"processing_checkpoint":{"type":"string","nullable":true},"started_at":{"type":"string","format":"date-time","nullable":true},"started_at_label":{"type":"string","nullable":true},"completed_at":{"type":"string","format":"date-time","nullable":true},"completed_at_label":{"type":"string","nullable":true},"capabilities":{"type":"object","required":["can_cancel","can_promote","can_retry","can_merge"],"properties":{"can_cancel":{"type":"boolean"},"can_promote":{"type":"boolean"},"can_retry":{"type":"boolean"},"can_merge":{"type":"boolean"}}},"members":{"type":"array","items":{"type":"object","required":["id","position","state"],"additionalProperties":true,"properties":{"id":{"type":"string"},"position":{"type":"integer","minimum":1},"review_id":{"type":"string","nullable":true},"change_key":{"type":"string","nullable":true},"title":{"type":"string","nullable":true},"github_pr_number":{"type":"integer","nullable":true},"state":{"type":"string"},"head_sha":{"type":"string","nullable":true},"checks_status":{"type":"string","nullable":true},"github_merge_commit_sha":{"type":"string","nullable":true},"error_message":{"type":"string","nullable":true}}}},"created_at":{"type":"string","format":"date-time","nullable":true},"updated_at":{"type":"string","format":"date-time","nullable":true}}}},"entry_count_label":{"type":"string"},"recent_events":{"type":"array","description":"Newest-first durable queue audit events, limited to 50 records.","maxItems":50,"items":{"type":"object","required":["id","action","entry_id","entry_state","entry_version","created_at"],"properties":{"id":{"type":"string"},"action":{"type":"string"},"entry_id":{"type":"string","nullable":true},"entry_state":{"type":"string","nullable":true},"entry_version":{"type":"integer","nullable":true},"created_at":{"type":"string","format":"date-time","nullable":true}}}},"last_ticked_at":{"type":"string","format":"date-time","nullable":true},"last_error":{"type":"string","nullable":true},"created_at":{"type":"string","format":"date-time","nullable":true},"updated_at":{"type":"string","format":"date-time","nullable":true}}},"policy":{"type":"object","required":["virtual_repository_id","merge_authority","merge_authority_version","merge_policy_version","queue_validation_mode","queue_concurrency","auto_land_enabled","github_primary_eligible","switch_blockers"],"properties":{"virtual_repository_id":{"type":"string","nullable":true},"merge_authority":{"type":"string","enum":["vex_primary","github_primary"]},"merge_authority_version":{"type":"integer","minimum":1},"merge_policy_version":{"type":"integer","minimum":1},"queue_validation_mode":{"type":"string","enum":["top_only","per_pr"]},"queue_concurrency":{"type":"integer","minimum":1,"maximum":20},"queue_concurrency_label":{"type":"string"},"auto_land_enabled":{"type":"boolean"},"github_primary_eligible":{"type":"boolean"},"switch_blockers":{"type":"array","items":{"type":"string"}}}}}}}}},"401":{"description":"Unauthorized"},"403":{"description":"The actor is not allowed to perform this queue mutation"},"404":{"description":"Not found"},"422":{"description":"The requested state transition is invalid"},"502":{"description":"Bad gateway"},"409":{"description":"The queue entry version changed"},"503":{"description":"Merge queue rollout flag is disabled"}},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"required":["expected_version"],"properties":{"expected_version":{"type":"integer","minimum":1}}}}}},"security":[{"bearerAuth":[]}],"summary":"Merge the ready entry at the front of the queue"}},"/api/v1/organizations/{org_slug}/repos/{repo_slug}/vcs/merge_queues/{target}/entries/{id}/promote":{"post":{"operationId":"post_api_v1_organizations_org_slug_repos_repo_slug_vcs_merge_queues_target_entries_id_promote","tags":["organizations"],"parameters":[{"name":"org_slug","in":"path","required":true,"schema":{"type":"string"}},{"name":"repo_slug","in":"path","required":true,"schema":{"type":"string"}},{"name":"target","in":"path","required":true,"schema":{"type":"string"}},{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Updated queue snapshot","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"required":["queue","policy"],"properties":{"queue":{"type":"object","required":["id","target_branch","state","state_version","merge_authority","merge_authority_version","merge_policy_version","validation_mode","concurrency","entries","entry_count_label","recent_events","capabilities"],"properties":{"id":{"type":"string","nullable":true},"target_branch":{"type":"string"},"state":{"type":"string","enum":["active","paused"]},"state_version":{"type":"integer","minimum":1},"merge_authority":{"type":"string","enum":["vex_primary","github_primary"]},"merge_authority_version":{"type":"integer","minimum":1},"merge_policy_version":{"type":"integer","minimum":1},"validation_mode":{"type":"string","enum":["top_only","per_pr"]},"concurrency":{"type":"integer","minimum":1,"maximum":20},"capabilities":{"type":"object","required":["can_enqueue","can_pause","can_resume","can_promote","can_retry","can_merge"],"properties":{"can_enqueue":{"type":"boolean"},"can_pause":{"type":"boolean"},"can_resume":{"type":"boolean"},"can_promote":{"type":"boolean"},"can_retry":{"type":"boolean"},"can_merge":{"type":"boolean"}}},"entries":{"type":"array","items":{"type":"object","required":["id","kind","state","position","speculation","eta","checks_status","version","merge_when_ready","recovery_count","processing_checkpoint","started_at","completed_at","capabilities","members"],"properties":{"id":{"type":"string"},"kind":{"type":"string","enum":["stack","github_pr"]},"state":{"type":"string","enum":["queued","validating","ready","merging","merged","ejected","cancelled","needs_attention"]},"position":{"type":"integer","minimum":1},"stack_id":{"type":"string","nullable":true},"stack_reference":{"type":"string","nullable":true},"github_pr_number":{"type":"integer","nullable":true},"selected_count":{"type":"integer","nullable":true},"selected_count_label":{"type":"string","nullable":true},"stack_generation":{"type":"integer","nullable":true},"candidate_ref":{"type":"string","nullable":true},"candidate_sha":{"type":"string","nullable":true},"speculation":{"type":"object","nullable":true,"required":["kind","target_sha","base_ref","base_sha","candidate_ref","candidate_sha","prefix_fingerprint","build_duration_ms","ahead_count","cleanup_status"],"properties":{"kind":{"type":"string","enum":["exact_target","predicted_trunk"]},"target_sha":{"type":"string"},"base_ref":{"type":"string","nullable":true},"base_sha":{"type":"string"},"candidate_ref":{"type":"string"},"candidate_sha":{"type":"string"},"prefix_fingerprint":{"type":"string"},"build_duration_ms":{"type":"integer","minimum":0,"nullable":true},"ahead_count":{"type":"integer","minimum":0},"cleanup_status":{"type":"string","enum":["pending","cleaned","failed","not_required"]}}},"eta":{"type":"object","required":["status","reason"],"properties":{"status":{"type":"string","enum":["available","unavailable"]},"reason":{"type":"string"}}},"checks_status":{"type":"string","enum":["pending","passing","failing","stale","missing"]},"ejection_reason":{"type":"string","nullable":true},"error_message":{"type":"string","nullable":true},"version":{"type":"integer","minimum":1},"merge_when_ready":{"type":"boolean"},"recovery_count":{"type":"integer","minimum":0},"processing_checkpoint":{"type":"string","nullable":true},"started_at":{"type":"string","format":"date-time","nullable":true},"started_at_label":{"type":"string","nullable":true},"completed_at":{"type":"string","format":"date-time","nullable":true},"completed_at_label":{"type":"string","nullable":true},"capabilities":{"type":"object","required":["can_cancel","can_promote","can_retry","can_merge"],"properties":{"can_cancel":{"type":"boolean"},"can_promote":{"type":"boolean"},"can_retry":{"type":"boolean"},"can_merge":{"type":"boolean"}}},"members":{"type":"array","items":{"type":"object","required":["id","position","state"],"additionalProperties":true,"properties":{"id":{"type":"string"},"position":{"type":"integer","minimum":1},"review_id":{"type":"string","nullable":true},"change_key":{"type":"string","nullable":true},"title":{"type":"string","nullable":true},"github_pr_number":{"type":"integer","nullable":true},"state":{"type":"string"},"head_sha":{"type":"string","nullable":true},"checks_status":{"type":"string","nullable":true},"github_merge_commit_sha":{"type":"string","nullable":true},"error_message":{"type":"string","nullable":true}}}},"created_at":{"type":"string","format":"date-time","nullable":true},"updated_at":{"type":"string","format":"date-time","nullable":true}}}},"entry_count_label":{"type":"string"},"recent_events":{"type":"array","description":"Newest-first durable queue audit events, limited to 50 records.","maxItems":50,"items":{"type":"object","required":["id","action","entry_id","entry_state","entry_version","created_at"],"properties":{"id":{"type":"string"},"action":{"type":"string"},"entry_id":{"type":"string","nullable":true},"entry_state":{"type":"string","nullable":true},"entry_version":{"type":"integer","nullable":true},"created_at":{"type":"string","format":"date-time","nullable":true}}}},"last_ticked_at":{"type":"string","format":"date-time","nullable":true},"last_error":{"type":"string","nullable":true},"created_at":{"type":"string","format":"date-time","nullable":true},"updated_at":{"type":"string","format":"date-time","nullable":true}}},"policy":{"type":"object","required":["virtual_repository_id","merge_authority","merge_authority_version","merge_policy_version","queue_validation_mode","queue_concurrency","auto_land_enabled","github_primary_eligible","switch_blockers"],"properties":{"virtual_repository_id":{"type":"string","nullable":true},"merge_authority":{"type":"string","enum":["vex_primary","github_primary"]},"merge_authority_version":{"type":"integer","minimum":1},"merge_policy_version":{"type":"integer","minimum":1},"queue_validation_mode":{"type":"string","enum":["top_only","per_pr"]},"queue_concurrency":{"type":"integer","minimum":1,"maximum":20},"queue_concurrency_label":{"type":"string"},"auto_land_enabled":{"type":"boolean"},"github_primary_eligible":{"type":"boolean"},"switch_blockers":{"type":"array","items":{"type":"string"}}}}}}}}},"401":{"description":"Unauthorized"},"403":{"description":"The actor is not allowed to perform this queue mutation"},"404":{"description":"Not found"},"422":{"description":"The requested state transition is invalid"},"502":{"description":"Bad gateway"},"409":{"description":"The queue entry version changed"},"503":{"description":"Merge queue rollout flag is disabled"}},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"required":["expected_version"],"properties":{"expected_version":{"type":"integer","minimum":1}}}}}},"security":[{"bearerAuth":[]}],"summary":"Promote an active entry to the front of the queue"}},"/api/v1/organizations/{org_slug}/repos/{repo_slug}/vcs/merge_queues/{target}/entries/{id}/retry":{"post":{"operationId":"post_api_v1_organizations_org_slug_repos_repo_slug_vcs_merge_queues_target_entries_id_retry","tags":["organizations"],"parameters":[{"name":"org_slug","in":"path","required":true,"schema":{"type":"string"}},{"name":"repo_slug","in":"path","required":true,"schema":{"type":"string"}},{"name":"target","in":"path","required":true,"schema":{"type":"string"}},{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Updated queue snapshot","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"required":["queue","policy"],"properties":{"queue":{"type":"object","required":["id","target_branch","state","state_version","merge_authority","merge_authority_version","merge_policy_version","validation_mode","concurrency","entries","entry_count_label","recent_events","capabilities"],"properties":{"id":{"type":"string","nullable":true},"target_branch":{"type":"string"},"state":{"type":"string","enum":["active","paused"]},"state_version":{"type":"integer","minimum":1},"merge_authority":{"type":"string","enum":["vex_primary","github_primary"]},"merge_authority_version":{"type":"integer","minimum":1},"merge_policy_version":{"type":"integer","minimum":1},"validation_mode":{"type":"string","enum":["top_only","per_pr"]},"concurrency":{"type":"integer","minimum":1,"maximum":20},"capabilities":{"type":"object","required":["can_enqueue","can_pause","can_resume","can_promote","can_retry","can_merge"],"properties":{"can_enqueue":{"type":"boolean"},"can_pause":{"type":"boolean"},"can_resume":{"type":"boolean"},"can_promote":{"type":"boolean"},"can_retry":{"type":"boolean"},"can_merge":{"type":"boolean"}}},"entries":{"type":"array","items":{"type":"object","required":["id","kind","state","position","speculation","eta","checks_status","version","merge_when_ready","recovery_count","processing_checkpoint","started_at","completed_at","capabilities","members"],"properties":{"id":{"type":"string"},"kind":{"type":"string","enum":["stack","github_pr"]},"state":{"type":"string","enum":["queued","validating","ready","merging","merged","ejected","cancelled","needs_attention"]},"position":{"type":"integer","minimum":1},"stack_id":{"type":"string","nullable":true},"stack_reference":{"type":"string","nullable":true},"github_pr_number":{"type":"integer","nullable":true},"selected_count":{"type":"integer","nullable":true},"selected_count_label":{"type":"string","nullable":true},"stack_generation":{"type":"integer","nullable":true},"candidate_ref":{"type":"string","nullable":true},"candidate_sha":{"type":"string","nullable":true},"speculation":{"type":"object","nullable":true,"required":["kind","target_sha","base_ref","base_sha","candidate_ref","candidate_sha","prefix_fingerprint","build_duration_ms","ahead_count","cleanup_status"],"properties":{"kind":{"type":"string","enum":["exact_target","predicted_trunk"]},"target_sha":{"type":"string"},"base_ref":{"type":"string","nullable":true},"base_sha":{"type":"string"},"candidate_ref":{"type":"string"},"candidate_sha":{"type":"string"},"prefix_fingerprint":{"type":"string"},"build_duration_ms":{"type":"integer","minimum":0,"nullable":true},"ahead_count":{"type":"integer","minimum":0},"cleanup_status":{"type":"string","enum":["pending","cleaned","failed","not_required"]}}},"eta":{"type":"object","required":["status","reason"],"properties":{"status":{"type":"string","enum":["available","unavailable"]},"reason":{"type":"string"}}},"checks_status":{"type":"string","enum":["pending","passing","failing","stale","missing"]},"ejection_reason":{"type":"string","nullable":true},"error_message":{"type":"string","nullable":true},"version":{"type":"integer","minimum":1},"merge_when_ready":{"type":"boolean"},"recovery_count":{"type":"integer","minimum":0},"processing_checkpoint":{"type":"string","nullable":true},"started_at":{"type":"string","format":"date-time","nullable":true},"started_at_label":{"type":"string","nullable":true},"completed_at":{"type":"string","format":"date-time","nullable":true},"completed_at_label":{"type":"string","nullable":true},"capabilities":{"type":"object","required":["can_cancel","can_promote","can_retry","can_merge"],"properties":{"can_cancel":{"type":"boolean"},"can_promote":{"type":"boolean"},"can_retry":{"type":"boolean"},"can_merge":{"type":"boolean"}}},"members":{"type":"array","items":{"type":"object","required":["id","position","state"],"additionalProperties":true,"properties":{"id":{"type":"string"},"position":{"type":"integer","minimum":1},"review_id":{"type":"string","nullable":true},"change_key":{"type":"string","nullable":true},"title":{"type":"string","nullable":true},"github_pr_number":{"type":"integer","nullable":true},"state":{"type":"string"},"head_sha":{"type":"string","nullable":true},"checks_status":{"type":"string","nullable":true},"github_merge_commit_sha":{"type":"string","nullable":true},"error_message":{"type":"string","nullable":true}}}},"created_at":{"type":"string","format":"date-time","nullable":true},"updated_at":{"type":"string","format":"date-time","nullable":true}}}},"entry_count_label":{"type":"string"},"recent_events":{"type":"array","description":"Newest-first durable queue audit events, limited to 50 records.","maxItems":50,"items":{"type":"object","required":["id","action","entry_id","entry_state","entry_version","created_at"],"properties":{"id":{"type":"string"},"action":{"type":"string"},"entry_id":{"type":"string","nullable":true},"entry_state":{"type":"string","nullable":true},"entry_version":{"type":"integer","nullable":true},"created_at":{"type":"string","format":"date-time","nullable":true}}}},"last_ticked_at":{"type":"string","format":"date-time","nullable":true},"last_error":{"type":"string","nullable":true},"created_at":{"type":"string","format":"date-time","nullable":true},"updated_at":{"type":"string","format":"date-time","nullable":true}}},"policy":{"type":"object","required":["virtual_repository_id","merge_authority","merge_authority_version","merge_policy_version","queue_validation_mode","queue_concurrency","auto_land_enabled","github_primary_eligible","switch_blockers"],"properties":{"virtual_repository_id":{"type":"string","nullable":true},"merge_authority":{"type":"string","enum":["vex_primary","github_primary"]},"merge_authority_version":{"type":"integer","minimum":1},"merge_policy_version":{"type":"integer","minimum":1},"queue_validation_mode":{"type":"string","enum":["top_only","per_pr"]},"queue_concurrency":{"type":"integer","minimum":1,"maximum":20},"queue_concurrency_label":{"type":"string"},"auto_land_enabled":{"type":"boolean"},"github_primary_eligible":{"type":"boolean"},"switch_blockers":{"type":"array","items":{"type":"string"}}}}}}}}},"401":{"description":"Unauthorized"},"403":{"description":"The actor is not allowed to perform this queue mutation"},"404":{"description":"Not found"},"422":{"description":"The requested state transition is invalid"},"502":{"description":"Bad gateway"},"409":{"description":"The queue entry version changed"},"503":{"description":"Merge queue rollout flag is disabled"}},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"required":["expected_version"],"properties":{"expected_version":{"type":"integer","minimum":1}}}}}},"security":[{"bearerAuth":[]}],"summary":"Retry an ejected or needs-attention entry"}},"/api/v1/organizations/{org_slug}/repos/{repo_slug}/vcs/merge_queues/{target}/pause":{"post":{"operationId":"post_api_v1_organizations_org_slug_repos_repo_slug_vcs_merge_queues_target_pause","tags":["organizations"],"parameters":[{"name":"org_slug","in":"path","required":true,"schema":{"type":"string"}},{"name":"repo_slug","in":"path","required":true,"schema":{"type":"string"}},{"name":"target","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Updated queue snapshot","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"required":["queue","policy"],"properties":{"queue":{"type":"object","required":["id","target_branch","state","state_version","merge_authority","merge_authority_version","merge_policy_version","validation_mode","concurrency","entries","entry_count_label","recent_events","capabilities"],"properties":{"id":{"type":"string","nullable":true},"target_branch":{"type":"string"},"state":{"type":"string","enum":["active","paused"]},"state_version":{"type":"integer","minimum":1},"merge_authority":{"type":"string","enum":["vex_primary","github_primary"]},"merge_authority_version":{"type":"integer","minimum":1},"merge_policy_version":{"type":"integer","minimum":1},"validation_mode":{"type":"string","enum":["top_only","per_pr"]},"concurrency":{"type":"integer","minimum":1,"maximum":20},"capabilities":{"type":"object","required":["can_enqueue","can_pause","can_resume","can_promote","can_retry","can_merge"],"properties":{"can_enqueue":{"type":"boolean"},"can_pause":{"type":"boolean"},"can_resume":{"type":"boolean"},"can_promote":{"type":"boolean"},"can_retry":{"type":"boolean"},"can_merge":{"type":"boolean"}}},"entries":{"type":"array","items":{"type":"object","required":["id","kind","state","position","speculation","eta","checks_status","version","merge_when_ready","recovery_count","processing_checkpoint","started_at","completed_at","capabilities","members"],"properties":{"id":{"type":"string"},"kind":{"type":"string","enum":["stack","github_pr"]},"state":{"type":"string","enum":["queued","validating","ready","merging","merged","ejected","cancelled","needs_attention"]},"position":{"type":"integer","minimum":1},"stack_id":{"type":"string","nullable":true},"stack_reference":{"type":"string","nullable":true},"github_pr_number":{"type":"integer","nullable":true},"selected_count":{"type":"integer","nullable":true},"selected_count_label":{"type":"string","nullable":true},"stack_generation":{"type":"integer","nullable":true},"candidate_ref":{"type":"string","nullable":true},"candidate_sha":{"type":"string","nullable":true},"speculation":{"type":"object","nullable":true,"required":["kind","target_sha","base_ref","base_sha","candidate_ref","candidate_sha","prefix_fingerprint","build_duration_ms","ahead_count","cleanup_status"],"properties":{"kind":{"type":"string","enum":["exact_target","predicted_trunk"]},"target_sha":{"type":"string"},"base_ref":{"type":"string","nullable":true},"base_sha":{"type":"string"},"candidate_ref":{"type":"string"},"candidate_sha":{"type":"string"},"prefix_fingerprint":{"type":"string"},"build_duration_ms":{"type":"integer","minimum":0,"nullable":true},"ahead_count":{"type":"integer","minimum":0},"cleanup_status":{"type":"string","enum":["pending","cleaned","failed","not_required"]}}},"eta":{"type":"object","required":["status","reason"],"properties":{"status":{"type":"string","enum":["available","unavailable"]},"reason":{"type":"string"}}},"checks_status":{"type":"string","enum":["pending","passing","failing","stale","missing"]},"ejection_reason":{"type":"string","nullable":true},"error_message":{"type":"string","nullable":true},"version":{"type":"integer","minimum":1},"merge_when_ready":{"type":"boolean"},"recovery_count":{"type":"integer","minimum":0},"processing_checkpoint":{"type":"string","nullable":true},"started_at":{"type":"string","format":"date-time","nullable":true},"started_at_label":{"type":"string","nullable":true},"completed_at":{"type":"string","format":"date-time","nullable":true},"completed_at_label":{"type":"string","nullable":true},"capabilities":{"type":"object","required":["can_cancel","can_promote","can_retry","can_merge"],"properties":{"can_cancel":{"type":"boolean"},"can_promote":{"type":"boolean"},"can_retry":{"type":"boolean"},"can_merge":{"type":"boolean"}}},"members":{"type":"array","items":{"type":"object","required":["id","position","state"],"additionalProperties":true,"properties":{"id":{"type":"string"},"position":{"type":"integer","minimum":1},"review_id":{"type":"string","nullable":true},"change_key":{"type":"string","nullable":true},"title":{"type":"string","nullable":true},"github_pr_number":{"type":"integer","nullable":true},"state":{"type":"string"},"head_sha":{"type":"string","nullable":true},"checks_status":{"type":"string","nullable":true},"github_merge_commit_sha":{"type":"string","nullable":true},"error_message":{"type":"string","nullable":true}}}},"created_at":{"type":"string","format":"date-time","nullable":true},"updated_at":{"type":"string","format":"date-time","nullable":true}}}},"entry_count_label":{"type":"string"},"recent_events":{"type":"array","description":"Newest-first durable queue audit events, limited to 50 records.","maxItems":50,"items":{"type":"object","required":["id","action","entry_id","entry_state","entry_version","created_at"],"properties":{"id":{"type":"string"},"action":{"type":"string"},"entry_id":{"type":"string","nullable":true},"entry_state":{"type":"string","nullable":true},"entry_version":{"type":"integer","nullable":true},"created_at":{"type":"string","format":"date-time","nullable":true}}}},"last_ticked_at":{"type":"string","format":"date-time","nullable":true},"last_error":{"type":"string","nullable":true},"created_at":{"type":"string","format":"date-time","nullable":true},"updated_at":{"type":"string","format":"date-time","nullable":true}}},"policy":{"type":"object","required":["virtual_repository_id","merge_authority","merge_authority_version","merge_policy_version","queue_validation_mode","queue_concurrency","auto_land_enabled","github_primary_eligible","switch_blockers"],"properties":{"virtual_repository_id":{"type":"string","nullable":true},"merge_authority":{"type":"string","enum":["vex_primary","github_primary"]},"merge_authority_version":{"type":"integer","minimum":1},"merge_policy_version":{"type":"integer","minimum":1},"queue_validation_mode":{"type":"string","enum":["top_only","per_pr"]},"queue_concurrency":{"type":"integer","minimum":1,"maximum":20},"queue_concurrency_label":{"type":"string"},"auto_land_enabled":{"type":"boolean"},"github_primary_eligible":{"type":"boolean"},"switch_blockers":{"type":"array","items":{"type":"string"}}}}}}}}},"401":{"description":"Unauthorized"},"403":{"description":"The actor is not allowed to perform this queue mutation"},"404":{"description":"Not found"},"422":{"description":"The requested state transition is invalid"},"502":{"description":"Bad gateway"},"409":{"description":"The queue entry version changed"},"503":{"description":"Merge queue rollout flag is disabled"}},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"required":["expected_version"],"properties":{"expected_version":{"type":"integer","minimum":1}}}}}},"security":[{"bearerAuth":[]}],"summary":"Pause queue validation and merging without discarding entries"}},"/api/v1/organizations/{org_slug}/repos/{repo_slug}/vcs/merge_queues/{target}/resume":{"post":{"operationId":"post_api_v1_organizations_org_slug_repos_repo_slug_vcs_merge_queues_target_resume","tags":["organizations"],"parameters":[{"name":"org_slug","in":"path","required":true,"schema":{"type":"string"}},{"name":"repo_slug","in":"path","required":true,"schema":{"type":"string"}},{"name":"target","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Updated queue snapshot","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"required":["queue","policy"],"properties":{"queue":{"type":"object","required":["id","target_branch","state","state_version","merge_authority","merge_authority_version","merge_policy_version","validation_mode","concurrency","entries","entry_count_label","recent_events","capabilities"],"properties":{"id":{"type":"string","nullable":true},"target_branch":{"type":"string"},"state":{"type":"string","enum":["active","paused"]},"state_version":{"type":"integer","minimum":1},"merge_authority":{"type":"string","enum":["vex_primary","github_primary"]},"merge_authority_version":{"type":"integer","minimum":1},"merge_policy_version":{"type":"integer","minimum":1},"validation_mode":{"type":"string","enum":["top_only","per_pr"]},"concurrency":{"type":"integer","minimum":1,"maximum":20},"capabilities":{"type":"object","required":["can_enqueue","can_pause","can_resume","can_promote","can_retry","can_merge"],"properties":{"can_enqueue":{"type":"boolean"},"can_pause":{"type":"boolean"},"can_resume":{"type":"boolean"},"can_promote":{"type":"boolean"},"can_retry":{"type":"boolean"},"can_merge":{"type":"boolean"}}},"entries":{"type":"array","items":{"type":"object","required":["id","kind","state","position","speculation","eta","checks_status","version","merge_when_ready","recovery_count","processing_checkpoint","started_at","completed_at","capabilities","members"],"properties":{"id":{"type":"string"},"kind":{"type":"string","enum":["stack","github_pr"]},"state":{"type":"string","enum":["queued","validating","ready","merging","merged","ejected","cancelled","needs_attention"]},"position":{"type":"integer","minimum":1},"stack_id":{"type":"string","nullable":true},"stack_reference":{"type":"string","nullable":true},"github_pr_number":{"type":"integer","nullable":true},"selected_count":{"type":"integer","nullable":true},"selected_count_label":{"type":"string","nullable":true},"stack_generation":{"type":"integer","nullable":true},"candidate_ref":{"type":"string","nullable":true},"candidate_sha":{"type":"string","nullable":true},"speculation":{"type":"object","nullable":true,"required":["kind","target_sha","base_ref","base_sha","candidate_ref","candidate_sha","prefix_fingerprint","build_duration_ms","ahead_count","cleanup_status"],"properties":{"kind":{"type":"string","enum":["exact_target","predicted_trunk"]},"target_sha":{"type":"string"},"base_ref":{"type":"string","nullable":true},"base_sha":{"type":"string"},"candidate_ref":{"type":"string"},"candidate_sha":{"type":"string"},"prefix_fingerprint":{"type":"string"},"build_duration_ms":{"type":"integer","minimum":0,"nullable":true},"ahead_count":{"type":"integer","minimum":0},"cleanup_status":{"type":"string","enum":["pending","cleaned","failed","not_required"]}}},"eta":{"type":"object","required":["status","reason"],"properties":{"status":{"type":"string","enum":["available","unavailable"]},"reason":{"type":"string"}}},"checks_status":{"type":"string","enum":["pending","passing","failing","stale","missing"]},"ejection_reason":{"type":"string","nullable":true},"error_message":{"type":"string","nullable":true},"version":{"type":"integer","minimum":1},"merge_when_ready":{"type":"boolean"},"recovery_count":{"type":"integer","minimum":0},"processing_checkpoint":{"type":"string","nullable":true},"started_at":{"type":"string","format":"date-time","nullable":true},"started_at_label":{"type":"string","nullable":true},"completed_at":{"type":"string","format":"date-time","nullable":true},"completed_at_label":{"type":"string","nullable":true},"capabilities":{"type":"object","required":["can_cancel","can_promote","can_retry","can_merge"],"properties":{"can_cancel":{"type":"boolean"},"can_promote":{"type":"boolean"},"can_retry":{"type":"boolean"},"can_merge":{"type":"boolean"}}},"members":{"type":"array","items":{"type":"object","required":["id","position","state"],"additionalProperties":true,"properties":{"id":{"type":"string"},"position":{"type":"integer","minimum":1},"review_id":{"type":"string","nullable":true},"change_key":{"type":"string","nullable":true},"title":{"type":"string","nullable":true},"github_pr_number":{"type":"integer","nullable":true},"state":{"type":"string"},"head_sha":{"type":"string","nullable":true},"checks_status":{"type":"string","nullable":true},"github_merge_commit_sha":{"type":"string","nullable":true},"error_message":{"type":"string","nullable":true}}}},"created_at":{"type":"string","format":"date-time","nullable":true},"updated_at":{"type":"string","format":"date-time","nullable":true}}}},"entry_count_label":{"type":"string"},"recent_events":{"type":"array","description":"Newest-first durable queue audit events, limited to 50 records.","maxItems":50,"items":{"type":"object","required":["id","action","entry_id","entry_state","entry_version","created_at"],"properties":{"id":{"type":"string"},"action":{"type":"string"},"entry_id":{"type":"string","nullable":true},"entry_state":{"type":"string","nullable":true},"entry_version":{"type":"integer","nullable":true},"created_at":{"type":"string","format":"date-time","nullable":true}}}},"last_ticked_at":{"type":"string","format":"date-time","nullable":true},"last_error":{"type":"string","nullable":true},"created_at":{"type":"string","format":"date-time","nullable":true},"updated_at":{"type":"string","format":"date-time","nullable":true}}},"policy":{"type":"object","required":["virtual_repository_id","merge_authority","merge_authority_version","merge_policy_version","queue_validation_mode","queue_concurrency","auto_land_enabled","github_primary_eligible","switch_blockers"],"properties":{"virtual_repository_id":{"type":"string","nullable":true},"merge_authority":{"type":"string","enum":["vex_primary","github_primary"]},"merge_authority_version":{"type":"integer","minimum":1},"merge_policy_version":{"type":"integer","minimum":1},"queue_validation_mode":{"type":"string","enum":["top_only","per_pr"]},"queue_concurrency":{"type":"integer","minimum":1,"maximum":20},"queue_concurrency_label":{"type":"string"},"auto_land_enabled":{"type":"boolean"},"github_primary_eligible":{"type":"boolean"},"switch_blockers":{"type":"array","items":{"type":"string"}}}}}}}}},"401":{"description":"Unauthorized"},"403":{"description":"The actor is not allowed to perform this queue mutation"},"404":{"description":"Not found"},"422":{"description":"The requested state transition is invalid"},"502":{"description":"Bad gateway"},"409":{"description":"The queue entry version changed"},"503":{"description":"Merge queue rollout flag is disabled"}},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"required":["expected_version"],"properties":{"expected_version":{"type":"integer","minimum":1}}}}}},"security":[{"bearerAuth":[]}],"summary":"Resume a paused merge queue"}},"/api/v1/organizations/{org_slug}/repos/{repo_slug}/vcs/op_heads":{"get":{"operationId":"api_v1_org_repo_vcs_op_heads","tags":["organizations"],"parameters":[{"name":"org_slug","in":"path","required":true,"schema":{"type":"string"}},{"name":"repo_slug","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not found"},"422":{"description":"Unprocessable entity"},"502":{"description":"Bad gateway"}},"security":[{"bearerAuth":[]}]}},"/api/v1/organizations/{org_slug}/repos/{repo_slug}/vcs/stacks":{"get":{"operationId":"get_api_v1_organizations_org_slug_repos_repo_slug_vcs_stacks","tags":["organizations"],"parameters":[{"name":"org_slug","in":"path","required":true,"schema":{"type":"string"}},{"name":"repo_slug","in":"path","required":true,"schema":{"type":"string"}},{"name":"mine","in":"query","required":false,"schema":{"type":"boolean"}},{"name":"target","in":"query","required":false,"schema":{"type":"string"}},{"name":"status","in":"query","required":false,"schema":{"type":"string","enum":["open","landed","abandoned","all"]}},{"name":"details","in":"query","required":false,"schema":{"type":"boolean"}}],"responses":{"200":{"description":"Stack summaries, or detailed stacks when details is true","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"oneOf":[{"$ref":"#/components/schemas/VcsStacksResponse"},{"$ref":"#/components/schemas/VcsStackDetailsResponse"}]}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not found"},"422":{"description":"Unprocessable entity"},"502":{"description":"Bad gateway"}},"security":[{"bearerAuth":[]}],"summary":"List review stacks in one repository"}},"/api/v1/organizations/{org_slug}/repos/{repo_slug}/vcs/stacks/diffs/{id}/accept":{"post":{"operationId":"post_api_v1_organizations_org_slug_repos_repo_slug_vcs_stacks_diffs_id_accept","tags":["organizations"],"parameters":[{"name":"org_slug","in":"path","required":true,"schema":{"type":"string"}},{"name":"repo_slug","in":"path","required":true,"schema":{"type":"string"}},{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Updated review and recorded vote","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"$ref":"#/components/schemas/VcsStackVoteResponse"}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not found"},"422":{"description":"Stack operation failed validation","content":{"application/json":{"schema":{"type":"object","required":["error"],"properties":{"error":{"type":"string"}}}}}},"502":{"description":"Bad gateway"}},"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"properties":{"message":{"type":"string","nullable":true}}}}}},"security":[{"bearerAuth":[]}]}},"/api/v1/organizations/{org_slug}/repos/{repo_slug}/vcs/stacks/diffs/{id}/request_changes":{"post":{"operationId":"post_api_v1_organizations_org_slug_repos_repo_slug_vcs_stacks_diffs_id_request_changes","tags":["organizations"],"parameters":[{"name":"org_slug","in":"path","required":true,"schema":{"type":"string"}},{"name":"repo_slug","in":"path","required":true,"schema":{"type":"string"}},{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Updated review and recorded vote","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"$ref":"#/components/schemas/VcsStackVoteResponse"}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not found"},"422":{"description":"Stack operation failed validation","content":{"application/json":{"schema":{"type":"object","required":["error"],"properties":{"error":{"type":"string"}}}}}},"502":{"description":"Bad gateway"}},"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"properties":{"message":{"type":"string","nullable":true}}}}}},"security":[{"bearerAuth":[]}]}},"/api/v1/organizations/{org_slug}/repos/{repo_slug}/vcs/stacks/lookup":{"get":{"operationId":"api_v1_lookup","tags":["organizations"],"parameters":[{"name":"org_slug","in":"path","required":true,"schema":{"type":"string"}},{"name":"repo_slug","in":"path","required":true,"schema":{"type":"string"}},{"name":"change_keys[]","in":"query","required":true,"description":"Stable JJ change ids to look up, in local stack order (maximum 200).","schema":{"type":"array","minItems":1,"maxItems":200,"items":{"type":"string"}}},{"name":"commit_ids","in":"query","required":false,"description":"Optional map from change key to local commit id for server-side stale comparison.","style":"deepObject","explode":true,"schema":{"type":"object","additionalProperties":{"type":"string"}}},{"name":"target_branch","in":"query","required":false,"description":"Target branch to resolve when no submitted review supplies one.","schema":{"type":"string"}}],"responses":{"200":{"description":"Ordered change lookup and target-ref state","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"required":["changes","missing_change_keys","target"],"properties":{"changes":{"type":"array","items":{"type":"object","required":["change_key","found"],"additionalProperties":true,"properties":{"change_key":{"type":"string"},"found":{"type":"boolean"},"stale":{"type":"boolean","nullable":true},"review_id":{"type":"string","nullable":true},"review_status":{"type":"string","nullable":true},"stack_id":{"type":"string","nullable":true},"stack_reference":{"type":"string","nullable":true},"stack_status":{"type":"string","nullable":true},"draft":{"type":"boolean","nullable":true},"current_patchset_commit_id":{"type":"string","nullable":true},"landed_patchset_commit_id":{"type":"string","nullable":true},"accepted":{"type":"boolean","nullable":true},"requested_changes":{"type":"boolean","nullable":true},"checks_status":{"type":"string","nullable":true},"landable":{"type":"boolean","nullable":true},"target_branch":{"type":"string","nullable":true},"target_commit_id":{"type":"string","nullable":true},"target_ref_version":{"type":"integer","nullable":true},"target":{"type":"object","additionalProperties":true}}}},"missing_change_keys":{"type":"array","items":{"type":"string"}},"target":{"type":"object","required":["status"],"additionalProperties":true,"properties":{"status":{"type":"string","enum":["available","unavailable"]},"target_branch":{"type":"string","nullable":true},"target_commit_id":{"type":"string","nullable":true},"ref_version":{"type":"integer","nullable":true},"reason":{"type":"string","nullable":true}}}}}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not found"},"422":{"description":"Unprocessable entity"},"502":{"description":"Bad gateway"}},"security":[{"bearerAuth":[]}],"summary":"Look up local JJ changes in one repository-scoped request","description":"Preserves request order and returns explicit rows for missing change keys, current patchset identity, review gates, and the exact target-ref version used by submit and sync. A requested target branch is resolved when every change is new."}},"/api/v1/organizations/{org_slug}/repos/{repo_slug}/vcs/stacks/submit":{"post":{"operationId":"api_v1_submit","tags":["organizations"],"parameters":[{"name":"org_slug","in":"path","required":true,"schema":{"type":"string"}},{"name":"repo_slug","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not found"},"422":{"description":"Unprocessable entity"},"502":{"description":"Bad gateway"},"201":{"description":"Submitted stack and per-revision outcomes","content":{"application/json":{"schema":{"type":"object","required":["stack","revision_outcomes","landed_change_keys","abandoned_change_keys","unknown_reviewers","unknown_ccs"],"properties":{"stack":{"type":"object","additionalProperties":true,"properties":{"landed_authority":{"type":"string","nullable":true,"enum":["vex_primary","github_primary"]},"github_merge_commit_sha":{"type":"string","nullable":true},"github_merge_method":{"type":"string","nullable":true},"github_merged_by_login":{"type":"string","nullable":true},"landed_by":{"type":"object","nullable":true,"additionalProperties":true},"reviews":{"type":"array","items":{"type":"object","additionalProperties":true,"properties":{"landed_authority":{"type":"string","nullable":true,"enum":["vex_primary","github_primary"]},"github_merge_commit_sha":{"type":"string","nullable":true},"github_merge_method":{"type":"string","nullable":true},"github_merged_by_login":{"type":"string","nullable":true},"landed_by":{"type":"object","nullable":true,"additionalProperties":true}}}}}},"revision_outcomes":{"type":"array","items":{"type":"object","required":["change_key","outcome"],"properties":{"change_key":{"type":"string"},"commit_id":{"type":"string","nullable":true},"outcome":{"type":"string","enum":["created","updated","unchanged"]},"review_id":{"type":"string","nullable":true},"stack_id":{"type":"string","nullable":true}}}},"landed_change_keys":{"type":"array","items":{"type":"string"}},"abandoned_change_keys":{"type":"array","items":{"type":"string"}},"unknown_reviewers":{"type":"array","items":{"type":"string","format":"email"}},"unknown_ccs":{"type":"array","items":{"type":"string","format":"email"}}}}}}},"409":{"description":"The target ref changed after the client lookup"},"503":{"description":"Repository mutation ownership is busy or was lost. Only responses with retryable=true include Retry-After and are safe to replay automatically.","headers":{"Retry-After":{"description":"Seconds before a safe retry; omitted when mutation ownership was lost after dispatch may have begun.","schema":{"type":"integer","minimum":1}}},"content":{"application/json":{"schema":{"type":"object","required":["error","code","retryable"],"properties":{"error":{"type":"string"},"code":{"type":"string","enum":["repository_mutation_busy","repository_mutation_lease_lost"]},"retryable":{"type":"boolean"}}}}}}},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"required":["target_branch","revisions"],"properties":{"target_branch":{"type":"string"},"message":{"type":"string","nullable":true},"reviewers":{"type":"array","items":{"type":"string","format":"email"}},"cc":{"type":"array","items":{"type":"string","format":"email"}},"draft":{"type":"boolean","nullable":true},"allow_unknown_reviewers":{"type":"boolean","description":"Return unresolved reviewer addresses in the response instead of rejecting the whole stack."},"expected_target_commit_id":{"type":"string","nullable":true},"expected_target_version":{"type":"integer","nullable":true},"revisions":{"type":"array","minItems":1,"items":{"type":"object","required":["change_id","commit_id","title","description"],"properties":{"change_id":{"type":"string"},"commit_id":{"type":"string"},"parent_commit_id":{"type":"string","nullable":true},"base_commit_id":{"type":"string","nullable":true},"title":{"type":"string"},"description":{"type":"string"},"files":{"type":"array","items":{"type":"object","required":["path"],"additionalProperties":true,"properties":{"path":{"type":"string"},"previous_path":{"type":"string","nullable":true},"status":{"type":"string"},"additions":{"type":"integer"},"deletions":{"type":"integer"},"patch":{"type":"string","nullable":true}}}}}}}}}}}},"security":[{"bearerAuth":[]}],"summary":"Create or update a whole native JJ stack for review","description":"Idempotently upserts one review per stable JJ change id. Repeating an unchanged submission creates no patchsets; changed commit ids append patchsets while preserving review identity."}},"/api/v1/organizations/{org_slug}/repos/{repo_slug}/vcs/stacks/sync":{"post":{"operationId":"api_v1_sync","tags":["organizations"],"parameters":[{"name":"org_slug","in":"path","required":true,"schema":{"type":"string"}},{"name":"repo_slug","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Synchronized stack, per-revision outcomes, and restack state","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"allOf":[{"type":"object","required":["stack","revision_outcomes","landed_change_keys","abandoned_change_keys","unknown_reviewers","unknown_ccs"],"properties":{"stack":{"type":"object","additionalProperties":true,"properties":{"landed_authority":{"type":"string","nullable":true,"enum":["vex_primary","github_primary"]},"github_merge_commit_sha":{"type":"string","nullable":true},"github_merge_method":{"type":"string","nullable":true},"github_merged_by_login":{"type":"string","nullable":true},"landed_by":{"type":"object","nullable":true,"additionalProperties":true},"reviews":{"type":"array","items":{"type":"object","additionalProperties":true,"properties":{"landed_authority":{"type":"string","nullable":true,"enum":["vex_primary","github_primary"]},"github_merge_commit_sha":{"type":"string","nullable":true},"github_merge_method":{"type":"string","nullable":true},"github_merged_by_login":{"type":"string","nullable":true},"landed_by":{"type":"object","nullable":true,"additionalProperties":true}}}}}},"revision_outcomes":{"type":"array","items":{"type":"object","required":["change_key","outcome"],"properties":{"change_key":{"type":"string"},"commit_id":{"type":"string","nullable":true},"outcome":{"type":"string","enum":["created","updated","unchanged"]},"review_id":{"type":"string","nullable":true},"stack_id":{"type":"string","nullable":true}}}},"landed_change_keys":{"type":"array","items":{"type":"string"}},"abandoned_change_keys":{"type":"array","items":{"type":"string"}},"unknown_reviewers":{"type":"array","items":{"type":"string","format":"email"}},"unknown_ccs":{"type":"array","items":{"type":"string","format":"email"}}}},{"type":"object","required":["restack"],"properties":{"restack":{"type":"object","required":["restack_required","reasons","details"],"properties":{"restack_required":{"type":"boolean"},"reasons":{"type":"array","items":{"type":"string"}},"details":{"type":"array","items":{"type":"object","additionalProperties":true}}}}}}]}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not found"},"422":{"description":"Unprocessable entity"},"502":{"description":"Bad gateway"},"409":{"description":"The target ref changed after the client lookup"},"503":{"description":"Repository mutation ownership is busy or was lost. Only responses with retryable=true include Retry-After and are safe to replay automatically.","headers":{"Retry-After":{"description":"Seconds before a safe retry; omitted when mutation ownership was lost after dispatch may have begun.","schema":{"type":"integer","minimum":1}}},"content":{"application/json":{"schema":{"type":"object","required":["error","code","retryable"],"properties":{"error":{"type":"string"},"code":{"type":"string","enum":["repository_mutation_busy","repository_mutation_lease_lost"]},"retryable":{"type":"boolean"}}}}}}},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"required":["target_branch","revisions"],"properties":{"target_branch":{"type":"string"},"message":{"type":"string","nullable":true},"reviewers":{"type":"array","items":{"type":"string","format":"email"}},"cc":{"type":"array","items":{"type":"string","format":"email"}},"draft":{"type":"boolean","nullable":true},"allow_unknown_reviewers":{"type":"boolean","description":"Return unresolved reviewer addresses in the response instead of rejecting the whole stack."},"expected_target_commit_id":{"type":"string","nullable":true},"expected_target_version":{"type":"integer","nullable":true},"revisions":{"type":"array","minItems":1,"items":{"type":"object","required":["change_id","commit_id","title","description"],"properties":{"change_id":{"type":"string"},"commit_id":{"type":"string"},"parent_commit_id":{"type":"string","nullable":true},"base_commit_id":{"type":"string","nullable":true},"title":{"type":"string"},"description":{"type":"string"},"files":{"type":"array","items":{"type":"object","required":["path"],"additionalProperties":true,"properties":{"path":{"type":"string"},"previous_path":{"type":"string","nullable":true},"status":{"type":"string"},"additions":{"type":"integer"},"deletions":{"type":"integer"},"patch":{"type":"string","nullable":true}}}}}}}}}}}},"security":[{"bearerAuth":[]}],"summary":"Idempotently synchronize a native JJ stack","description":"Uses the same stable-change payload as submit and additionally returns the server restack evaluation."}},"/api/v1/organizations/{org_slug}/repos/{repo_slug}/vcs/stacks/{id}":{"get":{"operationId":"get_api_v1_organizations_org_slug_repos_repo_slug_vcs_stacks_id_","tags":["organizations"],"parameters":[{"name":"org_slug","in":"path","required":true,"schema":{"type":"string"}},{"name":"repo_slug","in":"path","required":true,"schema":{"type":"string"}},{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Detailed review stack","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"required":["stack"],"properties":{"stack":{"$ref":"#/components/schemas/VcsStack"}}}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not found"},"422":{"description":"Unprocessable entity"},"502":{"description":"Bad gateway"}},"security":[{"bearerAuth":[]}],"summary":"Read one review stack"}},"/api/v1/organizations/{org_slug}/repos/{repo_slug}/vcs/stacks/{id}/abandon":{"post":{"operationId":"post_api_v1_organizations_org_slug_repos_repo_slug_vcs_stacks_id_abandon","tags":["organizations"],"parameters":[{"name":"org_slug","in":"path","required":true,"schema":{"type":"string"}},{"name":"repo_slug","in":"path","required":true,"schema":{"type":"string"}},{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not found"},"422":{"description":"Unprocessable entity"},"502":{"description":"Bad gateway"}},"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"security":[{"bearerAuth":[]}]}},"/api/v1/organizations/{org_slug}/repos/{repo_slug}/vcs/stacks/{id}/comments":{"get":{"operationId":"get_api_v1_organizations_org_slug_repos_repo_slug_vcs_stacks_id_comments","tags":["organizations"],"parameters":[{"name":"org_slug","in":"path","required":true,"schema":{"type":"string"}},{"name":"repo_slug","in":"path","required":true,"schema":{"type":"string"}},{"name":"id","in":"path","required":true,"schema":{"type":"string"}},{"name":"review_id","in":"query","required":false,"schema":{"type":"string"}},{"name":"path","in":"query","required":false,"schema":{"type":"string"}},{"name":"resolved","in":"query","required":false,"schema":{"type":"boolean"}}],"responses":{"200":{"description":"Stack review comments","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"required":["comments"],"properties":{"comments":{"type":"array","items":{"$ref":"#/components/schemas/VcsReviewComment"}}}}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not found"},"422":{"description":"Unprocessable entity"},"502":{"description":"Bad gateway"}},"security":[{"bearerAuth":[]}]},"post":{"operationId":"post_api_v1_organizations_org_slug_repos_repo_slug_vcs_stacks_id_comments","tags":["organizations"],"parameters":[{"name":"org_slug","in":"path","required":true,"schema":{"type":"string"}},{"name":"repo_slug","in":"path","required":true,"schema":{"type":"string"}},{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Stack review comment","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"required":["comment"],"properties":{"comment":{"$ref":"#/components/schemas/VcsReviewComment"}}}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not found"},"422":{"description":"Unprocessable entity"},"502":{"description":"Bad gateway"},"201":{"description":"Stack review comment","content":{"application/json":{"schema":{"type":"object","required":["comment"],"properties":{"comment":{"$ref":"#/components/schemas/VcsReviewComment"}}}}}}},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"required":["review_id","body"],"properties":{"review_id":{"type":"string"},"patchset_id":{"type":"string"},"path":{"type":"string"},"line":{"type":"integer"},"body":{"type":"string"},"parent_comment_id":{"type":"string"},"kind":{"type":"string"}}}}}},"security":[{"bearerAuth":[]}]}},"/api/v1/organizations/{org_slug}/repos/{repo_slug}/vcs/stacks/{id}/comments/{comment_id}/resolve":{"post":{"operationId":"post_api_v1_organizations_org_slug_repos_repo_slug_vcs_stacks_id_comments_comment_id_resolve","tags":["organizations"],"parameters":[{"name":"org_slug","in":"path","required":true,"schema":{"type":"string"}},{"name":"repo_slug","in":"path","required":true,"schema":{"type":"string"}},{"name":"id","in":"path","required":true,"schema":{"type":"string"}},{"name":"comment_id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Stack review comment","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"required":["comment"],"properties":{"comment":{"$ref":"#/components/schemas/VcsReviewComment"}}}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not found"},"422":{"description":"Unprocessable entity"},"502":{"description":"Bad gateway"}},"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"security":[{"bearerAuth":[]}]}},"/api/v1/organizations/{org_slug}/repos/{repo_slug}/vcs/stacks/{id}/comments/{comment_id}/unresolve":{"post":{"operationId":"post_api_v1_organizations_org_slug_repos_repo_slug_vcs_stacks_id_comments_comment_id_unresolve","tags":["organizations"],"parameters":[{"name":"org_slug","in":"path","required":true,"schema":{"type":"string"}},{"name":"repo_slug","in":"path","required":true,"schema":{"type":"string"}},{"name":"id","in":"path","required":true,"schema":{"type":"string"}},{"name":"comment_id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Stack review comment","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"required":["comment"],"properties":{"comment":{"$ref":"#/components/schemas/VcsReviewComment"}}}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not found"},"422":{"description":"Unprocessable entity"},"502":{"description":"Bad gateway"}},"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"security":[{"bearerAuth":[]}]}},"/api/v1/organizations/{org_slug}/repos/{repo_slug}/vcs/stacks/{id}/github_projection":{"get":{"operationId":"get_api_v1_organizations_org_slug_repos_repo_slug_vcs_stacks_id_github_projection","tags":["organizations"],"parameters":[{"name":"org_slug","in":"path","required":true,"schema":{"type":"string"}},{"name":"repo_slug","in":"path","required":true,"schema":{"type":"string"}},{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Current GitHub projection state","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"required":["stack_id","github_backed","merge_policy","tracked_members","github_projection"],"properties":{"stack_id":{"type":"string"},"github_backed":{"type":"boolean"},"merge_policy":{"type":"object","nullable":true,"required":["virtual_repository_id","merge_authority","merge_authority_version","merge_policy_version","queue_validation_mode","queue_concurrency","auto_land_enabled","github_primary_eligible","switch_blockers"],"properties":{"virtual_repository_id":{"type":"string","nullable":true},"merge_authority":{"type":"string","enum":["vex_primary","github_primary"]},"merge_authority_version":{"type":"integer","minimum":1},"merge_policy_version":{"type":"integer","minimum":1},"queue_validation_mode":{"type":"string","enum":["top_only","per_pr"]},"queue_concurrency":{"type":"integer","minimum":1,"maximum":20},"auto_land_enabled":{"type":"boolean"},"github_primary_eligible":{"type":"boolean"},"switch_blockers":{"type":"array","items":{"type":"string"}}}},"tracked_members":{"type":"array","items":{"type":"object","required":["id","stack_id","position","state","source_kind","source_value","github_repository_owner","github_repository_name","github_pr_number","github_branch_name","github_head_sha","github_base_branch_name","managed_pull_request","tracked_at"],"properties":{"id":{"type":"string"},"stack_id":{"type":"string"},"parent_id":{"type":"string","nullable":true},"position":{"type":"integer","minimum":1},"state":{"type":"string","enum":["active","merged","untracked","abandoned"]},"source_kind":{"type":"string","enum":["pull_request","branch"]},"source_value":{"type":"string"},"github_repository_owner":{"type":"string"},"github_repository_name":{"type":"string"},"github_pr_number":{"type":"integer","minimum":1},"github_pr_node_id":{"type":"string","nullable":true},"github_pr_url":{"type":"string","nullable":true},"github_branch_name":{"type":"string"},"github_head_sha":{"type":"string"},"github_base_branch_name":{"type":"string"},"github_author_login":{"type":"string","nullable":true},"github_author_id":{"type":"string","nullable":true},"managed_pull_request":{"type":"boolean"},"github_merge_commit_sha":{"type":"string","nullable":true},"last_error":{"type":"string","nullable":true},"tracked_by":{"type":"object","nullable":true,"additionalProperties":true},"untracked_by":{"type":"object","nullable":true,"additionalProperties":true},"tracked_at":{"type":"string","format":"date-time"},"refreshed_at":{"type":"string","format":"date-time","nullable":true},"untracked_at":{"type":"string","format":"date-time","nullable":true},"abandoned_at":{"type":"string","format":"date-time","nullable":true},"merged_at":{"type":"string","format":"date-time","nullable":true},"created_at":{"type":"string","format":"date-time"},"updated_at":{"type":"string","format":"date-time"}}}},"github_projection":{"type":"object","nullable":true,"required":["enabled","sync_status","status_label","status_tone","needs_repair","drifted","github_repository","target_branch","tracked_members","diffs"],"properties":{"enabled":{"type":"boolean"},"sync_status":{"type":"string","enum":["pending","syncing","synced","drifted","error"]},"status_label":{"type":"string"},"status_tone":{"type":"string","enum":["success","danger","warning","default"]},"needs_repair":{"type":"boolean"},"drift_reason":{"type":"string","nullable":true},"drifted":{"type":"boolean"},"github_repository":{"type":"string"},"target_branch":{"type":"string"},"last_synced_generation":{"type":"integer","nullable":true},"last_synced_at":{"type":"string","format":"date-time","nullable":true},"last_error":{"type":"string","nullable":true},"tracked_members":{"type":"array","items":{"type":"object","required":["id","stack_id","position","state","source_kind","source_value","github_repository_owner","github_repository_name","github_pr_number","github_branch_name","github_head_sha","github_base_branch_name","managed_pull_request","tracked_at"],"properties":{"id":{"type":"string"},"stack_id":{"type":"string"},"parent_id":{"type":"string","nullable":true},"position":{"type":"integer","minimum":1},"state":{"type":"string","enum":["active","merged","untracked","abandoned"]},"source_kind":{"type":"string","enum":["pull_request","branch"]},"source_value":{"type":"string"},"github_repository_owner":{"type":"string"},"github_repository_name":{"type":"string"},"github_pr_number":{"type":"integer","minimum":1},"github_pr_node_id":{"type":"string","nullable":true},"github_pr_url":{"type":"string","nullable":true},"github_branch_name":{"type":"string"},"github_head_sha":{"type":"string"},"github_base_branch_name":{"type":"string"},"github_author_login":{"type":"string","nullable":true},"github_author_id":{"type":"string","nullable":true},"managed_pull_request":{"type":"boolean"},"github_merge_commit_sha":{"type":"string","nullable":true},"last_error":{"type":"string","nullable":true},"tracked_by":{"type":"object","nullable":true,"additionalProperties":true},"untracked_by":{"type":"object","nullable":true,"additionalProperties":true},"tracked_at":{"type":"string","format":"date-time"},"refreshed_at":{"type":"string","format":"date-time","nullable":true},"untracked_at":{"type":"string","format":"date-time","nullable":true},"abandoned_at":{"type":"string","format":"date-time","nullable":true},"merged_at":{"type":"string","format":"date-time","nullable":true},"created_at":{"type":"string","format":"date-time"},"updated_at":{"type":"string","format":"date-time"}}}},"diffs":{"type":"array","items":{"type":"object","required":["diff_position","sync_status","status_label","status_tone","needs_repair"],"properties":{"review_id":{"type":"string","nullable":true},"diff_position":{"type":"integer","minimum":1},"projected_branch_name":{"type":"string","nullable":true},"base_branch_name":{"type":"string","nullable":true},"github_pr_number":{"type":"integer","nullable":true},"github_pr_state":{"type":"string","nullable":true},"head_sha":{"type":"string","nullable":true},"github_merge_commit_sha":{"type":"string","nullable":true},"sync_status":{"type":"string","enum":["pending","syncing","synced","drifted","error"]},"status_label":{"type":"string"},"status_tone":{"type":"string","enum":["success","danger","warning","default"]},"needs_repair":{"type":"boolean"},"drift_reason":{"type":"string","nullable":true},"last_error":{"type":"string","nullable":true}}}}}}}}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not found"},"422":{"description":"Unprocessable entity"},"502":{"description":"Bad gateway"}},"security":[{"bearerAuth":[]}]}},"/api/v1/organizations/{org_slug}/repos/{repo_slug}/vcs/stacks/{id}/github_projection/sync":{"post":{"operationId":"post_api_v1_organizations_org_slug_repos_repo_slug_vcs_stacks_id_github_projection_sync","tags":["organizations"],"parameters":[{"name":"org_slug","in":"path","required":true,"schema":{"type":"string"}},{"name":"repo_slug","in":"path","required":true,"schema":{"type":"string"}},{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Current synchronized projection state","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"required":["ok","stack","github_projection","ok","stack","github_projection"],"properties":{"ok":{"type":"boolean"},"stack":{"type":"object","additionalProperties":true,"required":["id","github_backed"],"properties":{"id":{"type":"string"},"github_backed":{"type":"boolean"}}},"github_projection":{"type":"object","nullable":true,"required":["enabled","sync_status","github_repository","target_branch","diffs","enabled","sync_status","status_label","status_tone","needs_repair","drifted","github_repository","target_branch","tracked_members","diffs"],"properties":{"enabled":{"type":"boolean"},"sync_status":{"type":"string","enum":["pending","syncing","synced","drifted","error","pending","syncing","synced","drifted","error"]},"drift_reason":{"type":"string","nullable":true},"last_error":{"type":"string","nullable":true},"github_repository":{"type":"string"},"target_branch":{"type":"string"},"diffs":{"type":"array","items":{"type":"object","additionalProperties":true,"required":["diff_position","sync_status","status_label","status_tone","needs_repair"],"properties":{"review_id":{"type":"string","nullable":true},"diff_position":{"type":"integer","minimum":1},"projected_branch_name":{"type":"string","nullable":true},"base_branch_name":{"type":"string","nullable":true},"github_pr_number":{"type":"integer","nullable":true},"github_pr_state":{"type":"string","nullable":true},"head_sha":{"type":"string","nullable":true},"github_merge_commit_sha":{"type":"string","nullable":true},"sync_status":{"type":"string","enum":["pending","syncing","synced","drifted","error"]},"status_label":{"type":"string"},"status_tone":{"type":"string","enum":["success","danger","warning","default"]},"needs_repair":{"type":"boolean"},"drift_reason":{"type":"string","nullable":true},"last_error":{"type":"string","nullable":true}}}},"status_label":{"type":"string"},"status_tone":{"type":"string","enum":["success","danger","warning","default"]},"needs_repair":{"type":"boolean"},"drifted":{"type":"boolean"},"last_synced_generation":{"type":"integer","nullable":true},"last_synced_at":{"type":"string","format":"date-time","nullable":true},"tracked_members":{"type":"array","items":{"type":"object","required":["id","stack_id","position","state","source_kind","source_value","github_repository_owner","github_repository_name","github_pr_number","github_branch_name","github_head_sha","github_base_branch_name","managed_pull_request","tracked_at"],"properties":{"id":{"type":"string"},"stack_id":{"type":"string"},"parent_id":{"type":"string","nullable":true},"position":{"type":"integer","minimum":1},"state":{"type":"string","enum":["active","merged","untracked","abandoned"]},"source_kind":{"type":"string","enum":["pull_request","branch"]},"source_value":{"type":"string"},"github_repository_owner":{"type":"string"},"github_repository_name":{"type":"string"},"github_pr_number":{"type":"integer","minimum":1},"github_pr_node_id":{"type":"string","nullable":true},"github_pr_url":{"type":"string","nullable":true},"github_branch_name":{"type":"string"},"github_head_sha":{"type":"string"},"github_base_branch_name":{"type":"string"},"github_author_login":{"type":"string","nullable":true},"github_author_id":{"type":"string","nullable":true},"managed_pull_request":{"type":"boolean"},"github_merge_commit_sha":{"type":"string","nullable":true},"last_error":{"type":"string","nullable":true},"tracked_by":{"type":"object","nullable":true,"additionalProperties":true},"untracked_by":{"type":"object","nullable":true,"additionalProperties":true},"tracked_at":{"type":"string","format":"date-time"},"refreshed_at":{"type":"string","format":"date-time","nullable":true},"untracked_at":{"type":"string","format":"date-time","nullable":true},"abandoned_at":{"type":"string","format":"date-time","nullable":true},"merged_at":{"type":"string","format":"date-time","nullable":true},"created_at":{"type":"string","format":"date-time"},"updated_at":{"type":"string","format":"date-time"}}}}}}}}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not found"},"422":{"description":"The stack is ineligible for GitHub projection or explicit repair"},"502":{"description":"GitHub or native-head projection could not be read or updated safely"},"503":{"description":"Repository mutation ownership is busy or was lost. Only responses with retryable=true include Retry-After and are safe to replay automatically.","headers":{"Retry-After":{"description":"Seconds before a safe retry; omitted when mutation ownership was lost after dispatch may have begun.","schema":{"type":"integer","minimum":1}}},"content":{"application/json":{"schema":{"type":"object","required":["error","code","retryable"],"properties":{"error":{"type":"string"},"code":{"type":"string","enum":["repository_mutation_busy","repository_mutation_lease_lost"]},"retryable":{"type":"boolean"}}}}}}},"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","additionalProperties":false,"properties":{"enabled":{"type":"boolean","description":"Opt the stack into or out of GitHub projection; omitted defaults to enabled."},"repair":{"type":"boolean","description":"Explicitly authorize repair of confirmed safe branch/base drift; omitted defaults to false."}}}}}},"security":[{"bearerAuth":[]}],"summary":"Synchronize or explicitly repair a native stack's GitHub PR projection","description":"Normal sync is fail-closed on drift. Set repair=true only to reassert a projection whose current GitHub state has been classified as safely repairable."}},"/api/v1/organizations/{org_slug}/repos/{repo_slug}/vcs/stacks/{id}/land":{"post":{"operationId":"post_api_v1_organizations_org_slug_repos_repo_slug_vcs_stacks_id_land","tags":["organizations"],"parameters":[{"name":"org_slug","in":"path","required":true,"schema":{"type":"string"}},{"name":"repo_slug","in":"path","required":true,"schema":{"type":"string"}},{"name":"id","in":"path","required":true,"schema":{"type":"string"}},{"name":"count","in":"query","required":false,"schema":{"type":"integer","minimum":1}},{"name":"method","in":"query","required":false,"schema":{"type":"string","enum":["squash","rebase"]}}],"responses":{"200":{"description":"Landed stack and reviews","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"$ref":"#/components/schemas/VcsStackLandResponse"}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not found"},"422":{"description":"Stack operation failed validation","content":{"application/json":{"schema":{"type":"object","required":["error"],"properties":{"error":{"type":"string"}}}}}},"502":{"description":"Bad gateway"}},"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"security":[{"bearerAuth":[]}]}},"/api/v1/organizations/{org_slug}/repos/{repo_slug}/vcs/stacks/{id}/land_preview":{"post":{"operationId":"post_api_v1_organizations_org_slug_repos_repo_slug_vcs_stacks_id_land_preview","tags":["organizations"],"parameters":[{"name":"org_slug","in":"path","required":true,"schema":{"type":"string"}},{"name":"repo_slug","in":"path","required":true,"schema":{"type":"string"}},{"name":"id","in":"path","required":true,"schema":{"type":"string"}},{"name":"count","in":"query","required":false,"schema":{"type":"integer","minimum":1}},{"name":"method","in":"query","required":false,"schema":{"type":"string","enum":["squash","rebase"]}}],"responses":{"200":{"description":"Stack landing preview","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"$ref":"#/components/schemas/VcsStackLandPreviewResponse"}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not found"},"422":{"description":"Stack operation failed validation","content":{"application/json":{"schema":{"type":"object","required":["error"],"properties":{"error":{"type":"string"}}}}}},"502":{"description":"Bad gateway"}},"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"security":[{"bearerAuth":[]}]}},"/api/v1/organizations/{org_slug}/repos/{repo_slug}/vcs/stacks/{id}/landing_requests":{"post":{"operationId":"post_api_v1_organizations_org_slug_repos_repo_slug_vcs_stacks_id_landing_requests","tags":["organizations"],"parameters":[{"name":"org_slug","in":"path","required":true,"schema":{"type":"string"}},{"name":"repo_slug","in":"path","required":true,"schema":{"type":"string"}},{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"The same active landing scope was already requested","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"required":["request"],"properties":{"request":{"type":"object","required":["id","state","count","through_change_id"],"properties":{"id":{"type":"string"},"state":{"type":"string"},"count":{"type":"integer","minimum":1},"through_change_id":{"type":"string"}}}}}}}},"401":{"description":"Unauthorized"},"403":{"description":"The current user cannot request landing","content":{"application/json":{"schema":{"type":"object","required":["error"],"properties":{"error":{"type":"string"}}}}}},"404":{"description":"Not found"},"422":{"description":"The selected scope is not ready to land","content":{"application/json":{"schema":{"type":"object","required":["error"],"properties":{"error":{"type":"string"}}}}}},"502":{"description":"Bad gateway"},"201":{"description":"A landing request was created","content":{"application/json":{"schema":{"type":"object","required":["request"],"properties":{"request":{"type":"object","required":["id","state","count","through_change_id"],"properties":{"id":{"type":"string"},"state":{"type":"string"},"count":{"type":"integer","minimum":1},"through_change_id":{"type":"string"}}}}}}}},"409":{"description":"The scope is stale or conflicts with an active request","content":{"application/json":{"schema":{"type":"object","required":["error"],"properties":{"error":{"type":"string"}}}}}},"503":{"description":"The merge queue is disabled","content":{"application/json":{"schema":{"type":"object","required":["error"],"properties":{"error":{"type":"string"}}}}}}},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","additionalProperties":false,"required":["through_change_id","expected_scope_version"],"properties":{"through_change_id":{"type":"string"},"expected_scope_version":{"type":"string"},"override_acknowledged":{"type":"boolean"},"expected_requirement_version":{"type":"string"}}}}}},"security":[{"bearerAuth":[]}],"summary":"Request landing through one selected stack change","description":"Revalidates the server selected open prefix and adds it to the merge queue. This endpoint never performs direct landing."}},"/api/v1/organizations/{org_slug}/repos/{repo_slug}/vcs/stacks/{id}/landing_requests/{entry_id}":{"delete":{"operationId":"delete_api_v1_organizations_org_slug_repos_repo_slug_vcs_stacks_id_landing_requests_entry_id_","tags":["organizations"],"parameters":[{"name":"org_slug","in":"path","required":true,"schema":{"type":"string"}},{"name":"repo_slug","in":"path","required":true,"schema":{"type":"string"}},{"name":"id","in":"path","required":true,"schema":{"type":"string"}},{"name":"entry_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"entry_id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"The complete landing request was cancelled","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"required":["request","message"],"properties":{"request":{"type":"object","required":["id","state","version"],"properties":{"id":{"type":"string"},"state":{"type":"string","enum":["cancelled"]},"version":{"type":"integer","minimum":1}}},"message":{"type":"string"}}}}}},"401":{"description":"Unauthorized"},"403":{"description":"The current user cannot cancel this request","content":{"application/json":{"schema":{"type":"object","required":["error"],"properties":{"error":{"type":"string"}}}}}},"404":{"description":"Not found"},"422":{"description":"The landing request has already started landing","content":{"application/json":{"schema":{"type":"object","required":["error"],"properties":{"error":{"type":"string"}}}}}},"502":{"description":"Bad gateway"},"409":{"description":"The landing request version is stale","content":{"application/json":{"schema":{"type":"object","required":["error"],"properties":{"error":{"type":"string"}}}}}}},"security":[{"bearerAuth":[]}],"summary":"Cancel one complete waiting stack landing request","description":"Checks the current actor and entry version, then cancels the complete queue request. It does not amend or abandon any change.","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","additionalProperties":false,"required":["expected_version"],"properties":{"expected_version":{"type":"integer","minimum":1}}}}}}}},"/api/v1/organizations/{org_slug}/repos/{repo_slug}/vcs/stacks/{id}/landing_requests/{entry_id}/retry":{"post":{"operationId":"post_api_v1_organizations_org_slug_repos_repo_slug_vcs_stacks_id_landing_requests_entry_id_retry","tags":["organizations"],"parameters":[{"name":"org_slug","in":"path","required":true,"schema":{"type":"string"}},{"name":"repo_slug","in":"path","required":true,"schema":{"type":"string"}},{"name":"id","in":"path","required":true,"schema":{"type":"string"}},{"name":"entry_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"entry_id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"The recorded remaining changes returned to the merge queue","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"required":["request","message"],"properties":{"request":{"type":"object","required":["id","state","version"],"properties":{"id":{"type":"string"},"state":{"type":"string","enum":["queued"]},"version":{"type":"integer","minimum":1}}},"message":{"type":"string"}}}}}},"401":{"description":"Unauthorized"},"403":{"description":"The current user cannot retry this request","content":{"application/json":{"schema":{"type":"object","required":["error"],"properties":{"error":{"type":"string"}}}}}},"404":{"description":"Not found"},"422":{"description":"The saved remaining scope is no longer eligible to retry","content":{"application/json":{"schema":{"type":"object","required":["error"],"properties":{"error":{"type":"string"}}}}}},"502":{"description":"Bad gateway"},"409":{"description":"The request version, target, or merge authority is stale","content":{"application/json":{"schema":{"type":"object","required":["error"],"properties":{"error":{"type":"string"}}}}}}},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","additionalProperties":false,"required":["expected_version"],"properties":{"expected_version":{"type":"integer","minimum":1}}}}}},"security":[{"bearerAuth":[]}],"summary":"Retry the recorded remainder of a partial stack landing","description":"Rechecks the actor, entry version, current target, and saved remaining scope before returning only the unlanded members to the merge queue."}},"/api/v1/organizations/{org_slug}/repos/{repo_slug}/vcs/stacks/{id}/page":{"get":{"operationId":"get_api_v1_organizations_org_slug_repos_repo_slug_vcs_stacks_id_page","tags":["organizations"],"parameters":[{"name":"org_slug","in":"path","required":true,"schema":{"type":"string"}},{"name":"repo_slug","in":"path","required":true,"schema":{"type":"string"}},{"name":"id","in":"path","required":true,"schema":{"type":"string"}},{"name":"change","in":"query","required":false,"description":"JJ change ID. Legacy change keys remain accepted for old links.","schema":{"type":"string"}}],"responses":{"200":{"description":"Bounded stack page data and the selected change overview","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"required":["stack","changes","selected_change","landing"],"properties":{"stack":{"type":"object","required":["id","number","reference","title","status","progress","target_branch","base_commit_id"],"properties":{"id":{"type":"string"},"number":{"type":"integer","nullable":true},"reference":{"type":"string","nullable":true},"title":{"type":"string"},"status":{"type":"string","enum":["open","landed","abandoned"]},"progress":{"type":"object","required":["landed_changes","total_changes"],"properties":{"landed_changes":{"type":"integer"},"total_changes":{"type":"integer"}}},"target_branch":{"type":"string"},"base_commit_id":{"type":"string","nullable":true}}},"changes":{"type":"array","items":{"type":"object","required":["id","change_id","position","title","status","primary_status","author","current_patchset_number","additions","deletions"],"properties":{"id":{"type":"string"},"change_id":{"type":"string"},"position":{"type":"integer"},"title":{"type":"string"},"status":{"type":"string"},"primary_status":{"type":"string","enum":["needs_attention","changes_requested","checks_failed","needs_review","waiting_for_checks","checks_running","ready_to_land","waiting_to_land","landing","landed"]},"author":{"type":"object","nullable":true,"required":["id","name","email","picture_url"],"properties":{"id":{"type":"string"},"name":{"type":"string","nullable":true},"email":{"type":"string","nullable":true},"picture_url":{"type":"string","nullable":true}}},"current_patchset_number":{"type":"integer","nullable":true},"additions":{"type":"integer"},"deletions":{"type":"integer"}}}},"selected_change":{"type":"object","nullable":true,"required":["id","change_id","title","description_body","position","status","primary_status","approval","author","parent_change_id","current_patchset"],"properties":{"id":{"type":"string"},"change_id":{"type":"string"},"title":{"type":"string"},"description_body":{"type":"string","nullable":true},"position":{"type":"integer"},"status":{"type":"string"},"primary_status":{"type":"string","enum":["needs_attention","changes_requested","checks_failed","needs_review","waiting_for_checks","checks_running","ready_to_land","waiting_to_land","landing","landed"]},"approval":{"type":"object","additionalProperties":false,"required":["state","message"],"properties":{"state":{"type":"string","enum":["available","approved","unavailable"]},"message":{"type":"string","nullable":true}}},"author":{"type":"object","nullable":true,"required":["id","name","email","picture_url"],"properties":{"id":{"type":"string"},"name":{"type":"string","nullable":true},"email":{"type":"string","nullable":true},"picture_url":{"type":"string","nullable":true}}},"parent_change_id":{"type":"string","nullable":true},"current_patchset":{"type":"object","nullable":true,"required":["id","number","commit_id","parent_commit_id","files"],"properties":{"id":{"type":"string"},"number":{"type":"integer"},"commit_id":{"type":"string"},"parent_commit_id":{"type":"string","nullable":true},"files":{"type":"array","items":{"type":"object","required":["path","status","additions","deletions","binary","truncated"],"properties":{"path":{"type":"string"},"previous_path":{"type":"string","nullable":true},"status":{"type":"string"},"additions":{"type":"integer"},"deletions":{"type":"integer"},"binary":{"type":"boolean"},"truncated":{"type":"boolean"},"patch":{"type":"string","nullable":true}}}}}}}},"landing":{"type":"object","required":["scope","action","requirements","override","request"],"properties":{"scope":{"type":"object","nullable":true,"required":["through_change_id","scope_version","count","count_label","changes"],"properties":{"through_change_id":{"type":"string"},"scope_version":{"type":"string"},"count":{"type":"integer","minimum":1},"count_label":{"type":"string"},"changes":{"type":"array","minItems":1,"items":{"type":"object","required":["id","change_id","position","title","primary_status"],"properties":{"id":{"type":"string"},"change_id":{"type":"string"},"position":{"type":"integer"},"title":{"type":"string"},"primary_status":{"type":"string","enum":["needs_attention","changes_requested","checks_failed","needs_review","waiting_for_checks","checks_running","ready_to_land","waiting_to_land","landing","landed"]}}}}}},"action":{"type":"object","required":["state","message"],"properties":{"state":{"type":"string","enum":["available","blocked","forbidden"]},"message":{"type":"string","nullable":true}}},"requirements":{"type":"array","items":{"type":"object","additionalProperties":false,"required":["code","message","overridable"],"properties":{"code":{"type":"string"},"message":{"type":"string"},"change_id":{"type":"string","nullable":true},"position":{"type":"integer","nullable":true},"check_name":{"type":"string","nullable":true},"overridable":{"type":"boolean"}}}},"override":{"type":"object","additionalProperties":false,"required":["available","required","requirement_version"],"properties":{"available":{"type":"boolean"},"required":{"type":"boolean"},"requirement_version":{"type":"string"}}},"request":{"type":"object","nullable":true,"additionalProperties":false,"required":["id","version","state","message","can_cancel","can_retry","changes","completed_changes","remaining_changes"],"properties":{"id":{"type":"string"},"version":{"type":"integer","minimum":1},"state":{"type":"string","enum":["waiting","landing","failed","needs_attention"]},"message":{"type":"string","nullable":true},"can_cancel":{"type":"boolean"},"can_retry":{"type":"boolean"},"changes":{"type":"array","minItems":1,"items":{"type":"object","required":["id","change_id","position","title","primary_status"],"properties":{"id":{"type":"string"},"change_id":{"type":"string"},"position":{"type":"integer"},"title":{"type":"string"},"primary_status":{"type":"string","enum":["needs_attention","changes_requested","checks_failed","needs_review","waiting_for_checks","checks_running","ready_to_land","waiting_to_land","landing","landed"]}}}},"completed_changes":{"type":"array","minItems":0,"items":{"type":"object","required":["id","change_id","position","title","primary_status"],"properties":{"id":{"type":"string"},"change_id":{"type":"string"},"position":{"type":"integer"},"title":{"type":"string"},"primary_status":{"type":"string","enum":["needs_attention","changes_requested","checks_failed","needs_review","waiting_for_checks","checks_running","ready_to_land","waiting_to_land","landing","landed"]}}}},"remaining_changes":{"type":"array","minItems":0,"items":{"type":"object","required":["id","change_id","position","title","primary_status"],"properties":{"id":{"type":"string"},"change_id":{"type":"string"},"position":{"type":"integer"},"title":{"type":"string"},"primary_status":{"type":"string","enum":["needs_attention","changes_requested","checks_failed","needs_review","waiting_for_checks","checks_running","ready_to_land","waiting_to_land","landing","landed"]}}}}}}}}}}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not found"},"422":{"description":"Unprocessable entity"},"502":{"description":"Bad gateway"}},"security":[{"bearerAuth":[]}],"summary":"Read one stack show page","description":"Resolves the stack within the authorized repository, orders changes from tip to base, and selects a change by JJ change ID. Missing or invalid selections use the first open change and then the first change."}},"/api/v1/organizations/{org_slug}/repos/{repo_slug}/vcs/stacks/{id}/tracked_github_members":{"get":{"operationId":"get_api_v1_organizations_org_slug_repos_repo_slug_vcs_stacks_id_tracked_github_members","tags":["organizations"],"parameters":[{"name":"org_slug","in":"path","required":true,"schema":{"type":"string"}},{"name":"repo_slug","in":"path","required":true,"schema":{"type":"string"}},{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Stable tracked-member rows for the stack","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"required":["stack_id","tracked_members"],"properties":{"stack_id":{"type":"string"},"tracked_members":{"type":"array","items":{"type":"object","required":["id","stack_id","position","state","source_kind","source_value","github_repository_owner","github_repository_name","github_pr_number","github_branch_name","github_head_sha","github_base_branch_name","managed_pull_request","tracked_at"],"properties":{"id":{"type":"string"},"stack_id":{"type":"string"},"parent_id":{"type":"string","nullable":true},"position":{"type":"integer","minimum":1},"state":{"type":"string","enum":["active","merged","untracked","abandoned"]},"source_kind":{"type":"string","enum":["pull_request","branch"]},"source_value":{"type":"string"},"github_repository_owner":{"type":"string"},"github_repository_name":{"type":"string"},"github_pr_number":{"type":"integer","minimum":1},"github_pr_node_id":{"type":"string","nullable":true},"github_pr_url":{"type":"string","nullable":true},"github_branch_name":{"type":"string"},"github_head_sha":{"type":"string"},"github_base_branch_name":{"type":"string"},"github_author_login":{"type":"string","nullable":true},"github_author_id":{"type":"string","nullable":true},"managed_pull_request":{"type":"boolean"},"github_merge_commit_sha":{"type":"string","nullable":true},"last_error":{"type":"string","nullable":true},"tracked_by":{"type":"object","nullable":true,"additionalProperties":true},"untracked_by":{"type":"object","nullable":true,"additionalProperties":true},"tracked_at":{"type":"string","format":"date-time"},"refreshed_at":{"type":"string","format":"date-time","nullable":true},"untracked_at":{"type":"string","format":"date-time","nullable":true},"abandoned_at":{"type":"string","format":"date-time","nullable":true},"merged_at":{"type":"string","format":"date-time","nullable":true},"created_at":{"type":"string","format":"date-time"},"updated_at":{"type":"string","format":"date-time"}}}}}}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not found"},"422":{"description":"Unprocessable entity"},"502":{"description":"Bad gateway"}},"security":[{"bearerAuth":[]}],"summary":"List authored GitHub dependencies for a Vex stack","description":"Returns active and terminal audit rows in authored order. Tracking is available only for GitHub-backed stacks under github_primary authority."},"post":{"operationId":"post_api_v1_organizations_org_slug_repos_repo_slug_vcs_stacks_id_tracked_github_members","tags":["organizations"],"parameters":[{"name":"org_slug","in":"path","required":true,"schema":{"type":"string"}},{"name":"repo_slug","in":"path","required":true,"schema":{"type":"string"}},{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Existing tracked member returned by idempotent replay","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"required":["ok","created","managed_pull_request_created","tracked_member","stack"],"properties":{"ok":{"type":"boolean"},"created":{"type":"boolean"},"managed_pull_request_created":{"type":"boolean"},"tracked_member":{"type":"object","required":["id","stack_id","position","state","source_kind","source_value","github_repository_owner","github_repository_name","github_pr_number","github_branch_name","github_head_sha","github_base_branch_name","managed_pull_request","tracked_at"],"properties":{"id":{"type":"string"},"stack_id":{"type":"string"},"parent_id":{"type":"string","nullable":true},"position":{"type":"integer","minimum":1},"state":{"type":"string","enum":["active","merged","untracked","abandoned"]},"source_kind":{"type":"string","enum":["pull_request","branch"]},"source_value":{"type":"string"},"github_repository_owner":{"type":"string"},"github_repository_name":{"type":"string"},"github_pr_number":{"type":"integer","minimum":1},"github_pr_node_id":{"type":"string","nullable":true},"github_pr_url":{"type":"string","nullable":true},"github_branch_name":{"type":"string"},"github_head_sha":{"type":"string"},"github_base_branch_name":{"type":"string"},"github_author_login":{"type":"string","nullable":true},"github_author_id":{"type":"string","nullable":true},"managed_pull_request":{"type":"boolean"},"github_merge_commit_sha":{"type":"string","nullable":true},"last_error":{"type":"string","nullable":true},"tracked_by":{"type":"object","nullable":true,"additionalProperties":true},"untracked_by":{"type":"object","nullable":true,"additionalProperties":true},"tracked_at":{"type":"string","format":"date-time"},"refreshed_at":{"type":"string","format":"date-time","nullable":true},"untracked_at":{"type":"string","format":"date-time","nullable":true},"abandoned_at":{"type":"string","format":"date-time","nullable":true},"merged_at":{"type":"string","format":"date-time","nullable":true},"created_at":{"type":"string","format":"date-time"},"updated_at":{"type":"string","format":"date-time"}}},"stack":{"type":"object","additionalProperties":true}}}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not found"},"422":{"description":"The selector, authority, repository, PR, or exact GitHub state is ineligible"},"502":{"description":"GitHub could not be read or updated safely"},"201":{"description":"Authored tracked member created","content":{"application/json":{"schema":{"type":"object","required":["ok","created","managed_pull_request_created","tracked_member","stack"],"properties":{"ok":{"type":"boolean"},"created":{"type":"boolean"},"managed_pull_request_created":{"type":"boolean"},"tracked_member":{"type":"object","required":["id","stack_id","position","state","source_kind","source_value","github_repository_owner","github_repository_name","github_pr_number","github_branch_name","github_head_sha","github_base_branch_name","managed_pull_request","tracked_at"],"properties":{"id":{"type":"string"},"stack_id":{"type":"string"},"parent_id":{"type":"string","nullable":true},"position":{"type":"integer","minimum":1},"state":{"type":"string","enum":["active","merged","untracked","abandoned"]},"source_kind":{"type":"string","enum":["pull_request","branch"]},"source_value":{"type":"string"},"github_repository_owner":{"type":"string"},"github_repository_name":{"type":"string"},"github_pr_number":{"type":"integer","minimum":1},"github_pr_node_id":{"type":"string","nullable":true},"github_pr_url":{"type":"string","nullable":true},"github_branch_name":{"type":"string"},"github_head_sha":{"type":"string"},"github_base_branch_name":{"type":"string"},"github_author_login":{"type":"string","nullable":true},"github_author_id":{"type":"string","nullable":true},"managed_pull_request":{"type":"boolean"},"github_merge_commit_sha":{"type":"string","nullable":true},"last_error":{"type":"string","nullable":true},"tracked_by":{"type":"object","nullable":true,"additionalProperties":true},"untracked_by":{"type":"object","nullable":true,"additionalProperties":true},"tracked_at":{"type":"string","format":"date-time"},"refreshed_at":{"type":"string","format":"date-time","nullable":true},"untracked_at":{"type":"string","format":"date-time","nullable":true},"abandoned_at":{"type":"string","format":"date-time","nullable":true},"merged_at":{"type":"string","format":"date-time","nullable":true},"created_at":{"type":"string","format":"date-time"},"updated_at":{"type":"string","format":"date-time"}}},"stack":{"type":"object","additionalProperties":true}}}}}},"409":{"description":"The PR, parent slot, queue state, or authored base conflicts with current durable state"},"503":{"description":"Repository mutation ownership is busy or was lost; only a response with retryable=true and Retry-After is safe to replay automatically","content":{"application/json":{"schema":{"type":"object","required":["error","code","retryable"],"properties":{"error":{"type":"string"},"code":{"type":"string","enum":["repository_mutation_busy","repository_mutation_lease_lost"]},"retryable":{"type":"boolean"}}}}}}},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"required":["selector"],"properties":{"selector":{"type":"string","description":"Pull request number (`123`, `#123`, or `pr123`) or exact branch name."},"after":{"type":"string","nullable":true,"description":"Tracked-member id or `target`; omitted appends to the current tracked prefix."}}}}}},"security":[{"bearerAuth":[]}],"summary":"Track a GitHub pull request or branch as an authored stack dependency","description":"Idempotently records an explicit dependency after the requested parent. A branch without an open pull request gets a Vex-managed pull request against the exact authored base."},"delete":{"operationId":"delete_api_v1_organizations_org_slug_repos_repo_slug_vcs_stacks_id_tracked_github_members","tags":["organizations"],"parameters":[{"name":"org_slug","in":"path","required":true,"schema":{"type":"string"}},{"name":"repo_slug","in":"path","required":true,"schema":{"type":"string"}},{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Tracked member terminalized and stack generation advanced","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"required":["ok","tracked_member","stack"],"properties":{"ok":{"type":"boolean"},"tracked_member":{"type":"object","required":["id","stack_id","position","state","source_kind","source_value","github_repository_owner","github_repository_name","github_pr_number","github_branch_name","github_head_sha","github_base_branch_name","managed_pull_request","tracked_at"],"properties":{"id":{"type":"string"},"stack_id":{"type":"string"},"parent_id":{"type":"string","nullable":true},"position":{"type":"integer","minimum":1},"state":{"type":"string","enum":["active","merged","untracked","abandoned"]},"source_kind":{"type":"string","enum":["pull_request","branch"]},"source_value":{"type":"string"},"github_repository_owner":{"type":"string"},"github_repository_name":{"type":"string"},"github_pr_number":{"type":"integer","minimum":1},"github_pr_node_id":{"type":"string","nullable":true},"github_pr_url":{"type":"string","nullable":true},"github_branch_name":{"type":"string"},"github_head_sha":{"type":"string"},"github_base_branch_name":{"type":"string"},"github_author_login":{"type":"string","nullable":true},"github_author_id":{"type":"string","nullable":true},"managed_pull_request":{"type":"boolean"},"github_merge_commit_sha":{"type":"string","nullable":true},"last_error":{"type":"string","nullable":true},"tracked_by":{"type":"object","nullable":true,"additionalProperties":true},"untracked_by":{"type":"object","nullable":true,"additionalProperties":true},"tracked_at":{"type":"string","format":"date-time"},"refreshed_at":{"type":"string","format":"date-time","nullable":true},"untracked_at":{"type":"string","format":"date-time","nullable":true},"abandoned_at":{"type":"string","format":"date-time","nullable":true},"merged_at":{"type":"string","format":"date-time","nullable":true},"created_at":{"type":"string","format":"date-time"},"updated_at":{"type":"string","format":"date-time"}}},"stack":{"type":"object","additionalProperties":true}}}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not found"},"422":{"description":"The tracked member was not found in this stack"},"502":{"description":"Bad gateway"},"409":{"description":"The member has an active child or the stack has active queue work"}},"security":[{"bearerAuth":[]}],"summary":"Remove a leaf GitHub dependency from an authored stack","description":"Retains the terminal audit row. Active parents must be removed leaf-first, and no tracked structure may change while the stack has active queue work.","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["identifier"],"properties":{"identifier":{"type":"string","description":"Tracked-member id, PR number, or exact branch name."}}}}}}}},"/api/v1/organizations/{org_slug}/repos/{repo_slug}/vcs/tree":{"get":{"operationId":"api_v1_org_repo_vcs_tree","tags":["organizations"],"parameters":[{"name":"org_slug","in":"path","required":true,"schema":{"type":"string"}},{"name":"repo_slug","in":"path","required":true,"schema":{"type":"string"}},{"name":"ref","in":"query","required":true,"schema":{"type":"string"}},{"name":"path","in":"query","schema":{"type":"string","default":""}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not found"},"422":{"description":"Unprocessable entity"},"502":{"description":"Bad gateway"}},"security":[{"bearerAuth":[]}],"summary":"Tree entries at path (with per-entry last commit and README)"}},"/api/v1/organizations/{org_slug}/stacks":{"get":{"operationId":"api_v1_stacks","tags":["organizations"],"parameters":[{"name":"org_slug","in":"path","required":true,"schema":{"type":"string"}},{"name":"q","in":"query","required":false,"description":"Matches stack title or reference, native or selected Repo name or slug, and author name or email.","schema":{"type":"string"}},{"name":"status","in":"query","required":false,"description":"Defaults to active. Unknown values also use active.","schema":{"type":"string","enum":["active","landed","abandoned","all"],"default":"active"}},{"name":"repo","in":"query","required":false,"description":"Public native or selected Repo identifier. An unknown identifier returns no matches.","schema":{"type":"string"}},{"name":"author","in":"query","required":false,"description":"Public user identifier or me for stacks created by the current user. An unknown identifier returns no matches.","schema":{"type":"string"}},{"name":"review_state","in":"query","required":false,"schema":{"type":"string","enum":["draft","in_review","changes_requested","ready_to_land","needs_my_review"]}},{"name":"sort","in":"query","required":false,"description":"Defaults to updated. Unknown values also use updated.","schema":{"type":"string","enum":["stack","repository","author","updated"],"default":"updated"}},{"name":"direction","in":"query","required":false,"description":"Defaults to desc. Unknown values also use desc.","schema":{"type":"string","enum":["asc","desc"],"default":"desc"}},{"name":"page","in":"query","required":false,"schema":{"type":"integer","minimum":1,"default":1}}],"responses":{"200":{"description":"Paginated stacks, status facets, and filter choices","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"required":["stacks","pagination","facets","filter_options"],"properties":{"stacks":{"type":"array","items":{"type":"object","required":["id","status","status_label","reference","title","target_branch","repo","author","review","checks","landable","updated_at"],"properties":{"id":{"type":"string"},"status":{"type":"string","enum":["open","landed","abandoned"]},"status_label":{"type":"string"},"reference":{"type":"string","nullable":true},"title":{"type":"string"},"target_branch":{"type":"string"},"repo":{"type":"object","required":["id","slug","name","icon_name"],"properties":{"id":{"type":"string"},"slug":{"type":"string"},"name":{"type":"string"},"icon_name":{"type":"string"}}},"author":{"type":"object","required":["id","name","email","picture_url"],"properties":{"id":{"type":"string"},"name":{"type":"string","nullable":true},"email":{"type":"string","format":"email"},"picture_url":{"type":"string","nullable":true}}},"review":{"type":"object","required":["state","label","accepted_count","count"],"properties":{"state":{"type":"string","enum":["draft","in_review","changes_requested","ready_to_land"]},"label":{"type":"string"},"accepted_count":{"type":"integer","minimum":0},"count":{"type":"integer","minimum":0}}},"checks":{"type":"object","required":["state","label"],"properties":{"state":{"type":"string","enum":["absent","passing","failing","running"]},"label":{"type":"string"}}},"landable":{"type":"boolean"},"updated_at":{"type":"string","format":"date-time"}}}},"pagination":{"type":"object","required":["page","limit","count","last","series"],"additionalProperties":true,"properties":{"page":{"type":"integer","minimum":1},"limit":{"type":"integer","minimum":1},"count":{"type":"integer","minimum":0},"last":{"type":"integer","minimum":1},"previous":{"type":"integer","nullable":true},"next":{"type":"integer","nullable":true},"series":{"type":"array","items":{"oneOf":[{"type":"integer"},{"type":"string"}]}}}},"facets":{"type":"object","required":["active","landed","abandoned","all"],"properties":{"active":{"type":"integer","minimum":0},"landed":{"type":"integer","minimum":0},"abandoned":{"type":"integer","minimum":0},"all":{"type":"integer","minimum":0}}},"filter_options":{"type":"object","required":["statuses","repos","authors","review_states"],"properties":{"statuses":{"type":"array","items":{"type":"object","required":["value","label"],"properties":{"value":{"type":"string","enum":["active","landed","abandoned","all"]},"label":{"type":"string"}}}},"repos":{"type":"array","items":{"type":"object","required":["value","label"],"properties":{"value":{"type":"string"},"label":{"type":"string"}}}},"authors":{"type":"array","items":{"type":"object","required":["value","label"],"properties":{"value":{"type":"string"},"label":{"type":"string"}}}},"review_states":{"type":"array","items":{"type":"object","required":["value","label"],"properties":{"value":{"type":"string","enum":["","needs_my_review","draft","in_review","changes_requested","ready_to_land"]},"label":{"type":"string"}}}}}}}},"example":{"stacks":[],"pagination":{"page":1,"limit":20,"count":0,"last":1,"previous":null,"next":null,"series":[1]},"facets":{"active":0,"landed":0,"abandoned":0,"all":0},"filter_options":{"statuses":[{"value":"active","label":"Active 0"},{"value":"landed","label":"Landed 0"},{"value":"abandoned","label":"Abandoned 0"},{"value":"all","label":"All 0"}],"repos":[{"value":"","label":"All Repos"}],"authors":[{"value":"","label":"All Authors"},{"value":"me","label":"Created by Me"}],"review_states":[{"value":"","label":"All Review States"},{"value":"needs_my_review","label":"Needs My Review"},{"value":"draft","label":"Draft"},{"value":"in_review","label":"In review"},{"value":"changes_requested","label":"Changes requested"},{"value":"ready_to_land","label":"Ready to land"}]}}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not found"},"422":{"description":"Unprocessable entity"},"502":{"description":"Bad gateway"}},"security":[{"bearerAuth":[]}],"summary":"List and discover stacks across an organization"}},"/api/v1/organizations/{organization_id}/domain_dns_integrations":{"get":{"operationId":"api_v1_organization_domain_dns_integrations","tags":["organizations"],"parameters":[{"name":"organization_id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"DNS integrations in the organization","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"required":["integrations"],"properties":{"integrations":{"type":"array","items":{"$ref":"#/components/schemas/DomainDnsIntegration"}}}}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not found"},"422":{"description":"Unprocessable entity"},"502":{"description":"Bad gateway"}},"security":[{"bearerAuth":[]}]},"post":{"operationId":"post_api_v1_organizations_organization_id_domain_dns_integrations","tags":["organizations"],"parameters":[{"name":"organization_id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Connected Cloudflare DNS integration","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"$ref":"#/components/schemas/DomainDnsIntegration"}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not found"},"422":{"description":"Static site request failed validation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/StaticSiteError"}}}},"502":{"description":"Bad gateway"},"201":{"description":"Connected Cloudflare DNS integration","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DomainDnsIntegration"}}}}},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"required":["api_token"],"properties":{"api_token":{"type":"string","writeOnly":true},"account_label":{"type":"string"}}}}}},"security":[{"bearerAuth":[]}]}},"/api/v1/organizations/{organization_id}/github_app/installations":{"get":{"operationId":"api_v1_organization_github_app_installations","tags":["organizations"],"parameters":[{"name":"organization_id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"GitHub App installations linked to the organization","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"required":["github_app_installations"],"properties":{"github_app_installations":{"type":"array","items":{"type":"object","required":["id","organization_id","installation_id","account_login","account_id","status","permissions","installed_at","installed_at_label","suspended_at","suspended_at_label","created_at","created_at_label","updated_at","updated_at_label"],"properties":{"id":{"type":"string"},"organization_id":{"type":"string"},"installation_id":{"type":"string"},"account_login":{"type":"string"},"account_id":{"type":"string","nullable":true},"status":{"type":"string","enum":["active","suspended"]},"permissions":{"type":"object","additionalProperties":true},"installed_at":{"type":"string","format":"date-time","nullable":true},"installed_at_label":{"type":"string","nullable":true},"suspended_at":{"type":"string","format":"date-time","nullable":true},"suspended_at_label":{"type":"string","nullable":true},"created_at":{"type":"string","format":"date-time"},"created_at_label":{"type":"string","nullable":true},"updated_at":{"type":"string","format":"date-time"},"updated_at_label":{"type":"string","nullable":true}}}}}}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not found"},"422":{"description":"Unprocessable entity"},"502":{"description":"Bad gateway"}},"security":[{"bearerAuth":[]}]}},"/api/v1/organizations/{organization_id}/github_ci_repositories":{"get":{"operationId":"api_v1_organization_github_ci_repositories","tags":["organizations"],"parameters":[{"name":"organization_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"status","in":"query","required":false,"schema":{"type":"string","enum":["active","paused","archived"]}},{"name":"adoption_mode","in":"query","required":false,"schema":{"type":"string","enum":["shadow","reporting","required"]}}],"responses":{"200":{"description":"GitHub CI repositories","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"required":["github_ci_repositories"],"properties":{"github_ci_repositories":{"type":"array","items":{"type":"object","required":["id","organization_id","github_app_installation_id","ci_runner_pool_id","github_repository_id","repository_owner","repository_name","repository_full_name","default_branch","status","adoption_mode","check_name_prefix","permission_status","last_webhook_delivery_id","last_webhook_event","last_webhook_action","last_webhook_at","last_webhook_at_label","last_head_sha","last_ref","last_pull_request_number","webhook_delivery_count","last_compatibility_status","last_error_message","metadata","created_at","updated_at","created_at_label","updated_at_label"],"properties":{"id":{"type":"string"},"organization_id":{"type":"string"},"github_app_installation_id":{"type":"string"},"ci_runner_pool_id":{"type":"string","nullable":true},"github_repository_id":{"type":"string"},"repository_owner":{"type":"string"},"repository_name":{"type":"string"},"repository_full_name":{"type":"string"},"default_branch":{"type":"string"},"status":{"type":"string","enum":["active","paused","archived"]},"adoption_mode":{"type":"string","enum":["shadow","reporting","required"]},"check_name_prefix":{"type":"string"},"permission_status":{"type":"string","enum":["unchecked","ok","missing"]},"last_webhook_delivery_id":{"type":"string","nullable":true},"last_webhook_event":{"type":"string","nullable":true},"last_webhook_action":{"type":"string","nullable":true},"last_webhook_at":{"type":"string","format":"date-time","nullable":true},"last_webhook_at_label":{"type":"string","nullable":true},"last_head_sha":{"type":"string","nullable":true},"last_ref":{"type":"string","nullable":true},"last_pull_request_number":{"type":"integer","nullable":true},"webhook_delivery_count":{"type":"integer"},"last_compatibility_status":{"type":"string","enum":["executable","warning","blocked","error"],"nullable":true},"last_error_message":{"type":"string","nullable":true},"metadata":{"type":"object","additionalProperties":true},"created_at":{"type":"string","format":"date-time"},"updated_at":{"type":"string","format":"date-time"},"created_at_label":{"type":"string","nullable":true},"updated_at_label":{"type":"string","nullable":true}}}}}}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not found"},"422":{"description":"Unprocessable entity"},"502":{"description":"Bad gateway"}},"security":[{"bearerAuth":[]}]},"post":{"operationId":"post_api_v1_organizations_organization_id_github_ci_repositories","tags":["organizations"],"parameters":[{"name":"organization_id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"GitHub CI repository","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"required":["id","organization_id","github_app_installation_id","ci_runner_pool_id","github_repository_id","repository_owner","repository_name","repository_full_name","default_branch","status","adoption_mode","check_name_prefix","permission_status","last_webhook_delivery_id","last_webhook_event","last_webhook_action","last_webhook_at","last_webhook_at_label","last_head_sha","last_ref","last_pull_request_number","webhook_delivery_count","last_compatibility_status","last_error_message","metadata","created_at","updated_at","created_at_label","updated_at_label"],"properties":{"id":{"type":"string"},"organization_id":{"type":"string"},"github_app_installation_id":{"type":"string"},"ci_runner_pool_id":{"type":"string","nullable":true},"github_repository_id":{"type":"string"},"repository_owner":{"type":"string"},"repository_name":{"type":"string"},"repository_full_name":{"type":"string"},"default_branch":{"type":"string"},"status":{"type":"string","enum":["active","paused","archived"]},"adoption_mode":{"type":"string","enum":["shadow","reporting","required"]},"check_name_prefix":{"type":"string"},"permission_status":{"type":"string","enum":["unchecked","ok","missing"]},"last_webhook_delivery_id":{"type":"string","nullable":true},"last_webhook_event":{"type":"string","nullable":true},"last_webhook_action":{"type":"string","nullable":true},"last_webhook_at":{"type":"string","format":"date-time","nullable":true},"last_webhook_at_label":{"type":"string","nullable":true},"last_head_sha":{"type":"string","nullable":true},"last_ref":{"type":"string","nullable":true},"last_pull_request_number":{"type":"integer","nullable":true},"webhook_delivery_count":{"type":"integer"},"last_compatibility_status":{"type":"string","enum":["executable","warning","blocked","error"],"nullable":true},"last_error_message":{"type":"string","nullable":true},"metadata":{"type":"object","additionalProperties":true},"created_at":{"type":"string","format":"date-time"},"updated_at":{"type":"string","format":"date-time"},"created_at_label":{"type":"string","nullable":true},"updated_at_label":{"type":"string","nullable":true}}}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not found"},"422":{"description":"Unprocessable entity"},"502":{"description":"Bad gateway"},"201":{"description":"GitHub CI repository","content":{"application/json":{"schema":{"type":"object","required":["id","organization_id","github_app_installation_id","ci_runner_pool_id","github_repository_id","repository_owner","repository_name","repository_full_name","default_branch","status","adoption_mode","check_name_prefix","permission_status","last_webhook_delivery_id","last_webhook_event","last_webhook_action","last_webhook_at","last_webhook_at_label","last_head_sha","last_ref","last_pull_request_number","webhook_delivery_count","last_compatibility_status","last_error_message","metadata","created_at","updated_at","created_at_label","updated_at_label"],"properties":{"id":{"type":"string"},"organization_id":{"type":"string"},"github_app_installation_id":{"type":"string"},"ci_runner_pool_id":{"type":"string","nullable":true},"github_repository_id":{"type":"string"},"repository_owner":{"type":"string"},"repository_name":{"type":"string"},"repository_full_name":{"type":"string"},"default_branch":{"type":"string"},"status":{"type":"string","enum":["active","paused","archived"]},"adoption_mode":{"type":"string","enum":["shadow","reporting","required"]},"check_name_prefix":{"type":"string"},"permission_status":{"type":"string","enum":["unchecked","ok","missing"]},"last_webhook_delivery_id":{"type":"string","nullable":true},"last_webhook_event":{"type":"string","nullable":true},"last_webhook_action":{"type":"string","nullable":true},"last_webhook_at":{"type":"string","format":"date-time","nullable":true},"last_webhook_at_label":{"type":"string","nullable":true},"last_head_sha":{"type":"string","nullable":true},"last_ref":{"type":"string","nullable":true},"last_pull_request_number":{"type":"integer","nullable":true},"webhook_delivery_count":{"type":"integer"},"last_compatibility_status":{"type":"string","enum":["executable","warning","blocked","error"],"nullable":true},"last_error_message":{"type":"string","nullable":true},"metadata":{"type":"object","additionalProperties":true},"created_at":{"type":"string","format":"date-time"},"updated_at":{"type":"string","format":"date-time"},"created_at_label":{"type":"string","nullable":true},"updated_at_label":{"type":"string","nullable":true}}}}}}},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"required":["github_app_installation_id","github_repository_id","repository_owner","repository_name"],"properties":{"github_app_installation_id":{"type":"string"},"ci_runner_pool_id":{"type":"string","nullable":true},"github_repository_id":{"type":"string"},"repository_owner":{"type":"string"},"repository_name":{"type":"string"},"default_branch":{"type":"string"},"status":{"type":"string","enum":["active","paused","archived"]},"adoption_mode":{"type":"string","enum":["shadow","reporting","required"]},"check_name_prefix":{"type":"string"}}}}}},"security":[{"bearerAuth":[]}]}},"/api/v1/organizations/{organization_id}/github_ci_repositories/{github_ci_repository_id}/compatibility_reports":{"get":{"operationId":"api_v1_organization_github_ci_repository_compatibility_reports","tags":["organizations"],"parameters":[{"name":"organization_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"github_ci_repository_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"status","in":"query","required":false,"schema":{"type":"string","enum":["executable","warning","blocked","error"]}},{"name":"source_sha","in":"query","required":false,"schema":{"type":"string"}},{"name":"event_name","in":"query","required":false,"schema":{"type":"string"}}],"responses":{"200":{"description":"CI workflow compatibility reports","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"required":["ci_workflow_compatibility_reports"],"properties":{"ci_workflow_compatibility_reports":{"type":"array","items":{"type":"object","required":["id","organization_id","github_ci_repository_id","ci_pipeline_id","ci_pipeline_run_id","workflow_path","source_sha","source_blob_sha","parser_version","workflow_name","event_name","event_action","ref_name","head_sha","pull_request_number","status","execution_allowed","required_secrets","runner_labels","referenced_actions","supported_features","diagnostics","warnings","errors","metadata","analyzed_at","analyzed_at_label","created_at","updated_at","created_at_label","updated_at_label"],"properties":{"id":{"type":"string"},"organization_id":{"type":"string"},"github_ci_repository_id":{"type":"string"},"ci_pipeline_id":{"type":"string","nullable":true},"ci_pipeline_run_id":{"type":"string","nullable":true},"workflow_path":{"type":"string"},"source_sha":{"type":"string"},"source_blob_sha":{"type":"string","nullable":true},"parser_version":{"type":"string"},"workflow_name":{"type":"string","nullable":true},"event_name":{"type":"string"},"event_action":{"type":"string","nullable":true},"ref_name":{"type":"string","nullable":true},"head_sha":{"type":"string","nullable":true},"pull_request_number":{"type":"integer","nullable":true},"status":{"type":"string","enum":["executable","warning","blocked","error"]},"execution_allowed":{"type":"boolean"},"required_secrets":{"type":"array","items":{"type":"string"}},"runner_labels":{"type":"array","items":{"type":"string"}},"referenced_actions":{"type":"array","items":{"type":"string"}},"supported_features":{"type":"object","additionalProperties":true},"diagnostics":{"type":"array","items":{"type":"object","required":["severity","code","path","message","metadata"],"properties":{"severity":{"type":"string","enum":["error","warning"]},"code":{"type":"string"},"path":{"type":"string"},"message":{"type":"string"},"metadata":{"type":"object","additionalProperties":true}}}},"warnings":{"type":"array","items":{"type":"object","required":["severity","code","path","message","metadata"],"properties":{"severity":{"type":"string","enum":["error","warning"]},"code":{"type":"string"},"path":{"type":"string"},"message":{"type":"string"},"metadata":{"type":"object","additionalProperties":true}}}},"errors":{"type":"array","items":{"type":"object","required":["severity","code","path","message","metadata"],"properties":{"severity":{"type":"string","enum":["error","warning"]},"code":{"type":"string"},"path":{"type":"string"},"message":{"type":"string"},"metadata":{"type":"object","additionalProperties":true}}}},"metadata":{"type":"object","additionalProperties":true},"analyzed_at":{"type":"string","format":"date-time"},"analyzed_at_label":{"type":"string","nullable":true},"created_at":{"type":"string","format":"date-time"},"updated_at":{"type":"string","format":"date-time"},"created_at_label":{"type":"string","nullable":true},"updated_at_label":{"type":"string","nullable":true}}}}}}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not found"},"422":{"description":"Unprocessable entity"},"502":{"description":"Bad gateway"}},"security":[{"bearerAuth":[]}]}},"/api/v1/organizations/{organization_id}/github_ci_repositories/{github_ci_repository_id}/compatibility_reports/{id}":{"get":{"operationId":"api_v1_organization_github_ci_repository_compatibility_report","tags":["organizations"],"parameters":[{"name":"organization_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"github_ci_repository_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"CI workflow compatibility report","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"required":["id","organization_id","github_ci_repository_id","ci_pipeline_id","ci_pipeline_run_id","workflow_path","source_sha","source_blob_sha","parser_version","workflow_name","event_name","event_action","ref_name","head_sha","pull_request_number","status","execution_allowed","required_secrets","runner_labels","referenced_actions","supported_features","diagnostics","warnings","errors","metadata","analyzed_at","analyzed_at_label","created_at","updated_at","created_at_label","updated_at_label"],"properties":{"id":{"type":"string"},"organization_id":{"type":"string"},"github_ci_repository_id":{"type":"string"},"ci_pipeline_id":{"type":"string","nullable":true},"ci_pipeline_run_id":{"type":"string","nullable":true},"workflow_path":{"type":"string"},"source_sha":{"type":"string"},"source_blob_sha":{"type":"string","nullable":true},"parser_version":{"type":"string"},"workflow_name":{"type":"string","nullable":true},"event_name":{"type":"string"},"event_action":{"type":"string","nullable":true},"ref_name":{"type":"string","nullable":true},"head_sha":{"type":"string","nullable":true},"pull_request_number":{"type":"integer","nullable":true},"status":{"type":"string","enum":["executable","warning","blocked","error"]},"execution_allowed":{"type":"boolean"},"required_secrets":{"type":"array","items":{"type":"string"}},"runner_labels":{"type":"array","items":{"type":"string"}},"referenced_actions":{"type":"array","items":{"type":"string"}},"supported_features":{"type":"object","additionalProperties":true},"diagnostics":{"type":"array","items":{"type":"object","required":["severity","code","path","message","metadata"],"properties":{"severity":{"type":"string","enum":["error","warning"]},"code":{"type":"string"},"path":{"type":"string"},"message":{"type":"string"},"metadata":{"type":"object","additionalProperties":true}}}},"warnings":{"type":"array","items":{"type":"object","required":["severity","code","path","message","metadata"],"properties":{"severity":{"type":"string","enum":["error","warning"]},"code":{"type":"string"},"path":{"type":"string"},"message":{"type":"string"},"metadata":{"type":"object","additionalProperties":true}}}},"errors":{"type":"array","items":{"type":"object","required":["severity","code","path","message","metadata"],"properties":{"severity":{"type":"string","enum":["error","warning"]},"code":{"type":"string"},"path":{"type":"string"},"message":{"type":"string"},"metadata":{"type":"object","additionalProperties":true}}}},"metadata":{"type":"object","additionalProperties":true},"analyzed_at":{"type":"string","format":"date-time"},"analyzed_at_label":{"type":"string","nullable":true},"created_at":{"type":"string","format":"date-time"},"updated_at":{"type":"string","format":"date-time"},"created_at_label":{"type":"string","nullable":true},"updated_at_label":{"type":"string","nullable":true}}}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not found"},"422":{"description":"Unprocessable entity"},"502":{"description":"Bad gateway"}},"security":[{"bearerAuth":[]}]}},"/api/v1/organizations/{organization_id}/github_ci_repositories/{id}":{"get":{"operationId":"api_v1_organization_github_ci_repository","tags":["organizations"],"parameters":[{"name":"organization_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"GitHub CI repository","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"required":["id","organization_id","github_app_installation_id","ci_runner_pool_id","github_repository_id","repository_owner","repository_name","repository_full_name","default_branch","status","adoption_mode","check_name_prefix","permission_status","last_webhook_delivery_id","last_webhook_event","last_webhook_action","last_webhook_at","last_webhook_at_label","last_head_sha","last_ref","last_pull_request_number","webhook_delivery_count","last_compatibility_status","last_error_message","metadata","created_at","updated_at","created_at_label","updated_at_label"],"properties":{"id":{"type":"string"},"organization_id":{"type":"string"},"github_app_installation_id":{"type":"string"},"ci_runner_pool_id":{"type":"string","nullable":true},"github_repository_id":{"type":"string"},"repository_owner":{"type":"string"},"repository_name":{"type":"string"},"repository_full_name":{"type":"string"},"default_branch":{"type":"string"},"status":{"type":"string","enum":["active","paused","archived"]},"adoption_mode":{"type":"string","enum":["shadow","reporting","required"]},"check_name_prefix":{"type":"string"},"permission_status":{"type":"string","enum":["unchecked","ok","missing"]},"last_webhook_delivery_id":{"type":"string","nullable":true},"last_webhook_event":{"type":"string","nullable":true},"last_webhook_action":{"type":"string","nullable":true},"last_webhook_at":{"type":"string","format":"date-time","nullable":true},"last_webhook_at_label":{"type":"string","nullable":true},"last_head_sha":{"type":"string","nullable":true},"last_ref":{"type":"string","nullable":true},"last_pull_request_number":{"type":"integer","nullable":true},"webhook_delivery_count":{"type":"integer"},"last_compatibility_status":{"type":"string","enum":["executable","warning","blocked","error"],"nullable":true},"last_error_message":{"type":"string","nullable":true},"metadata":{"type":"object","additionalProperties":true},"created_at":{"type":"string","format":"date-time"},"updated_at":{"type":"string","format":"date-time"},"created_at_label":{"type":"string","nullable":true},"updated_at_label":{"type":"string","nullable":true}}}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not found"},"422":{"description":"Unprocessable entity"},"502":{"description":"Bad gateway"}},"security":[{"bearerAuth":[]}]},"patch":{"operationId":"patch_api_v1_organizations_organization_id_github_ci_repositories_id_","tags":["organizations"],"parameters":[{"name":"organization_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"GitHub CI repository","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"required":["id","organization_id","github_app_installation_id","ci_runner_pool_id","github_repository_id","repository_owner","repository_name","repository_full_name","default_branch","status","adoption_mode","check_name_prefix","permission_status","last_webhook_delivery_id","last_webhook_event","last_webhook_action","last_webhook_at","last_webhook_at_label","last_head_sha","last_ref","last_pull_request_number","webhook_delivery_count","last_compatibility_status","last_error_message","metadata","created_at","updated_at","created_at_label","updated_at_label"],"properties":{"id":{"type":"string"},"organization_id":{"type":"string"},"github_app_installation_id":{"type":"string"},"ci_runner_pool_id":{"type":"string","nullable":true},"github_repository_id":{"type":"string"},"repository_owner":{"type":"string"},"repository_name":{"type":"string"},"repository_full_name":{"type":"string"},"default_branch":{"type":"string"},"status":{"type":"string","enum":["active","paused","archived"]},"adoption_mode":{"type":"string","enum":["shadow","reporting","required"]},"check_name_prefix":{"type":"string"},"permission_status":{"type":"string","enum":["unchecked","ok","missing"]},"last_webhook_delivery_id":{"type":"string","nullable":true},"last_webhook_event":{"type":"string","nullable":true},"last_webhook_action":{"type":"string","nullable":true},"last_webhook_at":{"type":"string","format":"date-time","nullable":true},"last_webhook_at_label":{"type":"string","nullable":true},"last_head_sha":{"type":"string","nullable":true},"last_ref":{"type":"string","nullable":true},"last_pull_request_number":{"type":"integer","nullable":true},"webhook_delivery_count":{"type":"integer"},"last_compatibility_status":{"type":"string","enum":["executable","warning","blocked","error"],"nullable":true},"last_error_message":{"type":"string","nullable":true},"metadata":{"type":"object","additionalProperties":true},"created_at":{"type":"string","format":"date-time"},"updated_at":{"type":"string","format":"date-time"},"created_at_label":{"type":"string","nullable":true},"updated_at_label":{"type":"string","nullable":true}}}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not found"},"422":{"description":"Unprocessable entity"},"502":{"description":"Bad gateway"}},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"properties":{"ci_runner_pool_id":{"type":"string","nullable":true},"default_branch":{"type":"string"},"status":{"type":"string","enum":["active","paused","archived"]},"adoption_mode":{"type":"string","enum":["shadow","reporting","required"]},"check_name_prefix":{"type":"string"},"permission_status":{"type":"string","enum":["unchecked","ok","missing"]}}}}}},"security":[{"bearerAuth":[]}]},"put":{"operationId":"put_api_v1_organizations_organization_id_github_ci_repositories_id_","tags":["organizations"],"parameters":[{"name":"organization_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"GitHub CI repository","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"required":["id","organization_id","github_app_installation_id","ci_runner_pool_id","github_repository_id","repository_owner","repository_name","repository_full_name","default_branch","status","adoption_mode","check_name_prefix","permission_status","last_webhook_delivery_id","last_webhook_event","last_webhook_action","last_webhook_at","last_webhook_at_label","last_head_sha","last_ref","last_pull_request_number","webhook_delivery_count","last_compatibility_status","last_error_message","metadata","created_at","updated_at","created_at_label","updated_at_label"],"properties":{"id":{"type":"string"},"organization_id":{"type":"string"},"github_app_installation_id":{"type":"string"},"ci_runner_pool_id":{"type":"string","nullable":true},"github_repository_id":{"type":"string"},"repository_owner":{"type":"string"},"repository_name":{"type":"string"},"repository_full_name":{"type":"string"},"default_branch":{"type":"string"},"status":{"type":"string","enum":["active","paused","archived"]},"adoption_mode":{"type":"string","enum":["shadow","reporting","required"]},"check_name_prefix":{"type":"string"},"permission_status":{"type":"string","enum":["unchecked","ok","missing"]},"last_webhook_delivery_id":{"type":"string","nullable":true},"last_webhook_event":{"type":"string","nullable":true},"last_webhook_action":{"type":"string","nullable":true},"last_webhook_at":{"type":"string","format":"date-time","nullable":true},"last_webhook_at_label":{"type":"string","nullable":true},"last_head_sha":{"type":"string","nullable":true},"last_ref":{"type":"string","nullable":true},"last_pull_request_number":{"type":"integer","nullable":true},"webhook_delivery_count":{"type":"integer"},"last_compatibility_status":{"type":"string","enum":["executable","warning","blocked","error"],"nullable":true},"last_error_message":{"type":"string","nullable":true},"metadata":{"type":"object","additionalProperties":true},"created_at":{"type":"string","format":"date-time"},"updated_at":{"type":"string","format":"date-time"},"created_at_label":{"type":"string","nullable":true},"updated_at_label":{"type":"string","nullable":true}}}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not found"},"422":{"description":"Unprocessable entity"},"502":{"description":"Bad gateway"}},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"properties":{"ci_runner_pool_id":{"type":"string","nullable":true},"default_branch":{"type":"string"},"status":{"type":"string","enum":["active","paused","archived"]},"adoption_mode":{"type":"string","enum":["shadow","reporting","required"]},"check_name_prefix":{"type":"string"},"permission_status":{"type":"string","enum":["unchecked","ok","missing"]}}}}}},"security":[{"bearerAuth":[]}]}},"/api/v1/organizations/{organization_id}/github_onboarding":{"get":{"operationId":"api_v1_organization_github_onboarding","tags":["organizations"],"parameters":[{"name":"organization_id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"GitHub onboarding state","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"$ref":"#/components/schemas/GithubOnboardingState"}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not found"},"422":{"description":"Unprocessable entity"},"502":{"description":"Bad gateway"}},"security":[{"bearerAuth":[]}]}},"/api/v1/organizations/{organization_id}/github_onboarding/import_items/{github_import_batch_item_id}/retry":{"post":{"operationId":"post_api_v1_organizations_organization_id_github_onboarding_import_items_github_import_batch_item_id_retry","tags":["organizations"],"parameters":[{"name":"organization_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"github_import_batch_item_id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"GitHub import batch","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"required":["batch"],"properties":{"batch":{"$ref":"#/components/schemas/GithubImportBatch"}}}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not found"},"422":{"description":"Unprocessable entity"},"502":{"description":"Bad gateway"}},"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"security":[{"bearerAuth":[]}]}},"/api/v1/organizations/{organization_id}/github_onboarding/imports":{"post":{"operationId":"api_v1_organization_github_onboarding_imports","tags":["organizations"],"parameters":[{"name":"organization_id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"GitHub import batch","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"required":["batch"],"properties":{"batch":{"$ref":"#/components/schemas/GithubImportBatch"}}}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not found"},"422":{"description":"Unprocessable entity"},"502":{"description":"Bad gateway"},"201":{"description":"GitHub import batch","content":{"application/json":{"schema":{"type":"object","required":["batch"],"properties":{"batch":{"$ref":"#/components/schemas/GithubImportBatch"}}}}}}},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"required":["github_app_installation_id","repositories"],"properties":{"github_app_installation_id":{"type":"string"},"repositories":{"oneOf":[{"type":"string","enum":["all"]},{"type":"array","items":{"type":"object","required":["owner","name"],"properties":{"owner":{"type":"string"},"name":{"type":"string"},"root_path":{"type":"string"}}}}]},"trunk_bookmark":{"type":"string"}}}}}},"security":[{"bearerAuth":[]}]}},"/api/v1/organizations/{organization_id}/invitations":{"get":{"operationId":"api_v1_organization_invitations","tags":["organizations"],"parameters":[{"name":"organization_id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Organization invitations","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"required":["invitations"],"properties":{"invitations":{"type":"array","items":{"$ref":"#/components/schemas/OrganizationInvitation"}}}}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not found"},"422":{"description":"Unprocessable entity"},"502":{"description":"Bad gateway"}},"security":[{"bearerAuth":[]}]},"post":{"operationId":"post_api_v1_organizations_organization_id_invitations","tags":["organizations"],"parameters":[{"name":"organization_id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Organization invitation","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"required":["invitation"],"properties":{"invitation":{"$ref":"#/components/schemas/OrganizationInvitation"}}}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not found"},"422":{"description":"Unprocessable entity"},"502":{"description":"Bad gateway"},"201":{"description":"Organization invitation","content":{"application/json":{"schema":{"type":"object","required":["invitation"],"properties":{"invitation":{"$ref":"#/components/schemas/OrganizationInvitation"}}}}}}},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"$ref":"#/components/schemas/OrganizationInvitationCreatePayload"}}}},"security":[{"bearerAuth":[]}]}},"/api/v1/organizations/{organization_id}/invitations/{id}":{"delete":{"operationId":"api_v1_organization_invitation","tags":["organizations"],"parameters":[{"name":"organization_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not found"},"422":{"description":"Unprocessable entity"},"502":{"description":"Bad gateway"},"204":{"description":"Organization invitation revoked"}},"security":[{"bearerAuth":[]}]}},"/api/v1/organizations/{organization_id}/logo_image":{"put":{"operationId":"put_api_v1_organizations_organization_id_logo_image","tags":["organizations"],"parameters":[{"name":"organization_id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Organization","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"required":["organization"],"properties":{"organization":{"$ref":"#/components/schemas/OrganizationSummary"}}}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not found"},"422":{"description":"Unprocessable entity"},"502":{"description":"Bad gateway"}},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}},"multipart/form-data":{"schema":{"$ref":"#/components/schemas/ImageUploadPayload"}}}},"security":[{"bearerAuth":[]}]},"delete":{"operationId":"delete_api_v1_organizations_organization_id_logo_image","tags":["organizations"],"parameters":[{"name":"organization_id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Organization","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"required":["organization"],"properties":{"organization":{"$ref":"#/components/schemas/OrganizationSummary"}}}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not found"},"422":{"description":"Unprocessable entity"},"502":{"description":"Bad gateway"}},"security":[{"bearerAuth":[]}]}},"/api/v1/organizations/{organization_id}/members":{"get":{"operationId":"api_v1_organization_members","tags":["organizations"],"parameters":[{"name":"organization_id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Organization members","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"required":["members"],"properties":{"members":{"type":"array","items":{"$ref":"#/components/schemas/OrganizationMember"}}}}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not found"},"422":{"description":"Unprocessable entity"},"502":{"description":"Bad gateway"}},"security":[{"bearerAuth":[]}]}},"/api/v1/organizations/{organization_id}/members/{id}":{"patch":{"operationId":"api_v1_organization_member","tags":["organizations"],"parameters":[{"name":"organization_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Updated organization member","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"required":["member"],"properties":{"member":{"$ref":"#/components/schemas/OrganizationMember"}}}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not found"},"422":{"description":"Unprocessable entity"},"502":{"description":"Bad gateway"}},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"$ref":"#/components/schemas/OrganizationMemberUpdatePayload"}}}},"security":[{"bearerAuth":[]}]},"put":{"operationId":"put_api_v1_organizations_organization_id_members_id_","tags":["organizations"],"parameters":[{"name":"organization_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Updated organization member","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"required":["member"],"properties":{"member":{"$ref":"#/components/schemas/OrganizationMember"}}}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not found"},"422":{"description":"Unprocessable entity"},"502":{"description":"Bad gateway"}},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"$ref":"#/components/schemas/OrganizationMemberUpdatePayload"}}}},"security":[{"bearerAuth":[]}]},"delete":{"operationId":"delete_api_v1_organizations_organization_id_members_id_","tags":["organizations"],"parameters":[{"name":"organization_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not found"},"422":{"description":"Unprocessable entity"},"502":{"description":"Bad gateway"},"204":{"description":"Organization member removed"}},"security":[{"bearerAuth":[]}]}},"/api/v1/organizations/{organization_id}/pages/nodes":{"get":{"operationId":"get_api_v1_organizations_organization_id_pages_nodes","tags":["organizations"],"parameters":[{"name":"organization_id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Organization nodes page contract","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"required":["organization","pool_catalogs"],"properties":{"organization":{"$ref":"#/components/schemas/OrganizationSummary"},"pool_catalogs":{"type":"array","items":{"type":"object","required":["pool","enrollment_tokens"],"properties":{"pool":{"$ref":"#/components/schemas/CiRunnerPoolCatalog"},"enrollment_tokens":{"type":"array","items":{"$ref":"#/components/schemas/CiNodeEnrollmentToken"}}}}}}}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not found"},"422":{"description":"Unprocessable entity"},"502":{"description":"Bad gateway"}},"security":[{"bearerAuth":[]}]}},"/api/v1/organizations/{organization_id}/static_sites":{"get":{"operationId":"api_v1_organization_static_sites","tags":["organizations"],"parameters":[{"name":"organization_id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Static sites in the organization","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"required":["static_sites"],"properties":{"static_sites":{"type":"array","items":{"$ref":"#/components/schemas/StaticSite"}}}}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not found"},"422":{"description":"Unprocessable entity"},"502":{"description":"Bad gateway"}},"security":[{"bearerAuth":[]}]},"post":{"operationId":"post_api_v1_organizations_organization_id_static_sites","tags":["organizations"],"parameters":[{"name":"organization_id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Static site created","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"required":["static_site"],"properties":{"static_site":{"$ref":"#/components/schemas/StaticSite"}}}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not found"},"422":{"description":"Static site request failed validation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/StaticSiteError"}}}},"502":{"description":"Bad gateway"},"201":{"description":"Static site created","content":{"application/json":{"schema":{"type":"object","required":["static_site"],"properties":{"static_site":{"$ref":"#/components/schemas/StaticSite"}}}}}}},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"$ref":"#/components/schemas/StaticSiteCreatePayload"}}}},"security":[{"bearerAuth":[]}]}},"/api/v1/organizations/{organization_id}/workspace_spaces":{"get":{"operationId":"api_v1_organization_workspace_spaces","tags":["organizations"],"parameters":[{"name":"organization_id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Workspace spaces visible to the current member","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"required":["spaces"],"properties":{"spaces":{"type":"array","items":{"type":"object","required":["id","organization_id","repository_id","repository_slug","slug","name","description","root_path","icon_name","status","sync_provider_kind","sync_mode","sync_repository_full_name","sync_status","sync_run_id","sync_error_message","can_retry_import","hidden","position","created_at","updated_at"],"properties":{"id":{"type":"string"},"organization_id":{"type":"string"},"repository_id":{"type":"string"},"repository_slug":{"type":"string"},"slug":{"type":"string"},"name":{"type":"string"},"description":{"type":"string","nullable":true},"root_path":{"type":"string"},"icon_name":{"type":"string","enum":["book-open","boxes","briefcase-business","code-xml","file-text","folder","folder-code","globe-2","lightbulb","panel-top","rocket","server","shield-check","sparkles","terminal"]},"status":{"type":"string","enum":["active","archived"]},"sync_provider_kind":{"type":"string","enum":["none","github","git"]},"sync_mode":{"type":"string","enum":["pull","push","bidirectional"]},"sync_repository_full_name":{"type":"string","nullable":true},"sync_status":{"type":"string","enum":["none","importing","failed","ready"]},"sync_run_id":{"type":"string","nullable":true},"sync_error_message":{"type":"string","nullable":true},"can_retry_import":{"type":"boolean"},"hidden":{"type":"boolean"},"position":{"type":"integer","nullable":true},"created_at":{"type":"string","format":"date-time"},"updated_at":{"type":"string","format":"date-time"}}}}}}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not found"},"422":{"description":"Unprocessable entity"},"502":{"description":"Bad gateway"}},"security":[{"bearerAuth":[]}]},"post":{"operationId":"post_api_v1_organizations_organization_id_workspace_spaces","tags":["organizations"],"parameters":[{"name":"organization_id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Created workspace space","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"required":["space"],"properties":{"space":{"type":"object","required":["id","organization_id","repository_id","repository_slug","slug","name","description","root_path","icon_name","status","sync_provider_kind","sync_mode","sync_repository_full_name","sync_status","sync_run_id","sync_error_message","can_retry_import","hidden","position","created_at","updated_at"],"properties":{"id":{"type":"string"},"organization_id":{"type":"string"},"repository_id":{"type":"string"},"repository_slug":{"type":"string"},"slug":{"type":"string"},"name":{"type":"string"},"description":{"type":"string","nullable":true},"root_path":{"type":"string"},"icon_name":{"type":"string","enum":["book-open","boxes","briefcase-business","code-xml","file-text","folder","folder-code","globe-2","lightbulb","panel-top","rocket","server","shield-check","sparkles","terminal"]},"status":{"type":"string","enum":["active","archived"]},"sync_provider_kind":{"type":"string","enum":["none","github","git"]},"sync_mode":{"type":"string","enum":["pull","push","bidirectional"]},"sync_repository_full_name":{"type":"string","nullable":true},"sync_status":{"type":"string","enum":["none","importing","failed","ready"]},"sync_run_id":{"type":"string","nullable":true},"sync_error_message":{"type":"string","nullable":true},"can_retry_import":{"type":"boolean"},"hidden":{"type":"boolean"},"position":{"type":"integer","nullable":true},"created_at":{"type":"string","format":"date-time"},"updated_at":{"type":"string","format":"date-time"}}}}}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not found"},"422":{"description":"Unprocessable entity"},"502":{"description":"Bad gateway"},"201":{"description":"Created workspace space","content":{"application/json":{"schema":{"type":"object","required":["space"],"properties":{"space":{"type":"object","required":["id","organization_id","repository_id","repository_slug","slug","name","description","root_path","icon_name","status","sync_provider_kind","sync_mode","sync_repository_full_name","sync_status","sync_run_id","sync_error_message","can_retry_import","hidden","position","created_at","updated_at"],"properties":{"id":{"type":"string"},"organization_id":{"type":"string"},"repository_id":{"type":"string"},"repository_slug":{"type":"string"},"slug":{"type":"string"},"name":{"type":"string"},"description":{"type":"string","nullable":true},"root_path":{"type":"string"},"icon_name":{"type":"string","enum":["book-open","boxes","briefcase-business","code-xml","file-text","folder","folder-code","globe-2","lightbulb","panel-top","rocket","server","shield-check","sparkles","terminal"]},"status":{"type":"string","enum":["active","archived"]},"sync_provider_kind":{"type":"string","enum":["none","github","git"]},"sync_mode":{"type":"string","enum":["pull","push","bidirectional"]},"sync_repository_full_name":{"type":"string","nullable":true},"sync_status":{"type":"string","enum":["none","importing","failed","ready"]},"sync_run_id":{"type":"string","nullable":true},"sync_error_message":{"type":"string","nullable":true},"can_retry_import":{"type":"boolean"},"hidden":{"type":"boolean"},"position":{"type":"integer","nullable":true},"created_at":{"type":"string","format":"date-time"},"updated_at":{"type":"string","format":"date-time"}}}}}}}}},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"required":["slug","name","root_path","icon_name"],"properties":{"slug":{"type":"string"},"name":{"type":"string"},"description":{"type":"string","nullable":true},"root_path":{"type":"string"},"icon_name":{"type":"string","enum":["book-open","boxes","briefcase-business","code-xml","file-text","folder","folder-code","globe-2","lightbulb","panel-top","rocket","server","shield-check","sparkles","terminal"]}}}}}},"security":[{"bearerAuth":[]}]}},"/api/v1/organizations/{organization_id}/workspace_spaces/github_import":{"post":{"operationId":"github_import_api_v1_organization_workspace_spaces","tags":["organizations"],"parameters":[{"name":"organization_id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Imported workspace space","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"required":["space"],"properties":{"space":{"type":"object","required":["id","organization_id","repository_id","repository_slug","slug","name","description","root_path","icon_name","status","sync_provider_kind","sync_mode","sync_repository_full_name","sync_status","sync_run_id","sync_error_message","can_retry_import","hidden","position","created_at","updated_at"],"properties":{"id":{"type":"string"},"organization_id":{"type":"string"},"repository_id":{"type":"string"},"repository_slug":{"type":"string"},"slug":{"type":"string"},"name":{"type":"string"},"description":{"type":"string","nullable":true},"root_path":{"type":"string"},"icon_name":{"type":"string","enum":["book-open","boxes","briefcase-business","code-xml","file-text","folder","folder-code","globe-2","lightbulb","panel-top","rocket","server","shield-check","sparkles","terminal"]},"status":{"type":"string","enum":["active","archived"]},"sync_provider_kind":{"type":"string","enum":["none","github","git"]},"sync_mode":{"type":"string","enum":["pull","push","bidirectional"]},"sync_repository_full_name":{"type":"string","nullable":true},"sync_status":{"type":"string","enum":["none","importing","failed","ready"]},"sync_run_id":{"type":"string","nullable":true},"sync_error_message":{"type":"string","nullable":true},"can_retry_import":{"type":"boolean"},"hidden":{"type":"boolean"},"position":{"type":"integer","nullable":true},"created_at":{"type":"string","format":"date-time"},"updated_at":{"type":"string","format":"date-time"}}}}}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not found"},"422":{"description":"Unprocessable entity"},"502":{"description":"Bad gateway"},"201":{"description":"Imported workspace space","content":{"application/json":{"schema":{"type":"object","required":["space"],"properties":{"space":{"type":"object","required":["id","organization_id","repository_id","repository_slug","slug","name","description","root_path","icon_name","status","sync_provider_kind","sync_mode","sync_repository_full_name","sync_status","sync_run_id","sync_error_message","can_retry_import","hidden","position","created_at","updated_at"],"properties":{"id":{"type":"string"},"organization_id":{"type":"string"},"repository_id":{"type":"string"},"repository_slug":{"type":"string"},"slug":{"type":"string"},"name":{"type":"string"},"description":{"type":"string","nullable":true},"root_path":{"type":"string"},"icon_name":{"type":"string","enum":["book-open","boxes","briefcase-business","code-xml","file-text","folder","folder-code","globe-2","lightbulb","panel-top","rocket","server","shield-check","sparkles","terminal"]},"status":{"type":"string","enum":["active","archived"]},"sync_provider_kind":{"type":"string","enum":["none","github","git"]},"sync_mode":{"type":"string","enum":["pull","push","bidirectional"]},"sync_repository_full_name":{"type":"string","nullable":true},"sync_status":{"type":"string","enum":["none","importing","failed","ready"]},"sync_run_id":{"type":"string","nullable":true},"sync_error_message":{"type":"string","nullable":true},"can_retry_import":{"type":"boolean"},"hidden":{"type":"boolean"},"position":{"type":"integer","nullable":true},"created_at":{"type":"string","format":"date-time"},"updated_at":{"type":"string","format":"date-time"}}}}}}}}},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"required":["github_app_installation_id","repository_owner","repository_name"],"properties":{"github_app_installation_id":{"type":"string"},"repository_owner":{"type":"string"},"repository_name":{"type":"string"}}}}}},"security":[{"bearerAuth":[]}]}},"/api/v1/organizations/{organization_id}/workspace_spaces/preferences":{"patch":{"operationId":"preferences_api_v1_organization_workspace_spaces","tags":["organizations"],"parameters":[{"name":"organization_id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Updated workspace space preferences","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"required":["spaces"],"properties":{"spaces":{"type":"array","items":{"type":"object","required":["id","organization_id","repository_id","repository_slug","slug","name","description","root_path","icon_name","status","sync_provider_kind","sync_mode","sync_repository_full_name","sync_status","sync_run_id","sync_error_message","can_retry_import","hidden","position","created_at","updated_at"],"properties":{"id":{"type":"string"},"organization_id":{"type":"string"},"repository_id":{"type":"string"},"repository_slug":{"type":"string"},"slug":{"type":"string"},"name":{"type":"string"},"description":{"type":"string","nullable":true},"root_path":{"type":"string"},"icon_name":{"type":"string","enum":["book-open","boxes","briefcase-business","code-xml","file-text","folder","folder-code","globe-2","lightbulb","panel-top","rocket","server","shield-check","sparkles","terminal"]},"status":{"type":"string","enum":["active","archived"]},"sync_provider_kind":{"type":"string","enum":["none","github","git"]},"sync_mode":{"type":"string","enum":["pull","push","bidirectional"]},"sync_repository_full_name":{"type":"string","nullable":true},"sync_status":{"type":"string","enum":["none","importing","failed","ready"]},"sync_run_id":{"type":"string","nullable":true},"sync_error_message":{"type":"string","nullable":true},"can_retry_import":{"type":"boolean"},"hidden":{"type":"boolean"},"position":{"type":"integer","nullable":true},"created_at":{"type":"string","format":"date-time"},"updated_at":{"type":"string","format":"date-time"}}}}}}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not found"},"422":{"description":"Unprocessable entity"},"502":{"description":"Bad gateway"}},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"required":["preferences"],"properties":{"preferences":{"type":"array","items":{"type":"object","required":["space_public_id","hidden","position"],"properties":{"space_public_id":{"type":"string"},"hidden":{"type":"boolean"},"position":{"type":"integer","nullable":true}}}}}}}}},"security":[{"bearerAuth":[]}]}},"/api/v1/organizations/{organization_id}/workspace_spaces/{id}":{"get":{"operationId":"api_v1_organization_workspace_space","tags":["organizations"],"parameters":[{"name":"organization_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Workspace space","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"required":["space"],"properties":{"space":{"type":"object","required":["id","organization_id","repository_id","repository_slug","slug","name","description","root_path","icon_name","status","sync_provider_kind","sync_mode","sync_repository_full_name","sync_status","sync_run_id","sync_error_message","can_retry_import","hidden","position","created_at","updated_at"],"properties":{"id":{"type":"string"},"organization_id":{"type":"string"},"repository_id":{"type":"string"},"repository_slug":{"type":"string"},"slug":{"type":"string"},"name":{"type":"string"},"description":{"type":"string","nullable":true},"root_path":{"type":"string"},"icon_name":{"type":"string","enum":["book-open","boxes","briefcase-business","code-xml","file-text","folder","folder-code","globe-2","lightbulb","panel-top","rocket","server","shield-check","sparkles","terminal"]},"status":{"type":"string","enum":["active","archived"]},"sync_provider_kind":{"type":"string","enum":["none","github","git"]},"sync_mode":{"type":"string","enum":["pull","push","bidirectional"]},"sync_repository_full_name":{"type":"string","nullable":true},"sync_status":{"type":"string","enum":["none","importing","failed","ready"]},"sync_run_id":{"type":"string","nullable":true},"sync_error_message":{"type":"string","nullable":true},"can_retry_import":{"type":"boolean"},"hidden":{"type":"boolean"},"position":{"type":"integer","nullable":true},"created_at":{"type":"string","format":"date-time"},"updated_at":{"type":"string","format":"date-time"}}}}}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not found"},"422":{"description":"Unprocessable entity"},"502":{"description":"Bad gateway"}},"security":[{"bearerAuth":[]}]},"patch":{"operationId":"patch_api_v1_organizations_organization_id_workspace_spaces_id_","tags":["organizations"],"parameters":[{"name":"organization_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Updated workspace space","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"required":["space"],"properties":{"space":{"type":"object","required":["id","organization_id","repository_id","repository_slug","slug","name","description","root_path","icon_name","status","sync_provider_kind","sync_mode","sync_repository_full_name","sync_status","sync_run_id","sync_error_message","can_retry_import","hidden","position","created_at","updated_at"],"properties":{"id":{"type":"string"},"organization_id":{"type":"string"},"repository_id":{"type":"string"},"repository_slug":{"type":"string"},"slug":{"type":"string"},"name":{"type":"string"},"description":{"type":"string","nullable":true},"root_path":{"type":"string"},"icon_name":{"type":"string","enum":["book-open","boxes","briefcase-business","code-xml","file-text","folder","folder-code","globe-2","lightbulb","panel-top","rocket","server","shield-check","sparkles","terminal"]},"status":{"type":"string","enum":["active","archived"]},"sync_provider_kind":{"type":"string","enum":["none","github","git"]},"sync_mode":{"type":"string","enum":["pull","push","bidirectional"]},"sync_repository_full_name":{"type":"string","nullable":true},"sync_status":{"type":"string","enum":["none","importing","failed","ready"]},"sync_run_id":{"type":"string","nullable":true},"sync_error_message":{"type":"string","nullable":true},"can_retry_import":{"type":"boolean"},"hidden":{"type":"boolean"},"position":{"type":"integer","nullable":true},"created_at":{"type":"string","format":"date-time"},"updated_at":{"type":"string","format":"date-time"}}}}}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not found"},"422":{"description":"Unprocessable entity"},"502":{"description":"Bad gateway"}},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"properties":{"name":{"type":"string"},"description":{"type":"string","nullable":true},"icon_name":{"type":"string","enum":["book-open","boxes","briefcase-business","code-xml","file-text","folder","folder-code","globe-2","lightbulb","panel-top","rocket","server","shield-check","sparkles","terminal"]},"status":{"type":"string","enum":["active","archived"]}}}}}},"security":[{"bearerAuth":[]}]},"put":{"operationId":"put_api_v1_organizations_organization_id_workspace_spaces_id_","tags":["organizations"],"parameters":[{"name":"organization_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not found"},"422":{"description":"Unprocessable entity"},"502":{"description":"Bad gateway"}},"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"security":[{"bearerAuth":[]}]}},"/api/v1/organizations/{organization_id}/workspace_spaces/{id}/failed_import":{"delete":{"operationId":"failed_import_api_v1_organization_workspace_space","tags":["organizations"],"parameters":[{"name":"organization_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Workspace spaces after clearing the failed import","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"required":["spaces"],"properties":{"spaces":{"type":"array","items":{"type":"object","required":["id","organization_id","repository_id","repository_slug","slug","name","description","root_path","icon_name","status","sync_provider_kind","sync_mode","sync_repository_full_name","sync_status","sync_run_id","sync_error_message","can_retry_import","hidden","position","created_at","updated_at"],"properties":{"id":{"type":"string"},"organization_id":{"type":"string"},"repository_id":{"type":"string"},"repository_slug":{"type":"string"},"slug":{"type":"string"},"name":{"type":"string"},"description":{"type":"string","nullable":true},"root_path":{"type":"string"},"icon_name":{"type":"string","enum":["book-open","boxes","briefcase-business","code-xml","file-text","folder","folder-code","globe-2","lightbulb","panel-top","rocket","server","shield-check","sparkles","terminal"]},"status":{"type":"string","enum":["active","archived"]},"sync_provider_kind":{"type":"string","enum":["none","github","git"]},"sync_mode":{"type":"string","enum":["pull","push","bidirectional"]},"sync_repository_full_name":{"type":"string","nullable":true},"sync_status":{"type":"string","enum":["none","importing","failed","ready"]},"sync_run_id":{"type":"string","nullable":true},"sync_error_message":{"type":"string","nullable":true},"can_retry_import":{"type":"boolean"},"hidden":{"type":"boolean"},"position":{"type":"integer","nullable":true},"created_at":{"type":"string","format":"date-time"},"updated_at":{"type":"string","format":"date-time"}}}}}}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not found"},"422":{"description":"Unprocessable entity"},"502":{"description":"Bad gateway"}},"security":[{"bearerAuth":[]}]}},"/api/v1/personal_access_tokens":{"get":{"operationId":"api_v1_personal_access_tokens","tags":["personal_access_tokens"],"parameters":[],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not found"},"422":{"description":"Unprocessable entity"},"502":{"description":"Bad gateway"}},"security":[{"bearerAuth":[]}]},"post":{"operationId":"post_api_v1_personal_access_tokens","tags":["personal_access_tokens"],"parameters":[],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not found"},"422":{"description":"Unprocessable entity"},"502":{"description":"Bad gateway"}},"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"security":[{"bearerAuth":[]}]}},"/api/v1/personal_access_tokens/{id}":{"delete":{"operationId":"api_v1_personal_access_token","tags":["personal_access_tokens"],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not found"},"422":{"description":"Unprocessable entity"},"502":{"description":"Bad gateway"}},"security":[{"bearerAuth":[]}]}},"/api/v1/registry/token":{"get|post":{"operationId":"api_v1_registry_token","tags":["registry"],"parameters":[],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not found"},"422":{"description":"Unprocessable entity"},"502":{"description":"Bad gateway"}},"security":[{"bearerAuth":[]}]}},"/api/v1/relay/pairings":{"get":{"operationId":"api_v1_pairings","tags":["relay"],"parameters":[],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not found"},"422":{"description":"Unprocessable entity"},"502":{"description":"Bad gateway"}},"security":[{"bearerAuth":[]}]},"post":{"operationId":"post_api_v1_relay_pairings","tags":["relay"],"parameters":[],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not found"},"422":{"description":"Unprocessable entity"},"502":{"description":"Bad gateway"}},"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"security":[{"bearerAuth":[]}]}},"/api/v1/relay/pairings/claim":{"post":{"operationId":"claim_api_v1_pairings","tags":["relay"],"parameters":[],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not found"},"422":{"description":"Unprocessable entity"},"502":{"description":"Bad gateway"}},"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"security":[{"bearerAuth":[]}]}},"/api/v1/relay/pairings/{id}":{"get":{"operationId":"api_v1_pairing","tags":["relay"],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not found"},"422":{"description":"Unprocessable entity"},"502":{"description":"Bad gateway"}},"security":[{"bearerAuth":[]}]}},"/api/v1/relay/pairings/{id}/events":{"get":{"operationId":"events_api_v1_pairing","tags":["relay"],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not found"},"422":{"description":"Unprocessable entity"},"502":{"description":"Bad gateway"}},"security":[{"bearerAuth":[]}]}},"/api/v1/relay/signals":{"post":{"operationId":"api_v1_signals","tags":["relay"],"parameters":[],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not found"},"422":{"description":"Unprocessable entity"},"502":{"description":"Bad gateway"}},"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"security":[{"bearerAuth":[]}]}},"/api/v1/repository_access/authorize":{"post":{"operationId":"api_v1_repository_access_authorize","tags":["repository_access"],"parameters":[],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not found"},"422":{"description":"Unprocessable entity"},"502":{"description":"Bad gateway"}},"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"security":[{"bearerAuth":[]}]}},"/api/v1/repository_access/catalog":{"get":{"operationId":"api_v1_repository_access_catalog","tags":["repository_access"],"parameters":[{"name":"organization_slug","in":"query","required":false,"schema":{"type":"string"}},{"name":"repository_scope_kind","in":"query","required":false,"schema":{"type":"string","enum":["repository","virtual_repository"]}}],"responses":{"200":{"description":"Repository access catalog","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"required":["repositories"],"properties":{"repositories":{"type":"array","items":{"type":"object","required":["organization_id","organization_slug","organization_name","membership_role","repository_id","repository_slug","repository_name","repository_kind","repository_role","repository_scope_kind","is_organization_home_repository","canonical_repository_slug","repository_slug_aliases","app_rooting_strategy","deployable_units_kind","git_https_clone_url","canonical_git_https_clone_url","git_https_supported","jj_grpc_endpoint","jj_repo_path","canonical_jj_repo_path","jj_grpc_supported","git_auth_username","backing_repository_id","backing_repository_slug","canonical_backing_repository_slug","backing_repository_name","backing_repository_kind","effective_root_path","default_branch","virtual_repository_id","sync_provider_kind","sync_mode","sync_repository_owner","sync_repository_name","sync_repository_full_name","sync_remote_url","sync_remote_display_name","sync_auth_username","sync_auth_secret_id","sync_default_branch","github_app_installation_id","sync_source_bookmark","sync_target_branch","sync_auto_enabled","sync_configured","projection_status","projection_source_bookmark","effective_projection_source_bookmark","last_projected_source_commit_id","last_projected_virtual_commit_id","last_projected_git_sha"],"properties":{"organization_id":{"type":"string"},"organization_slug":{"type":"string"},"organization_name":{"type":"string"},"membership_role":{"type":"string"},"repository_id":{"type":"string"},"repository_slug":{"type":"string"},"repository_name":{"type":"string"},"repository_kind":{"type":"string"},"repository_role":{"type":"string"},"repository_scope_kind":{"type":"string","enum":["repository","virtual_repository"]},"is_organization_home_repository":{"type":"boolean"},"canonical_repository_slug":{"type":"string"},"repository_slug_aliases":{"type":"array","items":{"type":"string"}},"app_rooting_strategy":{"type":"string"},"deployable_units_kind":{"type":"string"},"git_https_clone_url":{"type":"string","format":"uri"},"canonical_git_https_clone_url":{"type":"string","format":"uri"},"git_https_supported":{"type":"boolean"},"jj_grpc_endpoint":{"type":"string","nullable":true},"jj_repo_path":{"type":"string"},"canonical_jj_repo_path":{"type":"string"},"jj_grpc_supported":{"type":"boolean"},"git_auth_username":{"type":"string"},"backing_repository_id":{"type":"string"},"backing_repository_slug":{"type":"string"},"canonical_backing_repository_slug":{"type":"string"},"backing_repository_name":{"type":"string"},"backing_repository_kind":{"type":"string"},"effective_root_path":{"type":"string"},"default_branch":{"type":"string"},"virtual_repository_id":{"type":"string","nullable":true},"sync_provider_kind":{"type":"string","enum":["none","github","git"]},"sync_mode":{"type":"string","nullable":true},"sync_repository_owner":{"type":"string","nullable":true},"sync_repository_name":{"type":"string","nullable":true},"sync_repository_full_name":{"type":"string","nullable":true},"sync_remote_url":{"type":"string","nullable":true},"sync_remote_display_name":{"type":"string","nullable":true},"sync_auth_username":{"type":"string","nullable":true},"sync_auth_secret_id":{"type":"string","nullable":true},"sync_default_branch":{"type":"string","nullable":true},"github_app_installation_id":{"type":"string","nullable":true},"sync_source_bookmark":{"type":"string","nullable":true},"sync_target_branch":{"type":"string","nullable":true},"sync_auto_enabled":{"type":"boolean"},"sync_configured":{"type":"boolean"},"projection_status":{"type":"string","nullable":true},"projection_source_bookmark":{"type":"string","nullable":true},"effective_projection_source_bookmark":{"type":"string","nullable":true},"last_projected_source_commit_id":{"type":"string","nullable":true},"last_projected_virtual_commit_id":{"type":"string","nullable":true},"last_projected_git_sha":{"type":"string","nullable":true}}}}}}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not found"},"422":{"description":"Unprocessable entity"},"502":{"description":"Bad gateway"}},"security":[{"bearerAuth":[]}]}},"/api/v1/repository_access/resolve/{org_slug}/{repo_slug}":{"get":{"operationId":"get_api_v1_repository_access_resolve_org_slug_repo_slug_","tags":["repository_access"],"parameters":[{"name":"org_slug","in":"path","required":true,"schema":{"type":"string"}},{"name":"repo_slug","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Canonical repository address and access contract","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"required":["address","repository"],"properties":{"address":{"type":"object","required":["organization_slug","requested_repository_slug","canonical_repository_slug","repository_slug_aliases","resolution","repository_scope_kind"],"properties":{"organization_slug":{"type":"string"},"requested_repository_slug":{"type":"string"},"canonical_repository_slug":{"type":"string"},"repository_slug_aliases":{"type":"array","items":{"type":"string"}},"resolution":{"type":"string","enum":["physical_canonical","physical_alias","virtual"]},"repository_scope_kind":{"type":"string","enum":["repository","virtual_repository"]}}},"repository":{"type":"object","required":["organization_id","organization_slug","organization_name","membership_role","repository_id","repository_slug","repository_name","repository_kind","repository_role","repository_scope_kind","is_organization_home_repository","canonical_repository_slug","repository_slug_aliases","app_rooting_strategy","deployable_units_kind","git_https_clone_url","canonical_git_https_clone_url","git_https_supported","jj_grpc_endpoint","jj_repo_path","canonical_jj_repo_path","jj_grpc_supported","git_auth_username","backing_repository_id","backing_repository_slug","canonical_backing_repository_slug","backing_repository_name","backing_repository_kind","effective_root_path","default_branch","virtual_repository_id","sync_provider_kind","sync_mode","sync_repository_owner","sync_repository_name","sync_repository_full_name","sync_remote_url","sync_remote_display_name","sync_auth_username","sync_auth_secret_id","sync_default_branch","github_app_installation_id","sync_source_bookmark","sync_target_branch","sync_auto_enabled","sync_configured","projection_status","projection_source_bookmark","effective_projection_source_bookmark","last_projected_source_commit_id","last_projected_virtual_commit_id","last_projected_git_sha"],"properties":{"organization_id":{"type":"string"},"organization_slug":{"type":"string"},"organization_name":{"type":"string"},"membership_role":{"type":"string"},"repository_id":{"type":"string"},"repository_slug":{"type":"string"},"repository_name":{"type":"string"},"repository_kind":{"type":"string"},"repository_role":{"type":"string"},"repository_scope_kind":{"type":"string","enum":["repository","virtual_repository"]},"is_organization_home_repository":{"type":"boolean"},"canonical_repository_slug":{"type":"string"},"repository_slug_aliases":{"type":"array","items":{"type":"string"}},"app_rooting_strategy":{"type":"string"},"deployable_units_kind":{"type":"string"},"git_https_clone_url":{"type":"string","format":"uri"},"canonical_git_https_clone_url":{"type":"string","format":"uri"},"git_https_supported":{"type":"boolean"},"jj_grpc_endpoint":{"type":"string","nullable":true},"jj_repo_path":{"type":"string"},"canonical_jj_repo_path":{"type":"string"},"jj_grpc_supported":{"type":"boolean"},"git_auth_username":{"type":"string"},"backing_repository_id":{"type":"string"},"backing_repository_slug":{"type":"string"},"canonical_backing_repository_slug":{"type":"string"},"backing_repository_name":{"type":"string"},"backing_repository_kind":{"type":"string"},"effective_root_path":{"type":"string"},"default_branch":{"type":"string"},"virtual_repository_id":{"type":"string","nullable":true},"sync_provider_kind":{"type":"string","enum":["none","github","git"]},"sync_mode":{"type":"string","nullable":true},"sync_repository_owner":{"type":"string","nullable":true},"sync_repository_name":{"type":"string","nullable":true},"sync_repository_full_name":{"type":"string","nullable":true},"sync_remote_url":{"type":"string","nullable":true},"sync_remote_display_name":{"type":"string","nullable":true},"sync_auth_username":{"type":"string","nullable":true},"sync_auth_secret_id":{"type":"string","nullable":true},"sync_default_branch":{"type":"string","nullable":true},"github_app_installation_id":{"type":"string","nullable":true},"sync_source_bookmark":{"type":"string","nullable":true},"sync_target_branch":{"type":"string","nullable":true},"sync_auto_enabled":{"type":"boolean"},"sync_configured":{"type":"boolean"},"projection_status":{"type":"string","nullable":true},"projection_source_bookmark":{"type":"string","nullable":true},"effective_projection_source_bookmark":{"type":"string","nullable":true},"last_projected_source_commit_id":{"type":"string","nullable":true},"last_projected_virtual_commit_id":{"type":"string","nullable":true},"last_projected_git_sha":{"type":"string","nullable":true}}}}}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not found"},"422":{"description":"Unprocessable entity"},"502":{"description":"Bad gateway"}},"security":[{"bearerAuth":[]}]}},"/api/v1/repository_events/jj":{"post":{"operationId":"api_v1_repository_events_jj","tags":["repository_events"],"parameters":[],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not found"},"422":{"description":"Unprocessable entity"},"502":{"description":"Bad gateway"}},"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"security":[{"bearerAuth":[]}]}},"/api/v1/static_sites/{id}":{"get":{"operationId":"api_v1_static_site","tags":["static_sites"],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not found"},"422":{"description":"Unprocessable entity"},"502":{"description":"Bad gateway"}},"security":[{"bearerAuth":[]}]},"patch":{"operationId":"patch_api_v1_static_sites_id_","tags":["static_sites"],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not found"},"422":{"description":"Unprocessable entity"},"502":{"description":"Bad gateway"}},"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"security":[{"bearerAuth":[]}]},"put":{"operationId":"put_api_v1_static_sites_id_","tags":["static_sites"],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not found"},"422":{"description":"Unprocessable entity"},"502":{"description":"Bad gateway"}},"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"security":[{"bearerAuth":[]}]},"delete":{"operationId":"delete_api_v1_static_sites_id_","tags":["static_sites"],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not found"},"422":{"description":"Unprocessable entity"},"502":{"description":"Bad gateway"}},"security":[{"bearerAuth":[]}]}},"/api/v1/static_sites/{id}/provision":{"post":{"operationId":"provision_api_v1_static_site","tags":["static_sites"],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Provisioned static site","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"required":["static_site"],"properties":{"static_site":{"$ref":"#/components/schemas/StaticSite"}}}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not found"},"422":{"description":"Static site request failed validation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/StaticSiteError"}}}},"502":{"description":"Bad gateway"}},"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"security":[{"bearerAuth":[]}]}},"/api/v1/static_sites/{static_site_id}/deployments":{"get":{"operationId":"api_v1_static_site_deployments","tags":["static_sites"],"parameters":[{"name":"static_site_id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Recent static site deployments","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"required":["deployments"],"properties":{"deployments":{"type":"array","items":{"$ref":"#/components/schemas/StaticSiteDeployment"}}}}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not found"},"422":{"description":"Unprocessable entity"},"502":{"description":"Bad gateway"}},"security":[{"bearerAuth":[]}]},"post":{"operationId":"post_api_v1_static_sites_static_site_id_deployments","tags":["static_sites"],"parameters":[{"name":"static_site_id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not found"},"422":{"description":"Unprocessable entity"},"502":{"description":"Bad gateway"}},"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"security":[{"bearerAuth":[]}]}},"/api/v1/static_sites/{static_site_id}/deployments/{id}":{"get":{"operationId":"api_v1_static_site_deployment","tags":["static_sites"],"parameters":[{"name":"static_site_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not found"},"422":{"description":"Unprocessable entity"},"502":{"description":"Bad gateway"}},"security":[{"bearerAuth":[]}]}},"/api/v1/static_sites/{static_site_id}/deployments/{id}/activate":{"post":{"operationId":"activate_api_v1_static_site_deployment","tags":["static_sites"],"parameters":[{"name":"static_site_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Activated static site deployment","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"required":["deployment"],"properties":{"deployment":{"$ref":"#/components/schemas/StaticSiteDeployment"}}}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not found"},"422":{"description":"Static site request failed validation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/StaticSiteError"}}}},"502":{"description":"CDN provider activation failed","content":{"application/json":{"schema":{"allOf":[{"$ref":"#/components/schemas/StaticSiteError"},{"type":"object","properties":{"deployment":{"$ref":"#/components/schemas/StaticSiteDeployment"}}}]}}}}},"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"security":[{"bearerAuth":[]}]}},"/api/v1/static_sites/{static_site_id}/deployments/{id}/cancel":{"post":{"operationId":"cancel_api_v1_static_site_deployment","tags":["static_sites"],"parameters":[{"name":"static_site_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not found"},"422":{"description":"Unprocessable entity"},"502":{"description":"Bad gateway"}},"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"security":[{"bearerAuth":[]}]}},"/api/v1/static_sites/{static_site_id}/deployments/{id}/files":{"put":{"operationId":"files_api_v1_static_site_deployment","tags":["static_sites"],"parameters":[{"name":"static_site_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not found"},"422":{"description":"Unprocessable entity"},"502":{"description":"Bad gateway"}},"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"security":[{"bearerAuth":[]}]}},"/api/v1/static_sites/{static_site_id}/deployments/{id}/finalize":{"post":{"operationId":"finalize_api_v1_static_site_deployment","tags":["static_sites"],"parameters":[{"name":"static_site_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not found"},"422":{"description":"Unprocessable entity"},"502":{"description":"Bad gateway"}},"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"security":[{"bearerAuth":[]}]}},"/api/v1/static_sites/{static_site_id}/domains":{"get":{"operationId":"api_v1_static_site_domains","tags":["static_sites"],"parameters":[{"name":"static_site_id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Static site domains","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"required":["domains"],"properties":{"domains":{"type":"array","items":{"$ref":"#/components/schemas/StaticSiteDomain"}}}}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not found"},"422":{"description":"Unprocessable entity"},"502":{"description":"Bad gateway"}},"security":[{"bearerAuth":[]}]},"post":{"operationId":"post_api_v1_static_sites_static_site_id_domains","tags":["static_sites"],"parameters":[{"name":"static_site_id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Static site domain created","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"required":["domain"],"properties":{"domain":{"$ref":"#/components/schemas/StaticSiteDomain"}}}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not found"},"422":{"description":"Static site request failed validation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/StaticSiteError"}}}},"502":{"description":"Bad gateway"},"201":{"description":"Static site domain created","content":{"application/json":{"schema":{"type":"object","required":["domain"],"properties":{"domain":{"$ref":"#/components/schemas/StaticSiteDomain"}}}}}}},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"$ref":"#/components/schemas/StaticSiteDomainCreatePayload"}}}},"security":[{"bearerAuth":[]}]}},"/api/v1/static_sites/{static_site_id}/domains/{id}":{"get":{"operationId":"api_v1_static_site_domain","tags":["static_sites"],"parameters":[{"name":"static_site_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not found"},"422":{"description":"Unprocessable entity"},"502":{"description":"Bad gateway"}},"security":[{"bearerAuth":[]}]},"patch":{"operationId":"patch_api_v1_static_sites_static_site_id_domains_id_","tags":["static_sites"],"parameters":[{"name":"static_site_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not found"},"422":{"description":"Unprocessable entity"},"502":{"description":"Bad gateway"}},"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"security":[{"bearerAuth":[]}]},"put":{"operationId":"put_api_v1_static_sites_static_site_id_domains_id_","tags":["static_sites"],"parameters":[{"name":"static_site_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not found"},"422":{"description":"Unprocessable entity"},"502":{"description":"Bad gateway"}},"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"security":[{"bearerAuth":[]}]},"delete":{"operationId":"delete_api_v1_static_sites_static_site_id_domains_id_","tags":["static_sites"],"parameters":[{"name":"static_site_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not found"},"422":{"description":"Unprocessable entity"},"502":{"description":"Bad gateway"},"204":{"description":"Static site domain deleted"}},"security":[{"bearerAuth":[]}]}},"/api/v1/static_sites/{static_site_id}/domains/{id}/provision":{"post":{"operationId":"provision_api_v1_static_site_domain","tags":["static_sites"],"parameters":[{"name":"static_site_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Updated static site domain","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"required":["domain"],"properties":{"domain":{"$ref":"#/components/schemas/StaticSiteDomain"}}}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not found"},"422":{"description":"Static site request failed validation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/StaticSiteError"}}}},"502":{"description":"Bad gateway"}},"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"security":[{"bearerAuth":[]}]}},"/api/v1/static_sites/{static_site_id}/domains/{id}/verify":{"post":{"operationId":"verify_api_v1_static_site_domain","tags":["static_sites"],"parameters":[{"name":"static_site_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Updated static site domain","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"required":["domain"],"properties":{"domain":{"$ref":"#/components/schemas/StaticSiteDomain"}}}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not found"},"422":{"description":"Static site request failed validation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/StaticSiteError"}}}},"502":{"description":"Bad gateway"}},"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"security":[{"bearerAuth":[]}]}},"/api/v1/virtual_repositories":{"get":{"operationId":"api_v1_virtual_repositories","tags":["virtual_repositories"],"parameters":[{"name":"organization_id","in":"query","required":false,"schema":{"type":"string"}},{"name":"repository_id","in":"query","required":false,"schema":{"type":"string"}},{"name":"organization_slug","in":"query","required":false,"schema":{"type":"string"}},{"name":"repository_slug","in":"query","required":false,"schema":{"type":"string"}},{"name":"status","in":"query","required":false,"schema":{"type":"string","enum":["active","archived"]}}],"responses":{"200":{"description":"Accessible virtual repositories","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"required":["virtual_repositories"],"properties":{"organization_id":{"type":"string"},"virtual_repositories":{"type":"array","items":{"type":"object","required":["id","organization_id","organization_slug","organization_name","repository_id","repository_slug","repository_name","slug","name","description","root_path","icon_name","status","sync_provider_kind","sync_mode","sync_repository_owner","sync_repository_name","sync_repository_full_name","sync_remote_url","sync_remote_display_name","sync_auth_username","sync_auth_secret_id","sync_default_branch","github_app_installation_id","sync_source_bookmark","sync_target_branch","merge_authority","merge_authority_version","merge_policy_version","queue_validation_mode","queue_concurrency","auto_land_enabled","github_primary_eligible","sync_auto_enabled","sync_configured","sync_discover_cursor","projection_status","projection_version","projection_source_bookmark","effective_projection_source_bookmark","last_projected_source_commit_id","last_projected_virtual_commit_id","last_projected_git_sha","last_projection_error","last_sync_run_id","last_projected_at","last_projected_at_label","last_synced_at","last_synced_at_label","merge_policy_updated_at","merge_policy_updated_at_label","created_at","created_at_label","updated_at","updated_at_label"],"properties":{"id":{"type":"string"},"organization_id":{"type":"string"},"organization_slug":{"type":"string"},"organization_name":{"type":"string"},"repository_id":{"type":"string"},"repository_slug":{"type":"string"},"repository_name":{"type":"string"},"slug":{"type":"string"},"name":{"type":"string"},"description":{"type":"string","nullable":true},"root_path":{"type":"string"},"icon_name":{"type":"string"},"status":{"type":"string","enum":["active","archived"]},"sync_provider_kind":{"type":"string","enum":["none","github","git"]},"sync_mode":{"type":"string","enum":["pull","push","bidirectional"]},"sync_repository_owner":{"type":"string","nullable":true},"sync_repository_name":{"type":"string","nullable":true},"sync_repository_full_name":{"type":"string","nullable":true},"sync_remote_url":{"type":"string","nullable":true},"sync_remote_display_name":{"type":"string","nullable":true},"sync_auth_username":{"type":"string","nullable":true},"sync_auth_secret_id":{"type":"string","nullable":true},"sync_default_branch":{"type":"string","nullable":true},"github_app_installation_id":{"type":"string","nullable":true},"sync_source_bookmark":{"type":"string","nullable":true},"sync_target_branch":{"type":"string","nullable":true},"merge_authority":{"type":"string","enum":["vex_primary","github_primary"]},"merge_authority_version":{"type":"integer"},"merge_policy_version":{"type":"integer"},"queue_validation_mode":{"type":"string","enum":["top_only","per_pr"]},"queue_concurrency":{"type":"integer"},"auto_land_enabled":{"type":"boolean"},"github_primary_eligible":{"type":"boolean"},"sync_auto_enabled":{"type":"boolean"},"sync_configured":{"type":"boolean"},"sync_discover_cursor":{"type":"integer"},"projection_status":{"type":"string","enum":["pending","projecting","ready","failed","diverged"]},"projection_version":{"type":"integer"},"projection_source_bookmark":{"type":"string","nullable":true},"effective_projection_source_bookmark":{"type":"string"},"last_projected_source_commit_id":{"type":"string","nullable":true},"last_projected_virtual_commit_id":{"type":"string","nullable":true},"last_projected_git_sha":{"type":"string","nullable":true},"last_projection_error":{"type":"string","nullable":true},"last_sync_run_id":{"type":"string","nullable":true},"last_projected_at":{"type":"string","format":"date-time","nullable":true},"last_projected_at_label":{"type":"string","nullable":true},"last_synced_at":{"type":"string","format":"date-time","nullable":true},"last_synced_at_label":{"type":"string","nullable":true},"merge_policy_updated_at":{"type":"string","format":"date-time","nullable":true},"merge_policy_updated_at_label":{"type":"string","nullable":true},"created_at":{"type":"string","format":"date-time"},"created_at_label":{"type":"string","nullable":true},"updated_at":{"type":"string","format":"date-time"},"updated_at_label":{"type":"string","nullable":true}}}}}}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not found"},"422":{"description":"Unprocessable entity"},"502":{"description":"Bad gateway"}},"security":[{"bearerAuth":[]}]},"post":{"operationId":"post_api_v1_virtual_repositories","tags":["virtual_repositories"],"parameters":[],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not found"},"422":{"description":"Unprocessable entity"},"502":{"description":"Bad gateway"}},"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"security":[{"bearerAuth":[]}]}},"/api/v1/virtual_repositories/{id}":{"get":{"operationId":"api_v1_virtual_repository","tags":["virtual_repositories"],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not found"},"422":{"description":"Unprocessable entity"},"502":{"description":"Bad gateway"}},"security":[{"bearerAuth":[]}]},"patch":{"operationId":"patch_api_v1_virtual_repositories_id_","tags":["virtual_repositories"],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Updated virtual repository","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"required":["virtual_repository"],"properties":{"virtual_repository":{"type":"object","required":["id","organization_id","organization_slug","organization_name","repository_id","repository_slug","repository_name","slug","name","description","root_path","icon_name","status","sync_provider_kind","sync_mode","sync_repository_owner","sync_repository_name","sync_repository_full_name","sync_remote_url","sync_remote_display_name","sync_auth_username","sync_auth_secret_id","sync_default_branch","github_app_installation_id","sync_source_bookmark","sync_target_branch","merge_authority","merge_authority_version","merge_policy_version","queue_validation_mode","queue_concurrency","auto_land_enabled","github_primary_eligible","sync_auto_enabled","sync_configured","sync_discover_cursor","projection_status","projection_version","projection_source_bookmark","effective_projection_source_bookmark","last_projected_source_commit_id","last_projected_virtual_commit_id","last_projected_git_sha","last_projection_error","last_sync_run_id","last_projected_at","last_projected_at_label","last_synced_at","last_synced_at_label","merge_policy_updated_at","merge_policy_updated_at_label","created_at","created_at_label","updated_at","updated_at_label"],"properties":{"id":{"type":"string"},"organization_id":{"type":"string"},"organization_slug":{"type":"string"},"organization_name":{"type":"string"},"repository_id":{"type":"string"},"repository_slug":{"type":"string"},"repository_name":{"type":"string"},"slug":{"type":"string"},"name":{"type":"string"},"description":{"type":"string","nullable":true},"root_path":{"type":"string"},"icon_name":{"type":"string"},"status":{"type":"string","enum":["active","archived"]},"sync_provider_kind":{"type":"string","enum":["none","github","git"]},"sync_mode":{"type":"string","enum":["pull","push","bidirectional"]},"sync_repository_owner":{"type":"string","nullable":true},"sync_repository_name":{"type":"string","nullable":true},"sync_repository_full_name":{"type":"string","nullable":true},"sync_remote_url":{"type":"string","nullable":true},"sync_remote_display_name":{"type":"string","nullable":true},"sync_auth_username":{"type":"string","nullable":true},"sync_auth_secret_id":{"type":"string","nullable":true},"sync_default_branch":{"type":"string","nullable":true},"github_app_installation_id":{"type":"string","nullable":true},"sync_source_bookmark":{"type":"string","nullable":true},"sync_target_branch":{"type":"string","nullable":true},"merge_authority":{"type":"string","enum":["vex_primary","github_primary"]},"merge_authority_version":{"type":"integer"},"merge_policy_version":{"type":"integer"},"queue_validation_mode":{"type":"string","enum":["top_only","per_pr"]},"queue_concurrency":{"type":"integer"},"auto_land_enabled":{"type":"boolean"},"github_primary_eligible":{"type":"boolean"},"sync_auto_enabled":{"type":"boolean"},"sync_configured":{"type":"boolean"},"sync_discover_cursor":{"type":"integer"},"projection_status":{"type":"string","enum":["pending","projecting","ready","failed","diverged"]},"projection_version":{"type":"integer"},"projection_source_bookmark":{"type":"string","nullable":true},"effective_projection_source_bookmark":{"type":"string"},"last_projected_source_commit_id":{"type":"string","nullable":true},"last_projected_virtual_commit_id":{"type":"string","nullable":true},"last_projected_git_sha":{"type":"string","nullable":true},"last_projection_error":{"type":"string","nullable":true},"last_sync_run_id":{"type":"string","nullable":true},"last_projected_at":{"type":"string","format":"date-time","nullable":true},"last_projected_at_label":{"type":"string","nullable":true},"last_synced_at":{"type":"string","format":"date-time","nullable":true},"last_synced_at_label":{"type":"string","nullable":true},"merge_policy_updated_at":{"type":"string","format":"date-time","nullable":true},"merge_policy_updated_at_label":{"type":"string","nullable":true},"created_at":{"type":"string","format":"date-time"},"created_at_label":{"type":"string","nullable":true},"updated_at":{"type":"string","format":"date-time"},"updated_at_label":{"type":"string","nullable":true}}}}}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not found"},"422":{"description":"Unprocessable entity"},"502":{"description":"Bad gateway"}},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"properties":{"repository_id":{"type":"string"},"slug":{"type":"string"},"name":{"type":"string"},"description":{"type":"string","nullable":true},"root_path":{"type":"string"},"status":{"type":"string","enum":["active","archived"]},"sync_provider_kind":{"type":"string","enum":["none","github","git"]},"sync_mode":{"type":"string","enum":["pull","push","bidirectional"]},"github_app_installation_id":{"type":"string","nullable":true},"sync_auth_secret_id":{"type":"string","nullable":true},"sync_repository_owner":{"type":"string","nullable":true},"sync_repository_name":{"type":"string","nullable":true},"sync_remote_url":{"type":"string","nullable":true},"sync_auth_username":{"type":"string","nullable":true},"sync_default_branch":{"type":"string","nullable":true},"sync_source_bookmark":{"type":"string","nullable":true},"sync_target_branch":{"type":"string","nullable":true},"sync_auto_enabled":{"type":"boolean"},"projection_status":{"type":"string","enum":["pending","projecting","ready","failed","diverged"]},"projection_version":{"type":"integer"},"projection_source_bookmark":{"type":"string","nullable":true},"last_projected_source_commit_id":{"type":"string","nullable":true},"last_projected_virtual_commit_id":{"type":"string","nullable":true},"last_projected_git_sha":{"type":"string","nullable":true},"last_projection_error":{"type":"string","nullable":true},"last_projected_at":{"type":"string","format":"date-time","nullable":true}}}}}},"security":[{"bearerAuth":[]}]},"put":{"operationId":"put_api_v1_virtual_repositories_id_","tags":["virtual_repositories"],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not found"},"422":{"description":"Unprocessable entity"},"502":{"description":"Bad gateway"}},"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"security":[{"bearerAuth":[]}]},"delete":{"operationId":"delete_api_v1_virtual_repositories_id_","tags":["virtual_repositories"],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not found"},"422":{"description":"Unprocessable entity"},"502":{"description":"Bad gateway"}},"security":[{"bearerAuth":[]}]}},"/api/v1/virtual_repositories/{id}/materialize":{"post":{"operationId":"materialize_api_v1_virtual_repository","tags":["virtual_repositories"],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Created virtual repository sync run","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"required":["sync_run"],"properties":{"sync_run":{"type":"object","required":["id","organization_id","virtual_repository_id","creator_user_id","trigger_kind","status","kind","sync_provider_kind","sync_mode","source_bookmark","staging_bookmark","merge_commit_id","source_op_head_ids","source_commit_id","source_change_id","source_git_sha","target_repository_owner","target_repository_name","target_repository_full_name","target_branch","remote_url","remote_before_sha","remote_after_sha","github_before_sha","github_after_sha","force","pulled_commit_count","projected_commit_count","skipped_commit_count","error_message","metadata","log_lines","started_at","started_at_label","finished_at","finished_at_label","created_at","created_at_label","updated_at","updated_at_label"],"properties":{"id":{"type":"string"},"organization_id":{"type":"string"},"virtual_repository_id":{"type":"string"},"creator_user_id":{"type":"string","nullable":true},"trigger_kind":{"type":"string","enum":["manual","auto"]},"status":{"type":"string","enum":["queued","running","succeeded","failed","skipped","canceled"]},"kind":{"type":"string","enum":["pull_sync","push_projection","materialization"]},"sync_provider_kind":{"type":"string","enum":["github","git"]},"sync_mode":{"type":"string","enum":["pull","push","bidirectional"]},"source_bookmark":{"type":"string"},"staging_bookmark":{"type":"string","nullable":true},"merge_commit_id":{"type":"string","nullable":true},"source_op_head_ids":{"type":"array","items":{"type":"string"}},"source_commit_id":{"type":"string","nullable":true},"source_change_id":{"type":"string","nullable":true},"source_git_sha":{"type":"string","nullable":true},"target_repository_owner":{"type":"string"},"target_repository_name":{"type":"string"},"target_repository_full_name":{"type":"string"},"target_branch":{"type":"string"},"remote_url":{"type":"string"},"remote_before_sha":{"type":"string","nullable":true},"remote_after_sha":{"type":"string","nullable":true},"github_before_sha":{"type":"string","nullable":true},"github_after_sha":{"type":"string","nullable":true},"force":{"type":"boolean"},"pulled_commit_count":{"type":"integer"},"projected_commit_count":{"type":"integer"},"skipped_commit_count":{"type":"integer"},"error_message":{"type":"string","nullable":true},"metadata":{"type":"object","additionalProperties":true},"log_lines":{"type":"array","items":{"type":"object","required":["timestamp","level","message"],"properties":{"timestamp":{"type":"string"},"timestamp_label":{"type":"string"},"level":{"type":"string"},"message":{"type":"string"}}}},"started_at":{"type":"string","format":"date-time","nullable":true},"started_at_label":{"type":"string","nullable":true},"finished_at":{"type":"string","format":"date-time","nullable":true},"finished_at_label":{"type":"string","nullable":true},"created_at":{"type":"string","format":"date-time"},"created_at_label":{"type":"string","nullable":true},"updated_at":{"type":"string","format":"date-time"},"updated_at_label":{"type":"string","nullable":true}}}}}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not found"},"422":{"description":"Unprocessable entity"},"502":{"description":"Bad gateway"},"201":{"description":"Created virtual repository sync run","content":{"application/json":{"schema":{"type":"object","required":["sync_run"],"properties":{"sync_run":{"type":"object","required":["id","organization_id","virtual_repository_id","creator_user_id","trigger_kind","status","kind","sync_provider_kind","sync_mode","source_bookmark","staging_bookmark","merge_commit_id","source_op_head_ids","source_commit_id","source_change_id","source_git_sha","target_repository_owner","target_repository_name","target_repository_full_name","target_branch","remote_url","remote_before_sha","remote_after_sha","github_before_sha","github_after_sha","force","pulled_commit_count","projected_commit_count","skipped_commit_count","error_message","metadata","log_lines","started_at","started_at_label","finished_at","finished_at_label","created_at","created_at_label","updated_at","updated_at_label"],"properties":{"id":{"type":"string"},"organization_id":{"type":"string"},"virtual_repository_id":{"type":"string"},"creator_user_id":{"type":"string","nullable":true},"trigger_kind":{"type":"string","enum":["manual","auto"]},"status":{"type":"string","enum":["queued","running","succeeded","failed","skipped","canceled"]},"kind":{"type":"string","enum":["pull_sync","push_projection","materialization"]},"sync_provider_kind":{"type":"string","enum":["github","git"]},"sync_mode":{"type":"string","enum":["pull","push","bidirectional"]},"source_bookmark":{"type":"string"},"staging_bookmark":{"type":"string","nullable":true},"merge_commit_id":{"type":"string","nullable":true},"source_op_head_ids":{"type":"array","items":{"type":"string"}},"source_commit_id":{"type":"string","nullable":true},"source_change_id":{"type":"string","nullable":true},"source_git_sha":{"type":"string","nullable":true},"target_repository_owner":{"type":"string"},"target_repository_name":{"type":"string"},"target_repository_full_name":{"type":"string"},"target_branch":{"type":"string"},"remote_url":{"type":"string"},"remote_before_sha":{"type":"string","nullable":true},"remote_after_sha":{"type":"string","nullable":true},"github_before_sha":{"type":"string","nullable":true},"github_after_sha":{"type":"string","nullable":true},"force":{"type":"boolean"},"pulled_commit_count":{"type":"integer"},"projected_commit_count":{"type":"integer"},"skipped_commit_count":{"type":"integer"},"error_message":{"type":"string","nullable":true},"metadata":{"type":"object","additionalProperties":true},"log_lines":{"type":"array","items":{"type":"object","required":["timestamp","level","message"],"properties":{"timestamp":{"type":"string"},"timestamp_label":{"type":"string"},"level":{"type":"string"},"message":{"type":"string"}}}},"started_at":{"type":"string","format":"date-time","nullable":true},"started_at_label":{"type":"string","nullable":true},"finished_at":{"type":"string","format":"date-time","nullable":true},"finished_at_label":{"type":"string","nullable":true},"created_at":{"type":"string","format":"date-time"},"created_at_label":{"type":"string","nullable":true},"updated_at":{"type":"string","format":"date-time"},"updated_at_label":{"type":"string","nullable":true}}}}}}}}},"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"properties":{"source_bookmark":{"type":"string","nullable":true},"staging_bookmark":{"type":"string","nullable":true}}}}}},"security":[{"bearerAuth":[]}]}},"/api/v1/virtual_repositories/{virtual_repository_id}/import_baselines":{"post":{"operationId":"api_v1_virtual_repository_import_baselines","tags":["virtual_repositories"],"parameters":[{"name":"virtual_repository_id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not found"},"422":{"description":"Unprocessable entity"},"502":{"description":"Bad gateway"}},"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"security":[{"bearerAuth":[]}]}},"/api/v1/virtual_repositories/{virtual_repository_id}/merge_policy":{"get":{"operationId":"api_v1_virtual_repository_merge_policy","tags":["virtual_repositories"],"parameters":[{"name":"virtual_repository_id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Current policy and GitHub-primary eligibility","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"required":["policy"],"properties":{"policy":{"type":"object","required":["virtual_repository_id","merge_authority","merge_authority_version","merge_policy_version","queue_validation_mode","queue_concurrency","auto_land_enabled","github_primary_eligible","switch_blockers"],"properties":{"virtual_repository_id":{"type":"string","nullable":true},"merge_authority":{"type":"string","enum":["vex_primary","github_primary"]},"merge_authority_version":{"type":"integer","minimum":1},"merge_policy_version":{"type":"integer","minimum":1},"queue_validation_mode":{"type":"string","enum":["top_only","per_pr"]},"queue_concurrency":{"type":"integer","minimum":1,"maximum":20},"queue_concurrency_label":{"type":"string"},"auto_land_enabled":{"type":"boolean"},"github_primary_eligible":{"type":"boolean"},"switch_blockers":{"type":"array","items":{"type":"string"}}}}}}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not found"},"422":{"description":"Unprocessable entity"},"502":{"description":"Bad gateway"}},"security":[{"bearerAuth":[]}],"summary":"Read merge authority and merge-queue policy"},"patch":{"operationId":"patch_api_v1_virtual_repositories_virtual_repository_id_merge_policy","tags":["virtual_repositories"],"parameters":[{"name":"virtual_repository_id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Updated policy","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"required":["policy"],"properties":{"policy":{"type":"object","required":["virtual_repository_id","merge_authority","merge_authority_version","merge_policy_version","queue_validation_mode","queue_concurrency","auto_land_enabled","github_primary_eligible","switch_blockers"],"properties":{"virtual_repository_id":{"type":"string","nullable":true},"merge_authority":{"type":"string","enum":["vex_primary","github_primary"]},"merge_authority_version":{"type":"integer","minimum":1},"merge_policy_version":{"type":"integer","minimum":1},"queue_validation_mode":{"type":"string","enum":["top_only","per_pr"]},"queue_concurrency":{"type":"integer","minimum":1,"maximum":20},"queue_concurrency_label":{"type":"string"},"auto_land_enabled":{"type":"boolean"},"github_primary_eligible":{"type":"boolean"},"switch_blockers":{"type":"array","items":{"type":"string"}}}}}}}}},"401":{"description":"Unauthorized"},"403":{"description":"Organization admin or owner membership is required"},"404":{"description":"Not found"},"422":{"description":"The authority switch is blocked or the policy is invalid"},"502":{"description":"Bad gateway"},"409":{"description":"The policy version changed"}},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"required":["expected_version"],"properties":{"expected_version":{"type":"integer","minimum":1},"merge_authority":{"type":"string","enum":["vex_primary","github_primary"]},"queue_validation_mode":{"type":"string","enum":["top_only","per_pr"]},"queue_concurrency":{"type":"integer","minimum":1,"maximum":20},"auto_land_enabled":{"type":"boolean"}}}}}},"security":[{"bearerAuth":[]}],"summary":"Update merge authority and merge-queue policy","description":"Organization-admin only. Authority changes are optimistic and fail closed while queues are active, projections are reconciling or drifted, or required GitHub App permissions are missing."},"put":{"operationId":"put_api_v1_virtual_repositories_virtual_repository_id_merge_policy","tags":["virtual_repositories"],"parameters":[{"name":"virtual_repository_id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Updated policy","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"required":["policy"],"properties":{"policy":{"type":"object","required":["virtual_repository_id","merge_authority","merge_authority_version","merge_policy_version","queue_validation_mode","queue_concurrency","auto_land_enabled","github_primary_eligible","switch_blockers"],"properties":{"virtual_repository_id":{"type":"string","nullable":true},"merge_authority":{"type":"string","enum":["vex_primary","github_primary"]},"merge_authority_version":{"type":"integer","minimum":1},"merge_policy_version":{"type":"integer","minimum":1},"queue_validation_mode":{"type":"string","enum":["top_only","per_pr"]},"queue_concurrency":{"type":"integer","minimum":1,"maximum":20},"queue_concurrency_label":{"type":"string"},"auto_land_enabled":{"type":"boolean"},"github_primary_eligible":{"type":"boolean"},"switch_blockers":{"type":"array","items":{"type":"string"}}}}}}}}},"401":{"description":"Unauthorized"},"403":{"description":"Organization admin or owner membership is required"},"404":{"description":"Not found"},"422":{"description":"The authority switch is blocked or the policy is invalid"},"502":{"description":"Bad gateway"},"409":{"description":"The policy version changed"}},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"required":["expected_version"],"properties":{"expected_version":{"type":"integer","minimum":1},"merge_authority":{"type":"string","enum":["vex_primary","github_primary"]},"queue_validation_mode":{"type":"string","enum":["top_only","per_pr"]},"queue_concurrency":{"type":"integer","minimum":1,"maximum":20},"auto_land_enabled":{"type":"boolean"}}}}}},"security":[{"bearerAuth":[]}],"summary":"Update merge authority and merge-queue policy","description":"Organization-admin only. Authority changes are optimistic and fail closed while queues are active, projections are reconciling or drifted, or required GitHub App permissions are missing."}},"/api/v1/virtual_repositories/{virtual_repository_id}/sync_runs":{"get":{"operationId":"api_v1_virtual_repository_sync_runs","tags":["virtual_repositories"],"parameters":[{"name":"virtual_repository_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","minimum":1,"maximum":100}}],"responses":{"200":{"description":"Recent virtual repository sync runs","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"required":["sync_runs"],"properties":{"sync_runs":{"type":"array","items":{"type":"object","required":["id","organization_id","virtual_repository_id","creator_user_id","trigger_kind","status","kind","sync_provider_kind","sync_mode","source_bookmark","staging_bookmark","merge_commit_id","source_op_head_ids","source_commit_id","source_change_id","source_git_sha","target_repository_owner","target_repository_name","target_repository_full_name","target_branch","remote_url","remote_before_sha","remote_after_sha","github_before_sha","github_after_sha","force","pulled_commit_count","projected_commit_count","skipped_commit_count","error_message","metadata","log_lines","started_at","started_at_label","finished_at","finished_at_label","created_at","created_at_label","updated_at","updated_at_label"],"properties":{"id":{"type":"string"},"organization_id":{"type":"string"},"virtual_repository_id":{"type":"string"},"creator_user_id":{"type":"string","nullable":true},"trigger_kind":{"type":"string","enum":["manual","auto"]},"status":{"type":"string","enum":["queued","running","succeeded","failed","skipped","canceled"]},"kind":{"type":"string","enum":["pull_sync","push_projection","materialization"]},"sync_provider_kind":{"type":"string","enum":["github","git"]},"sync_mode":{"type":"string","enum":["pull","push","bidirectional"]},"source_bookmark":{"type":"string"},"staging_bookmark":{"type":"string","nullable":true},"merge_commit_id":{"type":"string","nullable":true},"source_op_head_ids":{"type":"array","items":{"type":"string"}},"source_commit_id":{"type":"string","nullable":true},"source_change_id":{"type":"string","nullable":true},"source_git_sha":{"type":"string","nullable":true},"target_repository_owner":{"type":"string"},"target_repository_name":{"type":"string"},"target_repository_full_name":{"type":"string"},"target_branch":{"type":"string"},"remote_url":{"type":"string"},"remote_before_sha":{"type":"string","nullable":true},"remote_after_sha":{"type":"string","nullable":true},"github_before_sha":{"type":"string","nullable":true},"github_after_sha":{"type":"string","nullable":true},"force":{"type":"boolean"},"pulled_commit_count":{"type":"integer"},"projected_commit_count":{"type":"integer"},"skipped_commit_count":{"type":"integer"},"error_message":{"type":"string","nullable":true},"metadata":{"type":"object","additionalProperties":true},"log_lines":{"type":"array","items":{"type":"object","required":["timestamp","level","message"],"properties":{"timestamp":{"type":"string"},"timestamp_label":{"type":"string"},"level":{"type":"string"},"message":{"type":"string"}}}},"started_at":{"type":"string","format":"date-time","nullable":true},"started_at_label":{"type":"string","nullable":true},"finished_at":{"type":"string","format":"date-time","nullable":true},"finished_at_label":{"type":"string","nullable":true},"created_at":{"type":"string","format":"date-time"},"created_at_label":{"type":"string","nullable":true},"updated_at":{"type":"string","format":"date-time"},"updated_at_label":{"type":"string","nullable":true}}}}}}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not found"},"422":{"description":"Unprocessable entity"},"502":{"description":"Bad gateway"}},"security":[{"bearerAuth":[]}]},"post":{"operationId":"post_api_v1_virtual_repositories_virtual_repository_id_sync_runs","tags":["virtual_repositories"],"parameters":[{"name":"virtual_repository_id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Created virtual repository sync run","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"required":["sync_run"],"properties":{"sync_run":{"type":"object","required":["id","organization_id","virtual_repository_id","creator_user_id","trigger_kind","status","kind","sync_provider_kind","sync_mode","source_bookmark","staging_bookmark","merge_commit_id","source_op_head_ids","source_commit_id","source_change_id","source_git_sha","target_repository_owner","target_repository_name","target_repository_full_name","target_branch","remote_url","remote_before_sha","remote_after_sha","github_before_sha","github_after_sha","force","pulled_commit_count","projected_commit_count","skipped_commit_count","error_message","metadata","log_lines","started_at","started_at_label","finished_at","finished_at_label","created_at","created_at_label","updated_at","updated_at_label"],"properties":{"id":{"type":"string"},"organization_id":{"type":"string"},"virtual_repository_id":{"type":"string"},"creator_user_id":{"type":"string","nullable":true},"trigger_kind":{"type":"string","enum":["manual","auto"]},"status":{"type":"string","enum":["queued","running","succeeded","failed","skipped","canceled"]},"kind":{"type":"string","enum":["pull_sync","push_projection","materialization"]},"sync_provider_kind":{"type":"string","enum":["github","git"]},"sync_mode":{"type":"string","enum":["pull","push","bidirectional"]},"source_bookmark":{"type":"string"},"staging_bookmark":{"type":"string","nullable":true},"merge_commit_id":{"type":"string","nullable":true},"source_op_head_ids":{"type":"array","items":{"type":"string"}},"source_commit_id":{"type":"string","nullable":true},"source_change_id":{"type":"string","nullable":true},"source_git_sha":{"type":"string","nullable":true},"target_repository_owner":{"type":"string"},"target_repository_name":{"type":"string"},"target_repository_full_name":{"type":"string"},"target_branch":{"type":"string"},"remote_url":{"type":"string"},"remote_before_sha":{"type":"string","nullable":true},"remote_after_sha":{"type":"string","nullable":true},"github_before_sha":{"type":"string","nullable":true},"github_after_sha":{"type":"string","nullable":true},"force":{"type":"boolean"},"pulled_commit_count":{"type":"integer"},"projected_commit_count":{"type":"integer"},"skipped_commit_count":{"type":"integer"},"error_message":{"type":"string","nullable":true},"metadata":{"type":"object","additionalProperties":true},"log_lines":{"type":"array","items":{"type":"object","required":["timestamp","level","message"],"properties":{"timestamp":{"type":"string"},"timestamp_label":{"type":"string"},"level":{"type":"string"},"message":{"type":"string"}}}},"started_at":{"type":"string","format":"date-time","nullable":true},"started_at_label":{"type":"string","nullable":true},"finished_at":{"type":"string","format":"date-time","nullable":true},"finished_at_label":{"type":"string","nullable":true},"created_at":{"type":"string","format":"date-time"},"created_at_label":{"type":"string","nullable":true},"updated_at":{"type":"string","format":"date-time"},"updated_at_label":{"type":"string","nullable":true}}}}}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not found"},"422":{"description":"Unprocessable entity"},"502":{"description":"Bad gateway"},"201":{"description":"Created virtual repository sync run","content":{"application/json":{"schema":{"type":"object","required":["sync_run"],"properties":{"sync_run":{"type":"object","required":["id","organization_id","virtual_repository_id","creator_user_id","trigger_kind","status","kind","sync_provider_kind","sync_mode","source_bookmark","staging_bookmark","merge_commit_id","source_op_head_ids","source_commit_id","source_change_id","source_git_sha","target_repository_owner","target_repository_name","target_repository_full_name","target_branch","remote_url","remote_before_sha","remote_after_sha","github_before_sha","github_after_sha","force","pulled_commit_count","projected_commit_count","skipped_commit_count","error_message","metadata","log_lines","started_at","started_at_label","finished_at","finished_at_label","created_at","created_at_label","updated_at","updated_at_label"],"properties":{"id":{"type":"string"},"organization_id":{"type":"string"},"virtual_repository_id":{"type":"string"},"creator_user_id":{"type":"string","nullable":true},"trigger_kind":{"type":"string","enum":["manual","auto"]},"status":{"type":"string","enum":["queued","running","succeeded","failed","skipped","canceled"]},"kind":{"type":"string","enum":["pull_sync","push_projection","materialization"]},"sync_provider_kind":{"type":"string","enum":["github","git"]},"sync_mode":{"type":"string","enum":["pull","push","bidirectional"]},"source_bookmark":{"type":"string"},"staging_bookmark":{"type":"string","nullable":true},"merge_commit_id":{"type":"string","nullable":true},"source_op_head_ids":{"type":"array","items":{"type":"string"}},"source_commit_id":{"type":"string","nullable":true},"source_change_id":{"type":"string","nullable":true},"source_git_sha":{"type":"string","nullable":true},"target_repository_owner":{"type":"string"},"target_repository_name":{"type":"string"},"target_repository_full_name":{"type":"string"},"target_branch":{"type":"string"},"remote_url":{"type":"string"},"remote_before_sha":{"type":"string","nullable":true},"remote_after_sha":{"type":"string","nullable":true},"github_before_sha":{"type":"string","nullable":true},"github_after_sha":{"type":"string","nullable":true},"force":{"type":"boolean"},"pulled_commit_count":{"type":"integer"},"projected_commit_count":{"type":"integer"},"skipped_commit_count":{"type":"integer"},"error_message":{"type":"string","nullable":true},"metadata":{"type":"object","additionalProperties":true},"log_lines":{"type":"array","items":{"type":"object","required":["timestamp","level","message"],"properties":{"timestamp":{"type":"string"},"timestamp_label":{"type":"string"},"level":{"type":"string"},"message":{"type":"string"}}}},"started_at":{"type":"string","format":"date-time","nullable":true},"started_at_label":{"type":"string","nullable":true},"finished_at":{"type":"string","format":"date-time","nullable":true},"finished_at_label":{"type":"string","nullable":true},"created_at":{"type":"string","format":"date-time"},"created_at_label":{"type":"string","nullable":true},"updated_at":{"type":"string","format":"date-time"},"updated_at_label":{"type":"string","nullable":true}}}}}}}}},"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"properties":{"source_bookmark":{"type":"string","nullable":true}}}}}},"security":[{"bearerAuth":[]}]}},"/api/v1/virtual_repositories/{virtual_repository_id}/sync_runs/{id}":{"get":{"operationId":"api_v1_virtual_repository_sync_run","tags":["virtual_repositories"],"parameters":[{"name":"virtual_repository_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not found"},"422":{"description":"Unprocessable entity"},"502":{"description":"Bad gateway"}},"security":[{"bearerAuth":[]}]}},"/api/v1/waitlist_applications":{"post":{"operationId":"api_v1_waitlist_applications","tags":["waitlist_applications"],"parameters":[],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not found"},"422":{"description":"Unprocessable entity"},"502":{"description":"Bad gateway"}},"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"security":[{"bearerAuth":[]}]}}},"components":{"securitySchemes":{"bearerAuth":{"type":"http","scheme":"bearer","bearerFormat":"JWT"}},"schemas":{"AgentRoderSessionPayload":{"type":"object","required":["organization_id"],"properties":{"organization_id":{"type":"string"}}},"AgentRoderSession":{"type":"object","required":["ws_url","token","expires_at","expires_in_seconds","workspace_dir","organization_id","mcp_token","model_provider","model"],"properties":{"ws_url":{"type":"string"},"token":{"type":"string"},"expires_at":{"type":"string","format":"date-time"},"expires_in_seconds":{"type":"integer","minimum":0,"description":"Remaining capability lifetime measured by the server when the response was created."},"workspace_dir":{"type":"string","description":"Compatibility root used to establish the SDK connection. workspace/list is authoritative for the active workspace."},"organization_id":{"type":"string"},"mcp_token":{"type":"string"},"model_provider":{"type":"string","nullable":true},"model":{"type":"string","nullable":true}}},"AgentRoderWorkspaceCredentials":{"type":"object","required":["clone_url","username","jj_grpc_endpoint","repository_spec","default_branch","author_name","author_email","token","expires_at","organization_id","repository_id","repository_slug"],"properties":{"clone_url":{"type":"string","format":"uri"},"username":{"type":"string","enum":["vex"]},"jj_grpc_endpoint":{"type":"string","format":"uri","description":"Absolute HTTP(S) endpoint for native Vex repository operations."},"repository_spec":{"type":"string","description":"Native Vex repository address in organization/home form."},"default_branch":{"type":"string"},"author_name":{"type":"string"},"author_email":{"type":"string","format":"email"},"token":{"type":"string","format":"password","description":"Short-lived read/write credential. The raw value is returned once and only its digest is stored."},"expires_at":{"type":"string","format":"date-time"},"organization_id":{"type":"string"},"repository_id":{"type":"string"},"repository_slug":{"type":"string"}}},"AgentRoderWorkspaceCredentialRequest":{"type":"object","required":["required_lifetime_seconds"],"properties":{"required_lifetime_seconds":{"type":"integer","minimum":1,"maximum":3480,"description":"Lifetime the pending clone or command must be able to complete within."}}},"AgentSwarm":{"type":"object","required":["id","organization_id","creator_user_id","number","display_id","slug","status","model_provider","model","base_ref","concurrency_key","task_template_json","queued_at","started_at","finished_at","created_at","updated_at","task_count","done_count","failed_count","queued_at_label","started_at_label","finished_at_label","created_at_label","updated_at_label"],"properties":{"id":{"type":"string"},"organization_id":{"type":"string"},"creator_user_id":{"type":"string","nullable":true},"number":{"type":"integer","minimum":1},"display_id":{"type":"integer","minimum":1},"slug":{"type":"string"},"status":{"type":"string","enum":["queued","running","succeeded","failed","canceled"]},"model_provider":{"type":"string","nullable":true},"model":{"type":"string","nullable":true},"base_ref":{"type":"string","nullable":true},"concurrency_key":{"type":"string","nullable":true},"task_template_json":{"type":"string","nullable":true},"queued_at":{"type":"string","format":"date-time","nullable":true},"started_at":{"type":"string","format":"date-time","nullable":true},"finished_at":{"type":"string","format":"date-time","nullable":true},"created_at":{"type":"string","format":"date-time"},"updated_at":{"type":"string","format":"date-time"},"task_count":{"type":"integer","minimum":0},"done_count":{"type":"integer","minimum":0},"failed_count":{"type":"integer","minimum":0},"queued_at_label":{"type":"string","nullable":true},"started_at_label":{"type":"string","nullable":true},"finished_at_label":{"type":"string","nullable":true},"created_at_label":{"type":"string","nullable":true},"updated_at_label":{"type":"string","nullable":true}}},"AgentSwarmTask":{"type":"object","required":["id","organization_id","agent_swarm_id","assigned_runner_id","number","display_id","repo_url","prompt","status","commit_sha_result","diff_artifact_url","error_message","retry_number","queued_at","started_at","finished_at","created_at","updated_at","queued_at_label","started_at_label","finished_at_label","created_at_label","updated_at_label"],"properties":{"id":{"type":"string"},"organization_id":{"type":"string"},"agent_swarm_id":{"type":"string"},"assigned_runner_id":{"type":"string","nullable":true},"number":{"type":"integer","minimum":1},"display_id":{"type":"integer","minimum":1},"repo_url":{"type":"string","format":"uri"},"prompt":{"type":"string"},"status":{"type":"string","enum":["queued","running","succeeded","failed","canceled"]},"commit_sha_result":{"type":"string","nullable":true},"diff_artifact_url":{"type":"string","format":"uri","nullable":true},"error_message":{"type":"string","nullable":true},"retry_number":{"type":"integer","minimum":0},"queued_at":{"type":"string","format":"date-time","nullable":true},"started_at":{"type":"string","format":"date-time","nullable":true},"finished_at":{"type":"string","format":"date-time","nullable":true},"created_at":{"type":"string","format":"date-time"},"updated_at":{"type":"string","format":"date-time"},"queued_at_label":{"type":"string","nullable":true},"started_at_label":{"type":"string","nullable":true},"finished_at_label":{"type":"string","nullable":true},"created_at_label":{"type":"string","nullable":true},"updated_at_label":{"type":"string","nullable":true}}},"AgentSwarmDetail":{"allOf":[{"$ref":"#/components/schemas/AgentSwarm"},{"type":"object","required":["tasks"],"properties":{"tasks":{"type":"array","maxItems":25,"items":{"$ref":"#/components/schemas/AgentSwarmTask"}}}}]},"AgentSwarmTaskCreatePayload":{"type":"object","required":["repo_url","prompt"],"properties":{"repo_url":{"type":"string","format":"uri"},"prompt":{"type":"string"}}},"AgentSwarmCreatePayload":{"type":"object","required":["organization_slug","slug","tasks"],"properties":{"organization_slug":{"type":"string"},"slug":{"type":"string"},"model_provider":{"type":"string"},"model":{"type":"string"},"base_ref":{"type":"string"},"concurrency_key":{"type":"string"},"task_template_json":{"type":"string"},"queued_at":{"type":"string","format":"date-time"},"tasks":{"type":"array","items":{"$ref":"#/components/schemas/AgentSwarmTaskCreatePayload"}}}},"BookmarkProtectionEvent":{"type":"object","required":["id","bookmark_protection_rule_id","organization_id","repository_id","actor_user_id","bookmark_name","action","old_target","new_target","actor_kind","actor_label","intent","decision","source_request_id","created_at","updated_at","created_at_label","updated_at_label","reason_codes","metadata"],"properties":{"id":{"type":"string"},"bookmark_protection_rule_id":{"type":"string","nullable":true},"organization_id":{"type":"string"},"repository_id":{"type":"string"},"actor_user_id":{"type":"string","nullable":true},"bookmark_name":{"type":"string"},"action":{"type":"string"},"old_target":{"type":"string","nullable":true},"new_target":{"type":"string","nullable":true},"actor_kind":{"type":"string","enum":["user","vex_automation","system","github_app","service"]},"actor_label":{"type":"string","nullable":true},"intent":{"type":"string","nullable":true},"decision":{"type":"string","enum":["allowed","denied","bypassed","simulated"]},"source_request_id":{"type":"string","nullable":true},"created_at":{"type":"string","format":"date-time"},"updated_at":{"type":"string","format":"date-time"},"created_at_label":{"type":"string","nullable":true},"updated_at_label":{"type":"string","nullable":true},"reason_codes":{"type":"array","items":{"type":"string"}},"metadata":{"type":"object","additionalProperties":true}}},"BookmarkProtectionRule":{"type":"object","required":["id","organization_id","repository_id","created_by_user_id","updated_by_user_id","name","enabled","priority","target_kind","target_pattern","bypass_mode","created_at","updated_at","requirements","actor_policy"],"properties":{"id":{"type":"string"},"organization_id":{"type":"string"},"repository_id":{"type":"string"},"created_by_user_id":{"type":"string","nullable":true},"updated_by_user_id":{"type":"string","nullable":true},"name":{"type":"string"},"enabled":{"type":"boolean"},"priority":{"type":"integer"},"target_kind":{"type":"string","enum":["exact","pattern","default_branch"]},"target_pattern":{"type":"string","nullable":true},"bypass_mode":{"type":"string","enum":["admins","none"]},"created_at":{"type":"string","format":"date-time"},"updated_at":{"type":"string","format":"date-time"},"requirements":{"type":"object","additionalProperties":true},"actor_policy":{"type":"object","additionalProperties":true}}},"CiPipeline":{"type":"object","required":["id","organization_id","repository_id","hosted_app_id","ci_runner_pool_id","required_capabilities_csv","slug","name","description","source_kind","status","default_branch","workflow_path","trigger_on_push","trigger_on_pull_request","trigger_on_schedule","concurrency_key","created_at","updated_at","status_label","status_state","status_tone"],"properties":{"id":{"type":"string"},"organization_id":{"type":"string"},"repository_id":{"type":"string","nullable":true},"hosted_app_id":{"type":"string","nullable":true},"ci_runner_pool_id":{"type":"string","nullable":true},"required_capabilities_csv":{"type":"string","nullable":true},"slug":{"type":"string"},"name":{"type":"string"},"description":{"type":"string","nullable":true},"source_kind":{"type":"string"},"status":{"type":"string"},"default_branch":{"type":"string","nullable":true},"workflow_path":{"type":"string","nullable":true},"trigger_on_push":{"type":"boolean"},"trigger_on_pull_request":{"type":"boolean"},"trigger_on_schedule":{"type":"boolean"},"concurrency_key":{"type":"string","nullable":true},"created_at":{"type":"string","format":"date-time"},"updated_at":{"type":"string","format":"date-time"},"status_label":{"type":"string"},"status_state":{"type":"string","enum":["active","successful","failed","canceled","blocked","skipped","enabled","inactive","unknown"]},"status_tone":{"type":"string","enum":["success","danger","warning","default"]}}},"CiPipelineRun":{"type":"object","required":["id","organization_id","repository_id","hosted_app_id","ci_pipeline_id","ci_runner_pool_id","creator_user_id","required_capabilities_csv","number","display_id","slug","status","trigger_kind","ref_name","commit_sha","source_url","message","concurrency_key","retry_number","queued_at","started_at","finished_at","canceled_at","parameters_json","created_at","updated_at","status_label","status_state","status_tone","active","failed"],"properties":{"id":{"type":"string"},"organization_id":{"type":"string"},"repository_id":{"type":"string","nullable":true},"hosted_app_id":{"type":"string","nullable":true},"ci_pipeline_id":{"type":"string"},"ci_runner_pool_id":{"type":"string","nullable":true},"creator_user_id":{"type":"string","nullable":true},"required_capabilities_csv":{"type":"string","nullable":true},"number":{"type":"integer"},"display_id":{"type":"integer"},"slug":{"type":"string"},"status":{"type":"string"},"trigger_kind":{"type":"string"},"ref_name":{"type":"string","nullable":true},"commit_sha":{"type":"string","nullable":true},"source_url":{"type":"string","nullable":true},"message":{"type":"string","nullable":true},"concurrency_key":{"type":"string","nullable":true},"retry_number":{"type":"integer"},"queued_at":{"type":"string","format":"date-time","nullable":true},"started_at":{"type":"string","format":"date-time","nullable":true},"finished_at":{"type":"string","format":"date-time","nullable":true},"canceled_at":{"type":"string","format":"date-time","nullable":true},"parameters_json":{"type":"string","nullable":true},"created_at":{"type":"string","format":"date-time"},"updated_at":{"type":"string","format":"date-time"},"status_label":{"type":"string"},"status_state":{"type":"string","enum":["active","successful","failed","canceled","blocked","skipped","enabled","inactive","unknown"]},"status_tone":{"type":"string","enum":["success","danger","warning","default"]},"active":{"type":"boolean"},"failed":{"type":"boolean"}}},"CiJob":{"type":"object","required":["id","organization_id","ci_pipeline_run_id","ci_runner_id","number","display_id","slug","name","kind","status","execution_order","runner_label_selector","timeout_seconds","allow_failure","queued_at","started_at","finished_at","exit_code","retry_number","environment_csv","dependencies_csv","created_at","updated_at","status_label","status_state","status_tone","active","failed"],"properties":{"id":{"type":"string"},"organization_id":{"type":"string"},"ci_pipeline_run_id":{"type":"string"},"ci_runner_id":{"type":"string","nullable":true},"number":{"type":"integer"},"display_id":{"type":"integer"},"slug":{"type":"string"},"name":{"type":"string"},"kind":{"type":"string"},"status":{"type":"string"},"execution_order":{"type":"integer"},"runner_label_selector":{"type":"string","nullable":true},"timeout_seconds":{"type":"integer","nullable":true},"allow_failure":{"type":"boolean"},"queued_at":{"type":"string","format":"date-time","nullable":true},"started_at":{"type":"string","format":"date-time","nullable":true},"finished_at":{"type":"string","format":"date-time","nullable":true},"exit_code":{"type":"integer","nullable":true},"retry_number":{"type":"integer"},"environment_csv":{"type":"string","nullable":true},"dependencies_csv":{"type":"string","nullable":true},"created_at":{"type":"string","format":"date-time"},"updated_at":{"type":"string","format":"date-time"},"status_label":{"type":"string"},"status_state":{"type":"string","enum":["active","successful","failed","canceled","blocked","skipped","enabled","inactive","unknown"]},"status_tone":{"type":"string","enum":["success","danger","warning","default"]},"active":{"type":"boolean"},"failed":{"type":"boolean"}}},"CiJobCatalog":{"allOf":[{"type":"object","required":["id","organization_id","ci_pipeline_run_id","ci_runner_id","number","display_id","slug","name","kind","status","execution_order","runner_label_selector","timeout_seconds","allow_failure","queued_at","started_at","finished_at","exit_code","retry_number","environment_csv","dependencies_csv","created_at","updated_at","status_label","status_state","status_tone","active","failed"],"properties":{"id":{"type":"string"},"organization_id":{"type":"string"},"ci_pipeline_run_id":{"type":"string"},"ci_runner_id":{"type":"string","nullable":true},"number":{"type":"integer"},"display_id":{"type":"integer"},"slug":{"type":"string"},"name":{"type":"string"},"kind":{"type":"string"},"status":{"type":"string"},"execution_order":{"type":"integer"},"runner_label_selector":{"type":"string","nullable":true},"timeout_seconds":{"type":"integer","nullable":true},"allow_failure":{"type":"boolean"},"queued_at":{"type":"string","format":"date-time","nullable":true},"started_at":{"type":"string","format":"date-time","nullable":true},"finished_at":{"type":"string","format":"date-time","nullable":true},"exit_code":{"type":"integer","nullable":true},"retry_number":{"type":"integer"},"environment_csv":{"type":"string","nullable":true},"dependencies_csv":{"type":"string","nullable":true},"created_at":{"type":"string","format":"date-time"},"updated_at":{"type":"string","format":"date-time"},"status_label":{"type":"string"},"status_state":{"type":"string","enum":["active","successful","failed","canceled","blocked","skipped","enabled","inactive","unknown"]},"status_tone":{"type":"string","enum":["success","danger","warning","default"]},"active":{"type":"boolean"},"failed":{"type":"boolean"}}},{"type":"object","required":["steps","log_chunks"],"properties":{"steps":{"type":"array","items":{"type":"object","required":["id","organization_id","ci_job_id","slug","name","command","shell","working_directory","status","execution_order","retry_number","exit_code","started_at","finished_at","created_at","updated_at","status_label","status_state","status_tone","active","failed","secret_refs"],"properties":{"id":{"type":"string"},"organization_id":{"type":"string"},"ci_job_id":{"type":"string"},"slug":{"type":"string"},"name":{"type":"string"},"command":{"type":"string"},"shell":{"type":"string","nullable":true},"working_directory":{"type":"string","nullable":true},"status":{"type":"string"},"execution_order":{"type":"integer"},"retry_number":{"type":"integer"},"exit_code":{"type":"integer","nullable":true},"started_at":{"type":"string","format":"date-time","nullable":true},"finished_at":{"type":"string","format":"date-time","nullable":true},"created_at":{"type":"string","format":"date-time"},"updated_at":{"type":"string","format":"date-time"},"status_label":{"type":"string"},"status_state":{"type":"string","enum":["active","successful","failed","canceled","blocked","skipped","enabled","inactive","unknown"]},"status_tone":{"type":"string","enum":["success","danger","warning","default"]},"active":{"type":"boolean"},"failed":{"type":"boolean"},"secret_refs":{"type":"object","additionalProperties":{"type":"string"}}}}},"log_chunks":{"type":"array","maxItems":25,"items":{"type":"object","required":["id","organization_id","ci_pipeline_run_id","ci_job_id","ci_step_id","sequence_number","stream","content_format","content","byte_size","created_at","updated_at"],"properties":{"id":{"type":"string"},"organization_id":{"type":"string"},"ci_pipeline_run_id":{"type":"string","nullable":true},"ci_job_id":{"type":"string","nullable":true},"ci_step_id":{"type":"string","nullable":true},"sequence_number":{"type":"integer"},"stream":{"type":"string"},"content_format":{"type":"string"},"content":{"type":"string"},"byte_size":{"type":"integer"},"created_at":{"type":"string","format":"date-time"},"updated_at":{"type":"string","format":"date-time"}}}}}}]},"CiRunnerPool":{"type":"object","required":["id","organization_id","network_space_id","slug","name","status","runner_kind","isolation_mode","description","max_concurrency","labels_csv","node_capabilities_csv","elastic_provider_kind","elastic_config_json","bazel_enabled","bazel_properties_json","created_at","updated_at"],"properties":{"id":{"type":"string"},"organization_id":{"type":"string"},"network_space_id":{"type":"string","nullable":true},"slug":{"type":"string"},"name":{"type":"string"},"status":{"type":"string"},"runner_kind":{"type":"string"},"isolation_mode":{"type":"string"},"description":{"type":"string","nullable":true},"max_concurrency":{"type":"integer"},"labels_csv":{"type":"string","nullable":true},"node_capabilities_csv":{"type":"string","nullable":true},"elastic_provider_kind":{"type":"string","nullable":true},"elastic_config_json":{"type":"string","nullable":true},"bazel_enabled":{"type":"boolean"},"bazel_properties_json":{"type":"string","nullable":true},"created_at":{"type":"string","format":"date-time"},"updated_at":{"type":"string","format":"date-time"}}},"CiRunnerPoolCatalog":{"allOf":[{"type":"object","required":["id","organization_id","network_space_id","slug","name","status","runner_kind","isolation_mode","description","max_concurrency","labels_csv","node_capabilities_csv","elastic_provider_kind","elastic_config_json","bazel_enabled","bazel_properties_json","created_at","updated_at"],"properties":{"id":{"type":"string"},"organization_id":{"type":"string"},"network_space_id":{"type":"string","nullable":true},"slug":{"type":"string"},"name":{"type":"string"},"status":{"type":"string"},"runner_kind":{"type":"string"},"isolation_mode":{"type":"string"},"description":{"type":"string","nullable":true},"max_concurrency":{"type":"integer"},"labels_csv":{"type":"string","nullable":true},"node_capabilities_csv":{"type":"string","nullable":true},"elastic_provider_kind":{"type":"string","nullable":true},"elastic_config_json":{"type":"string","nullable":true},"bazel_enabled":{"type":"boolean"},"bazel_properties_json":{"type":"string","nullable":true},"created_at":{"type":"string","format":"date-time"},"updated_at":{"type":"string","format":"date-time"}}},{"type":"object","required":["runners","runner_count_label","modal_capacity","modal_runner_invocations"],"properties":{"runners":{"type":"array","items":{"type":"object","required":["id","organization_id","ci_runner_pool_id","network_peer_id","slug","name","status","kind","os","architecture","version","labels_csv","node_capabilities_csv","node_certificate_fingerprint_sha256","node_certificate_serial","node_certificate_expires_at","bazel_enabled","bazel_properties_json","last_seen_at","online_at","offline_at","cordoned_at","revoked_at","created_at","updated_at","node_certificate_expires_at_label","last_seen_at_label","online_at_label","offline_at_label","cordoned_at_label","revoked_at_label","created_at_label","updated_at_label"],"properties":{"id":{"type":"string"},"organization_id":{"type":"string"},"ci_runner_pool_id":{"type":"string"},"network_peer_id":{"type":"string","nullable":true},"slug":{"type":"string"},"name":{"type":"string"},"status":{"type":"string"},"kind":{"type":"string"},"os":{"type":"string","nullable":true},"architecture":{"type":"string","nullable":true},"version":{"type":"string","nullable":true},"labels_csv":{"type":"string","nullable":true},"node_capabilities_csv":{"type":"string","nullable":true},"node_certificate_fingerprint_sha256":{"type":"string","nullable":true},"node_certificate_serial":{"type":"string","nullable":true},"node_certificate_expires_at":{"type":"string","format":"date-time","nullable":true},"bazel_enabled":{"type":"boolean"},"bazel_properties_json":{"type":"string","nullable":true},"last_seen_at":{"type":"string","format":"date-time","nullable":true},"online_at":{"type":"string","format":"date-time","nullable":true},"offline_at":{"type":"string","format":"date-time","nullable":true},"cordoned_at":{"type":"string","format":"date-time","nullable":true},"revoked_at":{"type":"string","format":"date-time","nullable":true},"created_at":{"type":"string","format":"date-time"},"updated_at":{"type":"string","format":"date-time"},"node_certificate_expires_at_label":{"type":"string","nullable":true},"last_seen_at_label":{"type":"string","nullable":true},"online_at_label":{"type":"string","nullable":true},"offline_at_label":{"type":"string","nullable":true},"cordoned_at_label":{"type":"string","nullable":true},"revoked_at_label":{"type":"string","nullable":true},"created_at_label":{"type":"string","nullable":true},"updated_at_label":{"type":"string","nullable":true}}}},"runner_count_label":{"type":"string"},"modal_capacity":{"type":"object","required":["queued_jobs","active_or_pending_leases","inflight_modal_invocations","failed_modal_invocations","deficit"],"properties":{"queued_jobs":{"type":"integer"},"active_or_pending_leases":{"type":"integer"},"inflight_modal_invocations":{"type":"integer"},"failed_modal_invocations":{"type":"integer"},"deficit":{"type":"integer"}}},"modal_runner_invocations":{"type":"array","maxItems":50,"items":{"type":"object","required":["id","organization_id","ci_runner_pool_id","ci_runner_id","ci_runner_lease_id","ci_pipeline_run_id","ci_job_id","status","modal_app_name","modal_function_name","modal_environment_name","modal_call_id","runner_slug","resource_class","cpu_millicores","memory_mb","ephemeral_disk_mb","retry_count","last_error","spawned_at","claimed_at","finished_at","created_at","updated_at","spawned_at_label","claimed_at_label","finished_at_label","created_at_label","updated_at_label"],"properties":{"id":{"type":"string"},"organization_id":{"type":"string"},"ci_runner_pool_id":{"type":"string"},"ci_runner_id":{"type":"string","nullable":true},"ci_runner_lease_id":{"type":"string","nullable":true},"ci_pipeline_run_id":{"type":"string","nullable":true},"ci_job_id":{"type":"string","nullable":true},"status":{"type":"string"},"modal_app_name":{"type":"string"},"modal_function_name":{"type":"string"},"modal_environment_name":{"type":"string","nullable":true},"modal_call_id":{"type":"string","nullable":true},"runner_slug":{"type":"string"},"resource_class":{"type":"string"},"cpu_millicores":{"type":"integer"},"memory_mb":{"type":"integer"},"ephemeral_disk_mb":{"type":"integer"},"retry_count":{"type":"integer"},"last_error":{"type":"string","nullable":true},"spawned_at":{"type":"string","format":"date-time","nullable":true},"claimed_at":{"type":"string","format":"date-time","nullable":true},"finished_at":{"type":"string","format":"date-time","nullable":true},"created_at":{"type":"string","format":"date-time"},"updated_at":{"type":"string","format":"date-time"},"spawned_at_label":{"type":"string","nullable":true},"claimed_at_label":{"type":"string","nullable":true},"finished_at_label":{"type":"string","nullable":true},"created_at_label":{"type":"string","nullable":true},"updated_at_label":{"type":"string","nullable":true}}}}}}]},"CiNodeEnrollmentToken":{"type":"object","required":["id","organization_id","ci_runner_pool_id","creator_user_id","name","description","status","kind","capabilities_csv","token_hint","usage_count","expires_at","last_used_at","revoked_at","raw_token","created_at","updated_at","expires_at_label","last_used_at_label","created_at_label","updated_at_label","usage_count_label"],"properties":{"id":{"type":"string"},"organization_id":{"type":"string"},"ci_runner_pool_id":{"type":"string"},"creator_user_id":{"type":"string","nullable":true},"name":{"type":"string"},"description":{"type":"string","nullable":true},"status":{"type":"string"},"kind":{"type":"string"},"capabilities_csv":{"type":"string","nullable":true},"token_hint":{"type":"string"},"usage_count":{"type":"integer"},"expires_at":{"type":"string","format":"date-time","nullable":true},"last_used_at":{"type":"string","format":"date-time","nullable":true},"revoked_at":{"type":"string","format":"date-time","nullable":true},"raw_token":{"type":"string","nullable":true},"created_at":{"type":"string","format":"date-time"},"updated_at":{"type":"string","format":"date-time"},"expires_at_label":{"type":"string","nullable":true},"last_used_at_label":{"type":"string","nullable":true},"created_at_label":{"type":"string","nullable":true},"updated_at_label":{"type":"string","nullable":true},"usage_count_label":{"type":"string"}}},"HostingLocation":{"type":"object","required":["id","code","name","nomad_datacenter","created_at","updated_at"],"properties":{"id":{"type":"string"},"code":{"type":"string"},"name":{"type":"string"},"nomad_datacenter":{"type":"string"},"created_at":{"type":"string","format":"date-time"},"updated_at":{"type":"string","format":"date-time"}}},"AppEnvironment":{"type":"object","required":["id","hosted_app_id","location_id","slug","name","kind","status","location","branch_pattern","base_domain","auto_deploy","created_at","updated_at","created_at_label","updated_at_label"],"properties":{"id":{"type":"string"},"hosted_app_id":{"type":"string"},"location_id":{"type":"string"},"slug":{"type":"string"},"name":{"type":"string"},"kind":{"type":"string","enum":["production","staging","development","preview","ephemeral","custom"]},"status":{"type":"string","enum":["active","paused","archived"]},"location":{"oneOf":[{"$ref":"#/components/schemas/HostingLocation"},{"type":"null"}]},"branch_pattern":{"type":"string","nullable":true},"base_domain":{"type":"string","nullable":true},"auto_deploy":{"type":"boolean"},"created_at":{"type":"string","format":"date-time"},"updated_at":{"type":"string","format":"date-time"},"created_at_label":{"type":"string","nullable":true},"updated_at_label":{"type":"string","nullable":true}}},"AppEnvironmentUpdatePayload":{"type":"object","properties":{"slug":{"type":"string"},"name":{"type":"string"},"kind":{"type":"string","enum":["production","staging","development","preview","ephemeral","custom"]},"status":{"type":"string","enum":["active","paused","archived"]},"location_id":{"type":"string"},"branch_pattern":{"type":"string","nullable":true},"base_domain":{"type":"string","nullable":true},"auto_deploy":{"type":"boolean"}}},"AppEnvironmentCreatePayload":{"type":"object","required":["slug","name","kind","status","location_id","auto_deploy"],"properties":{"slug":{"type":"string"},"name":{"type":"string"},"kind":{"type":"string","enum":["production","staging","development","preview","ephemeral","custom"]},"status":{"type":"string","enum":["active","paused","archived"]},"location_id":{"type":"string"},"branch_pattern":{"type":"string"},"base_domain":{"type":"string"},"auto_deploy":{"type":"boolean"}}},"AppServiceUpdatePayload":{"type":"object","properties":{"slug":{"type":"string"},"name":{"type":"string"},"kind":{"type":"string","enum":["web","worker","cron","static","private"]},"runtime":{"type":"string","enum":["docker","node","ruby","python","go","rust","static","generic"]},"runtime_adapter_kind":{"type":"string","enum":["nomad","database"]},"runtime_adapter_settings_json":{"type":"string","nullable":true},"nomad_namespace":{"type":"string","nullable":true},"nomad_region":{"type":"string","nullable":true},"cpu_mhz":{"type":"integer","minimum":0,"nullable":true},"memory_mb":{"type":"integer","minimum":0,"nullable":true},"disk_mb":{"type":"integer","minimum":0,"nullable":true},"nomad_constraints_json":{"type":"string","nullable":true},"nomad_update_strategy_json":{"type":"string","nullable":true},"source_path":{"type":"string"},"build_command":{"type":"string","nullable":true},"start_command":{"type":"string","nullable":true},"healthcheck_path":{"type":"string","nullable":true},"schedule":{"type":"string","nullable":true},"internal_port":{"type":"integer","minimum":1,"maximum":65535,"nullable":true},"desired_instances":{"type":"integer","minimum":0},"publicly_accessible":{"type":"boolean"},"auto_deploy":{"type":"boolean"}}},"AppDeployment":{"type":"object","required":["id","hosted_app_id","organization_id","app_service_id","app_environment_id","location_id","creator_user_id","number","display_id","status","location","source_ref","commit_sha","artifact_locator","deployed_url","trigger_kind","is_rollback","rollback_source_release_id","rollback_target_release_id","rollback_source_deployment_id","rollback_reason","idempotency_key","failure_message","started_at","finished_at","created_at","updated_at","started_at_label","finished_at_label","created_at_label","updated_at_label"],"properties":{"id":{"type":"string"},"hosted_app_id":{"type":"string"},"organization_id":{"type":"string"},"app_service_id":{"type":"string"},"app_environment_id":{"type":"string"},"location_id":{"type":"string"},"creator_user_id":{"type":"string","nullable":true},"number":{"type":"integer","minimum":1},"display_id":{"type":"integer","minimum":1},"status":{"type":"string","enum":["queued","building","deploying","active","failed","rolled_back","canceled"]},"location":{"oneOf":[{"$ref":"#/components/schemas/HostingLocation"},{"type":"null"}]},"source_ref":{"type":"string","nullable":true},"commit_sha":{"type":"string","nullable":true},"artifact_locator":{"type":"string","nullable":true},"deployed_url":{"type":"string","nullable":true},"trigger_kind":{"type":"string","enum":["manual","push","schedule","api","rollback"]},"is_rollback":{"type":"boolean"},"rollback_source_release_id":{"type":"string","nullable":true},"rollback_target_release_id":{"type":"string","nullable":true},"rollback_source_deployment_id":{"type":"string","nullable":true},"rollback_reason":{"type":"string","nullable":true},"idempotency_key":{"type":"string","nullable":true},"failure_message":{"type":"string","nullable":true},"started_at":{"type":"string","format":"date-time","nullable":true},"finished_at":{"type":"string","format":"date-time","nullable":true},"created_at":{"type":"string","format":"date-time"},"updated_at":{"type":"string","format":"date-time"},"started_at_label":{"type":"string","nullable":true},"finished_at_label":{"type":"string","nullable":true},"created_at_label":{"type":"string","nullable":true},"updated_at_label":{"type":"string","nullable":true}}},"AppDeploymentCreatePayload":{"type":"object","required":["app_service_id","app_environment_id"],"properties":{"app_service_id":{"type":"string"},"app_environment_id":{"type":"string"},"location_id":{"type":"string"},"status":{"type":"string","enum":["queued","building","deploying","active","failed","rolled_back","canceled"]},"source_ref":{"type":"string"},"commit_sha":{"type":"string"},"artifact_locator":{"type":"string"},"deployed_url":{"type":"string"},"trigger_kind":{"type":"string","enum":["manual","push","schedule","api","rollback"]},"failure_message":{"type":"string"},"started_at":{"type":"string","format":"date-time"},"finished_at":{"type":"string","format":"date-time"}}},"AppDesiredState":{"type":"object","required":["id","organization_id","hosted_app_id","app_environment_id","app_service_id","network_segment_id","slug","status","desired_instances","desired_version","image_locator","command","env_fingerprint","config_fingerprint","created_at","updated_at","created_at_label","updated_at_label"],"properties":{"id":{"type":"string"},"organization_id":{"type":"string"},"hosted_app_id":{"type":"string"},"app_environment_id":{"type":"string"},"app_service_id":{"type":"string"},"network_segment_id":{"type":"string","nullable":true},"slug":{"type":"string"},"status":{"type":"string","enum":["active","paused","archived"]},"desired_instances":{"type":"integer","minimum":0},"desired_version":{"type":"string","nullable":true},"image_locator":{"type":"string","nullable":true},"command":{"type":"string","nullable":true},"env_fingerprint":{"type":"string","nullable":true},"config_fingerprint":{"type":"string","nullable":true},"created_at":{"type":"string","format":"date-time"},"updated_at":{"type":"string","format":"date-time"},"created_at_label":{"type":"string","nullable":true},"updated_at_label":{"type":"string","nullable":true}}},"AppRollout":{"type":"object","required":["id","organization_id","app_release_id","strategy","status","deployment_phase","auto_safe_rollout","nomad_deployment_id","nomad_eval_id","target_percentage","summary","started_at","finished_at","created_at","updated_at","started_at_label","finished_at_label","created_at_label","updated_at_label"],"properties":{"id":{"type":"string"},"organization_id":{"type":"string"},"app_release_id":{"type":"string"},"strategy":{"type":"string"},"status":{"type":"string","enum":["queued","running","succeeded","failed","canceled"]},"deployment_phase":{"type":"string","enum":["queued","deploying","active","failed","unknown"]},"auto_safe_rollout":{"type":"boolean"},"nomad_deployment_id":{"type":"string","nullable":true},"nomad_eval_id":{"type":"string","nullable":true},"target_percentage":{"type":"integer","minimum":0,"maximum":100},"summary":{"type":"string","nullable":true},"started_at":{"type":"string","format":"date-time","nullable":true},"finished_at":{"type":"string","format":"date-time","nullable":true},"created_at":{"type":"string","format":"date-time"},"updated_at":{"type":"string","format":"date-time"},"started_at_label":{"type":"string","nullable":true},"finished_at_label":{"type":"string","nullable":true},"created_at_label":{"type":"string","nullable":true},"updated_at_label":{"type":"string","nullable":true}}},"DeploymentRollbackRelease":{"type":"object","required":["id","slug","version","release_kind","status","source_ref","commit_sha","rollback_target_release_id","created_at"],"properties":{"id":{"type":"string"},"slug":{"type":"string"},"version":{"type":"string"},"release_kind":{"type":"string","enum":["deployment","rollback","hotfix"]},"status":{"type":"string","enum":["draft","ready","deploying","active","failed","rolled_back"]},"source_ref":{"type":"string","nullable":true},"commit_sha":{"type":"string","nullable":true},"rollback_target_release_id":{"type":"string","nullable":true},"created_at":{"type":"string","format":"date-time"}}},"DeploymentRollbackPlan":{"type":"object","required":["app_id","service","environment","location","current_release","current_deployment","target_release","target_artifact_locator","candidate_releases","reason","force","blockers","warnings","execution_allowed","confirmation_text"],"properties":{"app_id":{"type":"string"},"service":{"oneOf":[{"$ref":"#/components/schemas/AppService"},{"type":"null"}]},"environment":{"oneOf":[{"$ref":"#/components/schemas/AppEnvironment"},{"type":"null"}]},"location":{"oneOf":[{"$ref":"#/components/schemas/HostingLocation"},{"type":"null"}]},"current_release":{"oneOf":[{"$ref":"#/components/schemas/DeploymentRollbackRelease"},{"type":"null"}]},"current_deployment":{"oneOf":[{"$ref":"#/components/schemas/AppDeployment"},{"type":"null"}]},"target_release":{"oneOf":[{"$ref":"#/components/schemas/DeploymentRollbackRelease"},{"type":"null"}]},"target_artifact_locator":{"type":"string","nullable":true},"candidate_releases":{"type":"array","items":{"$ref":"#/components/schemas/DeploymentRollbackRelease"}},"reason":{"type":"string","nullable":true},"force":{"type":"boolean"},"blockers":{"type":"array","items":{"type":"string"}},"warnings":{"type":"array","items":{"type":"string"}},"execution_allowed":{"type":"boolean"},"confirmation_text":{"type":"string"}}},"DeploymentRollbackResult":{"allOf":[{"$ref":"#/components/schemas/DeploymentRollbackPlan"},{"type":"object","required":["idempotent_reuse","deployment","rollback_release","desired_state","rollout"],"properties":{"idempotent_reuse":{"type":"boolean"},"deployment":{"oneOf":[{"$ref":"#/components/schemas/AppDeployment"},{"type":"null"}]},"rollback_release":{"oneOf":[{"$ref":"#/components/schemas/DeploymentRollbackRelease"},{"type":"null"}]},"desired_state":{"oneOf":[{"$ref":"#/components/schemas/AppDesiredState"},{"type":"null"}]},"rollout":{"oneOf":[{"$ref":"#/components/schemas/AppRollout"},{"type":"null"}]}}}]},"DeploymentRollbackPayload":{"type":"object","properties":{"app_service_id":{"type":"string"},"service":{"type":"string"},"app_environment_id":{"type":"string"},"environment":{"type":"string"},"to":{"type":"string"},"deployment":{"type":"string"},"reason":{"type":"string"},"force":{"type":"boolean"},"idempotency_key":{"type":"string"}}},"AppCdnHostname":{"type":"object","required":["id","app_cdn_distribution_id","hostname","tls_status","dns_status","provider_hostname_id","force_ssl","created_at","updated_at"],"properties":{"id":{"type":"string"},"app_cdn_distribution_id":{"type":"string"},"hostname":{"type":"string"},"tls_status":{"type":"string","enum":["pending","active","failed"]},"dns_status":{"type":"string","enum":["pending","configured","failed"]},"provider_hostname_id":{"type":"string","nullable":true},"force_ssl":{"type":"boolean"},"created_at":{"type":"string","format":"date-time"},"updated_at":{"type":"string","format":"date-time"}}},"AppCdnDistribution":{"type":"object","required":["id","hosted_app_id","app_environment_id","app_service_id","slug","name","distribution_kind","status","origin_url","edge_hostname","provisioned","cache_settings_json","security_settings_json","routing_settings_json","failure_message","last_synced_at","last_deployed_at","last_purged_at","hostnames","created_at","updated_at","last_synced_at_label","last_deployed_at_label","last_purged_at_label","created_at_label","updated_at_label"],"properties":{"id":{"type":"string"},"hosted_app_id":{"type":"string"},"app_environment_id":{"type":"string","nullable":true},"app_service_id":{"type":"string","nullable":true},"slug":{"type":"string"},"name":{"type":"string"},"distribution_kind":{"type":"string","enum":["pull_zone"]},"status":{"type":"string","enum":["draft","provisioning","active","degraded","paused","archived","failed"]},"origin_url":{"type":"string","format":"uri"},"edge_hostname":{"type":"string","nullable":true},"provisioned":{"type":"boolean"},"cache_settings_json":{"type":"string","nullable":true},"security_settings_json":{"type":"string","nullable":true},"routing_settings_json":{"type":"string","nullable":true},"failure_message":{"type":"string","nullable":true},"last_synced_at":{"type":"string","format":"date-time","nullable":true},"last_deployed_at":{"type":"string","format":"date-time","nullable":true},"last_purged_at":{"type":"string","format":"date-time","nullable":true},"hostnames":{"type":"array","items":{"$ref":"#/components/schemas/AppCdnHostname"}},"created_at":{"type":"string","format":"date-time"},"updated_at":{"type":"string","format":"date-time"},"last_synced_at_label":{"type":"string","nullable":true},"last_deployed_at_label":{"type":"string","nullable":true},"last_purged_at_label":{"type":"string","nullable":true},"created_at_label":{"type":"string","nullable":true},"updated_at_label":{"type":"string","nullable":true}}},"AppCdnDeployment":{"type":"object","required":["id","app_cdn_distribution_id","creator_user_id","status","action_kind","trigger_kind","source_ref","commit_sha","purge_urls","failure_message","started_at","finished_at","created_at","updated_at","started_at_label","finished_at_label","created_at_label","updated_at_label"],"properties":{"id":{"type":"string"},"app_cdn_distribution_id":{"type":"string"},"creator_user_id":{"type":"string","nullable":true},"status":{"type":"string","enum":["queued","deploying","active","failed","canceled"]},"action_kind":{"type":"string","enum":["provision","reconfigure","hostname_sync","purge_all","purge_urls"]},"trigger_kind":{"type":"string","enum":["manual","push","schedule","api","rollback"]},"source_ref":{"type":"string","nullable":true},"commit_sha":{"type":"string","nullable":true},"purge_urls":{"type":"array","items":{"type":"string"}},"failure_message":{"type":"string","nullable":true},"started_at":{"type":"string","format":"date-time","nullable":true},"finished_at":{"type":"string","format":"date-time","nullable":true},"created_at":{"type":"string","format":"date-time"},"updated_at":{"type":"string","format":"date-time"},"started_at_label":{"type":"string","nullable":true},"finished_at_label":{"type":"string","nullable":true},"created_at_label":{"type":"string","nullable":true},"updated_at_label":{"type":"string","nullable":true}}},"AppCdnDistributionCreatePayload":{"type":"object","required":["slug","name","origin_url"],"properties":{"app_environment_id":{"type":"string"},"app_service_id":{"type":"string"},"slug":{"type":"string"},"name":{"type":"string"},"distribution_kind":{"type":"string","enum":["pull_zone"]},"status":{"type":"string","enum":["draft","provisioning","active","degraded","paused","archived","failed"]},"origin_url":{"type":"string","format":"uri"},"cache_settings_json":{"type":"string"},"security_settings_json":{"type":"string"},"routing_settings_json":{"type":"string"}}},"AppCdnDistributionUpdatePayload":{"type":"object","properties":{"app_environment_id":{"type":"string"},"app_service_id":{"type":"string"},"slug":{"type":"string"},"name":{"type":"string"},"distribution_kind":{"type":"string","enum":["pull_zone"]},"status":{"type":"string","enum":["draft","provisioning","active","degraded","paused","archived","failed"]},"origin_url":{"type":"string","format":"uri"},"cache_settings_json":{"type":"string"},"security_settings_json":{"type":"string"},"routing_settings_json":{"type":"string"}}},"AppCdnHostnameCreatePayload":{"type":"object","required":["hostname"],"properties":{"hostname":{"type":"string"},"force_ssl":{"type":"boolean"},"tls_status":{"type":"string","enum":["pending","active","failed"]},"dns_status":{"type":"string","enum":["pending","configured","failed"]}}},"AppCdnDeploymentPayload":{"type":"object","properties":{"source_ref":{"type":"string"},"commit_sha":{"type":"string"}}},"AppCdnPurgePayload":{"allOf":[{"$ref":"#/components/schemas/AppCdnDeploymentPayload"},{"type":"object","properties":{"urls":{"type":"array","items":{"type":"string"}},"purge_urls":{"type":"array","items":{"type":"string"}}}}]},"HostedApp":{"type":"object","required":["id","organization_id","repository_id","repository_kind","slug","name","description","root_path","root_path_display","framework","status","created_at","updated_at","created_at_label","updated_at_label"],"properties":{"id":{"type":"string"},"organization_id":{"type":"string"},"repository_id":{"type":"string"},"repository_kind":{"type":"string","nullable":true},"slug":{"type":"string"},"name":{"type":"string"},"description":{"type":"string","nullable":true},"root_path":{"type":"string"},"root_path_display":{"type":"string"},"framework":{"type":"string","nullable":true},"status":{"type":"string","enum":["draft","active","archived"]},"created_at":{"type":"string","format":"date-time"},"updated_at":{"type":"string","format":"date-time"},"created_at_label":{"type":"string","nullable":true},"updated_at_label":{"type":"string","nullable":true}}},"HostedAppCreatePayload":{"type":"object","required":["organization_id","repository_id","slug","name","root_path"],"properties":{"organization_id":{"type":"string"},"repository_id":{"type":"string"},"slug":{"type":"string"},"name":{"type":"string"},"description":{"type":"string"},"root_path":{"type":"string"},"framework":{"type":"string"},"status":{"type":"string","enum":["draft","active","archived"]}}},"HostedAppUpdatePayload":{"type":"object","properties":{"organization_id":{"type":"string"},"repository_id":{"type":"string"},"slug":{"type":"string"},"name":{"type":"string"},"description":{"type":"string"},"root_path":{"type":"string"},"framework":{"type":"string"},"status":{"type":"string","enum":["draft","active","archived"]}}},"ManagedDatabaseRegion":{"type":"object","required":["slug"],"properties":{"slug":{"type":"string"},"display_name":{"type":"string","nullable":true},"location":{"type":"string","nullable":true},"vex_location_code":{"type":"string","nullable":true},"provider":{"type":"string","nullable":true},"enabled":{"type":"boolean","nullable":true},"postgresql_supported":{"type":"boolean","nullable":true},"mysql_supported":{"type":"boolean","nullable":true},"current_default":{"type":"boolean","nullable":true},"source":{"type":"string","nullable":true}}},"ManagedDatabaseClusterSize":{"type":"object","required":["name"],"properties":{"name":{"type":"string"},"display_name":{"type":"string","nullable":true},"enabled":{"type":"boolean","nullable":true},"production":{"type":"boolean","nullable":true},"development":{"type":"boolean","nullable":true},"cpu":{"nullable":true,"oneOf":[{"type":"string"},{"type":"number"}]},"ram":{"nullable":true,"oneOf":[{"type":"string"},{"type":"number"}]},"storage":{"nullable":true,"oneOf":[{"type":"string"},{"type":"number"}]},"metal":{"nullable":true,"oneOf":[{"type":"string"},{"type":"boolean"}]},"architecture":{"type":"string","nullable":true}}},"ManagedDatabaseEngine":{"type":"object","required":["engine","kind","label","provider_kind"],"properties":{"engine":{"type":"string","enum":["postgres","mysql","valkey"]},"kind":{"type":"string","enum":["database","cache"]},"label":{"type":"string"},"provider_kind":{"type":"string"},"provider_database_kind":{"type":"string","nullable":true},"default_version":{"type":"string","nullable":true},"default_plan":{"type":"string","nullable":true},"default_cluster_size":{"type":"string","nullable":true},"default_connection_mode":{"type":"string","nullable":true},"sslmode":{"type":"string","nullable":true},"ssl_mode":{"type":"string","nullable":true},"supported_versions":{"type":"array","items":{"type":"string"}},"regions":{"type":"array","items":{"$ref":"#/components/schemas/ManagedDatabaseRegion"}},"cluster_sizes":{"type":"array","items":{"$ref":"#/components/schemas/ManagedDatabaseClusterSize"}}}},"ManagedDatabaseCatalog":{"type":"object","required":["default_provider_kind","fallback_provider_kind","provider_configured","live_catalog","engines"],"properties":{"default_provider_kind":{"type":"string"},"fallback_provider_kind":{"type":"string"},"provider_configured":{"type":"boolean"},"live_catalog":{"type":"boolean"},"engines":{"type":"array","items":{"$ref":"#/components/schemas/ManagedDatabaseEngine"}}}},"AppDomain":{"type":"object","required":["id","hosted_app_id","app_service_id","app_environment_id","static_site_id","hostname","kind","target_kind","dns_mode","record_type","record_name","record_value","tls_status","dns_status","verification_status","last_checked_at","failure_message","redirect_to","created_at","updated_at"],"properties":{"id":{"type":"string"},"hosted_app_id":{"type":"string"},"app_service_id":{"type":"string","nullable":true},"app_environment_id":{"type":"string","nullable":true},"static_site_id":{"type":"string","nullable":true},"hostname":{"type":"string"},"kind":{"type":"string"},"target_kind":{"type":"string"},"dns_mode":{"type":"string"},"record_type":{"type":"string","nullable":true},"record_name":{"type":"string","nullable":true},"record_value":{"type":"string","nullable":true},"tls_status":{"type":"string"},"dns_status":{"type":"string"},"verification_status":{"type":"string"},"last_checked_at":{"type":"string","format":"date-time","nullable":true},"failure_message":{"type":"string","nullable":true},"redirect_to":{"type":"string","nullable":true},"created_at":{"type":"string","format":"date-time"},"updated_at":{"type":"string","format":"date-time"}}},"AppConfigVariable":{"type":"object","required":["id","hosted_app_id","app_environment_id","app_service_id","scope_kind","key","value","has_value","value_kind","description","exposed_to_build","created_at","updated_at"],"properties":{"id":{"type":"string"},"hosted_app_id":{"type":"string"},"app_environment_id":{"type":"string","nullable":true},"app_service_id":{"type":"string","nullable":true},"scope_kind":{"type":"string"},"key":{"type":"string"},"value":{"type":"string","nullable":true},"has_value":{"type":"boolean"},"value_kind":{"type":"string"},"description":{"type":"string","nullable":true},"exposed_to_build":{"type":"boolean"},"created_at":{"type":"string","format":"date-time"},"updated_at":{"type":"string","format":"date-time"}}},"HostedAppCatalog":{"allOf":[{"$ref":"#/components/schemas/HostedApp"},{"type":"object","required":["locations","environments","services","deployments","cdns","cdn_deployments","data_resources","managed_database_catalog","storage_resources","domains","config_variables","service_bindings"],"properties":{"locations":{"type":"array","items":{"$ref":"#/components/schemas/HostingLocation"}},"environments":{"type":"array","items":{"$ref":"#/components/schemas/AppEnvironment"}},"services":{"type":"array","items":{"$ref":"#/components/schemas/AppService"}},"deployments":{"type":"array","items":{"$ref":"#/components/schemas/AppDeployment"}},"cdns":{"type":"array","items":{"$ref":"#/components/schemas/AppCdnDistribution"}},"cdn_deployments":{"type":"array","items":{"$ref":"#/components/schemas/AppCdnDeployment"}},"data_resources":{"type":"array","items":{"$ref":"#/components/schemas/AppDataResource"}},"managed_database_catalog":{"$ref":"#/components/schemas/ManagedDatabaseCatalog"},"storage_resources":{"type":"array","items":{"$ref":"#/components/schemas/AppStorageResource"}},"domains":{"type":"array","items":{"$ref":"#/components/schemas/AppDomain"}},"config_variables":{"type":"array","items":{"$ref":"#/components/schemas/AppConfigVariable"}},"service_bindings":{"type":"array","items":{"$ref":"#/components/schemas/AppServiceBinding"}}}}]},"AppRelease":{"type":"object","required":["id","organization_id","hosted_app_id","app_environment_id","app_service_id","location_id","created_by_user_id","slug","version","location","nomad_job_id","nomad_namespace","nomad_job_version","nomad_deployment_id","nomad_eval_id","rendered_job_spec_digest","source_ref","commit_sha","release_kind","is_rollback","rollback_target_release_id","status","deployment_phase","rollout_status","rollback_reason","self_hosted_managed","self_hosted_reconcile_enabled","self_hosted_apply_enabled","notes","created_at","updated_at","created_at_label","updated_at_label"],"properties":{"id":{"type":"string"},"organization_id":{"type":"string"},"hosted_app_id":{"type":"string"},"app_environment_id":{"type":"string"},"app_service_id":{"type":"string"},"location_id":{"type":"string"},"created_by_user_id":{"type":"string","nullable":true},"slug":{"type":"string"},"version":{"type":"string"},"location":{"oneOf":[{"$ref":"#/components/schemas/HostingLocation"},{"type":"null"}]},"nomad_job_id":{"type":"string","nullable":true},"nomad_namespace":{"type":"string","nullable":true},"nomad_job_version":{"type":"integer","nullable":true},"nomad_deployment_id":{"type":"string","nullable":true},"nomad_eval_id":{"type":"string","nullable":true},"rendered_job_spec_digest":{"type":"string","nullable":true},"source_ref":{"type":"string","nullable":true},"commit_sha":{"type":"string","nullable":true},"release_kind":{"type":"string","enum":["deployment","rollback","hotfix"]},"is_rollback":{"type":"boolean"},"rollback_target_release_id":{"type":"string","nullable":true},"status":{"type":"string","enum":["draft","ready","deploying","active","failed","rolled_back"]},"deployment_phase":{"type":"string","enum":["failed","active","deploying","ready","rolled_back","unknown"]},"rollout_status":{"type":"string","enum":["queued","running","succeeded","failed","canceled"],"nullable":true},"rollback_reason":{"type":"string","nullable":true},"self_hosted_managed":{"type":"boolean"},"self_hosted_reconcile_enabled":{"type":"boolean"},"self_hosted_apply_enabled":{"type":"boolean"},"notes":{"type":"string","nullable":true},"created_at":{"type":"string","format":"date-time"},"updated_at":{"type":"string","format":"date-time"},"created_at_label":{"type":"string","nullable":true},"updated_at_label":{"type":"string","nullable":true}}},"RuntimeInstance":{"type":"object","required":["id","organization_id","hosted_app_id","app_environment_id","app_service_id","app_release_id","location_id","network_peer_id","slug","instance_key","location","status","adapter_kind","provider_instance_id","nomad_allocation_id","nomad_task_name","private_ipv4","private_ipv6","public_endpoint","booted_at","terminated_at","last_seen_at","last_reconciled_at","created_at","updated_at","booted_at_label","terminated_at_label","last_seen_at_label","last_reconciled_at_label","created_at_label","updated_at_label"],"properties":{"id":{"type":"string"},"organization_id":{"type":"string"},"hosted_app_id":{"type":"string"},"app_environment_id":{"type":"string"},"app_service_id":{"type":"string"},"app_release_id":{"type":"string","nullable":true},"location_id":{"type":"string"},"network_peer_id":{"type":"string","nullable":true},"slug":{"type":"string"},"instance_key":{"type":"string"},"location":{"oneOf":[{"$ref":"#/components/schemas/HostingLocation"},{"type":"null"}]},"status":{"type":"string","enum":["starting","running","degraded","stopped","terminated","failed"]},"adapter_kind":{"type":"string","enum":["database","nomad"]},"provider_instance_id":{"type":"string","nullable":true},"nomad_allocation_id":{"type":"string","nullable":true},"nomad_task_name":{"type":"string","nullable":true},"private_ipv4":{"type":"string","nullable":true},"private_ipv6":{"type":"string","nullable":true},"public_endpoint":{"type":"string","nullable":true},"booted_at":{"type":"string","format":"date-time","nullable":true},"terminated_at":{"type":"string","format":"date-time","nullable":true},"last_seen_at":{"type":"string","format":"date-time","nullable":true},"last_reconciled_at":{"type":"string","format":"date-time","nullable":true},"created_at":{"type":"string","format":"date-time"},"updated_at":{"type":"string","format":"date-time"},"booted_at_label":{"type":"string","nullable":true},"terminated_at_label":{"type":"string","nullable":true},"last_seen_at_label":{"type":"string","nullable":true},"last_reconciled_at_label":{"type":"string","nullable":true},"created_at_label":{"type":"string","nullable":true},"updated_at_label":{"type":"string","nullable":true}}},"ReconcilerTick":{"type":"object","required":["id","organization_id","hosted_app_id","app_environment_id","app_service_id","kind","status","observed_version","summary","started_at","finished_at","created_at","updated_at","started_at_label","finished_at_label","created_at_label","updated_at_label"],"properties":{"id":{"type":"string"},"organization_id":{"type":"string"},"hosted_app_id":{"type":"string","nullable":true},"app_environment_id":{"type":"string","nullable":true},"app_service_id":{"type":"string","nullable":true},"kind":{"type":"string","enum":["generic","release","runtime","network","health","cdn"]},"status":{"type":"string","enum":["queued","running","succeeded","failed"]},"observed_version":{"type":"string","nullable":true},"summary":{"type":"string","nullable":true},"started_at":{"type":"string","format":"date-time","nullable":true},"finished_at":{"type":"string","format":"date-time","nullable":true},"created_at":{"type":"string","format":"date-time"},"updated_at":{"type":"string","format":"date-time"},"started_at_label":{"type":"string","nullable":true},"finished_at_label":{"type":"string","nullable":true},"created_at_label":{"type":"string","nullable":true},"updated_at_label":{"type":"string","nullable":true}}},"AuditEvent":{"type":"object","required":["id","observability_space_id","organization_id","actor_user_id","actor_kind","action","subject_kind","subject_id","subject_name","request_id","severity","payload","created_at","updated_at","created_at_label","updated_at_label"],"properties":{"id":{"type":"string"},"observability_space_id":{"type":"string"},"organization_id":{"type":"string"},"actor_user_id":{"type":"string","nullable":true},"actor_kind":{"type":"string","enum":["user","service","system","agent"]},"action":{"type":"string"},"subject_kind":{"type":"string"},"subject_id":{"type":"string"},"subject_name":{"type":"string","nullable":true},"request_id":{"type":"string","nullable":true},"severity":{"type":"string","enum":["info","notice","warn","error"]},"payload":{},"created_at":{"type":"string","format":"date-time"},"updated_at":{"type":"string","format":"date-time"},"created_at_label":{"type":"string","nullable":true},"updated_at_label":{"type":"string","nullable":true}}},"GrafanaEmbed":{"type":"object","required":["provider","scope","title","description","url","external_url"],"properties":{"provider":{"type":"string","enum":["grafana"]},"scope":{"type":"string","enum":["app","service","environment"]},"title":{"type":"string"},"description":{"type":"string"},"url":{"type":"string"},"external_url":{"type":"string","format":"uri"}}},"EnvironmentGrafanaEmbed":{"type":"object","required":["environment","grafana_embed"],"properties":{"environment":{"$ref":"#/components/schemas/AppEnvironment"},"grafana_embed":{"oneOf":[{"$ref":"#/components/schemas/GrafanaEmbed"},{"type":"null"}]}}},"DeploymentDashboardObservability":{"type":"object","required":["grafana_embed","environment_embeds"],"properties":{"grafana_embed":{"oneOf":[{"$ref":"#/components/schemas/GrafanaEmbed"},{"type":"null"}]},"environment_embeds":{"type":"array","items":{"$ref":"#/components/schemas/EnvironmentGrafanaEmbed"}}}},"EnvironmentRuntimeSummary":{"type":"object","required":["desired_instances","desired_version","total_instances","running_instances","degraded_instances","failed_instances"],"properties":{"desired_instances":{"type":"integer","minimum":0},"desired_version":{"type":"string","nullable":true},"total_instances":{"type":"integer","minimum":0},"running_instances":{"type":"integer","minimum":0},"degraded_instances":{"type":"integer","minimum":0},"failed_instances":{"type":"integer","minimum":0}}},"DeploymentNomadSummary":{"type":"object","required":["namespace","region","datacenters","constraints","update_strategy","deployment_channel","ownership_layer","managed_by_vex","self_hosted_managed","self_hosted_reconcile_enabled","self_hosted_apply_enabled","managed_service_allowlist","latest_job_id","latest_job_version","latest_deployment_id","latest_eval_id","allocation_ids","task_names"],"properties":{"namespace":{"type":"string"},"region":{"type":"string","nullable":true},"datacenters":{"type":"array","items":{"type":"string"}},"constraints":{"type":"array","items":{}},"update_strategy":{"type":"object","additionalProperties":true},"deployment_channel":{"type":"string"},"ownership_layer":{"type":"string"},"managed_by_vex":{"type":"boolean"},"self_hosted_managed":{"type":"boolean"},"self_hosted_reconcile_enabled":{"type":"boolean"},"self_hosted_apply_enabled":{"type":"boolean"},"managed_service_allowlist":{"type":"array","items":{"type":"string"}},"latest_job_id":{"type":"string","nullable":true},"latest_job_version":{"type":"integer","nullable":true},"latest_deployment_id":{"type":"string","nullable":true},"latest_eval_id":{"type":"string","nullable":true},"allocation_ids":{"type":"array","items":{"type":"string"}},"task_names":{"type":"array","items":{"type":"string"}}}},"ServiceCapacityResource":{"type":"object","required":["value","value_label","defaulted","total","total_label"],"properties":{"value":{"type":"integer","minimum":0},"value_label":{"type":"string"},"defaulted":{"type":"boolean"},"total":{"type":"integer","minimum":0},"total_label":{"type":"string"}}},"ServiceCapacity":{"type":"object","required":["reservation_instances","resources"],"properties":{"reservation_instances":{"type":"integer","minimum":1},"resources":{"type":"object","required":["cpu","memory","disk"],"properties":{"cpu":{"$ref":"#/components/schemas/ServiceCapacityResource"},"memory":{"$ref":"#/components/schemas/ServiceCapacityResource"},"disk":{"$ref":"#/components/schemas/ServiceCapacityResource"}}}}},"ServiceEnvironmentView":{"type":"object","required":["environment","grafana_embed","desired_state","latest_deployment","latest_release","latest_rollout","runtime_instances","reconciler_ticks","audit_events","stats","nomad"],"properties":{"environment":{"$ref":"#/components/schemas/AppEnvironment"},"grafana_embed":{"oneOf":[{"$ref":"#/components/schemas/GrafanaEmbed"},{"type":"null"}]},"desired_state":{"oneOf":[{"$ref":"#/components/schemas/AppDesiredState"},{"type":"null"}]},"latest_deployment":{"oneOf":[{"$ref":"#/components/schemas/AppDeployment"},{"type":"null"}]},"latest_release":{"oneOf":[{"$ref":"#/components/schemas/AppRelease"},{"type":"null"}]},"latest_rollout":{"oneOf":[{"$ref":"#/components/schemas/AppRollout"},{"type":"null"}]},"runtime_instances":{"type":"array","items":{"$ref":"#/components/schemas/RuntimeInstance"}},"reconciler_ticks":{"type":"array","items":{"$ref":"#/components/schemas/ReconcilerTick"}},"audit_events":{"type":"array","items":{"$ref":"#/components/schemas/AuditEvent"}},"stats":{"$ref":"#/components/schemas/EnvironmentRuntimeSummary"},"nomad":{"$ref":"#/components/schemas/DeploymentNomadSummary"}}},"ServiceView":{"type":"object","required":["service","grafana_embed","runtime_summary","capacity","latest_release","latest_rollout","latest_deployment","nomad","audit_events","environment_views"],"properties":{"service":{"$ref":"#/components/schemas/AppService"},"grafana_embed":{"oneOf":[{"$ref":"#/components/schemas/GrafanaEmbed"},{"type":"null"}]},"runtime_summary":{"$ref":"#/components/schemas/EnvironmentRuntimeSummary"},"capacity":{"$ref":"#/components/schemas/ServiceCapacity"},"latest_release":{"oneOf":[{"$ref":"#/components/schemas/AppRelease"},{"type":"null"}]},"latest_rollout":{"oneOf":[{"$ref":"#/components/schemas/AppRollout"},{"type":"null"}]},"latest_deployment":{"oneOf":[{"$ref":"#/components/schemas/AppDeployment"},{"type":"null"}]},"nomad":{"$ref":"#/components/schemas/DeploymentNomadSummary"},"audit_events":{"type":"array","items":{"$ref":"#/components/schemas/AuditEvent"}},"environment_views":{"type":"array","items":{"$ref":"#/components/schemas/ServiceEnvironmentView"}}}},"DeploymentCapacity":{"type":"object","required":["cpu_mhz","memory_mb","disk_mb","cpu_label","memory_label","disk_label","running_instances","desired_instances","public_endpoints"],"properties":{"cpu_mhz":{"type":"integer","minimum":0},"memory_mb":{"type":"integer","minimum":0},"disk_mb":{"type":"integer","minimum":0},"cpu_label":{"type":"string"},"memory_label":{"type":"string"},"disk_label":{"type":"string"},"running_instances":{"type":"integer","minimum":0},"desired_instances":{"type":"integer","minimum":0},"public_endpoints":{"type":"integer","minimum":0}}},"DeploymentActivityItem":{"type":"object","required":["id","source","title","subtitle","timestamp","timestamp_label","service_id","environment_id","status","tone","detail"],"properties":{"id":{"type":"string"},"source":{"type":"string","enum":["deployment","release","rollout","reconciler","event"]},"title":{"type":"string"},"subtitle":{"type":"string"},"timestamp":{"type":"string","format":"date-time"},"timestamp_label":{"type":"string"},"service_id":{"type":"string","nullable":true},"environment_id":{"type":"string","nullable":true},"status":{"type":"string"},"tone":{"type":"string","enum":["neutral","success","warning","danger","info"]},"detail":{"type":"string","nullable":true}}},"DeploymentDashboardSummary":{"type":"object","required":["service_count","environment_count","desired_state_count","deployment_count","active_release_count","in_flight_release_count","running_instance_count","unhealthy_instance_count","nomad_job_count","nomad_deployment_count","nomad_eval_count","nomad_allocation_count","recent_event_count"],"properties":{"service_count":{"type":"integer","minimum":0},"environment_count":{"type":"integer","minimum":0},"desired_state_count":{"type":"integer","minimum":0},"deployment_count":{"type":"integer","minimum":0},"active_release_count":{"type":"integer","minimum":0},"in_flight_release_count":{"type":"integer","minimum":0},"running_instance_count":{"type":"integer","minimum":0},"unhealthy_instance_count":{"type":"integer","minimum":0},"nomad_job_count":{"type":"integer","minimum":0},"nomad_deployment_count":{"type":"integer","minimum":0},"nomad_eval_count":{"type":"integer","minimum":0},"nomad_allocation_count":{"type":"integer","minimum":0},"recent_event_count":{"type":"integer","minimum":0}}},"DeploymentDashboard":{"type":"object","required":["app","observability","summary","capacity","activity","locations","environments","services","data_resources","managed_database_catalog","storage_resources","service_bindings","desired_states","deployments","rollback_deployments","releases","rollouts","runtime_instances","reconciler_ticks","audit_events","service_views"],"properties":{"app":{"$ref":"#/components/schemas/HostedApp"},"observability":{"$ref":"#/components/schemas/DeploymentDashboardObservability"},"summary":{"$ref":"#/components/schemas/DeploymentDashboardSummary"},"capacity":{"$ref":"#/components/schemas/DeploymentCapacity"},"activity":{"type":"array","items":{"$ref":"#/components/schemas/DeploymentActivityItem"}},"locations":{"type":"array","items":{"$ref":"#/components/schemas/HostingLocation"}},"environments":{"type":"array","items":{"$ref":"#/components/schemas/AppEnvironment"}},"services":{"type":"array","items":{"$ref":"#/components/schemas/AppService"}},"data_resources":{"type":"array","items":{"$ref":"#/components/schemas/AppDataResource"}},"managed_database_catalog":{"$ref":"#/components/schemas/ManagedDatabaseCatalog"},"storage_resources":{"type":"array","items":{"$ref":"#/components/schemas/AppStorageResource"}},"service_bindings":{"type":"array","items":{"$ref":"#/components/schemas/AppServiceBinding"}},"desired_states":{"type":"array","items":{"$ref":"#/components/schemas/AppDesiredState"}},"deployments":{"type":"array","items":{"$ref":"#/components/schemas/AppDeployment"}},"rollback_deployments":{"type":"array","items":{"$ref":"#/components/schemas/AppDeployment"}},"releases":{"type":"array","items":{"$ref":"#/components/schemas/AppRelease"}},"rollouts":{"type":"array","items":{"$ref":"#/components/schemas/AppRollout"}},"runtime_instances":{"type":"array","items":{"$ref":"#/components/schemas/RuntimeInstance"}},"reconciler_ticks":{"type":"array","items":{"$ref":"#/components/schemas/ReconcilerTick"}},"audit_events":{"type":"array","items":{"$ref":"#/components/schemas/AuditEvent"}},"service_views":{"type":"array","items":{"$ref":"#/components/schemas/ServiceView"}}}},"AppServiceBinding":{"type":"object","required":["id","hosted_app_id","app_service_id","bindable_type","bindable_id","binding_type","name","mount_path","read_only","required","created_at","updated_at"],"properties":{"id":{"type":"string"},"hosted_app_id":{"type":"string"},"app_service_id":{"type":"string"},"bindable_type":{"type":"string"},"bindable_id":{"type":"string"},"binding_type":{"type":"string"},"name":{"type":"string"},"mount_path":{"type":"string","nullable":true},"read_only":{"type":"boolean"},"required":{"type":"boolean"},"created_at":{"type":"string","format":"date-time"},"updated_at":{"type":"string","format":"date-time"}}},"AppService":{"type":"object","required":["id","hosted_app_id","slug","name","kind","runtime","runtime_adapter_kind","runtime_adapter_settings_json","nomad_namespace","nomad_region","cpu_mhz","memory_mb","disk_mb","nomad_constraints_json","nomad_update_strategy_json","source_path","repo_source_path","build_command","start_command","healthcheck_path","schedule","internal_port","desired_instances","publicly_accessible","auto_deploy","bindings","created_at","updated_at","created_at_label","updated_at_label","cpu_label","memory_label","disk_label"],"properties":{"id":{"type":"string"},"hosted_app_id":{"type":"string"},"slug":{"type":"string"},"name":{"type":"string"},"kind":{"type":"string","enum":["web","worker","cron","static","private"]},"runtime":{"type":"string","enum":["docker","node","ruby","python","go","rust","static","generic"]},"runtime_adapter_kind":{"type":"string","enum":["nomad","database"]},"runtime_adapter_settings_json":{"type":"string","nullable":true},"nomad_namespace":{"type":"string","nullable":true},"nomad_region":{"type":"string","nullable":true},"cpu_mhz":{"type":"integer","minimum":0,"nullable":true},"memory_mb":{"type":"integer","minimum":0,"nullable":true},"disk_mb":{"type":"integer","minimum":0,"nullable":true},"nomad_constraints_json":{"type":"string","nullable":true},"nomad_update_strategy_json":{"type":"string","nullable":true},"source_path":{"type":"string"},"repo_source_path":{"type":"string"},"build_command":{"type":"string","nullable":true},"start_command":{"type":"string","nullable":true},"healthcheck_path":{"type":"string","nullable":true},"schedule":{"type":"string","nullable":true},"internal_port":{"type":"integer","minimum":1,"maximum":65535,"nullable":true},"desired_instances":{"type":"integer","minimum":0},"publicly_accessible":{"type":"boolean"},"auto_deploy":{"type":"boolean"},"bindings":{"type":"array","items":{"$ref":"#/components/schemas/AppServiceBinding"}},"created_at":{"type":"string","format":"date-time"},"updated_at":{"type":"string","format":"date-time"},"created_at_label":{"type":"string","nullable":true},"updated_at_label":{"type":"string","nullable":true},"cpu_label":{"type":"string","nullable":true},"memory_label":{"type":"string","nullable":true},"disk_label":{"type":"string","nullable":true}}},"AppServiceCreatePayload":{"type":"object","required":["slug","name","kind","runtime","runtime_adapter_kind","source_path","start_command","desired_instances","publicly_accessible","auto_deploy"],"properties":{"slug":{"type":"string"},"name":{"type":"string"},"kind":{"type":"string","enum":["web","worker","cron","static","private"]},"runtime":{"type":"string","enum":["docker","node","ruby","python","go","rust","static","generic"]},"runtime_adapter_kind":{"type":"string","enum":["nomad","database"]},"runtime_adapter_settings_json":{"type":"string"},"nomad_namespace":{"type":"string"},"nomad_region":{"type":"string"},"cpu_mhz":{"type":"integer","minimum":0},"memory_mb":{"type":"integer","minimum":0},"disk_mb":{"type":"integer","minimum":0},"nomad_constraints_json":{"type":"string"},"nomad_update_strategy_json":{"type":"string"},"source_path":{"type":"string"},"build_command":{"type":"string"},"start_command":{"type":"string"},"healthcheck_path":{"type":"string"},"schedule":{"type":"string"},"internal_port":{"type":"integer","minimum":1,"maximum":65535},"desired_instances":{"type":"integer","minimum":0},"publicly_accessible":{"type":"boolean"},"auto_deploy":{"type":"boolean"}}},"AppDataResource":{"type":"object","required":["id","hosted_app_id","app_environment_id","slug","name","kind","engine","version","plan","region","status","storage_gb","storage_label","high_availability","provider_metadata","failure_message","created_at","updated_at"],"properties":{"id":{"type":"string"},"hosted_app_id":{"type":"string"},"app_environment_id":{"type":"string","nullable":true},"slug":{"type":"string"},"name":{"type":"string"},"kind":{"type":"string","enum":["database","cache","queue","search","vector"]},"engine":{"type":"string","enum":["postgres","mysql","valkey"]},"version":{"type":"string","nullable":true},"plan":{"type":"string","nullable":true},"region":{"type":"string","nullable":true},"status":{"type":"string","enum":["provisioning","available","updating","failed","archived"]},"storage_gb":{"type":"integer","minimum":0,"nullable":true},"storage_label":{"type":"string","nullable":true},"high_availability":{"type":"boolean"},"provider_metadata":{"type":"object","additionalProperties":true},"failure_message":{"type":"string","nullable":true},"created_at":{"type":"string","format":"date-time"},"updated_at":{"type":"string","format":"date-time"}}},"AppDataResourceCreatePayload":{"type":"object","required":["slug","name","kind","engine"],"properties":{"app_environment_id":{"type":"string"},"slug":{"type":"string"},"name":{"type":"string"},"kind":{"type":"string","enum":["database","cache","queue","search","vector"]},"engine":{"type":"string","enum":["postgres","mysql","valkey"]},"version":{"type":"string"},"plan":{"type":"string"},"region":{"type":"string"},"storage_gb":{"type":"integer","minimum":0},"high_availability":{"type":"boolean"}}},"AppDataResourceRestorePayload":{"type":"object","properties":{"app_environment_id":{"type":"string"},"slug":{"type":"string"},"name":{"type":"string"},"branch_name":{"type":"string"},"backup_id":{"type":"string"},"restore_point":{"type":"string"},"plan":{"type":"string"},"region":{"type":"string"},"storage_gb":{"type":"integer","minimum":0},"high_availability":{"type":"boolean"}}},"AppStorageResource":{"type":"object","required":["id","hosted_app_id","app_environment_id","slug","name","kind","provider","region","access_mode","mount_path","capacity_gb","capacity_label","status","created_at","updated_at"],"properties":{"id":{"type":"string"},"hosted_app_id":{"type":"string"},"app_environment_id":{"type":"string","nullable":true},"slug":{"type":"string"},"name":{"type":"string"},"kind":{"type":"string","enum":["bucket","volume"]},"provider":{"type":"string","enum":["s3","tigris"]},"region":{"type":"string","nullable":true},"access_mode":{"type":"string","enum":["private","public","internal"]},"mount_path":{"type":"string","nullable":true},"capacity_gb":{"type":"integer","minimum":0,"nullable":true},"capacity_label":{"type":"string","nullable":true},"status":{"type":"string","enum":["provisioning","available","updating","failed","archived"]},"created_at":{"type":"string","format":"date-time"},"updated_at":{"type":"string","format":"date-time"}}},"AppStorageResourceCreatePayload":{"type":"object","required":["slug","name","kind","provider","access_mode","status"],"properties":{"app_environment_id":{"type":"string"},"slug":{"type":"string"},"name":{"type":"string"},"kind":{"type":"string","enum":["bucket","volume"]},"provider":{"type":"string","enum":["s3","tigris"]},"region":{"type":"string"},"access_mode":{"type":"string","enum":["private","public","internal"]},"mount_path":{"type":"string"},"capacity_gb":{"type":"integer","minimum":0},"status":{"type":"string","enum":["provisioning","available","updating","failed","archived"]}}},"NomadTaskEvent":{"type":"object","required":["type","display_message","message","time","fails_task","restart_reason","exit_code"],"properties":{"type":{"type":"string","nullable":true},"display_message":{"type":"string","nullable":true},"message":{"type":"string","nullable":true},"time":{"type":"string","nullable":true},"fails_task":{"type":"boolean","nullable":true},"restart_reason":{"type":"string","nullable":true},"exit_code":{"type":"integer","nullable":true}}},"NomadTaskState":{"type":"object","required":["name","state","failed","started_at","finished_at","last_restart","restarts","events"],"properties":{"name":{"type":"string"},"state":{"type":"string","nullable":true},"failed":{"type":"boolean","nullable":true},"started_at":{"type":"string","nullable":true},"finished_at":{"type":"string","nullable":true},"last_restart":{"type":"string","nullable":true},"restarts":{"type":"integer","minimum":0,"nullable":true},"events":{"type":"array","items":{"$ref":"#/components/schemas/NomadTaskEvent"}}}},"NomadAllocationDetails":{"type":"object","required":["allocation_id","name","namespace","job_id","task_group","node_id","node_name","datacenter","client_status","desired_status","desired_description","create_time","modify_time","task_states","resources","fetched_at"],"properties":{"allocation_id":{"type":"string"},"name":{"type":"string","nullable":true},"namespace":{"type":"string"},"job_id":{"type":"string","nullable":true},"task_group":{"type":"string","nullable":true},"node_id":{"type":"string","nullable":true},"node_name":{"type":"string","nullable":true},"datacenter":{"type":"string","nullable":true},"client_status":{"type":"string","nullable":true},"desired_status":{"type":"string","nullable":true},"desired_description":{"type":"string","nullable":true},"create_time":{"type":"string","nullable":true},"modify_time":{"type":"string","nullable":true},"task_states":{"type":"array","items":{"$ref":"#/components/schemas/NomadTaskState"}},"resources":{"type":"object","additionalProperties":true},"fetched_at":{"type":"string","format":"date-time"}}},"NomadAllocationLogs":{"type":"object","required":["allocation_id","task","type","namespace","origin","offset","logs","fetched_at"],"properties":{"allocation_id":{"type":"string"},"task":{"type":"string"},"type":{"type":"string","enum":["stdout","stderr"]},"namespace":{"type":"string"},"origin":{"type":"string","enum":["start","end"]},"offset":{"type":"integer","minimum":0,"maximum":262144},"logs":{"type":"string"},"fetched_at":{"type":"string","format":"date-time"}}},"GithubAppInstallation":{"type":"object","required":["id","organization_id","installation_id","account_login","account_id","status","permissions","installed_at","installed_at_label","suspended_at","suspended_at_label","created_at","created_at_label","updated_at","updated_at_label"],"properties":{"id":{"type":"string"},"organization_id":{"type":"string"},"installation_id":{"type":"string"},"account_login":{"type":"string"},"account_id":{"type":"string","nullable":true},"status":{"type":"string","enum":["active","suspended"]},"permissions":{"type":"object","additionalProperties":true},"installed_at":{"type":"string","format":"date-time","nullable":true},"installed_at_label":{"type":"string","nullable":true},"suspended_at":{"type":"string","format":"date-time","nullable":true},"suspended_at_label":{"type":"string","nullable":true},"created_at":{"type":"string","format":"date-time"},"created_at_label":{"type":"string","nullable":true},"updated_at":{"type":"string","format":"date-time"},"updated_at_label":{"type":"string","nullable":true}}},"GithubCiRepository":{"type":"object","required":["id","organization_id","github_app_installation_id","ci_runner_pool_id","github_repository_id","repository_owner","repository_name","repository_full_name","default_branch","status","adoption_mode","check_name_prefix","permission_status","last_webhook_delivery_id","last_webhook_event","last_webhook_action","last_webhook_at","last_webhook_at_label","last_head_sha","last_ref","last_pull_request_number","webhook_delivery_count","last_compatibility_status","last_error_message","metadata","created_at","updated_at","created_at_label","updated_at_label"],"properties":{"id":{"type":"string"},"organization_id":{"type":"string"},"github_app_installation_id":{"type":"string"},"ci_runner_pool_id":{"type":"string","nullable":true},"github_repository_id":{"type":"string"},"repository_owner":{"type":"string"},"repository_name":{"type":"string"},"repository_full_name":{"type":"string"},"default_branch":{"type":"string"},"status":{"type":"string","enum":["active","paused","archived"]},"adoption_mode":{"type":"string","enum":["shadow","reporting","required"]},"check_name_prefix":{"type":"string"},"permission_status":{"type":"string","enum":["unchecked","ok","missing"]},"last_webhook_delivery_id":{"type":"string","nullable":true},"last_webhook_event":{"type":"string","nullable":true},"last_webhook_action":{"type":"string","nullable":true},"last_webhook_at":{"type":"string","format":"date-time","nullable":true},"last_webhook_at_label":{"type":"string","nullable":true},"last_head_sha":{"type":"string","nullable":true},"last_ref":{"type":"string","nullable":true},"last_pull_request_number":{"type":"integer","nullable":true},"webhook_delivery_count":{"type":"integer"},"last_compatibility_status":{"type":"string","enum":["executable","warning","blocked","error"],"nullable":true},"last_error_message":{"type":"string","nullable":true},"metadata":{"type":"object","additionalProperties":true},"created_at":{"type":"string","format":"date-time"},"updated_at":{"type":"string","format":"date-time"},"created_at_label":{"type":"string","nullable":true},"updated_at_label":{"type":"string","nullable":true}}},"GithubCiCompatibilityReport":{"type":"object","required":["id","organization_id","github_ci_repository_id","ci_pipeline_id","ci_pipeline_run_id","workflow_path","source_sha","source_blob_sha","parser_version","workflow_name","event_name","event_action","ref_name","head_sha","pull_request_number","status","execution_allowed","required_secrets","runner_labels","referenced_actions","supported_features","diagnostics","warnings","errors","metadata","analyzed_at","analyzed_at_label","created_at","updated_at","created_at_label","updated_at_label"],"properties":{"id":{"type":"string"},"organization_id":{"type":"string"},"github_ci_repository_id":{"type":"string"},"ci_pipeline_id":{"type":"string","nullable":true},"ci_pipeline_run_id":{"type":"string","nullable":true},"workflow_path":{"type":"string"},"source_sha":{"type":"string"},"source_blob_sha":{"type":"string","nullable":true},"parser_version":{"type":"string"},"workflow_name":{"type":"string","nullable":true},"event_name":{"type":"string"},"event_action":{"type":"string","nullable":true},"ref_name":{"type":"string","nullable":true},"head_sha":{"type":"string","nullable":true},"pull_request_number":{"type":"integer","nullable":true},"status":{"type":"string","enum":["executable","warning","blocked","error"]},"execution_allowed":{"type":"boolean"},"required_secrets":{"type":"array","items":{"type":"string"}},"runner_labels":{"type":"array","items":{"type":"string"}},"referenced_actions":{"type":"array","items":{"type":"string"}},"supported_features":{"type":"object","additionalProperties":true},"diagnostics":{"type":"array","items":{"type":"object","required":["severity","code","path","message","metadata"],"properties":{"severity":{"type":"string","enum":["error","warning"]},"code":{"type":"string"},"path":{"type":"string"},"message":{"type":"string"},"metadata":{"type":"object","additionalProperties":true}}}},"warnings":{"type":"array","items":{"type":"object","required":["severity","code","path","message","metadata"],"properties":{"severity":{"type":"string","enum":["error","warning"]},"code":{"type":"string"},"path":{"type":"string"},"message":{"type":"string"},"metadata":{"type":"object","additionalProperties":true}}}},"errors":{"type":"array","items":{"type":"object","required":["severity","code","path","message","metadata"],"properties":{"severity":{"type":"string","enum":["error","warning"]},"code":{"type":"string"},"path":{"type":"string"},"message":{"type":"string"},"metadata":{"type":"object","additionalProperties":true}}}},"metadata":{"type":"object","additionalProperties":true},"analyzed_at":{"type":"string","format":"date-time"},"analyzed_at_label":{"type":"string","nullable":true},"created_at":{"type":"string","format":"date-time"},"updated_at":{"type":"string","format":"date-time"},"created_at_label":{"type":"string","nullable":true},"updated_at_label":{"type":"string","nullable":true}}},"GithubOnboardingState":{"type":"object","required":["installations","accounts","batches","trunk_bookmark"],"properties":{"installations":{"type":"array","items":{"type":"object","required":["id","organization_id","installation_id","account_login","account_id","status","permissions","installed_at","suspended_at","created_at","updated_at","installed_at_label","suspended_at_label","created_at_label","updated_at_label"],"properties":{"id":{"type":"string"},"organization_id":{"type":"string"},"installation_id":{"type":"string"},"account_login":{"type":"string"},"account_id":{"type":"string","nullable":true},"status":{"type":"string","enum":["active","suspended"]},"permissions":{"type":"object","additionalProperties":{"type":"string"}},"installed_at":{"type":"string","format":"date-time","nullable":true},"suspended_at":{"type":"string","format":"date-time","nullable":true},"created_at":{"type":"string","format":"date-time"},"updated_at":{"type":"string","format":"date-time"},"installed_at_label":{"type":"string","nullable":true},"suspended_at_label":{"type":"string","nullable":true},"created_at_label":{"type":"string","nullable":true},"updated_at_label":{"type":"string","nullable":true}}}},"accounts":{"type":"array","items":{"type":"object","required":["github_app_installation_id","account_login","repositories"],"properties":{"github_app_installation_id":{"type":"string"},"account_login":{"type":"string"},"repositories":{"type":"array","items":{"type":"object","required":["owner","name","full_name","default_branch","visibility","private","empty","html_url","updated_at","already_imported"],"properties":{"owner":{"type":"string"},"name":{"type":"string"},"full_name":{"type":"string"},"default_branch":{"type":"string"},"visibility":{"type":"string"},"private":{"type":"boolean"},"empty":{"type":"boolean"},"html_url":{"type":"string","format":"uri"},"updated_at":{"type":"string","nullable":true},"already_imported":{"type":"boolean"}}}}}}},"batches":{"type":"array","maxItems":10,"items":{"$ref":"#/components/schemas/GithubImportBatch"}},"trunk_bookmark":{"type":"string"}}},"GithubImportBatch":{"type":"object","required":["id","github_app_installation_id","account_login","status","items","created_at","updated_at"],"properties":{"id":{"type":"string"},"github_app_installation_id":{"type":"string"},"account_login":{"type":"string"},"status":{"type":"string","enum":["running","completed"]},"items":{"type":"array","items":{"type":"object","required":["id","virtual_repository_id","sync_run_id","repository_owner","repository_name","repository_full_name","root_path","status","error_message","virtual_repository_slug","projection_status","created_at","updated_at"],"properties":{"id":{"type":"string"},"virtual_repository_id":{"type":"string","nullable":true},"sync_run_id":{"type":"string","nullable":true},"repository_owner":{"type":"string"},"repository_name":{"type":"string"},"repository_full_name":{"type":"string"},"root_path":{"type":"string"},"status":{"type":"string","enum":["queued","running","succeeded","failed","already_imported","invalid"]},"error_message":{"type":"string","nullable":true},"virtual_repository_slug":{"type":"string","nullable":true},"projection_status":{"type":"string","nullable":true},"created_at":{"type":"string","format":"date-time"},"updated_at":{"type":"string","format":"date-time"}}}},"created_at":{"type":"string","format":"date-time"},"updated_at":{"type":"string","format":"date-time"}}},"AppDomainCreatePayload":{"type":"object","required":["app_service_id","hostname","kind"],"properties":{"app_service_id":{"type":"string"},"app_environment_id":{"type":"string"},"hostname":{"type":"string"},"kind":{"type":"string","enum":["primary","redirect","preview","internal"]},"tls_status":{"type":"string","enum":["pending","active","failed"]},"dns_status":{"type":"string","enum":["pending","configured","failed"]},"redirect_to":{"type":"string"}}},"AppConfigVariableCreatePayload":{"type":"object","required":["scope_kind","key","value_kind","exposed_to_build"],"properties":{"app_environment_id":{"type":"string"},"app_service_id":{"type":"string"},"scope_kind":{"type":"string","enum":["app","environment","service"]},"key":{"type":"string"},"value":{"type":"string"},"value_kind":{"type":"string","enum":["plain","secret","reference"]},"description":{"type":"string"},"exposed_to_build":{"type":"boolean"}}},"AppConfigVariableRotatePayload":{"type":"object","required":["value"],"properties":{"value":{"type":"string"},"value_kind":{"type":"string","enum":["plain","secret","reference"]}}},"HostedAppLocationPayload":{"type":"object","required":["location_id"],"properties":{"location_id":{"type":"string"}}},"ImageRepository":{"type":"object","required":["id","organization_id","hosted_app_id","slug","name","provider_kind","repository_path","visibility","status","auth_configured","created_at","updated_at","created_at_label","updated_at_label"],"properties":{"id":{"type":"string"},"organization_id":{"type":"string"},"hosted_app_id":{"type":"string","nullable":true},"slug":{"type":"string"},"name":{"type":"string"},"provider_kind":{"type":"string","enum":["oci","docker_registry"]},"repository_path":{"type":"string"},"visibility":{"type":"string","enum":["private","internal","public"]},"status":{"type":"string","enum":["active","paused","archived"]},"auth_configured":{"type":"boolean"},"created_at":{"type":"string","format":"date-time"},"updated_at":{"type":"string","format":"date-time"},"created_at_label":{"type":"string","nullable":true},"updated_at_label":{"type":"string","nullable":true}}},"ImageRepositoryCreatePayload":{"type":"object","required":["slug","name"],"properties":{"hosted_app_id":{"type":"string"},"slug":{"type":"string"},"name":{"type":"string"},"provider_kind":{"type":"string","enum":["oci","docker_registry"]},"repository_path":{"type":"string"},"visibility":{"type":"string","enum":["private","internal","public"]},"status":{"type":"string","enum":["active","paused","archived"]},"registry_auth_token":{"type":"string"}}},"ImageRepositoryContractPayload":{"type":"object","required":["operation","reference"],"properties":{"operation":{"type":"string","enum":["push","pull"]},"reference":{"type":"string"},"ttl_seconds":{"type":"integer","minimum":1}}},"ImageRepositoryContractAuth":{"type":"object","required":["username","required"],"properties":{"username":{"type":"string"},"required":{"type":"boolean"},"token_hint":{"type":"string","nullable":true},"login_command":{"type":"string","nullable":true},"token_realm":{"type":"string","nullable":true},"service":{"type":"string","nullable":true},"scope":{"type":"string","nullable":true}}},"ImageRepositoryContract":{"type":"object","required":["provider","operation","repository_path","reference","expires_in_seconds"],"properties":{"provider":{"type":"string"},"operation":{"type":"string","enum":["push","pull"]},"repository_path":{"type":"string"},"reference":{"type":"string"},"push_registry_host":{"type":"string"},"pull_registry_host":{"type":"string"},"push_image_reference":{"type":"string"},"pull_image_reference":{"type":"string"},"image_reference":{"type":"string"},"auth":{"$ref":"#/components/schemas/ImageRepositoryContractAuth"},"expires_in_seconds":{"type":"integer","minimum":1}}},"ImageRepositoryContractResponse":{"type":"object","required":["image_repository","contract"],"properties":{"image_repository":{"$ref":"#/components/schemas/ImageRepository"},"contract":{"$ref":"#/components/schemas/ImageRepositoryContract"}}},"ImageRepositoryTagsResponse":{"type":"object","required":["image_repository","tags","name","registry_url"],"properties":{"image_repository":{"$ref":"#/components/schemas/ImageRepository"},"tags":{"type":"array","items":{"type":"string"}},"name":{"type":"string"},"registry_url":{"type":"string","format":"uri"}}},"OpenSourcePublishContract":{"type":"object","required":["id","organization_id","repository_id","repository_slug","virtual_repository_id","name","folder_path","source_bookmark","target_repository_owner","target_repository_name","target_repository_full_name","target_branch","target_visibility","target_remote_url","provision_mode","divergence_policy","divergence_state","divergence_detected_at","divergence_detected_at_label","divergence_remote_sha","diverged","status","auto_sync_enabled","acknowledged_public_exposure","acknowledged_at","acknowledged_at_label","github_app_installation_id","github_app_account_login","publishable","baseline_source_commit_id","baseline_source_change_id","baseline_source_git_sha","baseline_remote_sha","last_sync_run_id","last_synced_at","last_synced_at_label","last_error_message","created_at","updated_at","created_at_label","updated_at_label"],"properties":{"id":{"type":"string"},"organization_id":{"type":"string"},"repository_id":{"type":"string"},"repository_slug":{"type":"string"},"virtual_repository_id":{"type":"string","nullable":true},"name":{"type":"string","nullable":true},"folder_path":{"type":"string"},"source_bookmark":{"type":"string"},"target_repository_owner":{"type":"string"},"target_repository_name":{"type":"string"},"target_repository_full_name":{"type":"string"},"target_branch":{"type":"string"},"target_visibility":{"type":"string","enum":["private","public"]},"target_remote_url":{"type":"string"},"provision_mode":{"type":"string","enum":["create","attach","create_or_attach"]},"divergence_policy":{"type":"string","enum":["block","overwrite"]},"divergence_state":{"type":"string","enum":["clean","diverged"]},"divergence_detected_at":{"type":"string","format":"date-time","nullable":true},"divergence_detected_at_label":{"type":"string","nullable":true},"divergence_remote_sha":{"type":"string","nullable":true},"diverged":{"type":"boolean"},"status":{"type":"string","enum":["active","paused","archived"]},"auto_sync_enabled":{"type":"boolean"},"acknowledged_public_exposure":{"type":"boolean"},"acknowledged_at":{"type":"string","format":"date-time","nullable":true},"acknowledged_at_label":{"type":"string","nullable":true},"github_app_installation_id":{"type":"string","nullable":true},"github_app_account_login":{"type":"string","nullable":true},"publishable":{"type":"boolean"},"baseline_source_commit_id":{"type":"string","nullable":true},"baseline_source_change_id":{"type":"string","nullable":true},"baseline_source_git_sha":{"type":"string","nullable":true},"baseline_remote_sha":{"type":"string","nullable":true},"last_sync_run_id":{"type":"string","nullable":true},"last_synced_at":{"type":"string","format":"date-time","nullable":true},"last_synced_at_label":{"type":"string","nullable":true},"last_error_message":{"type":"string","nullable":true},"created_at":{"type":"string","format":"date-time"},"updated_at":{"type":"string","format":"date-time"},"created_at_label":{"type":"string","nullable":true},"updated_at_label":{"type":"string","nullable":true}}},"User":{"type":"object","required":["id","email","name","picture_url"],"properties":{"id":{"type":"string"},"email":{"type":"string","format":"email"},"name":{"type":"string","nullable":true},"picture_url":{"type":"string","nullable":true},"superadmin":{"type":"boolean"}}},"AuthSession":{"allOf":[{"$ref":"#/components/schemas/User"},{"type":"object","required":["organizations","active_organization","pending_organization_invitation_count","pending_organization_invitation_count_label","enabled_features"],"properties":{"organizations":{"type":"array","items":{"$ref":"#/components/schemas/OrganizationSummary"}},"active_organization":{"oneOf":[{"$ref":"#/components/schemas/OrganizationSummary"},{"type":"null"}]},"pending_organization_invitation_count":{"type":"integer","minimum":0},"pending_organization_invitation_count_label":{"type":"string"},"enabled_features":{"type":"array","items":{"type":"string","enum":["hosting_cdn_ui"]}},"api_token":{"type":"string"},"api_base_url":{"type":"string","format":"uri"}}}]},"OrganizationMember":{"type":"object","required":["id","role","is_self","user","created_at","updated_at","created_at_label","updated_at_label"],"properties":{"id":{"type":"string"},"role":{"type":"string","enum":["owner","admin","member"]},"is_self":{"type":"boolean"},"user":{"$ref":"#/components/schemas/User"},"created_at":{"type":"string","format":"date-time"},"updated_at":{"type":"string","format":"date-time"},"created_at_label":{"type":"string","nullable":true},"updated_at_label":{"type":"string","nullable":true}}},"OrganizationInvitation":{"type":"object","required":["id","email","role","status","invite_url","organization","invited_by_user","accepted_by_user","expires_at","expires_at_label","accepted_at","revoked_at","created_at","updated_at","created_at_label","updated_at_label"],"properties":{"id":{"type":"string"},"email":{"type":"string","format":"email"},"role":{"type":"string","enum":["owner","admin","member"]},"status":{"type":"string","enum":["pending","accepted","revoked","expired"]},"invite_url":{"type":"string","nullable":true},"organization":{"type":"object","required":["id","slug","name"],"properties":{"id":{"type":"string"},"slug":{"type":"string"},"name":{"type":"string"}}},"invited_by_user":{"oneOf":[{"$ref":"#/components/schemas/User"},{"type":"null"}]},"accepted_by_user":{"oneOf":[{"$ref":"#/components/schemas/User"},{"type":"null"}]},"expires_at":{"type":"string","format":"date-time","nullable":true},"expires_at_label":{"type":"string","nullable":true},"accepted_at":{"type":"string","format":"date-time","nullable":true},"revoked_at":{"type":"string","format":"date-time","nullable":true},"created_at":{"type":"string","format":"date-time"},"updated_at":{"type":"string","format":"date-time"},"created_at_label":{"type":"string","nullable":true},"updated_at_label":{"type":"string","nullable":true},"email_delivery_status":{"type":"string"}}},"ImageUploadPayload":{"type":"object","required":["image"],"properties":{"image":{"type":"string","format":"binary"}}},"OrganizationCreatePayload":{"type":"object","required":["slug","name"],"properties":{"slug":{"type":"string"},"name":{"type":"string"}}},"OrganizationUpdatePayload":{"type":"object","required":["slug","name"],"properties":{"slug":{"type":"string"},"name":{"type":"string"},"allow_author_self_review_on_home_repository":{"type":"boolean"},"allow_author_self_review_on_main_repo":{"type":"boolean"}}},"OrganizationMemberUpdatePayload":{"type":"object","required":["role"],"properties":{"role":{"type":"string","enum":["owner","admin","member"]}}},"OrganizationInvitationCreatePayload":{"type":"object","required":["email","role"],"properties":{"email":{"type":"string","format":"email"},"role":{"type":"string","enum":["owner","admin","member"]}}},"ActiveOrganizationPayload":{"type":"object","required":["organization_id"],"properties":{"organization_id":{"type":"string"}}},"CliLoginCompletePayload":{"type":"object","required":["login_id"],"properties":{"login_id":{"type":"string"}}},"RepositoryAccessEntry":{"type":"object","required":["organization_id","organization_slug","organization_name","membership_role","repository_id","repository_slug","repository_name","repository_kind","repository_role","repository_scope_kind","is_organization_home_repository","canonical_repository_slug","repository_slug_aliases","app_rooting_strategy","deployable_units_kind","git_https_clone_url","canonical_git_https_clone_url","git_https_supported","jj_grpc_endpoint","jj_repo_path","canonical_jj_repo_path","jj_grpc_supported","git_auth_username","backing_repository_id","backing_repository_slug","canonical_backing_repository_slug","backing_repository_name","backing_repository_kind","effective_root_path","default_branch","virtual_repository_id","sync_provider_kind","sync_mode","sync_repository_owner","sync_repository_name","sync_repository_full_name","sync_remote_url","sync_remote_display_name","sync_auth_username","sync_auth_secret_id","sync_default_branch","github_app_installation_id","sync_source_bookmark","sync_target_branch","sync_auto_enabled","sync_configured","projection_status","projection_source_bookmark","effective_projection_source_bookmark","last_projected_source_commit_id","last_projected_virtual_commit_id","last_projected_git_sha"],"properties":{"organization_id":{"type":"string"},"organization_slug":{"type":"string"},"organization_name":{"type":"string"},"membership_role":{"type":"string"},"repository_id":{"type":"string"},"repository_slug":{"type":"string"},"repository_name":{"type":"string"},"repository_kind":{"type":"string"},"repository_role":{"type":"string"},"repository_scope_kind":{"type":"string","enum":["repository","virtual_repository"]},"is_organization_home_repository":{"type":"boolean"},"canonical_repository_slug":{"type":"string"},"repository_slug_aliases":{"type":"array","items":{"type":"string"}},"app_rooting_strategy":{"type":"string"},"deployable_units_kind":{"type":"string"},"git_https_clone_url":{"type":"string","format":"uri"},"canonical_git_https_clone_url":{"type":"string","format":"uri"},"git_https_supported":{"type":"boolean"},"jj_grpc_endpoint":{"type":"string","nullable":true},"jj_repo_path":{"type":"string"},"canonical_jj_repo_path":{"type":"string"},"jj_grpc_supported":{"type":"boolean"},"git_auth_username":{"type":"string"},"backing_repository_id":{"type":"string"},"backing_repository_slug":{"type":"string"},"canonical_backing_repository_slug":{"type":"string"},"backing_repository_name":{"type":"string"},"backing_repository_kind":{"type":"string"},"effective_root_path":{"type":"string"},"default_branch":{"type":"string"},"virtual_repository_id":{"type":"string","nullable":true},"sync_provider_kind":{"type":"string","enum":["none","github","git"]},"sync_mode":{"type":"string","nullable":true},"sync_repository_owner":{"type":"string","nullable":true},"sync_repository_name":{"type":"string","nullable":true},"sync_repository_full_name":{"type":"string","nullable":true},"sync_remote_url":{"type":"string","nullable":true},"sync_remote_display_name":{"type":"string","nullable":true},"sync_auth_username":{"type":"string","nullable":true},"sync_auth_secret_id":{"type":"string","nullable":true},"sync_default_branch":{"type":"string","nullable":true},"github_app_installation_id":{"type":"string","nullable":true},"sync_source_bookmark":{"type":"string","nullable":true},"sync_target_branch":{"type":"string","nullable":true},"sync_auto_enabled":{"type":"boolean"},"sync_configured":{"type":"boolean"},"projection_status":{"type":"string","nullable":true},"projection_source_bookmark":{"type":"string","nullable":true},"effective_projection_source_bookmark":{"type":"string","nullable":true},"last_projected_source_commit_id":{"type":"string","nullable":true},"last_projected_virtual_commit_id":{"type":"string","nullable":true},"last_projected_git_sha":{"type":"string","nullable":true}}},"RepositoryAccessToken":{"type":"object","required":["id","name","permission_level","token_preview","active","expires_at","last_used_at","revoked_at","created_at","updated_at","expires_at_label","last_used_at_label","revoked_at_label","created_at_label","updated_at_label"],"properties":{"id":{"type":"string"},"name":{"type":"string"},"permission_level":{"type":"string","enum":["read_only","read_write"]},"token_preview":{"type":"string"},"active":{"type":"boolean"},"expires_at":{"type":"string","format":"date-time","nullable":true},"last_used_at":{"type":"string","format":"date-time","nullable":true},"revoked_at":{"type":"string","format":"date-time","nullable":true},"created_at":{"type":"string","format":"date-time"},"updated_at":{"type":"string","format":"date-time"},"expires_at_label":{"type":"string","nullable":true},"last_used_at_label":{"type":"string","nullable":true},"revoked_at_label":{"type":"string","nullable":true},"created_at_label":{"type":"string","nullable":true},"updated_at_label":{"type":"string","nullable":true}}},"StaticSite":{"type":"object","required":["id","organization_id","hosted_app_id","repository_id","slug","name","description","status","region","replication_regions","index_document","error_document","default_url","cdn_url","cdn_hostname","cname_target","provisioned","failure_message","active_deployment_id","provisioned_at","created_at","updated_at"],"properties":{"id":{"type":"string"},"organization_id":{"type":"string"},"hosted_app_id":{"type":"string","nullable":true},"repository_id":{"type":"string","nullable":true},"slug":{"type":"string"},"name":{"type":"string"},"description":{"type":"string","nullable":true},"status":{"type":"string","enum":["draft","provisioning","active","degraded","archived","failed"]},"region":{"type":"string","nullable":true},"replication_regions":{"type":"array","items":{"type":"string"}},"index_document":{"type":"string"},"error_document":{"type":"string","nullable":true},"default_url":{"type":"string","format":"uri"},"cdn_url":{"type":"string","format":"uri"},"cdn_hostname":{"type":"string"},"cname_target":{"type":"string"},"provisioned":{"type":"boolean"},"failure_message":{"type":"string","nullable":true},"active_deployment_id":{"type":"string","nullable":true},"provisioned_at":{"type":"string","format":"date-time","nullable":true},"created_at":{"type":"string","format":"date-time"},"updated_at":{"type":"string","format":"date-time"}}},"StaticSiteCreatePayload":{"type":"object","required":["slug","name"],"properties":{"slug":{"type":"string"},"name":{"type":"string"},"description":{"type":"string"},"region":{"type":"string"},"replication_regions":{"type":"array","items":{"type":"string"}},"index_document":{"type":"string"},"error_document":{"type":"string"},"hosted_app_id":{"type":"string"},"repository_id":{"type":"string"}}},"StaticSiteDeployment":{"type":"object","required":["id","static_site_id","creator_user_id","deploy_slug","status","trigger_kind","commit_sha","source_ref","file_count","total_bytes","file_count_label","total_bytes_label","failure_message","is_active","uploaded_at","activated_at","started_at","finished_at","created_at","updated_at","uploaded_at_label","activated_at_label","started_at_label","finished_at_label","created_at_label","updated_at_label"],"properties":{"id":{"type":"string"},"static_site_id":{"type":"string"},"creator_user_id":{"type":"string","nullable":true},"deploy_slug":{"type":"string"},"status":{"type":"string","enum":["pending","uploading","uploaded","activating","active","failed","canceled","superseded"]},"trigger_kind":{"type":"string","enum":["cli","api","dashboard","ci"]},"commit_sha":{"type":"string","nullable":true},"source_ref":{"type":"string","nullable":true},"file_count":{"type":"integer","minimum":0},"total_bytes":{"type":"integer","minimum":0},"file_count_label":{"type":"string"},"total_bytes_label":{"type":"string"},"failure_message":{"type":"string","nullable":true},"is_active":{"type":"boolean"},"uploaded_at":{"type":"string","format":"date-time","nullable":true},"activated_at":{"type":"string","format":"date-time","nullable":true},"started_at":{"type":"string","format":"date-time","nullable":true},"finished_at":{"type":"string","format":"date-time","nullable":true},"created_at":{"type":"string","format":"date-time"},"updated_at":{"type":"string","format":"date-time"},"uploaded_at_label":{"type":"string","nullable":true},"activated_at_label":{"type":"string","nullable":true},"started_at_label":{"type":"string","nullable":true},"finished_at_label":{"type":"string","nullable":true},"created_at_label":{"type":"string","nullable":true},"updated_at_label":{"type":"string","nullable":true}}},"StaticSiteDomain":{"type":"object","required":["id","hosted_app_id","app_service_id","app_environment_id","static_site_id","hostname","kind","target_kind","dns_mode","record_type","record_name","record_value","tls_status","dns_status","verification_status","last_checked_at","failure_message","redirect_to","created_at","updated_at"],"properties":{"id":{"type":"string"},"hosted_app_id":{"type":"string","nullable":true},"app_service_id":{"type":"string","nullable":true},"app_environment_id":{"type":"string","nullable":true},"static_site_id":{"type":"string","nullable":true},"hostname":{"type":"string"},"kind":{"type":"string","enum":["primary","redirect","preview","internal"]},"target_kind":{"type":"string","enum":["app_service","static_site"]},"dns_mode":{"type":"string","enum":["manual_cname","cloudflare"]},"record_type":{"type":"string","nullable":true},"record_name":{"type":"string","nullable":true},"record_value":{"type":"string","nullable":true},"tls_status":{"type":"string","enum":["pending","active","failed"]},"dns_status":{"type":"string","enum":["pending","configured","failed"]},"verification_status":{"type":"string","enum":["pending","configured","failed"]},"last_checked_at":{"type":"string","format":"date-time","nullable":true},"failure_message":{"type":"string","nullable":true},"redirect_to":{"type":"string","nullable":true},"created_at":{"type":"string","format":"date-time"},"updated_at":{"type":"string","format":"date-time"}}},"StaticSiteDomainCreatePayload":{"type":"object","required":["hostname"],"properties":{"hostname":{"type":"string"},"kind":{"type":"string","enum":["primary","redirect","preview","internal"]},"dns_mode":{"type":"string","enum":["manual_cname","cloudflare"]},"redirect_to":{"type":"string"}}},"DomainDnsIntegration":{"type":"object","required":["id","organization_id","provider","account_label","status","has_token","last_verified_at","failure_message","created_at","updated_at"],"properties":{"id":{"type":"string"},"organization_id":{"type":"string"},"provider":{"type":"string","enum":["cloudflare"]},"account_label":{"type":"string","nullable":true},"status":{"type":"string","enum":["active","failed","disabled"]},"has_token":{"type":"boolean"},"last_verified_at":{"type":"string","format":"date-time","nullable":true},"failure_message":{"type":"string","nullable":true},"created_at":{"type":"string","format":"date-time"},"updated_at":{"type":"string","format":"date-time"}}},"StaticSiteError":{"type":"object","required":["error"],"properties":{"error":{"type":"string"},"details":{"type":"array","items":{"type":"string"}},"status":{"type":"string"},"failure_message":{"type":"string","nullable":true}}},"VcsBranch":{"type":"object","required":["name","target_commit_id","tip_id"],"properties":{"name":{"type":"string"},"target_commit_id":{"type":"string"},"tip_id":{"type":"string"}}},"VcsBranchesResponse":{"type":"object","required":["branches","branches_count_label","default_branch","protected_bookmarks"],"properties":{"branches":{"type":"array","items":{"$ref":"#/components/schemas/VcsBranch"}},"branches_count_label":{"type":"string"},"default_branch":{"type":"string","nullable":true},"protected_bookmarks":{"type":"array","items":{"type":"string"}}}},"VcsCommitGithubLink":{"type":"object","required":["repository","root_path","commit_sha","commit_url"],"properties":{"repository":{"type":"string"},"root_path":{"type":"string"},"commit_sha":{"type":"string"},"commit_url":{"type":"string","format":"uri"}}},"VcsCommit":{"type":"object","required":["id"],"properties":{"id":{"type":"string"},"message":{"type":"string","nullable":true},"summary":{"type":"string","nullable":true},"parent_ids":{"type":"array","items":{"type":"string"}},"parents":{"type":"array","items":{"type":"string"}},"author_name":{"type":"string","nullable":true},"author_email":{"type":"string","nullable":true},"author_date":{"type":"string","format":"date-time","nullable":true},"author_date_label":{"type":"string","nullable":true},"committer_name":{"type":"string","nullable":true},"committer_date":{"type":"string","format":"date-time","nullable":true},"committer_date_label":{"type":"string","nullable":true},"committed_on_key":{"type":"string","format":"date","nullable":true},"committed_on_label":{"type":"string","nullable":true},"parent_count_label":{"type":"string","nullable":true},"author_avatar_url":{"type":"string","format":"uri","nullable":true},"github":{"oneOf":[{"$ref":"#/components/schemas/VcsCommitGithubLink"},{"type":"null"}]}}},"VcsCommitsResponse":{"type":"object","required":["commits","page_count_label","has_more","offset","limit","query"],"properties":{"commits":{"type":"array","items":{"$ref":"#/components/schemas/VcsCommit"}},"page_count_label":{"type":"string"},"has_more":{"type":"boolean"},"offset":{"type":"integer","minimum":0},"limit":{"type":"integer","minimum":1},"query":{"type":"string"}}},"VcsCommitDiffResponse":{"type":"object","required":["commit","parent_id","files"],"properties":{"commit":{"oneOf":[{"$ref":"#/components/schemas/VcsCommit"},{"type":"null"}]},"parent_id":{"type":"string","nullable":true},"files":{"type":"array","items":{"$ref":"#/components/schemas/VcsStackDiffFile"}}}},"VcsBrowserRef":{"type":"object","required":["name","resolved_commit_id"],"properties":{"name":{"type":"string"},"resolved_commit_id":{"type":"string"},"default_branch":{"type":"string","nullable":true}}},"VcsSyncedSpace":{"type":"object","required":["root_path","provider","repository_full_name","url"],"properties":{"root_path":{"type":"string"},"provider":{"type":"string"},"repository_full_name":{"type":"string"},"url":{"type":"string","format":"uri"}}},"VcsKnowledgeDocumentCandidate":{"type":"object","required":["path","document_count"],"properties":{"path":{"type":"string"},"document_count":{"type":"integer","minimum":0}}},"VcsKnowledgeDocumentIndex":{"type":"object","required":["folders","candidates","document_paths","document_count","document_count_label"],"properties":{"folders":{"type":"array","items":{"type":"string"}},"candidates":{"type":"array","items":{"$ref":"#/components/schemas/VcsKnowledgeDocumentCandidate"}},"document_paths":{"type":"array","items":{"type":"string"}},"document_count":{"type":"integer","minimum":0},"document_count_label":{"type":"string"}}},"VcsBrowserTreeResponse":{"type":"object","required":["ref","tree","synced_spaces","knowledge"],"properties":{"ref":{"$ref":"#/components/schemas/VcsBrowserRef"},"tree":{"type":"object","required":["paths","truncated","path_count"],"properties":{"paths":{"type":"array","items":{"type":"string"}},"truncated":{"type":"boolean"},"path_count":{"type":"integer","minimum":0}}},"synced_spaces":{"type":"array","items":{"$ref":"#/components/schemas/VcsSyncedSpace"}},"knowledge":{"oneOf":[{"$ref":"#/components/schemas/VcsKnowledgeDocumentIndex"},{"type":"null"}]}}},"VcsBrowserFileContents":{"type":"object","required":["name","contents","cacheKey"],"properties":{"name":{"type":"string"},"contents":{"type":"string"},"lang":{"type":"string"},"cacheKey":{"type":"string"}}},"VcsBrowserSelectedFile":{"type":"object","required":["path","kind","encoding","size_bytes","size_label","line_count","line_count_label","raw_url"],"properties":{"path":{"type":"string"},"kind":{"type":"string","enum":["text","binary","image","empty","missing","not_a_file","too_large"]},"encoding":{"type":"string","nullable":true,"enum":["utf-8","binary"]},"size_bytes":{"type":"integer","nullable":true},"size_label":{"type":"string","nullable":true},"line_count":{"type":"integer","nullable":true},"line_count_label":{"type":"string","nullable":true},"raw_url":{"type":"string","nullable":true},"file":{"$ref":"#/components/schemas/VcsBrowserFileContents"}}},"VcsBrowserFileResponse":{"type":"object","required":["ref","selected_file"],"properties":{"ref":{"$ref":"#/components/schemas/VcsBrowserRef"},"selected_file":{"$ref":"#/components/schemas/VcsBrowserSelectedFile"}}},"VcsFilesResponse":{"type":"object","required":["paths","truncated"],"properties":{"paths":{"type":"array","items":{"type":"string"}},"truncated":{"type":"boolean"}}},"VcsBlameLine":{"type":"object","required":["number","content","commit_id"],"properties":{"number":{"type":"integer","minimum":1},"content":{"type":"string"},"commit_id":{"type":"string","nullable":true}}},"VcsBlameRevision":{"type":"object","required":["id","short_id","author_name","author_email","author_date","author_date_label","summary"],"properties":{"id":{"type":"string"},"short_id":{"type":"string"},"author_name":{"type":"string","nullable":true},"author_email":{"type":"string","nullable":true},"author_date":{"type":"string","format":"date-time","nullable":true},"author_date_label":{"type":"string","nullable":true},"summary":{"type":"string","nullable":true}}},"VcsBlameResponse":{"type":"object","required":["ref","path","blame","revisions"],"properties":{"ref":{"$ref":"#/components/schemas/VcsBrowserRef"},"path":{"type":"string"},"blame":{"type":"object","required":["lines","truncated","line_count"],"properties":{"lines":{"type":"array","items":{"$ref":"#/components/schemas/VcsBlameLine"}},"truncated":{"type":"boolean"},"line_count":{"type":"integer","minimum":0}}},"revisions":{"type":"array","items":{"$ref":"#/components/schemas/VcsBlameRevision"}}}},"VcsMergePayload":{"type":"object","additionalProperties":false,"required":["into","from"],"properties":{"into":{"type":"string"},"from":{"type":"string"}}},"VcsMergeResponse":{"type":"object","required":["ok","fast_forward","tip_id"],"properties":{"ok":{"type":"boolean"},"fast_forward":{"type":"boolean"},"tip_id":{"type":"string"},"into":{"type":"string"},"from":{"type":"string"},"message":{"type":"string"}}},"VcsStackUser":{"type":"object","required":["id"],"properties":{"id":{"type":"string"},"email":{"type":"string"},"name":{"type":"string"},"picture_url":{"type":"string"}}},"VcsReviewComment":{"type":"object","required":["id","review_id","patchset_id","path","line","body","kind","user","resolved","resolved_by","resolved_at","resolved_at_label","parent_comment_id","replies","created_at","created_at_label","updated_at","updated_at_label"],"properties":{"id":{"type":"string"},"review_id":{"type":"string"},"patchset_id":{"type":"string","nullable":true},"path":{"type":"string","nullable":true},"line":{"type":"integer","nullable":true},"body":{"type":"string"},"kind":{"type":"string"},"user":{"$ref":"#/components/schemas/VcsStackUser"},"resolved":{"type":"boolean"},"resolved_by":{"oneOf":[{"$ref":"#/components/schemas/VcsStackUser"},{"type":"null"}]},"resolved_at":{"type":"string","format":"date-time","nullable":true},"resolved_at_label":{"type":"string","nullable":true},"parent_comment_id":{"type":"string","nullable":true},"replies":{"type":"array","items":{"$ref":"#/components/schemas/VcsReviewComment"}},"created_at":{"type":"string","format":"date-time"},"created_at_label":{"type":"string","nullable":true},"updated_at":{"type":"string","format":"date-time"},"updated_at_label":{"type":"string","nullable":true}}},"VcsStackReviewer":{"type":"object","required":["kind","user"],"properties":{"kind":{"type":"string","enum":["reviewer","cc"]},"user":{"oneOf":[{"$ref":"#/components/schemas/VcsStackUser"},{"type":"null"}]}}},"VcsStackDiffFile":{"type":"object","required":["path","status","additions","deletions"],"properties":{"path":{"type":"string"},"previous_path":{"type":"string","nullable":true},"status":{"type":"string","enum":["added","modified","deleted","renamed"]},"additions":{"type":"integer","minimum":0},"deletions":{"type":"integer","minimum":0},"binary":{"type":"boolean"},"truncated":{"type":"boolean"},"patch":{"type":"string","nullable":true},"unresolved_comments_count_label":{"type":"string"}}},"VcsStackPatchset":{"type":"object","required":["id","number","commit_id","files"],"properties":{"id":{"type":"string"},"number":{"type":"integer","minimum":1},"commit_id":{"type":"string"},"parent_commit_id":{"type":"string","nullable":true},"base_commit_id":{"type":"string","nullable":true},"message":{"type":"string","nullable":true},"files":{"type":"array","items":{"$ref":"#/components/schemas/VcsStackDiffFile"}},"checks_status":{"type":"string","enum":["absent","passing","failing","pending"]},"created_by":{"oneOf":[{"$ref":"#/components/schemas/VcsStackUser"},{"type":"null"}]},"created_at":{"type":"string","format":"date-time"},"created_at_label":{"type":"string"}}},"VcsStackVote":{"type":"object","required":["id","kind"],"properties":{"id":{"type":"string"},"kind":{"type":"string","enum":["accept","request_changes"]},"message":{"type":"string","nullable":true},"user":{"oneOf":[{"$ref":"#/components/schemas/VcsStackUser"},{"type":"null"}]},"created_at":{"type":"string","format":"date-time"},"created_at_label":{"type":"string"},"updated_at":{"type":"string","format":"date-time"},"updated_at_label":{"type":"string"}}},"VcsStackReviewBase":{"type":"object","required":["id","change_key","title","position","status","accepted","requested_changes","landable"],"properties":{"id":{"type":"string"},"change_key":{"type":"string"},"jj_change_id":{"type":"string","nullable":true},"stable_change_id":{"type":"string"},"base_commit_id":{"type":"string","nullable":true},"head_commit_id":{"type":"string","nullable":true},"title":{"type":"string"},"description":{"type":"string","nullable":true},"position":{"type":"integer","minimum":1},"status":{"type":"string","enum":["open","landed","abandoned"]},"accepted":{"type":"boolean"},"requested_changes":{"type":"boolean"},"checks_status":{"type":"string","enum":["absent","passing","failing","pending"],"nullable":true},"landable":{"type":"boolean"},"author":{"oneOf":[{"$ref":"#/components/schemas/VcsStackUser"},{"type":"null"}]},"parent_review_id":{"type":"string","nullable":true},"parent_change_key":{"type":"string","nullable":true},"landed_at":{"type":"string","format":"date-time","nullable":true},"landed_at_label":{"type":"string","nullable":true},"landed_by":{"oneOf":[{"$ref":"#/components/schemas/VcsStackUser"},{"type":"null"}]},"landed_authority":{"type":"string","enum":["vex_primary","github_primary"],"nullable":true},"github_merge_commit_sha":{"type":"string","nullable":true},"github_merge_method":{"type":"string","nullable":true},"github_merged_by_login":{"type":"string","nullable":true},"created_at":{"type":"string","format":"date-time"},"created_at_label":{"type":"string"},"updated_at":{"type":"string","format":"date-time"},"updated_at_label":{"type":"string"}}},"VcsStackReviewSummary":{"allOf":[{"$ref":"#/components/schemas/VcsStackReviewBase"}]},"VcsStackReview":{"allOf":[{"$ref":"#/components/schemas/VcsStackReviewBase"},{"type":"object","required":["patchsets","votes","comments_count","comments_count_label","unresolved_comments_count_label","comments"],"properties":{"current_patchset":{"oneOf":[{"$ref":"#/components/schemas/VcsStackPatchset"},{"type":"null"}]},"patchsets":{"type":"array","items":{"$ref":"#/components/schemas/VcsStackPatchset"}},"votes":{"type":"array","items":{"$ref":"#/components/schemas/VcsStackVote"}},"comments_count":{"type":"integer","minimum":0},"comments_count_label":{"type":"string"},"unresolved_comments_count_label":{"type":"string"},"comments":{"type":"array","items":{"$ref":"#/components/schemas/VcsReviewComment"}}}}]},"VcsTrackedGithubStackMember":{"type":"object","required":["id","stack_id","position","state","source_kind","source_value","github_repository_owner","github_repository_name","github_pr_number","github_branch_name","github_head_sha","github_base_branch_name","managed_pull_request","tracked_at"],"properties":{"id":{"type":"string"},"stack_id":{"type":"string"},"parent_id":{"type":"string","nullable":true},"position":{"type":"integer","minimum":1},"state":{"type":"string","enum":["active","merged","untracked","abandoned"]},"source_kind":{"type":"string","enum":["pull_request","branch"]},"source_value":{"type":"string"},"github_repository_owner":{"type":"string"},"github_repository_name":{"type":"string"},"github_pr_number":{"type":"integer","minimum":1},"github_pr_node_id":{"type":"string","nullable":true},"github_pr_url":{"type":"string","nullable":true},"github_branch_name":{"type":"string"},"github_head_sha":{"type":"string"},"github_base_branch_name":{"type":"string"},"github_author_login":{"type":"string","nullable":true},"github_author_id":{"type":"string","nullable":true},"managed_pull_request":{"type":"boolean"},"github_merge_commit_sha":{"type":"string","nullable":true},"last_error":{"type":"string","nullable":true},"tracked_by":{"type":"object","nullable":true,"additionalProperties":true},"untracked_by":{"type":"object","nullable":true,"additionalProperties":true},"tracked_at":{"type":"string","format":"date-time"},"refreshed_at":{"type":"string","format":"date-time","nullable":true},"untracked_at":{"type":"string","format":"date-time","nullable":true},"abandoned_at":{"type":"string","format":"date-time","nullable":true},"merged_at":{"type":"string","format":"date-time","nullable":true},"created_at":{"type":"string","format":"date-time"},"updated_at":{"type":"string","format":"date-time"}}},"VcsMergePolicy":{"type":"object","required":["virtual_repository_id","merge_authority","merge_authority_version","merge_policy_version","queue_validation_mode","queue_concurrency","auto_land_enabled","github_primary_eligible","switch_blockers"],"properties":{"virtual_repository_id":{"type":"string","nullable":true},"merge_authority":{"type":"string","enum":["vex_primary","github_primary"]},"merge_authority_version":{"type":"integer","minimum":1},"merge_policy_version":{"type":"integer","minimum":1},"queue_validation_mode":{"type":"string","enum":["top_only","per_pr"]},"queue_concurrency":{"type":"integer","minimum":1,"maximum":20},"auto_land_enabled":{"type":"boolean"},"github_primary_eligible":{"type":"boolean"},"switch_blockers":{"type":"array","items":{"type":"string"}}}},"VcsDiffGithubProjection":{"type":"object","required":["diff_position","sync_status","status_label","status_tone","needs_repair"],"properties":{"review_id":{"type":"string","nullable":true},"diff_position":{"type":"integer","minimum":1},"projected_branch_name":{"type":"string","nullable":true},"base_branch_name":{"type":"string","nullable":true},"github_pr_number":{"type":"integer","nullable":true},"github_pr_state":{"type":"string","nullable":true},"head_sha":{"type":"string","nullable":true},"github_merge_commit_sha":{"type":"string","nullable":true},"sync_status":{"type":"string","enum":["pending","synced","drifted","error"]},"status_label":{"type":"string"},"status_tone":{"type":"string","enum":["success","danger","warning","default"]},"needs_repair":{"type":"boolean"},"drift_reason":{"type":"string","nullable":true},"last_error":{"type":"string","nullable":true}}},"VcsStackGithubProjection":{"type":"object","required":["enabled","sync_status","status_label","status_tone","needs_repair","drifted","github_repository","target_branch","tracked_members","diffs"],"properties":{"enabled":{"type":"boolean"},"sync_status":{"type":"string","enum":["pending","synced","drifted","error"]},"status_label":{"type":"string"},"status_tone":{"type":"string","enum":["success","danger","warning","default"]},"needs_repair":{"type":"boolean"},"drift_reason":{"type":"string","nullable":true},"drifted":{"type":"boolean"},"github_repository":{"type":"string"},"target_branch":{"type":"string"},"last_synced_generation":{"type":"integer","nullable":true},"last_synced_at":{"type":"string","format":"date-time","nullable":true},"last_error":{"type":"string","nullable":true},"tracked_members":{"type":"array","items":{"$ref":"#/components/schemas/VcsTrackedGithubStackMember"}},"diffs":{"type":"array","items":{"$ref":"#/components/schemas/VcsDiffGithubProjection"}}}},"VcsStackBase":{"type":"object","required":["id","target_branch","title","status","generation","restack_state","restack_required","selected_repo_kind","github_backed","default_land_method","draft","reviewers","landable"],"properties":{"id":{"type":"string"},"number":{"type":"integer","minimum":1,"nullable":true},"reference":{"type":"string","nullable":true},"target_branch":{"type":"string"},"title":{"type":"string"},"status":{"type":"string","enum":["open","landed","abandoned"]},"submit_message":{"type":"string","nullable":true},"generation":{"type":"integer","minimum":1},"restack_state":{"type":"string","enum":["clean","restack_required"]},"restack_required":{"type":"boolean"},"selected_repo_kind":{"type":"string","enum":["native","github_backed"]},"github_backed":{"type":"boolean"},"default_land_method":{"type":"string","enum":["squash","rebase"]},"draft":{"type":"boolean"},"reviewers":{"type":"array","items":{"$ref":"#/components/schemas/VcsStackReviewer"}},"landable":{"type":"boolean"},"created_at":{"type":"string","format":"date-time"},"created_at_label":{"type":"string"},"updated_at":{"type":"string","format":"date-time"},"updated_at_label":{"type":"string"},"landed_at":{"type":"string","format":"date-time","nullable":true},"landed_at_label":{"type":"string","nullable":true},"review_count_label":{"type":"string"},"open_review_count_label":{"type":"string"},"requested_changes_count_label":{"type":"string"},"landing_action_label":{"type":"string"},"blocker_count_label":{"type":"string"},"created_by":{"oneOf":[{"$ref":"#/components/schemas/VcsStackUser"},{"type":"null"}]},"landed_by":{"oneOf":[{"$ref":"#/components/schemas/VcsStackUser"},{"type":"null"}]},"landed_authority":{"type":"string","enum":["vex_primary","github_primary"],"nullable":true},"github_merge_commit_sha":{"type":"string","nullable":true},"github_merge_method":{"type":"string","nullable":true},"github_merged_by_login":{"type":"string","nullable":true}}},"VcsStackSummary":{"allOf":[{"$ref":"#/components/schemas/VcsStackBase"},{"type":"object","required":["reviews"],"properties":{"reviews":{"type":"array","items":{"$ref":"#/components/schemas/VcsStackReviewSummary"}}}}]},"VcsStack":{"allOf":[{"$ref":"#/components/schemas/VcsStackBase"},{"type":"object","required":["tracked_members","reviews"],"properties":{"github_projection":{"oneOf":[{"$ref":"#/components/schemas/VcsStackGithubProjection"},{"type":"null"}]},"tracked_members":{"type":"array","items":{"$ref":"#/components/schemas/VcsTrackedGithubStackMember"}},"merge_policy":{"oneOf":[{"$ref":"#/components/schemas/VcsMergePolicy"},{"type":"null"}]},"reviews":{"type":"array","items":{"$ref":"#/components/schemas/VcsStackReview"}}}}]},"VcsStackCounts":{"type":"object","required":["open","landed","abandoned","all"],"properties":{"open":{"type":"integer","minimum":0},"landed":{"type":"integer","minimum":0},"abandoned":{"type":"integer","minimum":0},"all":{"type":"integer","minimum":0}}},"VcsStacksResponse":{"type":"object","required":["stacks","counts","visible_count_label"],"properties":{"stacks":{"type":"array","items":{"$ref":"#/components/schemas/VcsStackSummary"}},"counts":{"$ref":"#/components/schemas/VcsStackCounts"},"visible_count_label":{"type":"string"}}},"VcsStackDetailsResponse":{"type":"object","required":["stacks","counts","visible_count_label"],"properties":{"stacks":{"type":"array","items":{"$ref":"#/components/schemas/VcsStack"}},"counts":{"$ref":"#/components/schemas/VcsStackCounts"},"visible_count_label":{"type":"string"}}},"VcsStackVoteResponse":{"type":"object","required":["review","vote"],"properties":{"review":{"$ref":"#/components/schemas/VcsStackReview"},"vote":{"$ref":"#/components/schemas/VcsStackVote"}}},"VcsStackLandResponse":{"type":"object","required":["ok","stack","landed_reviews"],"properties":{"ok":{"type":"boolean","const":true},"stack":{"$ref":"#/components/schemas/VcsStack"},"landed_reviews":{"type":"array","items":{"$ref":"#/components/schemas/VcsStackReview"}}}},"VcsStackLandPreviewReview":{"type":"object","required":["id","change_key","position","title","accepted","requested_changes"],"properties":{"id":{"type":"string"},"change_key":{"type":"string"},"position":{"type":"integer","minimum":1},"title":{"type":"string"},"commit_id":{"type":"string","nullable":true},"base_commit_id":{"type":"string","nullable":true},"checks_status":{"type":"string","enum":["absent","passing","failing","pending"],"nullable":true},"accepted":{"type":"boolean"},"requested_changes":{"type":"boolean"},"fast_forward":{"type":"boolean"},"merge_required":{"type":"boolean"}}},"VcsStackLandPreview":{"type":"object","required":["stack_id","target_branch","method","current_tip","resulting_tip","landable","blocked_reasons","landing_reviews","remaining_open_reviews"],"properties":{"stack_id":{"type":"string"},"target_branch":{"type":"string"},"method":{"type":"string","enum":["squash","rebase"]},"current_tip":{"type":"string","nullable":true},"resulting_tip":{"type":"string","nullable":true},"landable":{"type":"boolean"},"blocked_reasons":{"type":"array","items":{"type":"string"}},"landing_reviews":{"type":"array","items":{"$ref":"#/components/schemas/VcsStackLandPreviewReview"}},"remaining_open_reviews":{"type":"array","items":{"$ref":"#/components/schemas/VcsStackLandPreviewReview"}}}},"VcsStackLandPreviewResponse":{"type":"object","required":["preview"],"properties":{"preview":{"$ref":"#/components/schemas/VcsStackLandPreview"}}},"VirtualRepository":{"type":"object","required":["id","organization_id","organization_slug","organization_name","repository_id","repository_slug","repository_name","slug","name","description","root_path","icon_name","status","sync_provider_kind","sync_mode","sync_repository_owner","sync_repository_name","sync_repository_full_name","sync_remote_url","sync_remote_display_name","sync_auth_username","sync_auth_secret_id","sync_default_branch","github_app_installation_id","sync_source_bookmark","sync_target_branch","merge_authority","merge_authority_version","merge_policy_version","queue_validation_mode","queue_concurrency","auto_land_enabled","github_primary_eligible","sync_auto_enabled","sync_configured","sync_discover_cursor","projection_status","projection_version","projection_source_bookmark","effective_projection_source_bookmark","last_projected_source_commit_id","last_projected_virtual_commit_id","last_projected_git_sha","last_projection_error","last_sync_run_id","last_projected_at","last_projected_at_label","last_synced_at","last_synced_at_label","merge_policy_updated_at","merge_policy_updated_at_label","created_at","created_at_label","updated_at","updated_at_label"],"properties":{"id":{"type":"string"},"organization_id":{"type":"string"},"organization_slug":{"type":"string"},"organization_name":{"type":"string"},"repository_id":{"type":"string"},"repository_slug":{"type":"string"},"repository_name":{"type":"string"},"slug":{"type":"string"},"name":{"type":"string"},"description":{"type":"string","nullable":true},"root_path":{"type":"string"},"icon_name":{"type":"string"},"status":{"type":"string","enum":["active","archived"]},"sync_provider_kind":{"type":"string","enum":["none","github","git"]},"sync_mode":{"type":"string","enum":["pull","push","bidirectional"]},"sync_repository_owner":{"type":"string","nullable":true},"sync_repository_name":{"type":"string","nullable":true},"sync_repository_full_name":{"type":"string","nullable":true},"sync_remote_url":{"type":"string","nullable":true},"sync_remote_display_name":{"type":"string","nullable":true},"sync_auth_username":{"type":"string","nullable":true},"sync_auth_secret_id":{"type":"string","nullable":true},"sync_default_branch":{"type":"string","nullable":true},"github_app_installation_id":{"type":"string","nullable":true},"sync_source_bookmark":{"type":"string","nullable":true},"sync_target_branch":{"type":"string","nullable":true},"merge_authority":{"type":"string","enum":["vex_primary","github_primary"]},"merge_authority_version":{"type":"integer"},"merge_policy_version":{"type":"integer"},"queue_validation_mode":{"type":"string","enum":["top_only","per_pr"]},"queue_concurrency":{"type":"integer"},"auto_land_enabled":{"type":"boolean"},"github_primary_eligible":{"type":"boolean"},"sync_auto_enabled":{"type":"boolean"},"sync_configured":{"type":"boolean"},"sync_discover_cursor":{"type":"integer"},"projection_status":{"type":"string","enum":["pending","projecting","ready","failed","diverged"]},"projection_version":{"type":"integer"},"projection_source_bookmark":{"type":"string","nullable":true},"effective_projection_source_bookmark":{"type":"string"},"last_projected_source_commit_id":{"type":"string","nullable":true},"last_projected_virtual_commit_id":{"type":"string","nullable":true},"last_projected_git_sha":{"type":"string","nullable":true},"last_projection_error":{"type":"string","nullable":true},"last_sync_run_id":{"type":"string","nullable":true},"last_projected_at":{"type":"string","format":"date-time","nullable":true},"last_projected_at_label":{"type":"string","nullable":true},"last_synced_at":{"type":"string","format":"date-time","nullable":true},"last_synced_at_label":{"type":"string","nullable":true},"merge_policy_updated_at":{"type":"string","format":"date-time","nullable":true},"merge_policy_updated_at_label":{"type":"string","nullable":true},"created_at":{"type":"string","format":"date-time"},"created_at_label":{"type":"string","nullable":true},"updated_at":{"type":"string","format":"date-time"},"updated_at_label":{"type":"string","nullable":true}}},"VirtualRepositorySyncRun":{"type":"object","required":["id","organization_id","virtual_repository_id","creator_user_id","trigger_kind","status","kind","sync_provider_kind","sync_mode","source_bookmark","staging_bookmark","merge_commit_id","source_op_head_ids","source_commit_id","source_change_id","source_git_sha","target_repository_owner","target_repository_name","target_repository_full_name","target_branch","remote_url","remote_before_sha","remote_after_sha","github_before_sha","github_after_sha","force","pulled_commit_count","projected_commit_count","skipped_commit_count","error_message","metadata","log_lines","started_at","started_at_label","finished_at","finished_at_label","created_at","created_at_label","updated_at","updated_at_label"],"properties":{"id":{"type":"string"},"organization_id":{"type":"string"},"virtual_repository_id":{"type":"string"},"creator_user_id":{"type":"string","nullable":true},"trigger_kind":{"type":"string","enum":["manual","auto"]},"status":{"type":"string","enum":["queued","running","succeeded","failed","skipped","canceled"]},"kind":{"type":"string","enum":["pull_sync","push_projection","materialization"]},"sync_provider_kind":{"type":"string","enum":["github","git"]},"sync_mode":{"type":"string","enum":["pull","push","bidirectional"]},"source_bookmark":{"type":"string"},"staging_bookmark":{"type":"string","nullable":true},"merge_commit_id":{"type":"string","nullable":true},"source_op_head_ids":{"type":"array","items":{"type":"string"}},"source_commit_id":{"type":"string","nullable":true},"source_change_id":{"type":"string","nullable":true},"source_git_sha":{"type":"string","nullable":true},"target_repository_owner":{"type":"string"},"target_repository_name":{"type":"string"},"target_repository_full_name":{"type":"string"},"target_branch":{"type":"string"},"remote_url":{"type":"string"},"remote_before_sha":{"type":"string","nullable":true},"remote_after_sha":{"type":"string","nullable":true},"github_before_sha":{"type":"string","nullable":true},"github_after_sha":{"type":"string","nullable":true},"force":{"type":"boolean"},"pulled_commit_count":{"type":"integer"},"projected_commit_count":{"type":"integer"},"skipped_commit_count":{"type":"integer"},"error_message":{"type":"string","nullable":true},"metadata":{"type":"object","additionalProperties":true},"log_lines":{"type":"array","items":{"type":"object","required":["timestamp","level","message"],"properties":{"timestamp":{"type":"string"},"timestamp_label":{"type":"string"},"level":{"type":"string"},"message":{"type":"string"}}}},"started_at":{"type":"string","format":"date-time","nullable":true},"started_at_label":{"type":"string","nullable":true},"finished_at":{"type":"string","format":"date-time","nullable":true},"finished_at_label":{"type":"string","nullable":true},"created_at":{"type":"string","format":"date-time"},"created_at_label":{"type":"string","nullable":true},"updated_at":{"type":"string","format":"date-time"},"updated_at_label":{"type":"string","nullable":true}}},"OrganizationSummary":{"type":"object","required":["id","slug","name","logo_url","role","personal","member_count","pending_invitation_count","allow_author_self_review_on_main_repo","author_self_review_on_main_repo_effective","allow_author_self_review_on_home_repository","author_self_review_on_home_repository_effective","main_repository_slug","main_repository_display_name","home_repository_slug","home_repository_display_name","created_at","updated_at","created_at_label","updated_at_label"],"properties":{"id":{"type":"string"},"slug":{"type":"string"},"name":{"type":"string"},"logo_url":{"type":"string","nullable":true},"role":{"type":"string","nullable":true},"personal":{"type":"boolean"},"member_count":{"type":"integer","minimum":0},"pending_invitation_count":{"type":"integer","minimum":0},"allow_author_self_review_on_main_repo":{"type":"boolean"},"author_self_review_on_main_repo_effective":{"type":"boolean"},"allow_author_self_review_on_home_repository":{"type":"boolean"},"author_self_review_on_home_repository_effective":{"type":"boolean"},"main_repository_slug":{"type":"string"},"main_repository_display_name":{"type":"string"},"home_repository_slug":{"type":"string"},"home_repository_display_name":{"type":"string"},"created_at":{"type":"string","format":"date-time"},"updated_at":{"type":"string","format":"date-time"},"created_at_label":{"type":"string","nullable":true},"updated_at_label":{"type":"string","nullable":true}}},"WorkspaceSpace":{"type":"object","required":["id","organization_id","repository_id","repository_slug","slug","name","description","root_path","icon_name","status","sync_provider_kind","sync_mode","sync_repository_full_name","sync_status","sync_run_id","sync_error_message","can_retry_import","hidden","position","created_at","updated_at"],"properties":{"id":{"type":"string"},"organization_id":{"type":"string"},"repository_id":{"type":"string"},"repository_slug":{"type":"string"},"slug":{"type":"string"},"name":{"type":"string"},"description":{"type":"string","nullable":true},"root_path":{"type":"string"},"icon_name":{"type":"string","enum":["book-open","boxes","briefcase-business","code-xml","file-text","folder","folder-code","globe-2","lightbulb","panel-top","rocket","server","shield-check","sparkles","terminal"]},"status":{"type":"string","enum":["active","archived"]},"sync_provider_kind":{"type":"string","enum":["none","github","git"]},"sync_mode":{"type":"string","enum":["pull","push","bidirectional"]},"sync_repository_full_name":{"type":"string","nullable":true},"sync_status":{"type":"string","enum":["none","importing","failed","ready"]},"sync_run_id":{"type":"string","nullable":true},"sync_error_message":{"type":"string","nullable":true},"can_retry_import":{"type":"boolean"},"hidden":{"type":"boolean"},"position":{"type":"integer","nullable":true},"created_at":{"type":"string","format":"date-time"},"updated_at":{"type":"string","format":"date-time"}}}}},"tags":[{"name":"agent"},{"name":"artifacts"},{"name":"auth"},{"name":"bazel"},{"name":"cdn_spaces"},{"name":"ci"},{"name":"cli_releases"},{"name":"edge"},{"name":"email_verifications"},{"name":"execution"},{"name":"github_app"},{"name":"hosting"},{"name":"identity"},{"name":"jj"},{"name":"mcp"},{"name":"me"},{"name":"networking"},{"name":"observability"},{"name":"open_source_publish_contracts"},{"name":"openapi"},{"name":"org_invitations"},{"name":"organizations"},{"name":"personal_access_tokens"},{"name":"registry"},{"name":"relay"},{"name":"repository_access"},{"name":"repository_events"},{"name":"static_sites"},{"name":"virtual_repositories"},{"name":"waitlist_applications"}],"security":[{"bearerAuth":[]}]}