OH-SHOWN / ohshown-backend

OH!SHOWN 野生動物出沒痕跡通報系統
http://ohshown.site
MIT License
2 stars 8 forks source link

refactoring API: /admin/api/factories to /admin/api/ohshownevent or remove /admin/api/factories #24

Open tai271828 opened 2 years ago

tai271828 commented 2 years ago

Is your feature request related to a problem? Please describe. When working on https://github.com/tai271828/disfactory-backend/pull/23 , I realized that it happens to use the following APIs when creating/updating ohshown events:

Describe the solution you'd like Remove /api/factories and use /admin/api/ohshownevent instead in case users and developers get confused.

Describe alternatives you've considered Leave /api/factoreies alone if it does not cause any "de facto" functional issue.

Additional context Issue #15 and pull request #23