Description
Update model information. After successfully uploading file and images, set status to published
Headers
application/json
en-US
Parameters
Status of the model, available options: draft, published
.
Title of the model
Model description
Model tags, minimum 5
Slug of models category.
Slug of models subcategory.
Download price.
Type of license, available options: general, editorial, custom
.
Custom license text. It is required if license is set to custom
, only.User email
Represents type of model, available options: cg, printable
. Default is cg
.
Indicates whether the model is game ready. Note: only applicable to CG models.
Indicates whether the model is animated. Note: only applicable to CG models.
Indicates whether the model is rigged. Note: only applicable to CG
models.
Indicates whether the model is pbr. Note: only applicable to CG
models.
Additional model information, such as number of polygons, vertices, whether the model has textures, etc. Possible geometry types: polygonal_mesh, subdivision_ready, nurbs, other
. Values for unwrapped_uvs: unknown, non_overlapping, overlapping, mixed, no
. Check the request example for more details. Note: only applicable to CG
models.
Example Request
{
"title": "Simple test model",
"description": "This is a test model.",
"tags": [
"simple",
"test",
"model",
"api",
"example"
],
"category": "car",
"subcategoy": "sport",
"price": 19.99,
"license": "general",
"game_ready": true,
"pbr": true,
"info": {
"polygons": 1024,
"vertices": 2048,
"geometry_type": "nurbs",
"collection": false,
"textures": true,
"materials": true,
"plugins_used": false,
"uvw_mapping": true,
"unwrapped_uvs": "overlapping"
}
}
Example Response
{
"id": 12,
"author_name": "cgtrader",
"slug": "test-model",
"title": "Test model",
"downloadable": true,
"description": "< p >Test model< / p >",
"prices": {
"download": "12.0"
},
"files": [
{
"id": 5,
"name": "cube.stl",
"size": 179289,
"download_url": "https://api.cgtrader.com/v1/models/1/files/12"
}
],
"thumbnails": [
"https://img-new.cgtrader.com/path_to_thumbnail_image.png"
]
}