{"openapi":"3.2.0","info":{"title":"AirOS C2 API","version":"1.0.0","description":"OpenAPI paths aligned with **Air OS Api Summary.pdf** (REST tables from\n`scripts/generate_air_os_api_summary_pdf.py`). Narrative, WebSocket matrix,\nenums: `openapi_airos_c2_v1.md` (repo root).\n"},"servers":[{"url":"/","description":"Host root; REST under `/api/v1`, WebSocket at `/ws`."}],"security":[{"XAuthToken":[]}],"components":{"securitySchemes":{"XAuthToken":{"type":"apiKey","in":"header","name":"X-Auth-Token"}},"schemas":{"GeoPoint":{"type":"object","description":"Geographic point expressed in WGS84 coordinates and altitude.","required":["lat","lon","alt"],"properties":{"lat":{"type":"number","format":"double","description":"Latitude in decimal degrees.","minimum":-90,"maximum":90},"lon":{"type":"number","format":"double","description":"Longitude in decimal degrees.","minimum":-180,"maximum":180},"alt":{"type":"number","format":"double","description":"Altitude in meters above the configured vertical datum."}}},"GeoConstraintType":{"type":"string","description":"Geo constraint category.","enum":["noflight_zone","kill_zone","geo_fence","mission"]},"CircleGeoAreaGeometry":{"type":"object","description":"Circular geographical area.","required":["type","center","radiusM"],"properties":{"type":{"type":"string","enum":["circle"]},"center":{"$ref":"#/components/schemas/GeoPoint"},"radiusM":{"type":"number","format":"double","description":"Circle radius in meters.","exclusiveMinimum":0}}},"PolygonGeoAreaGeometry":{"type":"object","description":"Polygon geographical area.","required":["type","vertices"],"properties":{"type":{"type":"string","enum":["polygon"]},"vertices":{"type":"array","description":"Polygon vertices ordered around the boundary.","minItems":3,"items":{"$ref":"#/components/schemas/GeoPoint"}}}},"PointGeoAreaGeometry":{"type":"object","description":"Point geographical area.","required":["type","point"],"properties":{"type":{"type":"string","enum":["point"]},"point":{"$ref":"#/components/schemas/GeoPoint"}}},"GeometryShape":{"description":"Reusable geometry shape used by mission areas and geographic constraints.","oneOf":[{"$ref":"#/components/schemas/CircleGeoAreaGeometry"},{"$ref":"#/components/schemas/PolygonGeoAreaGeometry"},{"$ref":"#/components/schemas/PointGeoAreaGeometry"}],"discriminator":{"propertyName":"type"}},"GeoConstraintBase":{"type":"object","description":"Geographic constraint with area, category, and optional altitude band.","required":["constraintType","geometry"],"properties":{"name":{"type":"string","description":"Human-readable constraint name."},"constraintType":{"$ref":"#/components/schemas/GeoConstraintType"},"minAlt":{"type":"number","format":"double","description":"Minimum altitude in meters where the constraint applies."},"maxAlt":{"type":"number","format":"double","description":"Maximum altitude in meters where the constraint applies."},"geometry":{"$ref":"#/components/schemas/GeometryShape"}}},"GeoConstraint":{"allOf":[{"$ref":"#/components/schemas/GeoConstraintBase"},{"type":"object","required":["id"],"properties":{"id":{"type":"string","description":"Stable geo constraint identifier."}}}]},"GeoConstraintCreateRequest":{"$ref":"#/components/schemas/GeoConstraintBase"},"GeoConstraintUpdateRequest":{"$ref":"#/components/schemas/GeoConstraintBase"},"GeoConstraintCollectionResponse":{"type":"object","required":["items"],"properties":{"items":{"type":"array","items":{"$ref":"#/components/schemas/GeoConstraint"}}}},"OutpostType":{"type":"string","description":"Deployment type for the Outpost.","enum":["fixed","mobile","temporary","custom"]},"OutpostTechnicalHealthStatus":{"type":"string","description":"General technical health of the Outpost.","enum":["healthy","degraded","unhealthy","unknown"]},"OutpostReadinessStatus":{"type":"string","description":"General readiness state for operations.","enum":["ready","not_ready","maintenance","error","unknown"]},"OutpostAvailabilityStatus":{"type":"string","description":"Operational availability of the Outpost.","enum":["available","limited","unavailable","maintenance","unknown"]},"OutpostSiteFile":{"type":"object","description":"Site file available to C2 clients for the Outpost.","required":["id","name"],"properties":{"id":{"type":"string","description":"Stable site file identifier."},"name":{"type":"string","description":"Human-readable file name."},"fileType":{"type":"string","description":"File role or media type, deployment-defined."},"uri":{"type":"string","description":"Retrieval URI or local catalog reference."},"version":{"type":"string","description":"File version or revision label."}}},"Outpost":{"type":"object","description":"AirOS field deployment asset controlled by C2.","required":["name","location","siteId","outpostType","hubCount","interceptorsCount","technicalHealthStatus","readinessStatus","availabilityStatus"],"properties":{"name":{"type":"string","description":"Human-readable Outpost name."},"location":{"$ref":"#/components/schemas/GeoPoint"},"siteId":{"type":"string","description":"Site identifier that owns this Outpost."},"outpostType":{"$ref":"#/components/schemas/OutpostType"},"hubCount":{"type":"integer","format":"int32","description":"Number of hubs connected to this Outpost.","minimum":0},"interceptorsCount":{"type":"integer","format":"int32","description":"Number of interceptors associated with this Outpost.","minimum":0},"technicalHealthStatus":{"$ref":"#/components/schemas/OutpostTechnicalHealthStatus"},"readinessStatus":{"$ref":"#/components/schemas/OutpostReadinessStatus"},"availabilityStatus":{"$ref":"#/components/schemas/OutpostAvailabilityStatus"},"assignedOperationalSector":{"type":"string","description":"Operational sector assigned to this Outpost."},"alerts":{"type":"array","description":"Active alerts associated with this Outpost.","items":{"type":"string"}},"siteFiles":{"type":"array","description":"Site files available for this Outpost.","items":{"$ref":"#/components/schemas/OutpostSiteFile"}},"controllingOperatorStationIds":{"type":"array","description":"Operator station identifiers currently controlling this Outpost.","items":{"type":"string"}},"activeFlightRestrictionIds":{"type":"array","description":"Active flight restriction identifiers, typically geo constraint IDs.","items":{"type":"string"}},"operationalZoneIds":{"type":"array","description":"Operational zone identifiers active for this Outpost.","items":{"type":"string"}},"relatedMissionIds":{"type":"array","description":"Mission identifiers related to this Outpost.","items":{"type":"string"}},"lut":{"type":"integer","format":"int64","minimum":0,"description":"Last update time as Unix epoch time in seconds."},"softwareVersion":{"type":"string","description":"Software version currently deployed on this Outpost."}}},"OutpostCollectionResponse":{"type":"object","required":["items"],"properties":{"items":{"type":"array","items":{"$ref":"#/components/schemas/Outpost"}}}},"Site":{"type":"object","description":"AirOS site entity grouping geo constraints, landing points, and operational context.","required":["id","name","location"],"properties":{"id":{"type":"string","description":"Stable site identifier."},"name":{"type":"string","description":"Human-readable site name."},"location":{"$ref":"#/components/schemas/GeoPoint"},"lut":{"type":"integer","format":"int64","minimum":0,"description":"Last update time as Unix epoch time in seconds."},"geoConstraintIds":{"type":"array","description":"Geo constraint identifiers related to this site.","items":{"type":"string"}},"landingPoints":{"type":"array","description":"Landing points related to this site.","items":{"$ref":"#/components/schemas/SiteDesignatedLandingPoint"}}}},"SiteCollectionResponse":{"type":"object","required":["items"],"properties":{"items":{"type":"array","items":{"$ref":"#/components/schemas/Site"}}}},"Target":{"type":"object","description":"Target entity known to AirOS and exposed to C2 clients.","required":["id","lut","relatedSiteId","type","status","source","identity","position","creationTime"],"properties":{"id":{"type":"string","description":"Stable target identifier."},"lut":{"type":"integer","format":"int64","minimum":0,"description":"Last update time as Unix epoch time in seconds."},"relatedSiteId":{"type":"string","description":"Site identifier related to this target."},"type":{"type":"string","description":"Target type reported by the source system."},"status":{"type":"string","description":"Target lifecycle or tracking status."},"source":{"type":"string","description":"Source system or sensor that reported the target."},"identity":{"type":"string","description":"Target identity classification reported by the source system."},"position":{"$ref":"#/components/schemas/GeoPoint"},"creationTime":{"type":"integer","format":"int64","minimum":0,"description":"Target creation time as Unix epoch time in seconds."}}},"TargetCollectionResponse":{"type":"object","required":["items"],"properties":{"items":{"type":"array","items":{"$ref":"#/components/schemas/Target"}}}},"MissionType":{"type":"string","description":"Mission type.","enum":["attack","investigation","flyto"]},"MissionState":{"type":"string","description":"Mission execution state.","enum":["ready","executing","finished","paused","aborted"]},"MissionHeightType":{"type":"string","description":"Reference mode for mission heights.","enum":["absolute","relative","terrain"]},"MissionPlatformRoutes":{"type":"object","description":"Route segments assigned to one platform for a mission.","required":["outbound","mission","return"],"properties":{"outbound":{"type":"array","description":"Outbound route from takeoff to the mission area.","items":{"$ref":"#/components/schemas/GeoPoint"}},"mission":{"type":"array","description":"Route inside the mission area.","items":{"$ref":"#/components/schemas/GeoPoint"}},"return":{"type":"array","description":"Return route from mission area to landing point.","items":{"$ref":"#/components/schemas/GeoPoint"}}}},"MissionPlatformRoute":{"type":"object","description":"Route assignment for one platform.","required":["platformId","routes"],"properties":{"platformId":{"type":"string","description":"Platform identifier."},"routes":{"$ref":"#/components/schemas/MissionPlatformRoutes"}}},"MissionPlatformTakeoffHeight":{"type":"object","description":"Takeoff altitude assignment for one platform.","required":["platformId","takeoffHeight"],"properties":{"platformId":{"type":"string","description":"Platform identifier."},"takeoffHeight":{"type":"number","format":"double","description":"Takeoff altitude."}}},"Mission":{"type":"object","description":"Mission plan and execution state.","required":["missionId","lut","startTime","name","createdBy","creationTime","outpostId","missionType","missionState","routes","takeoffHeight","missionHeightType","missionArea","relatedPlatforms"],"properties":{"missionId":{"type":"string","description":"Stable mission identifier."},"lut":{"type":"integer","format":"int64","minimum":0,"description":"Last update time as Unix epoch time in seconds."},"startTime":{"type":"integer","format":"int64","minimum":0,"description":"Planned or actual mission start time as Unix epoch time in seconds."},"name":{"type":"string","description":"Human-readable mission name."},"createdBy":{"type":"string","description":"User or system that created the mission."},"creationTime":{"type":"integer","format":"int64","minimum":0,"description":"Mission creation time as Unix epoch time in seconds."},"outpostId":{"type":"string","description":"Outpost identifier related to this mission."},"missionType":{"$ref":"#/components/schemas/MissionType"},"missionState":{"$ref":"#/components/schemas/MissionState"},"routes":{"type":"array","description":"Route assignments by platform.","items":{"$ref":"#/components/schemas/MissionPlatformRoute"}},"takeoffHeight":{"type":"array","description":"Takeoff altitude assignments by platform.","items":{"$ref":"#/components/schemas/MissionPlatformTakeoffHeight"}},"missionHeightType":{"$ref":"#/components/schemas/MissionHeightType"},"missionArea":{"$ref":"#/components/schemas/GeometryShape"},"relatedPlatforms":{"type":"array","description":"Platform identifiers related to this mission.","items":{"type":"string"}}}},"PlanMission":{"type":"object","description":"Request payload for planning a mission.","required":["missionType","missionArea","assignedPlatforms","platformsCount","targets","minimalTakeoffAltitude","altitudeType"],"properties":{"missionType":{"$ref":"#/components/schemas/MissionType"},"missionArea":{"$ref":"#/components/schemas/GeometryShape"},"assignedPlatforms":{"type":"array","description":"Platform identifiers assigned to the mission. May be empty.","items":{"type":"string"}},"platformsCount":{"type":"integer","format":"int32","minimum":0,"description":"Number of platforms requested for the mission."},"targets":{"type":"array","description":"Target identifiers assigned to the mission. May be empty.","items":{"type":"string"}},"minimalTakeoffAltitude":{"type":"number","format":"double","description":"Minimal takeoff altitude."},"altitudeType":{"$ref":"#/components/schemas/MissionHeightType"}}},"MissionCollectionResponse":{"type":"object","required":["items"],"properties":{"items":{"type":"array","items":{"$ref":"#/components/schemas/Mission"}}}},"DronesHubDoorState":{"type":"string","description":"Door state of the Drones Hub.","enum":["close","open"],"default":"close"},"DronesHubStatus":{"type":"string","description":"Operational state of the Drones Hub.","enum":["ready","failure","off","maintenance"]},"DronesHubSlotState":{"type":"string","description":"Occupancy state of a slot within the Drones Hub.","enum":["occupied","not_occupied"]},"DronesHubChargingStatus":{"type":"string","description":"Charging state for the interceptor in a slot.","enum":["charging","charged","not_charging","fault","unknown"]},"DronesHubSlot":{"type":"object","description":"Slot or capsule entry inside a Drones Hub.","required":["slotId","state"],"properties":{"slotId":{"type":"string","description":"Stable slot identifier."},"platformId":{"type":"string","description":"Platform assigned to this slot."},"state":{"$ref":"#/components/schemas/DronesHubSlotState"},"chargingStatus":{"$ref":"#/components/schemas/DronesHubChargingStatus"}}},"DronesHub":{"type":"object","description":"Drones Hub entity with slots, door state, and operational status.","required":["id","name","siteId","outpostId","doorsState","status","slots"],"properties":{"id":{"type":"string","description":"Stable Drones Hub identifier."},"name":{"type":"string","description":"Human-readable Drones Hub name."},"lut":{"type":"integer","format":"int64","minimum":0,"description":"Last update time as Unix epoch time in seconds."},"siteId":{"type":"string","description":"Site identifier inherited through the Outpost that owns this Drones Hub."},"outpostId":{"type":"string","description":"Outpost identifier that owns this Drones Hub."},"doorsState":{"$ref":"#/components/schemas/DronesHubDoorState"},"malfunctions":{"type":"array","description":"Malfunction list for the Drones Hub.","items":{"type":"string"}},"status":{"$ref":"#/components/schemas/DronesHubStatus"},"slots":{"type":"array","description":"Slot list with per-slot interceptor and charging state.","items":{"$ref":"#/components/schemas/DronesHubSlot"}}}},"DronesHubCollectionResponse":{"type":"object","required":["items"],"properties":{"items":{"type":"array","items":{"$ref":"#/components/schemas/DronesHub"}}}},"PlatformType":{"type":"string","description":"Platform mission role.","enum":["isr","attack","custom"]},"PlatformReadinessStatus":{"type":"string","description":"Platform readiness state.","enum":["ready","failure","off","power_up","unknown"]},"PlatformGnssType":{"type":"string","description":"GNSS receiver type or solution type.","enum":["gnss","rtk","custom","unknown"]},"PlatformGnssSource":{"type":"string","description":"GNSS source origin.","enum":["internal","external","fused","unknown"]},"PlatformGnssMode":{"type":"string","description":"GNSS fix mode.","enum":["none","2d","3d","float","fixed","unknown"]},"PlatformGnssStatus":{"type":"string","description":"GNSS status.","enum":["valid","invalid","degraded","unknown"]},"PlatformFlightMode":{"type":"string","description":"Flight mode.","enum":["manual","guided","alt_ctl","pos_ctl","auto","loiter","rtl","landing","takeoff","custom"]},"PlatformOrientation":{"type":"object","description":"Platform attitude / orientation.","properties":{"yaw":{"type":"number","format":"double"},"pitch":{"type":"number","format":"double"},"roll":{"type":"number","format":"double"}}},"PlatformGnss":{"type":"object","description":"GNSS data for the platform.","properties":{"type":{"$ref":"#/components/schemas/PlatformGnssType"},"source":{"$ref":"#/components/schemas/PlatformGnssSource"},"mode":{"$ref":"#/components/schemas/PlatformGnssMode"},"satellites":{"type":"integer","format":"int32","minimum":0,"description":"Number of satellites used by the GNSS solution."},"hdop":{"type":"number","format":"double","description":"Horizontal dilution of precision."},"hacc":{"type":"number","format":"double","description":"Horizontal accuracy in meters."},"status":{"$ref":"#/components/schemas/PlatformGnssStatus"}}},"PlatformBattery":{"type":"object","description":"Battery telemetry for the Platform.","properties":{"batteryPercentage":{"type":"number","format":"double","description":"Battery percentage or state of charge."},"batteryVoltage":{"type":"number","format":"double","description":"Battery voltage."},"batteryAmper":{"type":"number","format":"double","description":"Battery current in amperes."},"batteryTemperature":{"type":"number","format":"double","description":"Battery temperature."},"remainingBatteryTime":{"type":"number","format":"double","description":"Estimated remaining battery time in minutes."}}},"Platform":{"type":"object","description":"Autonomous platform entity.","required":["id","siteId","status"],"properties":{"id":{"type":"string","description":"Stable platform identifier."},"lut":{"type":"integer","format":"int64","minimum":0,"description":"Last update time as Unix epoch time in seconds."},"tailNumber":{"type":"string","description":"Platform tail number."},"softwareVersion":{"type":"string","description":"Platform software version."},"capabilities":{"type":"array","description":"Platform capabilities.","items":{"$ref":"#/components/schemas/PlatformType"}},"location":{"$ref":"#/components/schemas/GeoPoint"},"siteId":{"type":"string","description":"Site identifier inherited through the Drones Hub that owns this Platform."},"hubId":{"type":"string","description":"Owning Drones Hub identifier."},"status":{"$ref":"#/components/schemas/PlatformReadinessStatus"},"battery":{"$ref":"#/components/schemas/PlatformBattery"},"missionId":{"type":"string","description":"Related mission identifier."},"orientation":{"$ref":"#/components/schemas/PlatformOrientation"},"gnssStatus":{"$ref":"#/components/schemas/PlatformGnss"},"flightSpeed":{"type":"number","format":"double","description":"Current flight speed."},"faults":{"type":"array","items":{"type":"string"}},"flightMode":{"$ref":"#/components/schemas/PlatformFlightMode"},"autonomousMode":{"type":"boolean","description":"Whether the Platform is currently in autonomous mode."},"rangeToHomePosition":{"type":"number","format":"double","description":"Range to home position in meters."},"target":{"type":"string","description":"Current target identifier."},"targets":{"type":"array","description":"Target identifiers related to this Platform.","items":{"type":"string"}},"nextWayPoint":{"$ref":"#/components/schemas/GeoPoint","description":"Next planned waypoint."},"communicationQuality":{"type":"integer","format":"int32","description":"Communication quality indicator."},"payloads":{"type":"array","description":"Payload identifiers associated with this Platform.","items":{"type":"string"}}}},"PlatformCollectionResponse":{"type":"object","required":["items"],"properties":{"items":{"type":"array","items":{"$ref":"#/components/schemas/Platform"}}}}}},"paths":{"/api/v1/drones-hubs":{"get":{"operationId":"getDronesHubs","summary":"List drones hubs","tags":["Drones Hubs"],"security":[{"XAuthToken":[]}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DronesHubCollectionResponse"}}}}}}},"/api/v1/drones-hubs/{dronesHubId}":{"get":{"operationId":"getDronesHubsDronesHubId","summary":"Get drones hub","tags":["Drones Hubs"],"security":[{"XAuthToken":[]}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DronesHub"}}}}}}},"/api/v1/drones-hubs/{dronesHubId}/assignment":{"put":{"operationId":"putDronesHubsDronesHubIdAssignment","summary":"Assign platform to hub","tags":["Drones Hubs"],"security":[{"XAuthToken":[]}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object"}}}},"responses":{"200":{"description":"Success"}}}},"/api/v1/drones-hubs/{dronesHubId}/commands/close":{"post":{"operationId":"postDronesHubsDronesHubIdCommandsClose","summary":"Close drones hub","tags":["Drones Hubs"],"security":[{"XAuthToken":[]}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object"}}}},"responses":{"200":{"description":"Success"}}}},"/api/v1/drones-hubs/{dronesHubId}/commands/open":{"post":{"operationId":"postDronesHubsDronesHubIdCommandsOpen","summary":"Open drones hub","tags":["Drones Hubs"],"security":[{"XAuthToken":[]}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object"}}}},"responses":{"200":{"description":"Success"}}}},"/api/v1/drones-hubs/{dronesHubId}/status":{"get":{"operationId":"getDronesHubsDronesHubIdStatus","summary":"Get status","tags":["Drones Hubs"],"security":[{"XAuthToken":[]}],"responses":{"200":{"description":"Success"}}}},"/api/v1/geo-constraints":{"get":{"operationId":"getGeoConstraints","summary":"List constraints","tags":["Geo Constraints"],"security":[{"XAuthToken":[]}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/GeoConstraintCollectionResponse"}}}}}},"post":{"operationId":"postGeoConstraints","summary":"Create constraint","tags":["Geo Constraints"],"security":[{"XAuthToken":[]}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/GeoConstraintCreateRequest"}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/GeoConstraint"}}}}}}},"/api/v1/geo-constraints/{geoConstraintId}":{"get":{"operationId":"getGeoConstraintsGeoConstraintId","summary":"Get constraint","tags":["Geo Constraints"],"security":[{"XAuthToken":[]}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/GeoConstraint"}}}}}},"put":{"operationId":"putGeoConstraintsGeoConstraintId","summary":"Update constraint","tags":["Geo Constraints"],"security":[{"XAuthToken":[]}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/GeoConstraintUpdateRequest"}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/GeoConstraint"}}}}}},"delete":{"operationId":"deleteGeoConstraintsGeoConstraintId","summary":"Delete constraint","tags":["Geo Constraints"],"security":[{"XAuthToken":[]}],"responses":{"204":{"description":"Deleted"}}}},"/api/v1/logs/drones-hubs/{dronesHubId}":{"get":{"operationId":"getLogsDronesHubsDronesHubId","summary":"Get drones hub logs","tags":["Logs"],"security":[{"XAuthToken":[]}],"responses":{"200":{"description":"Success"}}}},"/api/v1/logs/outpost/{outpostId}":{"get":{"operationId":"getLogsOutpostOutpostId","summary":"Get Outpost logs","tags":["Logs"],"security":[{"XAuthToken":[]}],"responses":{"200":{"description":"Success"}}}},"/api/v1/logs/platforms/{platformId}":{"get":{"operationId":"getLogsPlatformsPlatformId","summary":"Get platform logs","tags":["Logs"],"security":[{"XAuthToken":[]}],"responses":{"200":{"description":"Success"}}}},"/api/v1/logs/sites/{siteId}":{"get":{"operationId":"getLogsSitesSiteId","summary":"Get site logs","tags":["Logs"],"security":[{"XAuthToken":[]}],"responses":{"200":{"description":"Success"}}}},"/api/v1/logs/system":{"get":{"operationId":"getLogsSystem","summary":"Get system logs","tags":["Logs"],"security":[{"XAuthToken":[]}],"responses":{"200":{"description":"Success"}}}},"/api/v1/meteorology/data":{"get":{"operationId":"getMeteorologyData","summary":"Get meteorological data","tags":["Meteorology"],"security":[{"XAuthToken":[]}],"responses":{"200":{"description":"Success"}}}},"/api/v1/missions":{"get":{"operationId":"getMissions","summary":"List missions","tags":["Missions"],"security":[{"XAuthToken":[]}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/MissionCollectionResponse"}}}}}}},"/api/v1/missions/plan":{"post":{"operationId":"postMissionsPlan","summary":"Plan mission","tags":["Missions"],"security":[{"XAuthToken":[]}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PlanMission"}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Mission"}}}}}}},"/api/v1/missions/{missionId}":{"get":{"operationId":"getMissionsMissionId","summary":"Get mission","tags":["Missions"],"security":[{"XAuthToken":[]}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Mission"}}}}}},"put":{"operationId":"putMissionsMissionId","summary":"Replace mission plan","tags":["Missions"],"security":[{"XAuthToken":[]}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Mission"}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Mission"}}}}}},"delete":{"operationId":"deleteMissionsMissionId","summary":"Delete mission","tags":["Missions"],"security":[{"XAuthToken":[]}],"responses":{"204":{"description":"Deleted"}}}},"/api/v1/missions/{missionId}/abort":{"post":{"operationId":"postMissionsMissionIdAbort","summary":"Abort mission","tags":["Missions"],"security":[{"XAuthToken":[]}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object"}}}},"responses":{"200":{"description":"Success"}}}},"/api/v1/missions/{missionId}/pause":{"post":{"operationId":"postMissionsMissionIdPause","summary":"Pause mission","tags":["Missions"],"security":[{"XAuthToken":[]}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object"}}}},"responses":{"200":{"description":"Success"}}}},"/api/v1/missions/{missionId}/resume":{"post":{"operationId":"postMissionsMissionIdResume","summary":"Resume mission","tags":["Missions"],"security":[{"XAuthToken":[]}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object"}}}},"responses":{"200":{"description":"Success"}}}},"/api/v1/missions/{missionId}/start":{"post":{"operationId":"postMissionsMissionIdStart","summary":"Start mission","tags":["Missions"],"security":[{"XAuthToken":[]}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object"}}}},"responses":{"200":{"description":"Success"}}}},"/api/v1/missions/{missionId}/stop":{"post":{"operationId":"postMissionsMissionIdStop","summary":"Stop mission","tags":["Missions"],"security":[{"XAuthToken":[]}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object"}}}},"responses":{"200":{"description":"Success"}}}},"/api/v1/outpost":{"get":{"operationId":"getOutpost","summary":"List Outposts","tags":["Outpost"],"security":[{"XAuthToken":[]}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/OutpostCollectionResponse"}}}}}},"post":{"operationId":"postOutpost","summary":"Create Outpost","tags":["Outpost"],"security":[{"XAuthToken":[]}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Outpost"}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Outpost"}}}}}}},"/api/v1/outpost/{outpostId}":{"get":{"operationId":"getOutpostOutpostId","summary":"Get Outpost","tags":["Outpost"],"security":[{"XAuthToken":[]}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Outpost"}}}}}},"put":{"operationId":"putOutpostOutpostId","summary":"Update Outpost","tags":["Outpost"],"security":[{"XAuthToken":[]}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Outpost"}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Outpost"}}}}}},"delete":{"operationId":"deleteOutpostOutpostId","summary":"Delete Outpost","tags":["Outpost"],"security":[{"XAuthToken":[]}],"responses":{"204":{"description":"Deleted"}}}},"/api/v1/outpost/{outpostId}/designated-landing-points":{"get":{"operationId":"getOutpostOutpostIdDesignatedLandingPoints","summary":"List landing points","tags":["Outpost"],"security":[{"XAuthToken":[]}],"responses":{"200":{"description":"Success"}}},"post":{"operationId":"postOutpostOutpostIdDesignatedLandingPoints","summary":"Create landing point","tags":["Outpost"],"security":[{"XAuthToken":[]}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object"}}}},"responses":{"200":{"description":"Success"}}}},"/api/v1/outpost/{outpostId}/designated-landing-points/{pointId}":{"put":{"operationId":"putOutpostOutpostIdDesignatedLandingPointsPointId","summary":"Update landing point","tags":["Outpost"],"security":[{"XAuthToken":[]}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object"}}}},"responses":{"200":{"description":"Success"}}},"delete":{"operationId":"deleteOutpostOutpostIdDesignatedLandingPointsPointId","summary":"Delete landing point","tags":["Outpost"],"security":[{"XAuthToken":[]}],"responses":{"204":{"description":"Deleted"}}}},"/api/v1/platforms":{"get":{"operationId":"getPlatforms","summary":"List platforms","tags":["Platforms"],"security":[{"XAuthToken":[]}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PlatformCollectionResponse"}}}}}}},"/api/v1/platforms/{platformId}":{"get":{"operationId":"getPlatformsPlatformId","summary":"Get platform","tags":["Platforms"],"security":[{"XAuthToken":[]}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Platform"}}}}}}},"/api/v1/platforms/{platformId}/commands/change-mode":{"post":{"operationId":"postPlatformsPlatformIdCommandsChangeMode","summary":"Change mode","tags":["Platforms"],"security":[{"XAuthToken":[]}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object"}}}},"responses":{"200":{"description":"Success"}}}},"/api/v1/platforms/{platformId}/commands/hover":{"post":{"operationId":"postPlatformsPlatformIdCommandsHover","summary":"Hover","tags":["Platforms"],"security":[{"XAuthToken":[]}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object"}}}},"responses":{"200":{"description":"Success"}}}},"/api/v1/platforms/{platformId}/commands/land":{"post":{"operationId":"postPlatformsPlatformIdCommandsLand","summary":"Land","tags":["Platforms"],"security":[{"XAuthToken":[]}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object"}}}},"responses":{"200":{"description":"Success"}}}},"/api/v1/platforms/{platformId}/commands/loiter":{"post":{"operationId":"postPlatformsPlatformIdCommandsLoiter","summary":"Loiter","tags":["Platforms"],"security":[{"XAuthToken":[]}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object"}}}},"responses":{"200":{"description":"Success"}}}},"/api/v1/platforms/{platformId}/commands/pause":{"post":{"operationId":"postPlatformsPlatformIdCommandsPause","summary":"Pause","tags":["Platforms"],"security":[{"XAuthToken":[]}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object"}}}},"responses":{"200":{"description":"Success"}}}},"/api/v1/platforms/{platformId}/commands/resume":{"post":{"operationId":"postPlatformsPlatformIdCommandsResume","summary":"Resume","tags":["Platforms"],"security":[{"XAuthToken":[]}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object"}}}},"responses":{"200":{"description":"Success"}}}},"/api/v1/platforms/{platformId}/commands/rtl":{"post":{"operationId":"postPlatformsPlatformIdCommandsRtl","summary":"Return to launch","tags":["Platforms"],"security":[{"XAuthToken":[]}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object"}}}},"responses":{"200":{"description":"Success"}}}},"/api/v1/platforms/{platformId}/commands/takeoff":{"post":{"operationId":"postPlatformsPlatformIdCommandsTakeoff","summary":"Takeoff","tags":["Platforms"],"security":[{"XAuthToken":[]}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object"}}}},"responses":{"200":{"description":"Success"}}}},"/api/v1/platforms/{platformId}/payloads":{"get":{"operationId":"getPlatformsPlatformIdPayloads","summary":"List platform payloads","tags":["Platforms"],"security":[{"XAuthToken":[]}],"responses":{"200":{"description":"Success"}}}},"/api/v1/platforms/{platformId}/payloads/{payloadId}/commands/look-down":{"post":{"operationId":"postPlatformsPlatformIdPayloadsPayloadIdCommandsLookDown","summary":"Look down","tags":["Platforms"],"security":[{"XAuthToken":[]}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object"}}}},"responses":{"200":{"description":"Success"}}}},"/api/v1/platforms/{platformId}/payloads/{payloadId}/commands/pan-left":{"post":{"operationId":"postPlatformsPlatformIdPayloadsPayloadIdCommandsPanLeft","summary":"Gimbal pan left","tags":["Platforms"],"security":[{"XAuthToken":[]}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object"}}}},"responses":{"200":{"description":"Success"}}}},"/api/v1/platforms/{platformId}/payloads/{payloadId}/commands/pan-right":{"post":{"operationId":"postPlatformsPlatformIdPayloadsPayloadIdCommandsPanRight","summary":"Gimbal pan right","tags":["Platforms"],"security":[{"XAuthToken":[]}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object"}}}},"responses":{"200":{"description":"Success"}}}},"/api/v1/platforms/{platformId}/payloads/{payloadId}/commands/pilot-window":{"post":{"operationId":"postPlatformsPlatformIdPayloadsPayloadIdCommandsPilotWindow","summary":"Pilot window","tags":["Platforms"],"security":[{"XAuthToken":[]}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object"}}}},"responses":{"200":{"description":"Success"}}}},"/api/v1/platforms/{platformId}/payloads/{payloadId}/commands/slew-to-cue":{"post":{"operationId":"postPlatformsPlatformIdPayloadsPayloadIdCommandsSlewToCue","summary":"Slew to cue","tags":["Platforms"],"security":[{"XAuthToken":[]}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object"}}}},"responses":{"200":{"description":"Success"}}}},"/api/v1/platforms/{platformId}/payloads/{payloadId}/commands/stow":{"post":{"operationId":"postPlatformsPlatformIdPayloadsPayloadIdCommandsStow","summary":"Stow","tags":["Platforms"],"security":[{"XAuthToken":[]}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object"}}}},"responses":{"200":{"description":"Success"}}}},"/api/v1/platforms/{platformId}/payloads/{payloadId}/commands/tilt-down":{"post":{"operationId":"postPlatformsPlatformIdPayloadsPayloadIdCommandsTiltDown","summary":"Gimbal tilt down","tags":["Platforms"],"security":[{"XAuthToken":[]}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object"}}}},"responses":{"200":{"description":"Success"}}}},"/api/v1/platforms/{platformId}/payloads/{payloadId}/commands/tilt-up":{"post":{"operationId":"postPlatformsPlatformIdPayloadsPayloadIdCommandsTiltUp","summary":"Gimbal tilt up","tags":["Platforms"],"security":[{"XAuthToken":[]}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object"}}}},"responses":{"200":{"description":"Success"}}}},"/api/v1/platforms/{platformId}/payloads/{payloadId}/commands/zoom-in":{"post":{"operationId":"postPlatformsPlatformIdPayloadsPayloadIdCommandsZoomIn","summary":"Zoom in","tags":["Platforms"],"security":[{"XAuthToken":[]}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object"}}}},"responses":{"200":{"description":"Success"}}}},"/api/v1/platforms/{platformId}/payloads/{payloadId}/commands/zoom-out":{"post":{"operationId":"postPlatformsPlatformIdPayloadsPayloadIdCommandsZoomOut","summary":"Zoom out","tags":["Platforms"],"security":[{"XAuthToken":[]}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object"}}}},"responses":{"200":{"description":"Success"}}}},"/api/v1/platforms/{platformId}/status":{"get":{"operationId":"getPlatformsPlatformIdStatus","summary":"Get platform status","tags":["Platforms"],"security":[{"XAuthToken":[]}],"responses":{"200":{"description":"Success"}}}},"/api/v1/platforms/{platformId}/weapon-system/ammo-state":{"post":{"operationId":"postPlatformsPlatformIdWeaponSystemAmmoState","summary":"Change ammo state","tags":["Platforms"],"security":[{"XAuthToken":[]}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object"}}}},"responses":{"200":{"description":"Success"}}}},"/api/v1/sites":{"get":{"operationId":"getSites","summary":"List sites","tags":["Sites"],"security":[{"XAuthToken":[]}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SiteCollectionResponse"}}}}}},"post":{"operationId":"postSites","summary":"Create site","tags":["Sites"],"security":[{"XAuthToken":[]}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Site"}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Site"}}}}}}},"/api/v1/sites/import":{"post":{"operationId":"postSitesImport","summary":"Import site","tags":["Sites"],"security":[{"XAuthToken":[]}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object"}}}},"responses":{"200":{"description":"Success"}}}},"/api/v1/sites/{siteId}":{"get":{"operationId":"getSitesSiteId","summary":"Get site","tags":["Sites"],"security":[{"XAuthToken":[]}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Site"}}}}}},"put":{"operationId":"putSitesSiteId","summary":"Update site","tags":["Sites"],"security":[{"XAuthToken":[]}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Site"}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Site"}}}}}},"delete":{"operationId":"deleteSitesSiteId","summary":"Delete site","tags":["Sites"],"security":[{"XAuthToken":[]}],"responses":{"204":{"description":"Deleted"}}}},"/api/v1/sites/{siteId}/health":{"get":{"operationId":"getSitesSiteIdHealth","summary":"Get health","tags":["Sites"],"security":[{"XAuthToken":[]}],"responses":{"200":{"description":"Success"}}}},"/api/v1/sites/{siteId}/status":{"get":{"operationId":"getSitesSiteIdStatus","summary":"Get status","tags":["Sites"],"security":[{"XAuthToken":[]}],"responses":{"200":{"description":"Success"}}}},"/api/v1/system/ping":{"get":{"operationId":"getSystemPing","summary":"Health check","tags":["System"],"security":[{"XAuthToken":[]}],"responses":{"200":{"description":"Success"}}}},"/api/v1/targets":{"get":{"operationId":"getTargets","summary":"List targets","tags":["Targets"],"security":[{"XAuthToken":[]}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TargetCollectionResponse"}}}}}},"post":{"operationId":"postTargets","summary":"Create target","tags":["Targets"],"security":[{"XAuthToken":[]}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Target"}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Target"}}}}}}},"/api/v1/targets/{targetId}":{"get":{"operationId":"getTargetsTargetId","summary":"Get target","tags":["Targets"],"security":[{"XAuthToken":[]}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Target"}}}}}},"put":{"operationId":"putTargetsTargetId","summary":"Update target","tags":["Targets"],"security":[{"XAuthToken":[]}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Target"}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Target"}}}}}},"delete":{"operationId":"deleteTargetsTargetId","summary":"Delete target","tags":["Targets"],"security":[{"XAuthToken":[]}],"responses":{"204":{"description":"Deleted"}}}},"/api/v1/targets/{targetId}/commands/attack":{"post":{"operationId":"postTargetsTargetIdCommandsAttack","summary":"Attack target","tags":["Targets"],"security":[{"XAuthToken":[]}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object"}}}},"responses":{"200":{"description":"Success"}}}},"/api/v1/targets/{targetId}/commands/lock":{"post":{"operationId":"postTargetsTargetIdCommandsLock","summary":"Lock target","tags":["Targets"],"security":[{"XAuthToken":[]}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object"}}}},"responses":{"200":{"description":"Success"}}}},"/api/v1/targets/{targetId}/commands/track":{"post":{"operationId":"postTargetsTargetIdCommandsTrack","summary":"Track target","tags":["Targets"],"security":[{"XAuthToken":[]}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object"}}}},"responses":{"200":{"description":"Success"}}}},"/api/v1/video/channels":{"get":{"operationId":"getVideoChannels","summary":"List video channels","tags":["Video"],"security":[{"XAuthToken":[]}],"responses":{"200":{"description":"Success"}}}},"/api/v1/video/metadata/{uri}":{"get":{"operationId":"getVideoMetadataUri","summary":"Get stream metadata by stream URI","tags":["Video"],"security":[{"XAuthToken":[]}],"parameters":[{"name":"uri","in":"path","required":true,"description":"Stream locator as URL string (percent-encoded path segment; e.g. RTSP/WebRTC/handle from stream list or WebSocket video_stream topic).","schema":{"type":"string"}}],"responses":{"200":{"description":"Success"}}}},"/api/v1/video/streams":{"get":{"operationId":"getVideoStreams","summary":"List video streams","tags":["Video"],"security":[{"XAuthToken":[]}],"responses":{"200":{"description":"Success"}}}},"/ws":{"get":{"operationId":"getWsUpgrade","summary":"WebSocket upgrade (operational stream; see markdown contract)","tags":["WebSocket"],"security":[{"XAuthToken":[]}],"responses":{"101":{"description":"Switching Protocols"}}}}}}