{"openapi":"3.0.0","info":{"title":"3D Visualization API","version":"1.0.0"},"paths":{"/api/v1/assets/{id}/pointClouds":{"get":{"summary":"Retrieve all point cloud data related to a specific asset","description":"This endpoint fetches all point cloud data linked to a particular asset. Point cloud data is the basis for creating the 3D model and used for visualization purposes.","parameters":[{"name":"id","in":"path","description":"Asset ID","required":true,"schema":{"type":"integer","format":"int64"}}],"responses":{"200":{"description":"Array of point cloud data objects","content":{"application/json":{"schema":{"type":"array","items":{"type":"object","properties":{"id":{"type":"integer"},"data":{"type":"array","items":{"type":"object","properties":{"x":{"type":"number"},"y":{"type":"number"},"z":{"type":"number"}}}}}}}}}}}}},"/api/v1/assets/{id}/3Dmodels":{"get":{"summary":"Retrieve all 3D model data related to a specific asset","description":"This endpoint fetches all 3D model data linked to a specific asset. 3D models are created from point cloud data and used for visualization and analysis purposes.","parameters":[{"name":"id","in":"path","description":"Asset ID","required":true,"schema":{"type":"integer","format":"int64"}}],"responses":{"200":{"description":"Array of 3D model data objects","content":{"application/json":{"schema":{"type":"array","items":{"type":"object","properties":{"id":{"type":"integer"},"vertices":{"type":"array","items":{"type":"object","properties":{"x":{"type":"number"},"y":{"type":"number"},"z":{"type":"number"}}}},"faces":{"type":"array","items":{"type":"array","items":{"type":"integer"}}}}}}}}}}}},"/api/v1/3Dmodels/{id}/coordinates":{"get":{"summary":"Retrieve all coordinates related to a specific 3D model","description":"This endpoint fetches all coordinates linked to a specific 3D model. These coordinates represent the positions in the 3D model that are associated with a video sequence.","parameters":[{"name":"id","in":"path","description":"3D Model ID","required":true,"schema":{"type":"integer","format":"int64"}}],"responses":{"200":{"description":"Array of coordinate data objects","content":{"application/json":{"schema":{"type":"array","items":{"type":"object","properties":{"id":{"type":"integer"},"x":{"type":"number"},"y":{"type":"number"},"z":{"type":"number"}}}}}}}}}},"/api/v1/coordinates/{id}/videoSequence":{"get":{"summary":"Retrieve the video sequence associated with a specific coordinate","description":"This endpoint fetches the video sequence associated with a specific coordinate. These video sequences provide more detailed visual data for specific positions within the 3D model.","parameters":[{"name":"id","in":"path","description":"Coordinate ID","required":true,"schema":{"type":"integer","format":"int64"}}],"responses":{"200":{"description":"Video sequence data object","content":{"application/json":{"schema":{"type":"object","properties":{"id":{"type":"integer"},"videoURL":{"type":"string"},"startTime":{"type":"string"},"endTime":{"type":"string"}}}}}}}}},"/api/v1/3Dmodels/{id}/wallThickness":{"get":{"summary":"Retrieve the wall thickness data for a specific 3D model","description":"This endpoint fetches the wall thickness data for a specific 3D model. This data is calculated based on the original model data and the actual point cloud data, and is used for maintenance and analysis purposes.","parameters":[{"name":"id","in":"path","description":"3D Model ID","required":true,"schema":{"type":"integer","format":"int64"}}],"responses":{"200":{"description":"Wall thickness data object","content":{"application/json":{"schema":{"type":"object","properties":{"id":{"type":"integer"},"thickness":{"type":"array","items":{"type":"object","properties":{"x":{"type":"number"},"y":{"type":"number"},"z":{"type":"number"},"thickness":{"type":"number"}}}}}}}}}}}},"/api/v1/assets/{id}/reports":{"get":{"summary":"Retrieve all reports related to a specific asset","description":"This endpoint fetches all reports linked to a specific asset. These reports provide comprehensive summaries of the asset's condition based on our analysis of the 3D model and point cloud data.","parameters":[{"name":"id","in":"path","description":"Asset ID","required":true,"schema":{"type":"integer","format":"int64"}}],"responses":{"200":{"description":"Array of report data objects","content":{"application/json":{"schema":{"type":"array","items":{"type":"object","properties":{"id":{"type":"integer"},"title":{"type":"string"},"content":{"type":"string"}}}}}}}}}}}}