Skip to main content

Add folder to project

POST 

/projects/:projectId/folders

Require admin rights

Request

Path Parameters

    projectId stringrequired

Body

    name stringrequired
    folderId stringnullable
    path string[]nullable

    tags

    object[]

    nullable

  • Array [

  • id stringrequired

    Tag.

    Example: status
    name stringnullable

    Tag value.

    Example: approved
  • ]

  • position double[]nullable
    Example: [0,0,0]
    rotation double[]nullable

    Quaternion rotation

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

Responses

Folder successfuly added to project

Schema

    id stringrequired
    name stringrequired
    source stringrequired
    folders undefined[]nullable

    files

    object[]

    nullable

  • Array [

  • 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
  • ]

  • ]

  • size int64
    lastUpdatedBy stringrequired
    lastUpdatedAt date-timerequired

    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]

    position double[]nullable
    Example: [0,0,0]
    rotation double[]nullable

    Quaternion rotation

    Example: [0,0,0,1]
    scale double[]nullable
    Example: [1,1,1]
    deleted booleannullable
Loading...