---
# System prepended metadata

title: 語系
tags: [設定]

---

# 語系
:::info
2024/02/06 發佈
:::
**取得可切換的語系**

#### 網址
https://{domain}/api/v1/common/get-language

#### Http Method
GET

#### HTTP Header
apikey : apk key

#### HTTP Request Body 傳入參數

|欄位名稱|必填|型態|欄位|備註|
| ------------ | :-----------: |:-----------: |------------ |------------ |



#### HTTP Response 回傳參數

|Name|Type|說明|
| ------------ | ------------ |------------ |
|code  |string |語系代碼 |
|name  |string |語系顯示名稱 |


#### Request Header Authoriztion
```json
{
    "apikey" : "api key string"
}
```

#### Json Example
Request Json
```json

```

Response Json Success
```json
{
    "status": true,
    "code": 200,
    "message": "success",
    "result": [
        {
            "code": "en",
            "name": "英文"
        },
        {
            "code": "zh-tw",
            "name": "繁體中文"
        }
    ]
}
```
Response Json Error
```json
{
    "status": false,
    "message": "Data Not Found",
    "code": 101
}
```
