AlphaAlpha Docs

Gets project models for a type

Retrieves CONCEPT models (shared) and PROJECT models for each variant of the specified type.

GET
/projects/{projectId}/types/{typeId}/models
AuthorizationBearer <token>

In: header

Path Parameters

projectId*string
typeId*string

Response Body

application/json

application/json

application/json

application/json

application/json

curl -X GET "http://localhost:18080/api/v1/projects/string/types/string/models"
{
  "conceptModels": [
    {
      "assets": [
        {
          "blobId": "string",
          "created": "2019-08-24T14:15:22Z",
          "extension": "string",
          "fileSize": 0,
          "name": "string",
          "type": "IMAGE"
        }
      ],
      "complete": true,
      "created": "2019-08-24T14:15:22Z",
      "createdBy": "string",
      "events": [
        {
          "authorId": "string",
          "date": "2019-08-24T14:15:22Z",
          "description": "string",
          "id": "string",
          "type": "CREATE"
        }
      ],
      "glbComplete": true,
      "id": "string",
      "linkedProductId": "string",
      "modelType": "CONCEPT",
      "number": "string",
      "originalNames": [
        "string"
      ],
      "parameters": [
        {
          "name": "string",
          "type": "string",
          "value": null
        }
      ],
      "productName": "string",
      "projectIds": [
        "string"
      ],
      "rvtComplete": true,
      "staticModelTreeId": "string",
      "tenantId": "string",
      "totalFileSize": 0,
      "typeId": "string",
      "updated": "2019-08-24T14:15:22Z",
      "updatedBy": "string",
      "variantId": "string"
    }
  ],
  "conceptStats": {
    "complete": 0,
    "linked": 0,
    "total": 0,
    "withGlb": 0,
    "withRvt": 0
  },
  "stats": {
    "complete": 0,
    "linked": 0,
    "total": 0,
    "withGlb": 0,
    "withRvt": 0
  },
  "typeId": "string",
  "variantModels": {
    "property1": [
      {
        "assets": [
          {
            "blobId": "string",
            "created": "2019-08-24T14:15:22Z",
            "extension": "string",
            "fileSize": 0,
            "name": "string",
            "type": "IMAGE"
          }
        ],
        "complete": true,
        "created": "2019-08-24T14:15:22Z",
        "createdBy": "string",
        "events": [
          {
            "authorId": "string",
            "date": "2019-08-24T14:15:22Z",
            "description": "string",
            "id": "string",
            "type": "CREATE"
          }
        ],
        "glbComplete": true,
        "id": "string",
        "linkedProductId": "string",
        "modelType": "CONCEPT",
        "number": "string",
        "originalNames": [
          "string"
        ],
        "parameters": [
          {
            "name": "string",
            "type": "string",
            "value": null
          }
        ],
        "productName": "string",
        "projectIds": [
          "string"
        ],
        "rvtComplete": true,
        "staticModelTreeId": "string",
        "tenantId": "string",
        "totalFileSize": 0,
        "typeId": "string",
        "updated": "2019-08-24T14:15:22Z",
        "updatedBy": "string",
        "variantId": "string"
      }
    ],
    "property2": [
      {
        "assets": [
          {
            "blobId": "string",
            "created": "2019-08-24T14:15:22Z",
            "extension": "string",
            "fileSize": 0,
            "name": "string",
            "type": "IMAGE"
          }
        ],
        "complete": true,
        "created": "2019-08-24T14:15:22Z",
        "createdBy": "string",
        "events": [
          {
            "authorId": "string",
            "date": "2019-08-24T14:15:22Z",
            "description": "string",
            "id": "string",
            "type": "CREATE"
          }
        ],
        "glbComplete": true,
        "id": "string",
        "linkedProductId": "string",
        "modelType": "CONCEPT",
        "number": "string",
        "originalNames": [
          "string"
        ],
        "parameters": [
          {
            "name": "string",
            "type": "string",
            "value": null
          }
        ],
        "productName": "string",
        "projectIds": [
          "string"
        ],
        "rvtComplete": true,
        "staticModelTreeId": "string",
        "tenantId": "string",
        "totalFileSize": 0,
        "typeId": "string",
        "updated": "2019-08-24T14:15:22Z",
        "updatedBy": "string",
        "variantId": "string"
      }
    ]
  },
  "variantStats": {
    "property1": {
      "complete": 0,
      "linked": 0,
      "total": 0,
      "withGlb": 0,
      "withRvt": 0
    },
    "property2": {
      "complete": 0,
      "linked": 0,
      "total": 0,
      "withGlb": 0,
      "withRvt": 0
    }
  },
  "variants": [
    {
      "description": "string",
      "id": "string",
      "name": "string",
      "previewBlobId": "string",
      "typeId": "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"
}