---
# System prepended metadata

title: 潛點區域_清單
tags: [共通]

---

# 潛點區域_清單

**API 修改紀錄**
|版本|日期|備註|
| ------------ |------------ |------------ |
| v1 |2024/06/04|發佈  | 
| v1.1 |2024/06/20|增加提示紅點(hint), 需提供 serial_number  | 

取得檔案更新完成後請呼叫此 API
[潛水錶管理_更新潛點、星曆及潮汐時間](https://hackmd.io/dRjIzr6XQ7uOf7TFSeeJXw)
記錄更新時間

#### 網址
https://{domain}/api/v1/general/dive-site/area/index

#### Http Method
GET

#### HTTP Header
accept-language : language code
apikey : apk key

#### Query Params
|欄位名稱|必填|型態|欄位|備註|
| ------------ | :-----------: |:-----------: |------------ |------------ |
|serial_number|Y|string|序號


#### HTTP Response 回傳參數

|Name|Type|說明|
| ------------ | ------------ |------------ |
| result | Array | 資料

更新

#### Request Header Authoriztion
```json
{
    "accept-language" : "en",
    "apikey" : "api key string"
}
```

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

Response Json Success
```json
{
    "status": true,
    "code": 200,
    "message": "success",
    "result": [
        {
            "id": 1,
            "name": "亞洲",
            "response": "https://crest-api.bremsinn.com/api/v1/file/response/dive-site-area/2844/1717575396/dd7710204c9a6e31daa2ee8838c5e42b",
            "hint": false
        },
        {
            "id": 2,
            "name": "歐洲",
            "response": '',
            "hint": false
        },
        {
            "id": 3,
            "name": "非洲",
            "response": "https://crest-api.bremsinn.com/api/v1/file/response/dive-site-area/1844/1717575396/ab7710204d9a6e31dbb2ee2238c1e42c",
            "hint": true
        },
        {
            "id": 4,
            "name": "美洲",
            "response": '',
            "hint": false
        },
        {
            "id": 5,
            "name": "大洋洲",
            "response": '',
            "hint": false
        }
    ]
}
```

Response Json Error
