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 user who created the file
Order number of the file
URL to the rasterized file
URL to the thumbnail of the file
Timestamp when the file was last updated in milliseconds
ID of the asset to which the file belongs
attributes
object
Attributes of the file
Possible values: [Crack = "crack"
, Sensor = "sensor"
, System = "system"
, ScanOverlay = "scan_overlay"
]
Size of the file in bytes
ID of the user who last updated the file
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
Timestamp when the file was created in milliseconds
URL to the file
Unique identifier (ID) for the file
Name of the file
{
"data": [
{
"createdBy": 1413,
"orderNo": 1,
"rasterizedURL": "https://example.com/rasterized",
"thumbnailURL": "https://example.com/thumbnail",
"updatedAt": 1652933097739,
"assetID": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"attributes": {
"photo": false,
"photo360": false,
"rotation": 90,
"sketch": true,
"source": "crack"
},
"size": 517859,
"updatedBy": 1413,
"category": 0,
"createdAt": 1652933097739,
"url": "https://example.com/file",
"id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"name": "Begonia"
}
]
}
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"
}