-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Query API 設計 - 照片存取 #9
Comments
如果不在意圖片隱私的話,是不是整合外部圖床會更好? |
據說是參考 open311 設計 - http://wiki.open311.org/GeoReport_v2/ 看起來開發者並沒有很嚴謹的照著做 XD |
@newmanchen 目前有跟台南市政府的資訊單位聊,不過他並不直接負責這個專案;下週會前往市政府跟負責單位討論,不過很多問題其實事前就反應了,但廠商的情況不太能夠掌握吧,現在看到的樣子已經是延遲很久才生出來的,也許得多些耐心才有機會等到它改善 XD 我是透過這個專案蒐集相關意見,屆時一起討論,不過其實我之前都是直接透過原本的市長信箱發問: open311規格要求就是資訊單位給的建議,但就沒有實作得很完整吧。 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
照片的 API 設計希望能改善
根據 http://1999.tainan.gov.tw/OpenExplain.aspx 上的 query API 內容
照片的給予方式會直接放在 xml 裡面 (經過 base64 編碼)
如果 query 且 案件照片的量一多 會讓整個 query 的時間變長很多 而且不可預期
不管是 app 還是 第三方 web 端在使用上的 UX 會變得很不好
建議的作法
將圖片以超連結的方式放在 xml 原本的 tag 中, API 使用者再透過連結去將圖抓回來
The text was updated successfully, but these errors were encountered: