Skip to main content

Get attachments for spot

GET 

/api/inspect/v1/spot/attachment

Fetch the list of attachments in a spot for the given spot ID.

Request

Query Parameters

    spotID stringrequired

    Spot ID for which attachments are to be fetched.

Responses

200 response

Schema

    data

    object[]

    List of attachments

  • Array [

  • orderNo int64

    Order number of the attachment

    spotID uuid

    ID of the spot to which the attachment is linked

    updatedAt int64

    Timestamp when the spot attachment was last updated in milliseconds

    url uri

    URL of the attachment

    createdBy int64

    ID of the user who created the spot attachment

    remarks string

    Remarks of the attachment

    thumbnailURL uri

    URL of the thumbnail image of the attachment

    updatedBy int64

    ID of the user who last updated the spot attachment

    createdAt int64

    Timestamp when the spot attachment was created in milliseconds

    attributes

    object

    A set of attributes for the attachment

    photo360 boolean

    Whether the attachment is a 360-degree photo

    rotation double

    Rotation angle of the attachment

    id uuid

    ID of the spot attachment

    name string

    Name of the attachment

    type int32

    Possible values: [0, 1, 2, 3]

    Type of the attachment. 0 = Document, 1 = Photo, 2 = Audio, 3 = Video

    assetID uuid

    ID of the asset to which the spot attachment belongs

  • ]

Loading...