Skip to main content

Get asset by ID

GET 

/api/inspect/v1/asset/:id

Fetch an asset that the user has access to with the ID of the asset.

Request

Path Parameters

    id stringrequired

    ID of the asset to fetch

Responses

200 response

Schema

    data

    object

    The asset.

    id uuid

    Unique identifier (ID) for the asset

    name string

    Name of the asset

    thumbnailURL uri

    URL to the thumbnail of the asset

    updatedBy int64

    ID of the user who last updated the asset

    companyID uuid

    ID of the company to which the asset belongs

    geolocation

    object

    Geolocation of the asset

    geometry

    object

    The geometry of the entity on the Map.

    coordinates double[]

    Possible values: >= 2, <= 2

    The latitude and longitude coordinates of the entity on the Map.

    type string

    The type of geometry used, typically indicating the format of the map coordinates.

    properties

    object

    The properties of the entity on the Map.

    address string

    The address of the entity on the Map.

    name string

    The name of the entity on the Map.

    type string

    The type of geometry used, typically indicating the format of the map coordinates.

    favorite boolean

    Whether the asset is a favorite asset

    type int32

    Possible values: [1, 2, 3, 4, 5]

    Type of the asset. 1 = Bridge, 2 = Building, 3 = Road, 4 = Tunnel, 5 = Others

    createdAt int64

    Timestamp when the asset was created in milliseconds

    demo boolean

    Whether the asset is a demo asset

    rating double

    Rating of the asset

    updatedAt int64

    Timestamp when the asset was last updated in milliseconds

    archived boolean

    Whether the asset is archived

    createdBy int64

    ID of the user who created the asset

Loading...