Get 2D views for asset
GET/api/inspect/v1/file/2d
Fetch the list of 2D views in an asset.
Request
Query Parameters
Asset ID for which 2D views are to be fetched.
Responses
- 200
- 400
- 401
- 403
- 404
- 500
200 response
- application/json
- Schema
- Example (from schema)
Schema
Array [
]
data
object[]
The list of files.
ID of the asset to which the file belongs
Possible values: [0
, 1
, 2
, 3
, 4
, 5
, 6
]
Category of the file. 0 = Drawing, 1 = Document, 2 = Photo, 3 = Map, 4 = Model, 5 = Report, 6 = 2D
ID of the user who created the file
URL to the file
URL to the rasterized file
Size of the file in bytes
ID of the user who last updated the file
Timestamp when the file was created in milliseconds
Unique identifier (ID) for the file
URL to the thumbnail of the file
attributes
object
Attributes of the file
Possible values: [Crack = "crack"
, Sensor = "sensor"
, System = "system"
, ScanOverlay = "scan_overlay"
]
Name of the file
Order number of the file
Timestamp when the file was last updated in milliseconds
{
"data": [
{
"assetID": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"category": 0,
"createdBy": 1413,
"url": "https://example.com/file",
"rasterizedURL": "https://example.com/rasterized",
"size": 517859,
"updatedBy": 1413,
"createdAt": 1652933097739,
"id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"thumbnailURL": "https://example.com/thumbnail",
"attributes": {
"photo360": false,
"rotation": 90,
"sketch": true,
"source": "crack",
"photo": false
},
"name": "Begonia",
"orderNo": 1,
"updatedAt": 1652933097739
}
]
}
400 response
- application/json
- Schema
- Example (from schema)
Schema
A code representing the specific error that occurred. This can be used to programmatically identify and handle the error.
A detailed description of the error, providing more context or information about what went wrong. This is intended to help understand the cause of the error and how to resolve it.
{
"error": "Forbidden",
"errorDescription": "permission denied"
}
401 response
- application/json
- Schema
- Example (from schema)
Schema
A code representing the specific error that occurred. This can be used to programmatically identify and handle the error.
A detailed description of the error, providing more context or information about what went wrong. This is intended to help understand the cause of the error and how to resolve it.
{
"error": "Forbidden",
"errorDescription": "permission denied"
}
403 response
- application/json
- Schema
- Example (from schema)
Schema
A code representing the specific error that occurred. This can be used to programmatically identify and handle the error.
A detailed description of the error, providing more context or information about what went wrong. This is intended to help understand the cause of the error and how to resolve it.
{
"error": "Forbidden",
"errorDescription": "permission denied"
}
404 response
- application/json
- Schema
- Example (from schema)
Schema
A code representing the specific error that occurred. This can be used to programmatically identify and handle the error.
A detailed description of the error, providing more context or information about what went wrong. This is intended to help understand the cause of the error and how to resolve it.
{
"error": "Forbidden",
"errorDescription": "permission denied"
}
500 response
- application/json
- Schema
- Example (from schema)
Schema
A code representing the specific error that occurred. This can be used to programmatically identify and handle the error.
A detailed description of the error, providing more context or information about what went wrong. This is intended to help understand the cause of the error and how to resolve it.
{
"error": "Forbidden",
"errorDescription": "permission denied"
}