{"openapi":"3.0.2","info":{"title":"360 Ingest API","description":"Accepts 360 captures and manages walks, floors, overlays, and maps.","version":"0.1.0"},"servers":[{"url":"https://ingest.evercam.io/360","description":"360 Ingest API (ingest-360)"}],"paths":{"/{project_id}/upload":{"post":{"tags":["360"],"summary":"Prepare a 360 upload","description":"Creates or reuses a 360 asset record before artifact upload.","operationId":"create_360_assets__project_id__upload_post","parameters":[{"required":true,"schema":{"title":"Project Id","type":"string"},"name":"project_id","in":"path"},{"description":"Capture date in DD-MM-YYYY format.","required":true,"schema":{"title":"Date","type":"string","description":"Capture date in DD-MM-YYYY format."},"name":"date","in":"query"},{"description":"Database ID of the project floor.","required":true,"schema":{"title":"Drawing Id","type":"integer","description":"Database ID of the project floor."},"name":"drawing_id","in":"query"},{"description":"Name stored on the walk and used in date-and-name lookups.","required":true,"schema":{"title":"Name","type":"string","description":"Name stored on the walk and used in date-and-name lookups."},"name":"name","in":"query"}],"responses":{"200":{"description":"Prepared 360 asset record in the `created` state","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Assets360DatabaseResponse"}}}},"401":{"description":"Invalid bearer token","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPErrorResponse"}}}},"403":{"description":"Project access denied or floor not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPErrorResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}},"503":{"description":"Authentication service unavailable","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPErrorResponse"}}}}},"security":[{"HTTPBearer":[]},{"APIKeyHeader":[]}]}},"/{id}/upload":{"put":{"tags":["360"],"summary":"Submit 360 upload files","description":"Queues a selected artifact for processing on a prepared 360 asset.","operationId":"upload_360_assets__id__upload_put","parameters":[{"required":true,"schema":{"title":"Id","type":"integer"},"name":"id","in":"path"},{"description":"Client surface that submitted the processing request.","required":false,"schema":{"allOf":[{"$ref":"#/components/schemas/PublicProcessingSource"}],"description":"Client surface that submitted the processing request.","default":"API"},"name":"X-Processing-Source","in":"header"}],"requestBody":{"description":"TUS files, asset type, and capture options for processing.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Upload360APIRequest"}}},"required":true},"responses":{"200":{"description":"Processing was queued. The legacy JSON response body is the integer `201`; the HTTP status remains 200.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/StatusCodeBody"}}}},"401":{"description":"Invalid bearer token","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPErrorResponse"}}}},"403":{"description":"Asset not found or the requested artifact already exists","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPErrorResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}},"503":{"description":"Authentication service unavailable","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPErrorResponse"}}}}},"security":[{"HTTPBearer":[]},{"APIKeyHeader":[]}]}},"/{id}/reprocess":{"put":{"tags":["360"],"summary":"Reprocess a 360 asset","description":"Queues an existing 360 asset for video reprocessing.","operationId":"reprocess_360_asset__id__reprocess_put","parameters":[{"required":true,"schema":{"title":"Id","type":"integer"},"name":"id","in":"path"}],"responses":{"200":{"description":"Reprocessing was queued. The legacy JSON response body is the integer `201`; the HTTP status remains 200.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/StatusCodeBody"}}}},"401":{"description":"Invalid bearer token","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPErrorResponse"}}}},"403":{"description":"Project access denied","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPErrorResponse"}}}},"404":{"description":"360 asset not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPErrorResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}},"500":{"description":"Existing processing artifact backup failed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPErrorResponse"}}}},"503":{"description":"Authentication service unavailable","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPErrorResponse"}}}}},"security":[{"HTTPBearer":[]},{"APIKeyHeader":[]}]}},"/queue":{"get":{"tags":["360"],"summary":"Get the 360 processing queue","description":"Returns queued 360 assets.","operationId":"queue_360_queue_get","parameters":[{"description":"Return only queued assets belonging to this project external ID.","required":false,"schema":{"title":"Project Id","type":"string","description":"Return only queued assets belonging to this project external ID."},"name":"project_id","in":"query"}],"responses":{"200":{"description":"Current 360 processing queue","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Queue360Response"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/assets/{id}/progress":{"get":{"tags":["360 assets"],"summary":"Get 360 processing progress","description":"Returns the latest processing run and per-step metrics for a 360 asset.","operationId":"get_360_processing_progress_assets__id__progress_get","parameters":[{"required":true,"schema":{"title":"Id","type":"integer"},"name":"id","in":"path"}],"responses":{"200":{"description":"Latest processing run, or a status-only response when no tracked run exists","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProgressResponse"}}}},"401":{"description":"Invalid bearer token","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPErrorResponse"}}}},"403":{"description":"Project access denied","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPErrorResponse"}}}},"404":{"description":"360 asset not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPErrorResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}},"503":{"description":"Authentication service unavailable","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPErrorResponse"}}}}},"security":[{"HTTPBearer":[]},{"APIKeyHeader":[]}]}},"/assets/{project_id}/{date}/{floor}":{"get":{"tags":["360 assets"],"summary":"Get a 360 asset link","description":"Returns temporary links for a stored 360 walk artifact.","operationId":"get_360_asset_assets__project_id___date___floor__get","parameters":[{"required":true,"schema":{"title":"Project Id","type":"string"},"name":"project_id","in":"path"},{"required":true,"schema":{"title":"Date","type":"string"},"name":"date","in":"path"},{"description":"Exact stored walk name used by the database lookup.","required":true,"schema":{"title":"Name","type":"string","description":"Exact stored walk name used by the database lookup."},"name":"name","in":"query"},{"description":"Artifact representation to return. `image`, `model`, and `route` return one URL; `video` returns a URL list.","required":true,"schema":{"title":"Asset Type","enum":["image","video","model","route"],"type":"string","description":"Artifact representation to return. `image`, `model`, and `route` return one URL; `video` returns a URL list."},"name":"asset_type","in":"query"},{"description":"Stored filename marker used to select an image; ignored for other artifact types.","required":false,"schema":{"title":"Marker","type":"string","description":"Stored filename marker used to select an image; ignored for other artifact types.","default":""},"name":"marker","in":"query"},{"description":"Legacy route segment required for URL matching but ignored by the lookup. Use the name query parameter to select the walk.","required":true,"schema":{"type":"string"},"name":"floor","in":"path"}],"responses":{"200":{"description":"A JSON string for image, model, or route; a JSON array of strings for video","content":{"application/json":{"schema":{"title":"Response Get 360 Asset Assets  Project Id   Date   Floor  Get","anyOf":[{"type":"string"},{"type":"array","items":{"type":"string"}}]}}}},"401":{"description":"Invalid bearer token","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPErrorResponse"}}}},"403":{"description":"Project access denied","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPErrorResponse"}}}},"404":{"description":"Walk or requested artifact not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPErrorResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}},"503":{"description":"Authentication service unavailable","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPErrorResponse"}}}}},"security":[{"HTTPBearer":[]},{"APIKeyHeader":[]}]}},"/assets/":{"get":{"tags":["360 assets"],"summary":"List 360 assets","description":"Returns a filtered, sorted page of 360 walk records and attached Mobile assets.","operationId":"get_360_assets_assets__get","parameters":[{"description":"One-based page number.","required":false,"schema":{"title":"Page","type":"integer","description":"One-based page number.","default":1},"name":"page","in":"query"},{"description":"Maximum records returned for the page.","required":false,"schema":{"title":"Limit","type":"integer","description":"Maximum records returned for the page.","default":10},"name":"limit","in":"query"},{"description":"Project external ID. Non-admin access matches exactly; admin searches use a substring match.","required":false,"schema":{"title":"Project Id","type":"string","description":"Project external ID. Non-admin access matches exactly; admin searches use a substring match."},"name":"project_id","in":"query"},{"description":"Exact capture date in YYYY-MM-DD format.","required":false,"schema":{"title":"Date","type":"string","description":"Exact capture date in YYYY-MM-DD format."},"name":"date","in":"query"},{"description":"Case-insensitive substring match on the related floor name.","required":false,"schema":{"title":"Floor","type":"string","description":"Case-insensitive substring match on the related floor name."},"name":"floor","in":"query"},{"description":"Substring match on the stored walk name.","required":false,"schema":{"title":"Name","type":"string","description":"Substring match on the stored walk name."},"name":"name","in":"query"},{"description":"Exact numeric 360 asset ID.","required":false,"schema":{"title":"Id","type":"string","description":"Exact numeric 360 asset ID."},"name":"id","in":"query"},{"description":"Substring match on processing status. Stored values include `created`, `pending`, `inprogress`, `completed`, `failed`, `aborted`, `paused`, `uploading`, and `downloading`.","required":false,"schema":{"title":"Processing Status","type":"string","description":"Substring match on processing status. Stored values include `created`, `pending`, `inprogress`, `completed`, `failed`, `aborted`, `paused`, `uploading`, and `downloading`."},"name":"processing_status","in":"query"},{"description":"Substring match on uploader email.","required":false,"schema":{"title":"Uploaded By","type":"string","description":"Substring match on uploader email."},"name":"uploaded_by","in":"query"},{"description":"Comma-separated sorting fields. Format: field|asc or field|desc. Allowed fields: date, id, name, processing_status, project_id, updated_at, uploaded_by.","required":false,"schema":{"title":"Sort","type":"string","description":"Comma-separated sorting fields. Format: field|asc or field|desc. Allowed fields: date, id, name, processing_status, project_id, updated_at, uploaded_by."},"example":"updated_at|desc","name":"sort","in":"query"}],"responses":{"200":{"description":"Filtered page of detailed 360 walk records","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Assets360PageResponse"}}}},"401":{"description":"Invalid bearer token","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPErrorResponse"}}}},"403":{"description":"Project access denied","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPErrorResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}},"503":{"description":"Authentication service unavailable","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPErrorResponse"}}}}},"security":[{"HTTPBearer":[]},{"APIKeyHeader":[]}]}},"/assets/{project_id}":{"get":{"tags":["360 assets"],"summary":"List completed project walks","description":"Returns completed project video walks and attached Mobile assets.","operationId":"get_360_assets_by_project_assets__project_id__get","parameters":[{"required":true,"schema":{"title":"Project Id","type":"string"},"name":"project_id","in":"path"},{"description":"One-based page number.","required":false,"schema":{"title":"Page","type":"integer","description":"One-based page number.","default":1},"name":"page","in":"query"},{"description":"Maximum walks returned for the page.","required":false,"schema":{"title":"Limit","type":"integer","description":"Maximum walks returned for the page.","default":10},"name":"limit","in":"query"}],"responses":{"200":{"description":"Completed video walks and the unpaginated total","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Assets360ByProjectResponse"}}}},"401":{"description":"Invalid bearer token","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPErrorResponse"}}}},"403":{"description":"Project access denied","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPErrorResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}},"503":{"description":"Authentication service unavailable","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPErrorResponse"}}}}},"security":[{"HTTPBearer":[]},{"APIKeyHeader":[]}]}},"/assets/{project_id}/counts":{"get":{"tags":["360 assets"],"summary":"Count project assets by day","description":"Returns daily walk and Mobile photo counts for a project.","operationId":"get_360_assets_count_by_project_assets__project_id__counts_get","parameters":[{"required":true,"schema":{"title":"Project Id","type":"string"},"name":"project_id","in":"path"},{"description":"Case-insensitive uploader substring applied to both walks and Mobile photos.","required":false,"schema":{"title":"Uploaded By","type":"string","description":"Case-insensitive uploader substring applied to both walks and Mobile photos."},"name":"uploaded_by","in":"query"}],"responses":{"200":{"description":"Daily walk and Mobile photo counts","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AssetCountsResponse"}}}},"401":{"description":"Invalid bearer token","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPErrorResponse"}}}},"403":{"description":"Project access denied","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPErrorResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}},"503":{"description":"Authentication service unavailable","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPErrorResponse"}}}}},"security":[{"HTTPBearer":[]},{"APIKeyHeader":[]}]}},"/assets/archive/{id}":{"get":{"tags":["360 assets"],"summary":"Get a 360 archive link","description":"Returns a temporary link for a stored 360 artifact.","operationId":"get_archive_assets_archive__id__get","parameters":[{"required":true,"schema":{"title":"Id","type":"integer"},"name":"id","in":"path"},{"description":"Stored artifact to sign. `processing_log` requires administrator access.","required":true,"schema":{"title":"Data Type","enum":["image","model","report","video","processing_log"],"type":"string","description":"Stored artifact to sign. `processing_log` requires administrator access."},"name":"data_type","in":"query"}],"responses":{"200":{"description":"Temporary signed URL returned as a JSON string","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SignedLinkResponse"}}}},"401":{"description":"Invalid bearer token","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPErrorResponse"}}}},"403":{"description":"Artifact is admin-only","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPErrorResponse"}}}},"404":{"description":"Asset or archive type not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPErrorResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}},"503":{"description":"Authentication service unavailable","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPErrorResponse"}}}}},"security":[{"HTTPBearer":[]},{"APIKeyHeader":[]}]}},"/assets/{project_id}/{date}/{floor_name}":{"put":{"tags":["360 assets"],"summary":"Update a project walk","description":"Moves a project walk to another floor.","operationId":"update_360_asset_by_name_date_project_assets__project_id___date___floor_name__put","parameters":[{"required":true,"schema":{"title":"Project Id","type":"string"},"name":"project_id","in":"path"},{"required":true,"schema":{"title":"Date","type":"string"},"name":"date","in":"path"},{"required":true,"schema":{"title":"Floor Name","type":"string"},"name":"floor_name","in":"path"}],"requestBody":{"description":"Target floor ID for the project walk.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Update360Request"}}},"required":true},"responses":{"200":{"description":"Updated walk summary","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Assets360SummaryResponse"}}}},"401":{"description":"Invalid bearer token","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPErrorResponse"}}}},"403":{"description":"Project access denied","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPErrorResponse"}}}},"404":{"description":"Walk or target floor not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPErrorResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}},"503":{"description":"Authentication service unavailable","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPErrorResponse"}}}}},"security":[{"HTTPBearer":[]},{"APIKeyHeader":[]}]}},"/assets/{id}":{"put":{"tags":["360 assets"],"summary":"Update a 360 asset","description":"Moves a 360 asset to another project floor.","operationId":"update_360_asset_assets__id__put","parameters":[{"required":true,"schema":{"title":"Id","type":"integer"},"name":"id","in":"path"}],"requestBody":{"description":"Target floor ID for the 360 asset.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Update360Request"}}},"required":true},"responses":{"200":{"description":"Updated 360 asset summary","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Assets360SummaryResponse"}}}},"401":{"description":"Invalid bearer token","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPErrorResponse"}}}},"403":{"description":"Project access denied","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPErrorResponse"}}}},"404":{"description":"Asset or target floor not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPErrorResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}},"503":{"description":"Authentication service unavailable","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPErrorResponse"}}}}},"security":[{"HTTPBearer":[]},{"APIKeyHeader":[]}]},"delete":{"tags":["360 assets"],"summary":"Delete a 360 asset","description":"Deletes a 360 asset and its stored artifacts.","operationId":"delete_360_assets_assets__id__delete","parameters":[{"required":true,"schema":{"title":"Id","type":"integer"},"name":"id","in":"path"}],"responses":{"200":{"description":"Empty JSON object after deletion","content":{"application/json":{"schema":{"$ref":"#/components/schemas/EmptyObjectResponse"}}}},"401":{"description":"Invalid bearer token","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPErrorResponse"}}}},"403":{"description":"Project access denied","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPErrorResponse"}}}},"404":{"description":"360 asset not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPErrorResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}},"503":{"description":"Authentication service unavailable","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPErrorResponse"}}}}},"security":[{"HTTPBearer":[]},{"APIKeyHeader":[]}]}},"/api/walks/{id}/3d-markers":{"get":{"tags":["360 API"],"summary":"Get 360 walk markers","description":"Returns the ordered 3D viewer markers stored for a 360 walk.","operationId":"get_360_walk_3d_markers_api_walks__id__3d_markers_get","parameters":[{"required":true,"schema":{"title":"Id","type":"integer"},"name":"id","in":"path"}],"responses":{"200":{"description":"Ordered list of stored viewer markers","content":{"application/json":{"schema":{"title":"Response Get 360 Walk 3D Markers Api Walks  Id  3D Markers Get","type":"array","items":{"$ref":"#/components/schemas/ThreeDMarkerAPIResponse"}}}}},"401":{"description":"Invalid bearer token","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPErrorResponse"}}}},"403":{"description":"Project access denied","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPErrorResponse"}}}},"404":{"description":"Walk or marker path not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPErrorResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}},"503":{"description":"Authentication service unavailable","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPErrorResponse"}}}}},"security":[{"HTTPBearer":[]},{"APIKeyHeader":[]}]}},"/api/walks/{id}/geolocate-mobile-assets":{"post":{"tags":["360 API"],"summary":"Geolocate linked mobile assets","description":"Assigns geolocations to Mobile assets attached to a 360 walk.","operationId":"geolocate_360_walk_mobile_assets_api_walks__id__geolocate_mobile_assets_post","parameters":[{"required":true,"schema":{"title":"Id","type":"integer"},"name":"id","in":"path"}],"responses":{"200":{"description":"Number of attached Mobile assets updated","content":{"application/json":{"schema":{"$ref":"#/components/schemas/GeolocateMobileAssetsResponse"}}}},"401":{"description":"Invalid bearer token","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPErrorResponse"}}}},"403":{"description":"Project access denied","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPErrorResponse"}}}},"404":{"description":"Walk or marker path not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPErrorResponse"}}}},"409":{"description":"Walk markers are not geolocated","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPErrorResponse"}}}},"422":{"description":"Stored markers are invalid. The response detail contains a message and Pydantic error list."},"503":{"description":"Authentication service unavailable","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPErrorResponse"}}}}},"security":[{"HTTPBearer":[]},{"APIKeyHeader":[]}]}},"/api/{project_id}/generate-360-map":{"post":{"tags":["360 API"],"summary":"Generate a 360 map","description":"Generates and stores a geolocated route for a 360 walk.","operationId":"generate_360_map_api__project_id__generate_360_map_post","parameters":[{"required":true,"schema":{"title":"Project Id","type":"string"},"name":"project_id","in":"path"}],"requestBody":{"description":"Map endpoints, camera offset, floor, and viewer markers.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Generate360MapRequest"}}},"required":true},"responses":{"200":{"description":"The map was generated successfully. The response body is empty."},"401":{"description":"Invalid bearer token","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPErrorResponse"}}}},"403":{"description":"Project access denied","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPErrorResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}},"503":{"description":"Authentication service unavailable","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPErrorResponse"}}}}},"security":[{"HTTPBearer":[]},{"APIKeyHeader":[]}]}},"/floors/{project_id}":{"post":{"tags":["360 floors"],"summary":"Create a 360 floor","description":"Creates a project floor and optionally stores a drawing overlay.","operationId":"create_360_floor_floors__project_id__post","parameters":[{"required":true,"schema":{"title":"Project Id","type":"string"},"name":"project_id","in":"path"},{"description":"Creator email stored on the floor and used for non-admin deletion ownership.","required":true,"schema":{"title":"Created By","type":"string","description":"Creator email stored on the floor and used for non-admin deletion ownership."},"name":"created_by","in":"query"}],"requestBody":{"description":"Floor metadata and optional drawing overlay placement.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/FloorRequest"}}},"required":true},"responses":{"200":{"description":"Created project floor","content":{"application/json":{"schema":{"$ref":"#/components/schemas/FloorResponse"}}}},"401":{"description":"Invalid bearer token","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPErrorResponse"}}}},"403":{"description":"Project access denied","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPErrorResponse"}}}},"409":{"description":"Floor name is missing or already exists","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPErrorResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}},"500":{"description":"Overlay upload failed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPErrorResponse"}}}},"503":{"description":"Authentication service unavailable","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPErrorResponse"}}}}},"security":[{"HTTPBearer":[]},{"APIKeyHeader":[]}]}},"/floors/exists":{"get":{"tags":["360 floors"],"summary":"Check whether a floor exists","description":"Reports whether an active project floor exists.","operationId":"floor_exists_floors_exists_get","parameters":[{"description":"Project external ID.","required":true,"schema":{"title":"Project Id","type":"string","description":"Project external ID."},"name":"project_id","in":"query"},{"description":"Exact, case-sensitive stored floor name.","required":true,"schema":{"title":"Name","type":"string","description":"Exact, case-sensitive stored floor name."},"name":"name","in":"query"}],"responses":{"200":{"description":"True when an exact active floor match exists","content":{"application/json":{"schema":{"title":"Response Floor Exists Floors Exists Get","type":"boolean"}}}},"401":{"description":"Invalid bearer token","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPErrorResponse"}}}},"403":{"description":"Project access denied","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPErrorResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}},"503":{"description":"Authentication service unavailable","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPErrorResponse"}}}}},"security":[{"HTTPBearer":[]},{"APIKeyHeader":[]}]}},"/floors/{id}":{"get":{"tags":["360 floors"],"summary":"Get a 360 floor","description":"Returns one project floor and its 360 walks.","operationId":"Get_floor_by_id_floors__id__get","parameters":[{"required":true,"schema":{"title":"Id","type":"integer"},"name":"id","in":"path"},{"description":"Project external ID owning the floor.","required":true,"schema":{"title":"Project Id","type":"string","description":"Project external ID owning the floor."},"name":"project_id","in":"query"}],"responses":{"200":{"description":"Project floor with its 360 walks","content":{"application/json":{"schema":{"$ref":"#/components/schemas/FloorResponse"}}}},"401":{"description":"Invalid bearer token","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPErrorResponse"}}}},"403":{"description":"Project access denied","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPErrorResponse"}}}},"404":{"description":"Floor not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPErrorResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}},"503":{"description":"Authentication service unavailable","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPErrorResponse"}}}}},"security":[{"HTTPBearer":[]},{"APIKeyHeader":[]}]},"put":{"tags":["360 floors"],"summary":"Update a 360 floor","description":"Updates a project floor and optionally replaces its drawing overlay.","operationId":"edit_floor_floors__id__put","parameters":[{"required":true,"schema":{"title":"Id","type":"integer"},"name":"id","in":"path"},{"description":"Project external ID owning the floor.","required":true,"schema":{"title":"Project Id","type":"string","description":"Project external ID owning the floor."},"name":"project_id","in":"query"}],"requestBody":{"description":"Floor fields and optional replacement overlay placement.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/FloorRequest"}}},"required":true},"responses":{"200":{"description":"Updated project floor","content":{"application/json":{"schema":{"$ref":"#/components/schemas/FloorResponse"}}}},"401":{"description":"Invalid bearer token","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPErrorResponse"}}}},"403":{"description":"Project access denied","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPErrorResponse"}}}},"404":{"description":"Floor not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPErrorResponse"}}}},"409":{"description":"Floor name is taken","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPErrorResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}},"500":{"description":"Overlay upload failed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPErrorResponse"}}}},"503":{"description":"Authentication service unavailable","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPErrorResponse"}}}}},"security":[{"HTTPBearer":[]},{"APIKeyHeader":[]}]},"delete":{"tags":["360 floors","360"],"summary":"Delete a 360 floor","description":"Soft-deletes an eligible project floor.","operationId":"delete_360_floor_floors__id__delete","parameters":[{"required":true,"schema":{"title":"Id","type":"integer"},"name":"id","in":"path"}],"responses":{"200":{"description":"Empty JSON object after the floor is soft-deleted","content":{"application/json":{"schema":{"$ref":"#/components/schemas/EmptyObjectResponse"}}}},"401":{"description":"Invalid bearer token","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPErrorResponse"}}}},"403":{"description":"Caller does not own the floor","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPErrorResponse"}}}},"404":{"description":"Floor not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPErrorResponse"}}}},"409":{"description":"Floor still has assets attached","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPErrorResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}},"503":{"description":"Authentication service unavailable","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPErrorResponse"}}}}},"security":[{"HTTPBearer":[]},{"APIKeyHeader":[]}]}},"/floors/":{"get":{"tags":["360 floors"],"summary":"List 360 floors","description":"Returns project floors matching the requested filters.","operationId":"get_360_floors_floors__get","parameters":[{"description":"One-based page number when paginating. The result clamps it between 1 and one page past the last populated page.","required":false,"schema":{"title":"Page","type":"integer","description":"One-based page number when paginating. The result clamps it between 1 and one page past the last populated page.","default":1},"name":"page","in":"query"},{"description":"Maximum floors returned per page.","required":false,"schema":{"title":"Limit","type":"integer","description":"Maximum floors returned per page.","default":10},"name":"limit","in":"query"},{"description":"Repeatable exact-match map-style filter. Current client values include `Blank`, `Satellite`, `Street`, `hybrid`, `roadmap`, and `terrain`.","required":false,"schema":{"title":"Map Style","type":"array","items":{"type":"string"},"description":"Repeatable exact-match map-style filter. Current client values include `Blank`, `Satellite`, `Street`, `hybrid`, `roadmap`, and `terrain`."},"name":"map_style","in":"query"},{"description":"Return pagination metadata; when false, return the full array.","required":false,"schema":{"title":"Paginate","type":"boolean","description":"Return pagination metadata; when false, return the full array.","default":true},"name":"paginate","in":"query"},{"description":"Include each floor's 360 walks; when false, `assets` is null.","required":false,"schema":{"title":"With Asset","type":"boolean","description":"Include each floor's 360 walks; when false, `assets` is null.","default":true},"name":"with_asset","in":"query"},{"description":"Include soft-deleted floors for administrators; ignored otherwise.","required":false,"schema":{"title":"Include Deleted","type":"boolean","description":"Include soft-deleted floors for administrators; ignored otherwise.","default":false},"name":"include_deleted","in":"query"},{"description":"Project external ID. Non-admin access matches exactly; admin searches use a case-insensitive substring.","required":false,"schema":{"title":"Project Id","type":"string","description":"Project external ID. Non-admin access matches exactly; admin searches use a case-insensitive substring."},"name":"project_id","in":"query"},{"description":"Exact numeric floor ID.","required":false,"schema":{"title":"Id","type":"string","description":"Exact numeric floor ID."},"name":"id","in":"query"},{"description":"Case-insensitive substring match on floor name.","required":false,"schema":{"title":"Name","type":"string","description":"Case-insensitive substring match on floor name."},"name":"name","in":"query"},{"description":"Case-insensitive substring match on creator email.","required":false,"schema":{"title":"Created By","type":"string","description":"Case-insensitive substring match on creator email."},"name":"created_by","in":"query"},{"description":"Include floors updated on or after this date.","required":false,"schema":{"title":"Start Date","type":"string","description":"Include floors updated on or after this date.","format":"date"},"name":"start_date","in":"query"},{"description":"Include floors updated on or before this date.","required":false,"schema":{"title":"End Date","type":"string","description":"Include floors updated on or before this date.","format":"date"},"name":"end_date","in":"query"},{"description":"Comma-separated sorting fields. Format: field|asc or field|desc. Allowed fields: created_by, id, inserted_at, name, project_id, updated_at.","required":false,"schema":{"title":"Sort","type":"string","description":"Comma-separated sorting fields. Format: field|asc or field|desc. Allowed fields: created_by, id, inserted_at, name, project_id, updated_at."},"example":"updated_at|desc","name":"sort","in":"query"}],"responses":{"200":{"description":"Paginated object when `paginate=true`; direct floor array when false","content":{"application/json":{"schema":{"title":"Response Get 360 Floors Floors  Get","anyOf":[{"$ref":"#/components/schemas/FloorPaginatedResponse"},{"type":"array","items":{"$ref":"#/components/schemas/FloorResponse"}}]}}}},"401":{"description":"Invalid bearer token","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPErrorResponse"}}}},"403":{"description":"Project access denied","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPErrorResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}},"503":{"description":"Authentication service unavailable","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPErrorResponse"}}}}},"security":[{"HTTPBearer":[]},{"APIKeyHeader":[]}]}},"/floors/{source_floor_id}/transfer-walks/{target_floor_id}":{"post":{"tags":["360 floors"],"summary":"Transfer walks between floors","description":"Moves every 360 walk from one project floor to another.","operationId":"transfer_overlay_floors__source_floor_id__transfer_walks__target_floor_id__post","parameters":[{"required":true,"schema":{"title":"Source Floor Id","type":"integer"},"name":"source_floor_id","in":"path"},{"required":true,"schema":{"title":"Target Floor Id","type":"integer"},"name":"target_floor_id","in":"path"},{"description":"Project external ID that must own both floors.","required":true,"schema":{"title":"Project Id","type":"string","description":"Project external ID that must own both floors."},"name":"project_id","in":"query"}],"responses":{"200":{"description":"Raw UTF-8 `Updated` response body. This legacy response does not set a Content-Type header."},"401":{"description":"Invalid bearer token","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPErrorResponse"}}}},"403":{"description":"Project access denied","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPErrorResponse"}}}},"404":{"description":"Source or target floor not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPErrorResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}},"503":{"description":"Authentication service unavailable","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPErrorResponse"}}}}},"security":[{"HTTPBearer":[]},{"APIKeyHeader":[]}]}},"/floors/{id}/overlay":{"get":{"tags":["360 floors"],"summary":"Get a floor overlay","description":"Returns a floor drawing overlay or its thumbnail.","operationId":"floor_overlay_floors__id__overlay_get","parameters":[{"required":true,"schema":{"title":"Id","type":"integer"},"name":"id","in":"path"},{"description":"Return raw image bytes; when false, return a JSON data URI.","required":false,"schema":{"title":"View","type":"boolean","description":"Return raw image bytes; when false, return a JSON data URI.","default":true},"name":"view","in":"query"},{"description":"Select the generated thumbnail instead of the original overlay.","required":false,"schema":{"title":"Thumbnail","type":"boolean","description":"Select the generated thumbnail instead of the original overlay.","default":false},"name":"thumbnail","in":"query"}],"responses":{"200":{"description":"Raw image bytes when view=true; a JSON data URI string when view=false.","headers":{"file-size":{"description":"Image size in bytes for view=true responses.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"title":"Response Floor Overlay Floors  Id  Overlay Get","type":"string"}},"image/jpeg":{"schema":{"type":"string","format":"binary"}},"image/png":{"schema":{"type":"string","format":"binary"}},"image/gif":{"schema":{"type":"string","format":"binary"}},"image/webp":{"schema":{"type":"string","format":"binary"}}}},"401":{"description":"Invalid bearer token","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPErrorResponse"}}}},"403":{"description":"Project access denied","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPErrorResponse"}}}},"404":{"description":"Floor overlay not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPErrorResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}},"503":{"description":"Authentication service unavailable","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPErrorResponse"}}}}},"security":[{"HTTPBearer":[]},{"APIKeyHeader":[]}]}},"/floors/{id}/archive":{"get":{"tags":["360 floors"],"summary":"Get a floor overlay link","description":"Returns a signed download link for a floor drawing overlay.","operationId":"get_floor_archive_floors__id__archive_get","parameters":[{"required":true,"schema":{"title":"Id","type":"integer"},"name":"id","in":"path"}],"responses":{"200":{"description":"Temporary overlay URL returned as a JSON string","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SignedLinkResponse"}}}},"401":{"description":"Invalid bearer token","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPErrorResponse"}}}},"403":{"description":"Project access denied","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPErrorResponse"}}}},"404":{"description":"Floor overlay not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPErrorResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}},"503":{"description":"Authentication service unavailable","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPErrorResponse"}}}}},"security":[{"HTTPBearer":[]},{"APIKeyHeader":[]}]}},"/floors/{id}/restore":{"post":{"tags":["360 floors","360"],"summary":"Restore a 360 floor","description":"Restores an eligible soft-deleted floor.","operationId":"restore_360_floor_floors__id__restore_post","parameters":[{"required":true,"schema":{"title":"Id","type":"integer"},"name":"id","in":"path"}],"responses":{"200":{"description":"Restored floor without embedded walk records","content":{"application/json":{"schema":{"$ref":"#/components/schemas/FloorResponse"}}}},"401":{"description":"Invalid bearer token","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPErrorResponse"}}}},"403":{"description":"Project access denied","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPErrorResponse"}}}},"404":{"description":"Floor not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPErrorResponse"}}}},"409":{"description":"Floor is active or its name has been reused","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPErrorResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}},"503":{"description":"Authentication service unavailable","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPErrorResponse"}}}}},"security":[{"HTTPBearer":[]},{"APIKeyHeader":[]}]}}},"components":{"schemas":{"AssetCountsResponse":{"title":"AssetCountsResponse","required":["days"],"type":"object","properties":{"days":{"title":"Days","type":"array","items":{"$ref":"#/components/schemas/AssetDayCount"}}},"description":"Daily walkthrough and mobile-photo counts for a project."},"AssetDayCount":{"title":"AssetDayCount","required":["day","walks","mobile_photos"],"type":"object","properties":{"day":{"title":"Day","type":"string","description":"Calendar day in YYYY-MM-DD format"},"walks":{"title":"Walks","type":"integer","description":"Walk records with stored videos on this day."},"mobile_photos":{"title":"Mobile Photos","type":"integer","description":"Current Mobile photo records updated on this day."}},"description":"Walkthrough and mobile-photo counts for one calendar day."},"Assets360ByProjectResponse":{"title":"Assets360ByProjectResponse","required":["assets_360","total_360_assets_count"],"type":"object","properties":{"assets_360":{"title":"Assets 360","type":"array","items":{"$ref":"#/components/schemas/Assets360SummaryResponse"}},"total_360_assets_count":{"title":"Total 360 Assets Count","type":"integer"}},"description":"Completed project walks and their total count."},"Assets360DatabaseResponse":{"title":"Assets360DatabaseResponse","required":["id","project_id","date","name","archive","processing_status","inserted_at","updated_at"],"type":"object","properties":{"id":{"title":"Id","type":"integer"},"project_id":{"title":"Project Id","type":"string"},"date":{"title":"Date","type":"string","format":"date"},"name":{"title":"Name","type":"string"},"start_position":{"title":"Start Position","type":"string"},"end_position":{"title":"End Position","type":"string"},"device_serial":{"title":"Device Serial","type":"string"},"camera_model":{"title":"Camera Model","type":"string"},"camera_firmware_version":{"title":"Camera Firmware Version","type":"string"},"is_timelapse":{"title":"Is Timelapse","type":"boolean"},"tus_links":{"title":"Tus Links","type":"array","items":{"type":"string"},"description":"TUS resource URLs retained for later processing or reprocessing."},"videos":{"title":"Videos","type":"array","items":{"type":"string"}},"video_archive":{"title":"Video Archive","type":"string"},"video_file_extension":{"title":"Video File Extension","type":"string"},"images":{"title":"Images","type":"array","items":{"type":"string"}},"archive":{"title":"Archive","type":"string"},"model":{"title":"Model","type":"string"},"point_cloud":{"title":"Point Cloud","type":"string"},"route":{"title":"Route","type":"string"},"report":{"title":"Report","type":"string"},"processing_log":{"title":"Processing Log","type":"string"},"uploaded_by":{"title":"Uploaded By","type":"string"},"processing_source":{"title":"Processing Source","type":"string"},"processing_status":{"title":"Processing Status","enum":["created"],"type":"string","description":"A prepared upload is returned before it enters the queue."},"processing_queued_at":{"title":"Processing Queued At","type":"string","format":"date-time"},"processing_started_at":{"title":"Processing Started At","type":"string","format":"date-time"},"processing_ended_at":{"title":"Processing Ended At","type":"string","format":"date-time"},"floor_id":{"title":"Floor Id","type":"integer"},"inserted_at":{"title":"Inserted At","type":"string","format":"date-time"},"updated_at":{"title":"Updated At","type":"string","format":"date-time"}},"description":"New 360 asset record returned before processing starts."},"Assets360DetailResponse":{"title":"Assets360DetailResponse","required":["id","project_id","date","name","archive","inserted_at","updated_at"],"type":"object","properties":{"id":{"title":"Id","type":"integer"},"project_id":{"title":"Project Id","type":"string"},"date":{"title":"Date","type":"string","format":"date"},"name":{"title":"Name","type":"string"},"floor":{"title":"Floor","type":"string"},"floor_id":{"title":"Floor Id","type":"integer"},"videos":{"title":"Videos","type":"array","items":{"type":"string"}},"video_archive":{"title":"Video Archive","type":"string"},"images":{"title":"Images","type":"array","items":{"type":"string"}},"archive":{"title":"Archive","type":"string"},"model":{"title":"Model","type":"string"},"point_cloud":{"title":"Point Cloud","type":"string"},"route":{"title":"Route","type":"string"},"report":{"title":"Report","type":"string"},"processing_log":{"title":"Processing Log","type":"string","description":"Admin-only processing log path; omitted for non-admin users."},"mobile_assets":{"title":"Mobile Assets","type":"array","items":{"$ref":"#/components/schemas/MobileAssetResponse"},"description":"Mobile assets attached to this walk. Attachments can be photos, audio, or mobile 360 panoramas."},"uploaded_by":{"title":"Uploaded By","type":"string"},"inserted_at":{"title":"Inserted At","type":"string","format":"date-time"},"updated_at":{"title":"Updated At","type":"string","format":"date-time"},"processing_source":{"title":"Processing Source","type":"string"},"device_serial":{"title":"Device Serial","type":"string"},"camera_model":{"title":"Camera Model","type":"string"},"camera_firmware_version":{"title":"Camera Firmware Version","type":"string"},"start_position":{"title":"Start Position","type":"string"},"end_position":{"title":"End Position","type":"string"},"processing_status":{"title":"Processing Status","type":"string","description":"Stored processing state, normally `created`, `pending`, `inprogress`, `completed`, `failed`, `aborted`, `paused`, `uploading`, or `downloading`."},"processing_queued_at":{"title":"Processing Queued At","type":"string","format":"date-time"},"processing_started_at":{"title":"Processing Started At","type":"string","format":"date-time"},"processing_ended_at":{"title":"Processing Ended At","type":"string","format":"date-time"},"tus_links":{"title":"Tus Links","type":"array","items":{"type":"string"}},"has_steps":{"title":"Has Steps","type":"boolean","description":"Whether a tracked processing run exists for this walk."}},"description":"Stored 360 walk, artifacts, linked mobile assets, and processing state."},"Assets360PageResponse":{"title":"Assets360PageResponse","required":["items","page","limit","total"],"type":"object","properties":{"items":{"title":"Items","type":"array","items":{"$ref":"#/components/schemas/Assets360DetailResponse"}},"page":{"title":"Page","type":"integer"},"limit":{"title":"Limit","type":"integer"},"total":{"title":"Total","type":"integer"}},"description":"Page of detailed 360 asset records."},"Assets360SummaryResponse":{"title":"Assets360SummaryResponse","required":["project_id","date","floor","updated_at","id"],"type":"object","properties":{"project_id":{"title":"Project Id","type":"string"},"date":{"title":"Date","type":"string","format":"date"},"floor":{"title":"Floor","type":"string","description":"Stored walk name exposed under the legacy `floor` response key."},"uploaded_by":{"title":"Uploaded By","type":"string"},"updated_at":{"title":"Updated At","type":"string","format":"date-time"},"thumbnail":{"title":"Thumbnail","type":"string","description":"Signed thumbnail URL, or null when no walk image is available."},"id":{"title":"Id","type":"integer"},"processing_queued_at":{"title":"Processing Queued At","type":"string","format":"date-time"},"processing_started_at":{"title":"Processing Started At","type":"string","format":"date-time"},"processing_ended_at":{"title":"Processing Ended At","type":"string","format":"date-time"},"mobile_assets":{"title":"Mobile Assets","type":"array","items":{"$ref":"#/components/schemas/MobileAssetResponse"},"description":"Mobile assets attached to this walk. Attachments can be photos, audio, or mobile 360 panoramas."}},"description":"Completed 360 walk summary used by project and queue views."},"DiskUsage":{"title":"DiskUsage","type":"object","properties":{"source_mb":{"title":"Source Mb","type":"number"},"frames_mb":{"title":"Frames Mb","type":"number"},"result_mb":{"title":"Result Mb","type":"number"},"total_mb":{"title":"Total Mb","type":"number"}},"description":"Processing disk use in megabytes, split by artifact group."},"EmptyObjectResponse":{"title":"EmptyObjectResponse","type":"object","properties":{},"additionalProperties":false,"description":"An empty JSON object returned after a completed operation."},"FloorPaginatedResponse":{"title":"FloorPaginatedResponse","required":["items","page","limit","total","page_count"],"type":"object","properties":{"items":{"title":"Items","type":"array","items":{"$ref":"#/components/schemas/FloorResponse"}},"page":{"title":"Page","type":"integer"},"limit":{"title":"Limit","type":"integer"},"total":{"title":"Total","type":"integer"},"page_count":{"title":"Page Count","type":"integer"}},"description":"Page of project floors."},"FloorRequest":{"title":"FloorRequest","type":"object","properties":{"overlay":{"$ref":"#/components/schemas/Upload"},"name":{"title":"Name","type":"string","description":"Floor name. Creation trims surrounding whitespace and collapses repeated spaces; updates store the supplied name as-is. Names cannot contain . $ # [ ] / or ASCII control characters (0-31 or 127)."},"map_style":{"title":"Map Style","type":"string","description":"Stored map-style string. Current clients use `Blank`, `Satellite`, `Street`, `hybrid`, `roadmap`, or `terrain`; the API retains other values."},"is_calibrated":{"title":"Is Calibrated","type":"boolean","description":"Whether overlay placement is calibrated. The legacy default is false, so omitting this field during an update resets it to false.","default":false},"overlay_position_corners":{"$ref":"#/components/schemas/OverlayPositionCorners"},"overlay_position_sides":{"$ref":"#/components/schemas/OverlayPositionSides"}},"description":"Editable floor metadata, calibration, and optional overlay placement.\n\n`name` is required when creating a floor but optional when updating one. `overlay`\nreferences one TUS-uploaded BMP, JPEG, JPG, or PNG image. When both placement\nforms are supplied, `overlay_position_corners` takes precedence and the legacy\n`overlay_position_sides` value is ignored."},"FloorResponse":{"title":"FloorResponse","required":["id","project_id","has_overlay","name","inserted_at","updated_at"],"type":"object","properties":{"id":{"title":"Id","type":"integer"},"project_id":{"title":"Project Id","type":"string"},"has_overlay":{"title":"Has Overlay","type":"boolean","description":"Whether an original overlay storage path is present."},"overlay_position":{"title":"Overlay Position","type":"object","description":"Stored overlay placement using either side bounds or corner positions."},"map_style":{"title":"Map Style","type":"string","description":"Stored client map-style value."},"created_by":{"title":"Created By","type":"string"},"name":{"title":"Name","type":"string"},"assets":{"title":"Assets","type":"array","items":{"$ref":"#/components/schemas/Assets360DetailResponse"},"description":"Embedded 360 walks when requested; otherwise null."},"is_calibrated":{"title":"Is Calibrated","type":"boolean","description":"Whether the stored overlay placement is calibrated."},"inserted_at":{"title":"Inserted At","type":"string","format":"date-time"},"updated_at":{"title":"Updated At","type":"string","format":"date-time"},"deleted_at":{"title":"Deleted At","type":"string","description":"Admin-only deletion timestamp; omitted for non-admin users.","format":"date-time"}},"description":"Project floor with overlay state and optional 360 assets."},"Footprint":{"title":"Footprint","type":"object","properties":{"disk":{"title":"Disk","allOf":[{"$ref":"#/components/schemas/DiskUsage"}],"default":{}},"peak":{"title":"Peak","allOf":[{"$ref":"#/components/schemas/PeakUsage"}],"default":{}}},"description":"Disk totals and peak resource measurements for a processing run."},"Generate360MapRequest":{"title":"Generate360MapRequest","required":["camera_offset"],"type":"object","properties":{"date_id":{"title":"Date Id","type":"string","description":"Firebase date entry ID used to read and write the walk route.","default":""},"floor_id":{"title":"Floor Id","type":"string","description":"Firebase floor ID used to read and write the walk route.","default":""},"camera_offset":{"title":"Camera Offset","type":"string","description":"Fallback clockwise camera heading offset in degrees, stored when it cannot be calculated from the route."},"start_point":{"title":"Start Point","type":"string","description":"Route start latitude and longitude as a comma-separated string.","default":"0,0"},"end_point":{"title":"End Point","type":"string","description":"Route end latitude and longitude as a comma-separated string.","default":"0,0"},"drawing_id":{"title":"Drawing Id","type":"integer","description":"Database floor ID associated with the generated route and used to find the matching walk for attached Mobile asset geolocation."},"markers":{"title":"Markers","type":"array","items":{"type":"object"},"description":"Ordered viewer markers. Each item may be a full viewer marker or contain a `position` object with numeric `x`, `y`, and `z`; when empty, stored Firebase markers are used."},"start_point_index":{"title":"Start Point Index","type":"integer","description":"Index of the viewer position anchored to `start_point`; negative Python-style indices are accepted.","default":0},"end_point_index":{"title":"End Point Index","type":"integer","description":"Index of the viewer position anchored to `end_point`; negative Python-style indices are accepted and it must differ from the start index.","default":-1}},"description":"Viewer markers and endpoints used to build a geolocated 360 route."},"GeoPointResponse":{"title":"GeoPointResponse","required":["latitude","longitude"],"type":"object","properties":{"latitude":{"title":"Latitude","anyOf":[{"type":"number"},{"type":"integer"},{"type":"string"}]},"longitude":{"title":"Longitude","anyOf":[{"type":"number"},{"type":"integer"},{"type":"string"}]}},"description":"Latitude and longitude in the stored number format."},"GeolocateMobileAssetsResponse":{"title":"GeolocateMobileAssetsResponse","required":["updated"],"type":"object","properties":{"updated":{"title":"Updated","type":"integer","description":"Number of attached Mobile assets updated; zero when usable video metadata is unavailable or no assets are linked."}},"description":"Number of linked mobile assets assigned a geolocation."},"HTTPErrorResponse":{"title":"HTTPErrorResponse","type":"object","properties":{"detail":{"title":"Detail","type":"string","description":"Human-readable error detail, or null when no detail is supplied.","nullable":true}},"description":"Error response returned by an API operation."},"HTTPValidationError":{"title":"HTTPValidationError","type":"object","properties":{"detail":{"title":"Detail","type":"array","items":{"$ref":"#/components/schemas/ValidationError"}}}},"MetricStatPayload":{"title":"MetricStatPayload","type":"object","properties":{"avg":{"title":"Avg","type":"number"},"peak":{"title":"Peak","type":"number"}},"description":"Average and peak value for one processing resource metric."},"MobileAssetResponse":{"title":"MobileAssetResponse","required":["id","project_id","capture_date","updated_at","thumbnail_url"],"type":"object","properties":{"id":{"title":"Id","type":"integer"},"project_id":{"title":"Project Id","type":"string"},"capture_date":{"title":"Capture Date","type":"string","format":"date"},"uploaded_by":{"title":"Uploaded By","type":"string"},"updated_at":{"title":"Updated At","type":"string","format":"date-time"},"asset_type":{"title":"Asset Type","type":"string","description":"Stored asset type. Current uploads use `mobile_photos`, `mobile_audios`, or `mobile_360`; legacy records can contain other values."},"latitude":{"title":"Latitude","type":"number"},"longitude":{"title":"Longitude","type":"number"},"asset_360_id":{"title":"Asset 360 Id","type":"integer","description":"Attached 360 walk ID; null when the asset is not attached."},"video_offset_ms":{"title":"Video Offset Ms","type":"integer","description":"Position in the attached walk video in milliseconds; null when the asset is not attached."},"thumbnail_url":{"title":"Thumbnail Url","type":"string","description":"Signed thumbnail URL for image assets; signed source URL for audio assets."}},"description":"Stored mobile capture with its signed thumbnail URL."},"OverlayPositionCorners":{"title":"OverlayPositionCorners","required":["north_east","north_west","south_west","south_east"],"type":"object","properties":{"north_east":{"$ref":"#/components/schemas/Position"},"north_west":{"$ref":"#/components/schemas/Position"},"south_west":{"$ref":"#/components/schemas/Position"},"south_east":{"$ref":"#/components/schemas/Position"}},"description":"Four geographic corner positions for a floor overlay."},"OverlayPositionSides":{"title":"OverlayPositionSides","type":"object","properties":{"east":{"title":"East","anyOf":[{"type":"number"},{"type":"integer"}],"default":0},"north":{"title":"North","anyOf":[{"type":"number"},{"type":"integer"}],"default":0},"south":{"title":"South","anyOf":[{"type":"number"},{"type":"integer"}],"default":0},"west":{"title":"West","anyOf":[{"type":"number"},{"type":"integer"}],"default":0}},"description":"Overlay bounds expressed as east, north, south, and west values."},"PeakUsage":{"title":"PeakUsage","type":"object","properties":{"cpu":{"title":"Cpu","type":"number"},"ram":{"title":"Ram","type":"number"},"gpu_util":{"title":"Gpu Util","type":"number"},"gpu_mem_step":{"title":"Gpu Mem Step","type":"number"}},"description":"Peak CPU, RAM, and GPU measurements for a processing run."},"Position":{"title":"Position","type":"object","properties":{"lng":{"title":"Lng","anyOf":[{"type":"number"},{"type":"integer"}],"default":0},"lat":{"title":"Lat","anyOf":[{"type":"number"},{"type":"integer"}],"default":0}},"description":"Latitude and longitude corner position for an overlay."},"ProgressResponse":{"title":"ProgressResponse","type":"object","properties":{"available":{"title":"Available","type":"boolean","default":false},"processing_status":{"title":"Processing Status","type":"string"},"status":{"title":"Status","type":"string"},"error":{"title":"Error","type":"string"},"started_at":{"title":"Started At","type":"string"},"steps":{"title":"Steps","type":"array","items":{"$ref":"#/components/schemas/ProgressStep"},"default":[]},"footprint":{"$ref":"#/components/schemas/Footprint"}},"description":"Latest processing status, steps, and resource footprint when available."},"ProgressStep":{"title":"ProgressStep","type":"object","properties":{"name":{"title":"Name","type":"string"},"tool":{"title":"Tool","type":"string"},"status":{"title":"Status","type":"string"},"started_at":{"title":"Started At","type":"string"},"ended_at":{"title":"Ended At","type":"string"},"duration_sec":{"title":"Duration Sec","type":"number"},"duration_pct":{"title":"Duration Pct","type":"number"},"detail":{"title":"Detail","allOf":[{"$ref":"#/components/schemas/StepDetail"}],"default":{}}},"description":"Status, timing, and recorded detail for one processing step."},"PublicProcessingSource":{"title":"PublicProcessingSource","enum":["API","CAPTURE_APP","DASHBOARD"],"type":"string","description":"An enumeration."},"Queue360Response":{"title":"Queue360Response","required":["size","assets_360"],"type":"object","properties":{"size":{"title":"Size","type":"integer"},"assets_360":{"title":"Assets 360","type":"array","items":{"$ref":"#/components/schemas/Assets360SummaryResponse"}}},"description":"Current 360 processing queue and its reported size."},"SignedLinkResponse":{"title":"SignedLinkResponse","type":"string","description":"A temporary signed URL returned as a JSON string."},"StatusCodeBody":{"title":"StatusCodeBody","enum":[201],"type":"integer","description":"Legacy success response containing JSON number `201`."},"StepDetail":{"title":"StepDetail","type":"object","properties":{"input":{"title":"Input","type":"object","additionalProperties":{"anyOf":[{"type":"boolean"},{"type":"integer"},{"type":"number"},{"type":"string"}]}},"params":{"title":"Params","type":"object","additionalProperties":{"anyOf":[{"type":"boolean"},{"type":"integer"},{"type":"number"},{"type":"string"}]}},"output":{"title":"Output","type":"object","additionalProperties":{"anyOf":[{"type":"boolean"},{"type":"integer"},{"type":"number"},{"type":"string"}]}},"metrics":{"$ref":"#/components/schemas/StepMetricsPayload"},"error":{"title":"Error","type":"string"}},"description":"Optional inputs, outputs, metrics, and error for a processing step."},"StepMetricsPayload":{"title":"StepMetricsPayload","type":"object","properties":{"cpu":{"$ref":"#/components/schemas/MetricStatPayload"},"ram":{"$ref":"#/components/schemas/MetricStatPayload"},"gpu_util":{"$ref":"#/components/schemas/MetricStatPayload"},"gpu_mem_step":{"$ref":"#/components/schemas/MetricStatPayload"},"disk_total_mb":{"title":"Disk Total Mb","type":"number"}},"description":"Resource measurements recorded for one processing step."},"ThreeDMarkerAPIResponse":{"title":"ThreeDMarkerAPIResponse","required":["nextRoomId","cameraPosition","position","rotation"],"type":"object","properties":{"nextRoomId":{"title":"Nextroomid","type":"string","description":"Camera frame label exposed under the legacy `nextRoomId` key."},"cameraPosition":{"$ref":"#/components/schemas/Vector3Response"},"position":{"$ref":"#/components/schemas/Vector3Response"},"rotation":{"$ref":"#/components/schemas/ViewerEulerRotationResponse"},"geolocation":{"$ref":"#/components/schemas/GeoPointResponse"}},"description":"Stored viewer marker.\n\nThe camera label and position use the legacy `nextRoomId` and `cameraPosition`\nresponse keys. `geolocation` is present only after the marker has been mapped."},"Update360Request":{"title":"Update360Request","type":"object","properties":{"drawing_id":{"title":"Drawing Id","type":"integer","description":"Target project floor ID; omit to leave the walk unchanged."}},"description":"Optional target floor for moving a 360 walk."},"Upload":{"title":"Upload","required":["url","title","file_extension"],"type":"object","properties":{"url":{"title":"Url","type":"string","description":"TUS resource URL for the uploaded file."},"title":{"title":"Title","type":"string","description":"Source filename without its extension."},"file_extension":{"title":"File Extension","type":"string","description":"Source filename extension without a leading dot."}},"description":"Reference to one file already uploaded through TUS."},"Upload360APIRequest":{"title":"Upload360APIRequest","required":["asset_type","upload"],"type":"object","properties":{"targetPointsCount":{"title":"Targetpointscount","type":"integer","description":"Requested output point count for route imports; ignored for other artifact types.","default":0},"asset_type":{"title":"Asset Type","enum":["image","video","model","route"],"type":"string","description":"Artifact to process: image set, video capture, model, or route."},"upload":{"title":"Upload","type":"array","items":{"$ref":"#/components/schemas/Upload"},"description":"TUS resources containing the selected 360 artifact."},"device_serial":{"title":"Device Serial","type":"string","description":"Capture device serial number. Extracted video metadata can replace this value during processing."},"start_position":{"title":"Start Position","type":"string","description":"Optional route start as `latitude,longitude`; used only when an end position is also supplied."},"end_position":{"title":"End Position","type":"string","description":"Optional route end as `latitude,longitude`; used only when a start position is also supplied."},"is_timelapse":{"title":"Is Timelapse","type":"boolean","description":"Declare the video as a timelapse capture. When false, processing may still detect timelapse footage from the source.","default":false},"is_images_only":{"title":"Is Images Only","type":"boolean","description":"Publish the processed walk in images-only viewer mode.","default":false},"is_enhanced_images":{"title":"Is Enhanced Images","type":"boolean","description":"Generate and publish the enhanced-image set during video processing.","default":false}},"description":"TUS files and capture options submitted for 360 processing."},"ValidationError":{"title":"ValidationError","required":["loc","msg","type"],"type":"object","properties":{"loc":{"title":"Location","type":"array","items":{"anyOf":[{"type":"string"},{"type":"integer"}]}},"msg":{"title":"Message","type":"string"},"type":{"title":"Error Type","type":"string"}}},"Vector3Response":{"title":"Vector3Response","required":["x","y","z"],"type":"object","properties":{"x":{"title":"X","anyOf":[{"type":"number"},{"type":"integer"},{"type":"string"}]},"y":{"title":"Y","anyOf":[{"type":"number"},{"type":"integer"},{"type":"string"}]},"z":{"title":"Z","anyOf":[{"type":"number"},{"type":"integer"},{"type":"string"}]}},"description":"Viewer-space x, y, and z coordinates in the stored number format."},"ViewerEulerRotationResponse":{"title":"ViewerEulerRotationResponse","required":["_order","_x","_y","_z","isEuler"],"type":"object","properties":{"_order":{"title":" Order","type":"string"},"_x":{"title":" X","anyOf":[{"type":"number"},{"type":"integer"},{"type":"string"}]},"_y":{"title":" Y","anyOf":[{"type":"number"},{"type":"integer"},{"type":"string"}]},"_z":{"title":" Z","anyOf":[{"type":"number"},{"type":"integer"},{"type":"string"}]},"isEuler":{"title":"Iseuler","anyOf":[{"type":"boolean"},{"type":"string"}],"description":"Boolean Euler marker or its legacy string representation."}},"description":"Stored viewer Euler rotation using legacy underscore aliases."}},"securitySchemes":{"HTTPBearer":{"type":"http","scheme":"bearer"},"APIKeyHeader":{"type":"apiKey","in":"header","name":"x-access-key"}}},"tags":[{"name":"360","description":"360 upload preparation and processing."},{"name":"360 assets","description":"Stored 360 walks and artifacts."},{"name":"360 API","description":"Map, marker, and geolocation operations."},{"name":"360 floors","description":"Project floors and drawing overlays."}]}