Skip to main content

Get 2D views for asset

GET 

/api/inspect/v1/file/2d

Fetch the list of 2D views in an asset.

Request

Query Parameters

    assetID stringrequired

    Asset ID for which 2D views are to be fetched.

Responses

200 response

Schema

    data

    object[]

    The list of files.

  • Array [

  • assetID uuid

    ID of the asset to which the file belongs

    category int32

    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

    createdBy int64

    ID of the user who created the file

    url uri

    URL to the file

    rasterizedURL uri

    URL to the rasterized file

    size int64

    Size of the file in bytes

    updatedBy int64

    ID of the user who last updated the file

    createdAt int64

    Timestamp when the file was created in milliseconds

    id uuid

    Unique identifier (ID) for the file

    thumbnailURL uri

    URL to the thumbnail of the file

    attributes

    object

    Attributes of the file

    photo boolean
    photo360 boolean
    rotation double
    sketch boolean
    source string

    Possible values: [Crack = "crack", Sensor = "sensor", System = "system", ScanOverlay = "scan_overlay"]

    name string

    Name of the file

    orderNo int64

    Order number of the file

    updatedAt int64

    Timestamp when the file was last updated in milliseconds

  • ]

Loading...