Set current version of file
PATCH/projects/:projectId/files/:fileId/current/:version
Require admin rights
Request
Path Parameters
projectId stringrequired
fileId stringrequired
version int32required
Responses
- 202
- 304
- 400
- 401
- 404
- 409
- 500
Accepted
- application/json
- Schema
- Example (from schema)
Schema
Array [
]
Array [
]
Array [
]
name stringrequired
folderId stringrequired
wms stringnullable
wcs stringnullable
updatedBy stringrequired
dateTime date-timerequired
resourceId stringrequired
version int32required
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
size int64nullable
error stringnullable
pipeline_date stringnullable
pipeline_version stringnullable
tags
object[]
nullable
id stringrequired
Tag.
Example:
status
name stringnullable
Tag value.
Example:
approved
types
object[]
nullable
type stringrequired
size int64required
parsers
object[]
nullable
parser stringrequired
size int64required
{
"name": "string",
"folderId": "string",
"wms": "string",
"wcs": "string",
"updatedBy": "string",
"dateTime": "2024-07-29T15:51:28.071Z",
"resourceId": "string",
"version": 0,
"position": [
0,
0,
0
],
"rotation": [
0,
0,
0,
1
],
"scale": [
1,
1,
1
],
"uploadId": "string",
"size": 0,
"error": "string",
"pipeline_date": "string",
"pipeline_version": "string",
"tags": [
{
"id": "status",
"name": "approved"
}
],
"types": [
{
"type": "string",
"size": 0
}
],
"parsers": [
{
"parser": "string",
"size": 0
}
]
}
Not Modified
Bad Request
- application/json
- Schema
Schema
any
Unauthorized
Not Found
Conflict
Server Error
Loading...