我有一個Apple Profile Manager服務器,其中包含多個登記設備(iPad,iPhone)。服務器可以通過網絡界面訪問(例如:https://macserver.local/profilemanager)。來自Apple Profile Manager的移動設備列表
如何在沒有網頁抓取的情況下獲得已註冊的移動設備? 是否有任何可以使用的web服務/ api? (找不到任何)
預先感謝,並有一個偉大的一週向前!
我有一個Apple Profile Manager服務器,其中包含多個登記設備(iPad,iPhone)。服務器可以通過網絡界面訪問(例如:https://macserver.local/profilemanager)。來自Apple Profile Manager的移動設備列表
如何在沒有網頁抓取的情況下獲得已註冊的移動設備? 是否有任何可以使用的web服務/ api? (找不到任何)
預先感謝,並有一個偉大的一週向前!
謝謝Victor。您指定的路徑導致我的數據庫(PostgreSQL的)
要訪問數據庫ProfileManager:
psql -U _devicemgr -h /Library/Server/ProfileManager/Config/var/PostgreSQL -d devicemgr_v2m0
Apple Profile Manager是一款Ruby on Rails應用程序。你可以在這裏找到它: /Applications/Server.app/Contents/ServerRoot/usr/share/devicemgr/backend/
我相信,它被配置爲存儲在SQLite數據庫的所有信息。
有多種方式可以從sqlite數據庫中獲取數據。