Add folder to project
POST/projects/:projectId/folders
Require admin rights
Request
Path Parameters
- application/json
Body
Array [
]
tags
object[]
nullable
Tag.
status
Tag value.
approved
[0,0,0]
Quaternion rotation
[0,0,0,1]
[1,1,1]
Responses
- 201
- 202
- 400
- 401
- 404
- 500
Folder successfuly added to project
- application/json
- Schema
- Example (from schema)
Schema
Array [
Array [
]
Array [
]
]
Array [
]
files
object[]
nullable
[0,0,0]
Quaternion rotation
[0,0,0,1]
[1,1,1]
tags
object[]
nullable
Tag.
status
Tag value.
approved
Possible values: [skip
, converting
, conversion_failed
, pending
, in_scene
]
types
object[]
nullable
tags
object[]
nullable
Tag.
status
Tag value.
approved
Possible values: [skip
, converting
, conversion_failed
, pending
, in_scene
]
[0,0,0]
Quaternion rotation
[0,0,0,1]
[1,1,1]
{
"id": "string",
"name": "string",
"source": "string",
"folders": [
null
],
"files": [
{
"id": "string",
"name": "string",
"source": "string",
"wms": "string",
"wcs": "string",
"lastUpdatedBy": "string",
"lastUpdatedAt": "2024-07-29T15:51:28.071Z",
"resourceId": "string",
"position": [
0,
0,
0
],
"rotation": [
0,
0,
0,
1
],
"scale": [
1,
1,
1
],
"uploadId": "string",
"version": 0,
"size": 0,
"error": "string",
"tags": [
{
"id": "status",
"name": "approved"
}
],
"state": "skip",
"deleted": true,
"types": [
{
"type": "string",
"size": 0
}
]
}
],
"size": 0,
"lastUpdatedBy": "string",
"lastUpdatedAt": "2024-07-29T15:51:28.071Z",
"tags": [
{
"id": "status",
"name": "approved"
}
],
"state": "skip",
"position": [
0,
0,
0
],
"rotation": [
0,
0,
0,
1
],
"scale": [
1,
1,
1
],
"deleted": true
}
Folder already exists
- application/json
- Schema
- Example (from schema)
Schema
Array [
Array [
]
Array [
]
]
Array [
]
files
object[]
nullable
[0,0,0]
Quaternion rotation
[0,0,0,1]
[1,1,1]
tags
object[]
nullable
Tag.
status
Tag value.
approved
Possible values: [skip
, converting
, conversion_failed
, pending
, in_scene
]
types
object[]
nullable
tags
object[]
nullable
Tag.
status
Tag value.
approved
Possible values: [skip
, converting
, conversion_failed
, pending
, in_scene
]
[0,0,0]
Quaternion rotation
[0,0,0,1]
[1,1,1]
{
"id": "string",
"name": "string",
"source": "string",
"folders": [
null
],
"files": [
{
"id": "string",
"name": "string",
"source": "string",
"wms": "string",
"wcs": "string",
"lastUpdatedBy": "string",
"lastUpdatedAt": "2024-07-29T15:51:28.071Z",
"resourceId": "string",
"position": [
0,
0,
0
],
"rotation": [
0,
0,
0,
1
],
"scale": [
1,
1,
1
],
"uploadId": "string",
"version": 0,
"size": 0,
"error": "string",
"tags": [
{
"id": "status",
"name": "approved"
}
],
"state": "skip",
"deleted": true,
"types": [
{
"type": "string",
"size": 0
}
]
}
],
"size": 0,
"lastUpdatedBy": "string",
"lastUpdatedAt": "2024-07-29T15:51:28.071Z",
"tags": [
{
"id": "status",
"name": "approved"
}
],
"state": "skip",
"position": [
0,
0,
0
],
"rotation": [
0,
0,
0,
1
],
"scale": [
1,
1,
1
],
"deleted": true
}
Bad Request
- application/json
- Schema
Schema
any
Unauthorized
Not Found
Server Error