Skip to main content

Add file to project

POST 

/projects/:projectId/files

Require admin rights

Request

Path Parameters

    projectId stringrequired

Body

    name stringrequired
    uploadId stringnullable
    wms stringnullable
    wcs stringnullable
    folderId stringnullable
    path string[]nullable
    position double[]nullable
    Example: [0,0,0]
    rotation double[]nullable

    Quaternion rotation

    Example: [0,0,0,1]
    scale double[]nullable
    Example: [1,1,1]

    tags

    object[]

    nullable

  • Array [

  • id stringrequired

    Tag.

    Example: status
    name stringnullable

    Tag value.

    Example: approved
  • ]

Responses

File successfuly added to project

Schema

    id stringrequired
    name stringrequired
    source stringrequired
    wms stringnullable
    wcs stringnullable
    lastUpdatedBy stringrequired
    lastUpdatedAt date-timerequired
    resourceId stringrequired
    position double[]nullable
    Example: [0,0,0]
    rotation double[]nullable

    Quaternion rotation

    Example: [0,0,0,1]
    scale double[]nullable
    Example: [1,1,1]
    uploadId stringrequired
    version int32required
    size int64
    error stringnullable

    tags

    object[]

    nullable

  • Array [

  • id stringrequired

    Tag.

    Example: status
    name stringnullable

    Tag value.

    Example: approved
  • ]

  • state State (string)

    Possible values: [skip, converting, conversion_failed, pending, in_scene]

    deleted booleannullable

    types

    object[]

    nullable

  • Array [

  • type stringrequired
    size int64required
  • ]

Loading...