AlphaAlpha Docs

Get project usage for a type

Returns which projects use this type and which houses (bnrs) reference it

GET
/types/{id}/project-usage
AuthorizationBearer <token>

In: header

Path Parameters

id*string

Response Body

application/json

application/json

application/json

application/json

application/json

curl -X GET "http://localhost:18080/api/v1/types/string/project-usage"
[
  {
    "houseCount": 0,
    "houses": [
      {
        "blockId": "string",
        "bnr": "string",
        "scenarioId": "string",
        "variantId": "string"
      }
    ],
    "projectId": "string",
    "projectName": "string",
    "variants": [
      {
        "description": "string",
        "houseCount": 0,
        "id": "string",
        "name": "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"
}