使用 curl 獲取包含媒體資訊的檔案的檔案後設資料

curl -X POST https://api.dropboxapi.com/2/files/get_metadata \
    --header "Authorization: Bearer <ACCESS_TOKEN>" \
    --header "Content-Type: application/json" \
    --data "{\"path\": \"/test.jpg\",\"include_media_info\": true}"

<ACCESS_TOKEN> 應替換為 OAuth 2 訪問令牌。