πAPI Endpoints Overview
This document tracks all active RESTful endpoints in the UDAI API. For detailed request schemas, response codes, and business logic, click on the respective documentation links.
1. π Authentication APIs
00. π Access Control
Docs: Access Control Matrix
Explains the strict 12-module Access Matrix mapping endpoints to users
Details Context-Based Access Control (CBAC) ownership rules
Details Role-Based Access Control (RBAC) membership rules (Owner, Admin, Member)
Maps the 7 different
org_typeclassifications to permissions
01. π Base URL & Common Responses
Docs: Hostname & Error Codes
Outlines the primary REST endpoints for STG, UAT, and PROD
Defines the unified error schema required for all
4xxand5xxresponsesMaps HTTP status codes used globally across the API
02. π Authentication Endpoints
Docs: Authentication API
POST /auth/registerβ Register a new user and create an associated organisationPOST /auth/verify/send-otpβ Send verification OTP to unverified email/phonePOST /auth/verifyβ Verify email/phone using OTPPOST /auth/login/send-otpβ Send OTP for password-less loginPOST /auth/login-passwordβ Authenticate using passwordPOST /auth/login-otpβ Authenticate using OTPPOST /auth/logoutβ Invalidate current access tokenPOST /auth/refresh-tokenβ Issue new access token using refresh tokenPOST /auth/forgot-passwordβ Send password reset linkPOST /auth/change-passwordβ Change password for authenticated user
03. π€ User Management Endpoints
Docs: User Management API
Header Required:
X-Organization-ID
GET /usersβ Get all members of the organisationGET /users/{user_uuid}β Get specific member's detailsPUT /users/{user_uuid}/roleβ Update a member's roleDELETE /users/{user_uuid}β Set member's org validation status to INACTIVEPUT /users/{user_uuid}β Update the authenticated user's own profilePOST /users/{user_uuid}/pilot-credsβ Create or update the user's pilot credentialsGET /users/{user_uuid}/pilot-credsβ Return the user's pilot credentials
04. π’ Organisation Endpoints
Docs: Organisation API
GET /organisations/{org_uuid}β Get current user's organisation detailsPUT /organisations/{org_uuid}β Update organisation details
05. π€ Organisation Membership Endpoints
Docs: Membership API
Header Required:
X-Organization-ID
POST /users/inviteβ Invite one or multiple users to the organisationPOST /users/invite/acceptβ Accept or decline a pending invitationGET /invitationsβ Get all invitations sent by the organisationGET /invitations/{invitation_uuid}β Get details of a specific invitationDELETE /invitations/{invitation_uuid}β Revoke a pending invitationDELETE /membershipsβ Remove active members (soft-delete to INACTIVE)
2. π Fleet APIs
06. π Drone Model Endpoints
Docs: Drone Model API
Header Required:
X-Organization-ID
POST /drone-modelsβ Create a new drone modelGET /drone-modelsβ Get all drone models from manufacturerGET /drone-models/{drone_uuid}β Get details of a specific drone modelPUT /drone-models/{model_uuid}β Update a drone modelDELETE /drone-models/{drone_uuid}β Update drone model status to INACTIVE
07. π¦ Payload Endpoints
Docs: Payload API
Header Required:
X-Organization-ID
POST /payloadsβ Register a physical payloadGET /payloadsβ Get all payloads owned by organisationGET /payloads/{payload_uuid}β Get specific payload detailsPUT /payloads/{payload_uuid}β Update specific payload detailsDELETE /payloads/{payload_uuid}β Remove the payload (soft-delete to INACTIVE)
08. π Drone Endpoints
Docs: Drone API
Header Required:
X-Organization-ID
POST /dronesβ Register a single drone into the organisationPOST /drones/bulkβ Register multiple drones in bulkGET /dronesβ Get all drones owned by organisationGET /drones/{drone_uuid}β Get specific drone detailsPUT /drones/{drone_uuid}β Update specific drone detailsDELETE /drones/{drone_uuid}β Remove the drone (soft-delete to INACTIVE)
09. π Drone Ownership Endpoints
Docs: Drone Ownership API
Header Required:
X-Organization-ID
POST /drone-transferβ Initiate a transfer (single or bulk)POST /drone-transfers/acceptβ Accept or reject a pending drone transferGET /drone-transfersβ List all transfer requests for orgGET /drone-transfers/{transfer_uuid}β Get details of a specific transferGET /drone-ownershipβ List all active/inactive drone ownershipsGET /drone-ownership/{ownership_uuid}β Get details of a specific ownership recordDELETE /drone-ownership/{ownership_uuid}β Revoke an active drone ownership
3. π Mission APIs
10. π Mission Endpoints
Docs: Mission API
Header Required:
X-Organization-ID
POST /missionsβ Create a new missionGET /missionsβ Get all missionsGET /missions/{mission_uuid}β Get specific mission detailsPUT /missions/{mission_uuid}β Update a missionDELETE /missions/{mission_uuid}β Soft delete mission (update status to INACTIVE)POST /permissions?parent_type=MISSION&parent_uuid=\{mission_uuid\}β Request access to an airspace segment for this missionPUT /permissions/\{permission_uuid\}β Grant or deny access to a specific airspace segmentPOST /flight-plans?mission_uuid=\{mission_uuid\}β Create a flight plan under a missionGET /flight-plans?mission_uuid=\{mission_uuid\}β Get all flight plans for a missionGET /flight-plans/\{plan_uuid\}β Get specific flight plan detailsPUT /flight-plans/\{plan_uuid\}β Update a flight planPOST /permissions?parent_type=FLIGHT_PLAN&parent_uuid=\{plan_uuid\}β Request access to an airspace segment for a flight planPUT /permissions/\{permission_uuid\}β Grant or deny access to a specific airspace segment for flight planGET /flight-plans/log?sβ Get combined list of all flight plans
4. π Telemetry APIs
11. π Flight Sessions and Data
Docs: Flight Sessions API
Header Required:
X-Organization-ID
POST /flight-sessionsβ Initiate a new flight session (ad-hoc or planned)GET /flight-sessionsβ Get all flight sessionsGET /flight-sessions/{session_uuid}β Get specific flight session detailsPOST /flight-sessions/{session_uuid}/telemetryβ Submit Live Telemetry (Placeholder)
12. π°οΈ Airspace Monitoring Management Endpoints
Docs: Airspace Monitoring API
Header Required:
X-Organization-ID
GET /airspace/drones/{drone_uuid}β Get detailed drone information for monitoringGET /airspace/drones/{drone_uuid}/plansβ Get all flight plans associated with a droneGET /airspace/drones/{drone_uuid}/plans/{plan_uuid}β Get details of a specific flight plan for a dronePOST /airspace/drones/{drone_uuid}/alertβ Trigger or log a flight alert or incident
5. πΊοΈ Airspace APIs
13. πΊοΈ Airspace Zone Endpoints
Docs: Airspace Zone API
POST /airspacesβ Create a new airspace zoneGET /airspacesβ List all airspace zonesGET /airspaces/{zone_uuid}β Get specific zone detailsPUT /airspaces/{zone_uuid}β Update a zone
14. πΊοΈ Airspace Zone Membership Endpoints
Docs: Airspace Zone Memberships API
POST /airspaces/{zone_uuid}/membershipsβ Link an org to a zone as Manager/MonitorGET /airspaces/{zone_uuid}/membershipsβ Get all memberships for a specific zoneGET /airspace-membershipsβ List all zones an organisation is linked toDELETE /airspaces/{zone_uuid}/memberships/{membership_uuid}β Remove an organisation's link (soft-delete to INACTIVE)
15. π§± Constraint Engine Endpoints
Docs: Constraint Engine API
POST /constraintsβ Create a new spatial constraintGET /constraints/{constraint_uuid}β Get specific constraint detailsPOST /constraints/intersectβ Query constraints by geospatial intersection
Last updated