Comments (13)
@cjk-halodule
權限有包含 'SysAdmin', 'ProjectInitiator', 嗎?
from camera-trap-api.
@cjk-halodule
發送電子郵件這塊有需要嗎?
from camera-trap-api.
有喔
from camera-trap-api.
針對 API 有幾個疑問先提出
- 新增的欄位應該是跨project共用的, 放
projectId
是後端會同步將該欄位加入對應project中嗎? - key 如果由後端 generate, 應該就不用傳空字串?然後reponse應該要有key?
- widget_select_options 目前是直接放 string array, 沒有用 object
- fieldStatus 是依照前端填入的值? 新增時預設都先填pending?
{
"projectId" : "",
"userId" : "OrcId-*",
"key" : "", // (留空)
"label" : "", // 角況
"widget_type" : "", // select | string | datePicker
"widget_date_format" : "", // YYYY-MM-DD hh:mm
"widget_select_options" : [
{
"key" : "", // (留空)
"label" : "", // 例如性別 M | F
},
],
"description" : "", // 備註內容
"fieldStatus" : "", // pending | approved | rejected
}
from camera-trap-api.
- yes, 但是狀態為 pending. 然後前端根據狀態決定是否顯示供使用。
- key 將會是後端人工決定命名,之後response 會有 key
- 那我後端會改成 object。key 和 label 分開之後國際化比較好做。前端就請根據物件格式顯示喔。
- 對。前端請在狀態為 approved 才提供使用。
from camera-trap-api.
3. 那我後端會改成 object。key 和 label 分開之後國際化比較好做。前端就請根據物件格式顯示喔。
ok, 待資料庫的資料更新格式後前端會再做調整
from camera-trap-api.
請問當 widget_type === string 時,
輸入格式這欄填寫內容應該存在哪個 key?
{
"projectId" : "",
"userId" : "OrcId-*",
"key" : "", // (留空)
"label" : "", // 角況
"widget_type" : "", // select | string | datePicker
"widget_date_format" : "", // YYYY-MM-DD hh:mm
"widget_select_options" : [
{
"key" : "", // (留空)
"label" : "", // 例如性別 M | F
},
],
"description" : "", // 備註內容
"fieldStatus" : "", // pending | approved | rejected
}
from camera-trap-api.
發現 data model 缺這個 key. 已加入widgetStringFormat並部署
from camera-trap-api.
{
"projectId" : "",
"userId" : "OrcId-*",
"key" : "", // (留空)
"label" : "", // 角況
"widget_type" : "", // select | string | datePicker
"widget_date_format" : "", // YYYY-MM-DD hh:mm
"widget_select_options" : [
{
"key" : "", // (留空)
"label" : "", // 例如性別 M | F
},
{
"key" : "", // (留空)
"label" : "", // 例如年齡 juvenile | adult
},
],
"widgetStringFormat": "",
"description" : "", // 備註內容
"fieldStatus" : "", // pending | approved | rejected
}
from camera-trap-api.
這支 api 申請新欄位時 fieldStatus === pending
那用GET /data-field-available
取得欄位時, 是否應該只會給 fieldStatus === approved 的資料?
https://github.com/TaiBIF/camera-trap-api/wiki/data-field-available
from camera-trap-api.
from camera-trap-api.
那用GET /data-field-available取得欄位時, 是否應該只會給 fieldStatus === approved 的資料?
是 #70
from camera-trap-api.
Implemented in v1 as #117
from camera-trap-api.
Related Issues (20)
- 修正計畫「 編輯設定」中的編輯狀態 HOT 1
- 初測延遲加上逐月的統計
- 修正篩選多物種時,只篩選出其中一種物種 HOT 2
- 上傳 csv,欄位錯誤的 error handling
- 批次上傳 Memory leak
- 帶 id 的 CSV 檔上傳,新增資料的處理
- 高海拔樣區和相機位置資料錯置 HOT 2
- 同一媒體檔案中缺漏資料的補充 HOT 1
- 敏感資料的處理
- 訂定計算結果匯出 CSV 格式
- 事業區、林班地、小區之圖籍資料
- 提供使用者判定之相機開始及結束工作時間,供計算選項考慮。
- 角況控制詞彙增加「無角」
- 計畫名稱及計畫簡稱不可重覆
- 資料分析-A. 相機工作時數 HOT 2
- 資料分析- B. 相對豐度指標的計算功能 - a: OI 值
- 資料分析- B. 相對豐度指標的計算功能 - b: 目擊事件
- 資料分析- B. 相對豐度指標的計算功能 - c: 捕獲回合比例
- 資料分析- C. 存缺(presence/absence)
- 資料分析- D. 活動機率(apparent probability of activity, APOA)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from camera-trap-api.