Webex REST API・OAuthとwebhook2 / 3

読取例

以下はlocations resourceに必要な読取scopeと対応admin権限を持つtokenでlocationを照会するrequestの形である。実tokenは環境変数から渡す。

curl --request GET 'https://webexapis.com/v1/locations' \
  --header "Authorization: Bearer $WEBEX_ACCESS_TOKEN" \
  --header 'Accept: application/json'

APIごとのscope・pagination/Linkとrate limit、response schemaを扱う。401/403ではtoken・scope/roleと対象organization、429ではRetry-After等を読む。Calling provisioningは設定objectを扱い、call controlは対応するuserの発信・保留等を扱うため、API名とscopeを取り違えない。

学習パスへ
参考資料