Use imports to create structure and reuse models.
Core concepts:
imports:
string:
path: string
model_id: integer
version_id: integer
path
or
model_id
is required.
| Key | Required | Type | Default | Description |
|---|---|---|---|---|
| path | No | String | - | The relative path to the file including extension. |
| model_id | No | Integer | - | The model ID. |
| version_id | No | Integer | - | The model version ID. If it is not specified, the latest version will be used. Only has effect when the model ID is entered. |
Enter the
path
with the relative path to your file.
After that, you can bundle your YAML files together in a ZIP file.
Send a POST request for each model and use the model ID in the import.
imports:
dimensions:
path: dimensions.yaml
colors:
path: colors.yaml
imports:
dimensions:
model_id: 10
colors:
model_id: 20
version_id: 2