---
title: "Список квартир со стояками по дому"
method: GET
path: "/homes/{home}/flats"
tags: ["Address"]
---

# Список квартир со стояками по дому

`GET /homes/{home}/flats`

## Request

- Base URL: `https://dev.curog.ru/api`
- URL: `https://dev.curog.ru/api/homes/{home}/flats`
- Auth: API key in header `Authorization`

HomeFlatController ( privileges: Flat => R1)

## Response `201`

Oк

- object
  - `data` IFlatInfo: Выводим данные о квартире
    - `id` integer
    - `num` string
    - `floor` integer
    - `addressId` integer
    - `entranceId` integer
    - `homeId` integer
    - `entranceNumber` integer
    - `residential` boolean
    - `pipes` IPipeShort[]
      - `homeId` integer: Ввожу две схемы из-за гребанной рекурсии
      - `id` integer
      - `nom` string
      - `utilityId` integer
      - `utilityName` string
      - `note` string

## Other responses

- `401`: пользователь не идентифицирован
- `403`: Недостаточно прав доступа
- `422`: нет содержимого или не хватает входных параметров

## Changes

- **2026-09-11** `664b46bed6c7`: 1 info
  - added the optional property `data/residential` to the response with the `201` status
- **2026-09-09** `b411ec237f0d`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/curog/apis/api/changes/homes/:home/flats/get.md)

---

[API](https://skmtc.dev/curog/apis/api.md) - [All operations](https://skmtc.dev/curog/apis/api/llms.txt) - [OpenAPI document](https://skmtc.dev/curog/apis/api/revisions/d59f35925a29?raw)
