Skip to content

Instantly share code, notes, and snippets.

@oksidisko
Created September 6, 2022 08:51
Show Gist options
  • Select an option

  • Save oksidisko/dbfff063f0bd1d275abec5648ed3cbd1 to your computer and use it in GitHub Desktop.

Select an option

Save oksidisko/dbfff063f0bd1d275abec5648ed3cbd1 to your computer and use it in GitHub Desktop.

Revisions

  1. oksidisko created this gist Sep 6, 2022.
    33 changes: 33 additions & 0 deletions madd_api_building.md
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,33 @@
    `GET /api/madd/buildings`

    - filter
    - address
    - zip: `string`
    - street: `string`
    - number: `string`
    - egrid: `string`
    - withObjects: `bool`

    ```json
    {
    "collection": [
    {
    "egid": "1234",
    "address": {
    "street": "Loorenfeldstrasse",
    "building": 23,
    "zip": 8673
    },
    "objects": [
    {
    "ewid": "123",
    "number": 2,
    "roomsCount": 3,
    "kitchen": false,
    "area": 45
    }, {"ewid": "456", ...}
    ]
    }, {"egid": "5678", ...}, ...
    ]
    }
    ```