Git Product home page Git Product logo

Comments (5)

trashmai avatar trashmai commented on June 19, 2024

直接 GET https://api-dev.camera-trap.tw/project/${projectTitle} 例如測試計畫1

  • cameraLocations 屬性就是一個計畫下所有的相機地點。
  • site, subSite 都是 cameraLocations 的子屬性。
  • site 的位置用 cameraLocations 的座標算幾何中心。

文件位置

from camera-trap-api.

 avatar commented on June 19, 2024

剛和 @trashmai 討論,在不更動目前 projectTitle 設計目的(用來關連同一個計畫下的所有資料)下:

  • 我們使用 db 產生的 _id 作為 API project 的 key,所以應可以用 project/{id} 來調資料,用 project/?projectTitle=${projectTitle} 來找到 id.
  • 前端 projectTitle 輸入後即不可更改,用來確保 md5 的穩定性

from camera-trap-api.

 avatar commented on June 19, 2024

已改為 直接 GET https://api-dev.camera-trap.tw/project/${projectId}
@oahehc 確認是否足夠計算?

from camera-trap-api.

oahehc avatar oahehc commented on June 19, 2024

原始期望是能直接提供該project的樣區/子樣區選單, 而非完整的project資料,
不過Thomas已有處理由project資料過濾出選單的功能,
所以這需求後續再補即可

from camera-trap-api.

 avatar commented on June 19, 2024

Implemented in V1.

from camera-trap-api.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.