エッジPC の一覧を取得する
組織のエッジPC を登録した順に返します。state は直近の通信から判定した接続状態で、90 秒以上通信が無ければ offline、一度も通信していなければ unknown です。スコープは data か data:write が要ります。
GET
/edge-pcsAuthorization
AuthorizationBearer token · headerrequired組織設定の「API・MCP」タブで発行した API トークン(tcn_ で始まる)。
Responses
200
エッジPC の一覧
edgePcsEdgePc[]requiredShow propertiesHide properties
Array of
EdgePcidstringrequirednamestringrequirednotestring | nullrequiredメモ
attributesobjectrequired管理項目の値。キーは項目の ID で、未入力の項目は含みません
statestringrequired接続状態
Allowed:
onlineofflineunknownlastSeenAtstring<date-time> | nullrequired最後に通信した時刻
versionstring | nullrequiredエッジPC で動いているソフトウェアの版
createdAtstring<date-time>required401
トークンが無い、または無効
errorstringrequired人が読めるエラーメッセージ
403
スコープが足りない、または操作が許可されていない
errorstringrequired人が読めるエラーメッセージ