Get root folder's children
GET/projects/:projectId/folders
Require admin rights
Request
Path Parameters
projectId stringrequired
Query Parameters
filter FolderFilter
Possible values: [all
, files
, folders
]
Responses
- 200
- 401
- 404
- 500
Success
- application/json
- Schema
- Example (from schema)
Schema
Array [
Array [
]
Array [
]
Array [
]
]
Array [
]
id stringrequired
name stringrequired
source stringrequired
folders undefined[]nullable
files
object[]
nullable
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
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
type stringrequired
size int64required
parsers
object[]
nullable
parser stringrequired
size int64required
size int64
lastUpdatedBy stringrequired
lastUpdatedAt date-timerequired
tags
object[]
nullable
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
{
"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
}
],
"parsers": [
{
"parser": "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
}
Unauthorized
Not Found
Server Error
Loading...