AlphaAlpha Docs
API ReferenceTypes -model

Move a model tree

Move a model tree

PATCH
/types/model/{typeId}/{modelTreeId}/{newIndex}
AuthorizationBearer <token>

In: header

Path Parameters

typeId*string
modelTreeId*string
newIndex*integer
Formatint32

Response Body

application/json

application/json

application/json

application/json

application/json

curl -X PATCH "http://localhost:18080/api/v1/types/model/string/string/0"
{
  "concept": "string",
  "created": "2019-08-24T14:15:22Z",
  "createdBy": "string",
  "footsteps": [
    {
      "id": "string"
    }
  ],
  "id": "string",
  "lightSources": [
    {
      "id": "string"
    }
  ],
  "massModels": [
    {
      "id": "string"
    }
  ],
  "models": [
    {
      "id": "string"
    }
  ],
  "name": "string",
  "optionChangers": [
    {
      "id": "string"
    }
  ],
  "options": [
    {
      "activeViews": [
        "string"
      ],
      "category": "string",
      "codes": [
        {
          "code": "string",
          "description": "string",
          "option": "string",
          "price": 0.1,
          "visible": true
        }
      ],
      "consumerOption": true,
      "id": "string",
      "isConsumerOption": true,
      "isNeighborOption": true,
      "name": "string",
      "neighborOption": true,
      "phase": "PLAN",
      "visible": true
    }
  ],
  "restrictions": [
    {
      "active": true,
      "id": "string"
    }
  ],
  "staticModels": [
    {
      "disabledInViewer": true,
      "id": "string",
      "modelNamePrefix": "string",
      "stats": {
        "glbInDb": 0,
        "lastSynced": "2019-08-24T14:15:22Z",
        "modelsComplete": 0,
        "modelsInDb": 0,
        "rvtInDb": 0,
        "totalFileSize": 0,
        "totalModels": 0
      },
      "type": "CONCEPT"
    }
  ],
  "stats": {
    "glbInDb": 0,
    "lastSynced": "2019-08-24T14:15:22Z",
    "modelsComplete": 0,
    "modelsInDb": 0,
    "rvtInDb": 0,
    "totalFileSize": 0,
    "totalModels": 0
  },
  "updated": "2019-08-24T14:15:22Z",
  "updatedBy": "string"
}
{
  "detail": "string",
  "time": "2019-08-24T14:15:22Z",
  "title": "string"
}
{
  "detail": "string",
  "time": "2019-08-24T14:15:22Z",
  "title": "string"
}
{
  "detail": "string",
  "time": "2019-08-24T14:15:22Z",
  "title": "string"
}
{
  "detail": "string",
  "time": "2019-08-24T14:15:22Z",
  "title": "string"
}