# 會員_我的潛點_收藏清單 **API 修改紀錄** |版本|日期|備註| | ------------ |------------ |------------ | | v1 |2024/05/20| 發佈 | | v1.1 |2024/06/20| 新增 Query Params Example| **會員_我的潛點_收藏清單** 會員_我的潛點_收藏清單 #### 網址 https://{domain}/api/v1/dive-site-collect/index #### Http Method GET #### HTTP Header accept-language : language code apikey : apk key #### Query Params |欄位名稱|必填|型態|欄位|備註| | ------------ | :-----------: |:-----------: |------------ |------------ | |keyword|N|string|關鍵字 |dive_type[]|N|array|潛點分類 |category[]|N|array|類型 |exp_level[]|N|array|經驗等級 #### Query Params Example ?keyword=test&dive_type[]=1&dive_type[]=2&category[]=1&exp_level[]=1 #### HTTP Body 傳入參數 |欄位名稱|必填|型態|欄位|備註| | ------------ | :-----------: |:-----------: |------------ |------------ | #### HTTP Response 回傳參數 |Name|Type|說明| | ------------ | ------------ |------------ | |id |int |潛點id | |spot_name |string |潛點名稱(spot) | |site_name |string |潛點名稱(site) | |dive_type_id |int |潛點分類(1:個人潛點 2:公開潛點 3:日誌潛點 4:自建潛點) | |latitude |float |緯度 | |longitude |float |經度 | |deep_start|float |起始深度範圍 |deep_end|float |結束深度範圍 |visibility|float |能見度 |categories |array |類型 | |exp_levels |array |經驗等級 | |description|string |特點描述 |notice|string |注意事項 #### Request Header Authoriztion ```json { "accept-language" : "en", //or 'zh_tw' "apikey" : "api key string" } ``` #### Json Example Request Json ```json ``` Response Json Success ```json { "status": true, "code": 200, "message": "success", "result": { "pageCount": 1, "data": [ { "id": 1, "dive_type_id": 1, "spot_name": "潛點名稱(spot)", "site_name": null, "status": true, "latitude": 30.040468215942, "longitude": -85.621528625488, "deep_start": 10.2, "deep_end": 30.5, "visibility": 10.5, "categories": [ { "id": 1, "name": "Shore Dive" }, { "id": 2, "name": "divespot_reef" }, { "id": 3, "name": "Ocean" }, { "id": 4, "name": "Technical" } ], "exp_levels": [ { "id": 1, "name": "Open Water" }, { "id": 2, "name": "Beginner" }, { "id": 3, "name": "Advanced" }, { "id": 4, "name": "Expert" } ], "description": "特點描述", "notice": "注意事項" } ] } } ``` Response Json Error ```json { "status": false, "message": "No Data", "code": 400 } ```