---
title: "Get All Departments"
method: GET
path: "/departments/"
tags: ["Departments"]
---

# Get All Departments

`GET /departments/`

取得所有部門與人員資料。
資料來源：[清華通訊錄](https://tel.net.nthu.edu.tw/nthusearch/)

## Response `200`

Successful Response

- Department[]
  - `index` string, required — 系所代碼
  - `name` string, required — 系所名稱
  - `parent_name` string, nullable — 上層系所名稱
  - `url` string, uri, nullable — 系所網站
  - `details` DepartmentDetails
    - `departments` object[]
    - `contact` DepartmentContact
      - `extension` string, nullable
      - `phone` string, nullable
      - `fax` string, nullable
      - `email` string, nullable
      - `website` string, uri, nullable
    - `people` DepartmentPerson[]
      - `name` string, required — 姓名
      - `title` string, nullable, required — 職稱
      - `extension` string, nullable, required — 分機
      - `note` string, nullable — 備註
      - `email` string, nullable, required — 電子郵件

---

[API](https://skmtc.dev/nthusa/apis/nthu-data-api.md) · [All operations](https://skmtc.dev/nthusa/apis/nthu-data-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/nthusa/nthu-data-api/revisions/a7a2f39dbc76/schema)
