{"templateId":"markdown","sharedDataIds":{"sidebar":"sidebar-@l10n/ja/sidebars.yaml"},"props":{"metadata":{"markdoc":{"tagList":[]},"type":"markdown"},"seo":{"title":"リソースの操作手順"},"dynamicMarkdocComponents":[],"compilationErrors":[],"ast":{"$$mdtype":"Tag","name":"article","attributes":{},"children":[{"$$mdtype":"Tag","name":"Heading","attributes":{"level":1,"id":"リソースの操作手順","__idx":0},"children":["リソースの操作手順"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["書き込み例の前に一覧から実際の ID を取得し、",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["ENV_ID"]},"、",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["PHONE_ID"]},"、",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["TEAM_APP_ID"]},"、",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["GROUP_ID"]},"、",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["FILE_ID"]}," を対象の種類に応じて設定します。各例は独立した手順で、一括実行用スクリプトではありません。"]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"ブラウザープロファイルとコア","__idx":1},"children":["ブラウザープロファイルとコア"]},{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"data-language":"bash","header":{"controls":{"copy":{}}},"source":"ml-cli env find --keyword Amazon\nml-cli --timeout 30 env open --keyword Amazon --exact\nml-cli --timeout 30 env start --env-id \"$ENV_ID\" --is-headless false --cdp-evasion true\nml-cli env core-download --core 1:124 --core 2:146\n","lang":"bash"},"children":[]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["find/open"]}," は名前・グループ・タグ・備考で検索し、一意の候補だけを開きます。暗号化プロファイルの ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["env start"]}," は ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["--encrypt-key"]}," に対応します。コアは ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["1"]}," Chrome、",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["2"]}," Firefox、1 回 1〜20 件または JSON ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["Cores"]}," です。バージョンは例示です。"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["env create-quick"]}," はグループ、プロキシ、認証、地域、IP 監視のフラグを備えます。",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["fingerprint-refresh"]}," は ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["--browser-type-id"]},"、",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["--operator-system-id"]},"、",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["--ua-version"]},"、",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["--advanced-setting"]},"、",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["resolution-list"]}," は ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["--ua"]}," に対応します。",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["set-group/set-remark"]}," は ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["--env-ids"]}," または ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["--unique-ids"]}," を指定します。",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["app-hide-accessibility --package-name"]}," は繰り返せます（別名 ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["--package-names"]},"）。詳細は",{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/ja/cli/commands"},"children":["コマンド"]},"を参照してください。"]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"クラウド端末","__idx":2},"children":["クラウド端末"]},{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"data-language":"bash","header":{"controls":{"copy":{}}},"source":"ml-cli cloudphone find --keyword android-test\nml-cli --timeout 120 cloudphone open --keyword android-test --headless false\nml-cli --timeout 120 cloudphone power-on --id \"$PHONE_ID\" --headless true --disable-money-saving-mode false\nml-cli --timeout 30 cloudphone close --keyword android-test\n","lang":"bash"},"children":[]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["headless=false"]}," はウィンドウを表示、",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["true"]}," は非表示にします。起動は ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["--disable-money-saving-mode"]}," にも対応します。名前・キーワードでの起動には一意の一致が必要です。要求の成功だけでは起動・ストリーミング完了を確認できません。"]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"チームアプリ","__idx":3},"children":["チームアプリ"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["team-app-list"]}," はチームライブラリ、",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["app-list"]}," はカタログを取得します。端末・カタログではなくチーム登録の ID を使います。一覧の ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["versionCode"]}," は文字列ですが、",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["--version-code"]}," と JSON ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["versionCode"]}," は符号付き i64 整数が必須で、文字列・小数・バージョン名・レコード ID は指定できません。"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["team-app-list"]}," の既定は ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["pageNo=1"]},"、",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["pageSize=10"]},"、ページ値は u32 の範囲です。",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["app-list"]}," から ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["PACKAGE_NAME"]}," と整数の ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["VERSION_CODE"]}," を選びます。バージョン更新はストアアプリのみで、同じパッケージの別の利用可能なバージョンを指定し、バックエンドが可用性を検証します。"]},{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"data-language":"bash","header":{"controls":{"copy":{}}},"source":"ml-cli cloudphone team-app-list --app-name Facebook --page-no 1 --page-size 10\nml-cli cloudphone app-list --app-name Facebook\nml-cli --fail-on-business-error cloudphone team-app-create --package-name \"$PACKAGE_NAME\" --version-code \"$VERSION_CODE\"\nml-cli --fail-on-business-error cloudphone team-app-update-group --id \"$TEAM_APP_ID\" --is-all false --group-ids \"$GROUP_ID\"\nml-cli --fail-on-business-error cloudphone team-app-enable --id \"$TEAM_APP_ID\" --enabled false\nml-cli --fail-on-business-error cloudphone team-app-update-install-setting --id \"$TEAM_APP_ID\" --install-setting 2\nml-cli --fail-on-business-error cloudphone team-app-update-enable-root --id \"$TEAM_APP_ID\" --enable-root false\nml-cli --fail-on-business-error cloudphone team-app-update-version --id \"$TEAM_APP_ID\" --package-name \"$PACKAGE_NAME\" --version-code \"$VERSION_CODE\"\nml-cli --fail-on-business-error cloudphone team-app-update-setting --id \"$TEAM_APP_ID\" --setting-type keep-alive --enabled false\nml-cli --fail-on-business-error cloudphone team-app-operate --id \"$TEAM_APP_ID\" --operation START --only-started-by-me true\nml-cli --fail-on-business-error cloudphone team-app-delete --id \"$TEAM_APP_ID\"\n","lang":"bash"},"children":[]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["作成はストアアプリのみで ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["data.id"]}," を返し、独自 APK のアップロードは対象外です。",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["isAll=false"]}," は空でないグループ ID が必須、",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["true"]}," は省略/null 可です。方針 ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["1"]}," は上書き、",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["2"]}," はスキップです。登録削除後も端末のアプリ・データは残ります。"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["設定は ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["permission/keep-alive/auto-start/hide"]}," または ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["PERMISSION/KEEP_ALIVE/AUTO_START/HIDE"]},"、操作は ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["start/stop/restart/uninstall"]}," または全大文字です。フラグ・JSON ともこれらの表記を受け付け、API には大文字を送信します。その他は拒否されます。",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["onlyStartedByMe"]}," の省略/null は false、",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["enabled"]}," の欠落/null はエラーです。"]},{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"data-language":"bash","header":{"controls":{"copy":{}}},"source":"ml-cli --fail-on-business-error cloudphone team-app-update-setting --json-data '{\"id\":\"123456\",\"settingType\":\"KEEP_ALIVE\",\"enabled\":true}' --enabled false\n","lang":"bash"},"children":[]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["バージョン・設定の ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["data=null"]}," は保存の確認であり、端末での完了ではありません。バージョン・権限・自動起動は起動時、常駐・非表示はバックエンドから非同期配信される場合もあります。一括の ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["data=true"]}," は全端末の成功を保証しません。CLI は自動起動・再試行・ポーリングを行いません。アンインストールは端末のアプリデータを削除する場合がありますが、チームの事前インストール設定は残します。",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["team-app-list"]}," と端末の結果を別々に確認してください。"]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"クラウドストレージ","__idx":4},"children":["クラウドストレージ"]},{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"data-language":"bash","header":{"controls":{"copy":{}}},"source":"ml-cli cloud-storage info\nml-cli cloud-storage list --keyword video --page-no 1 --page-size 20\nml-cli cloud-storage presign --file-name video.mp4\n","lang":"bash"},"children":[]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["アップロードは presign、返された ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["presignedUrl"]}," へのバイナリ PUT、取得した ID での ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["complete --id"]}," の 3 段階です。指定ヘッダーも付け、PUT 成功後にだけ complete します。ネットワーク・サンドボックスで禁止される場合は権限を得るか、同じアップロードをユーザーにローカル実行してもらいます。一時 URL は公開しないでください。"]},{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"data-language":"bash","header":{"controls":{"copy":{}}},"source":"curl -f -L -X PUT --upload-file ./video.mp4 \"$PRESIGNED_URL\"\nml-cli cloud-storage complete --id \"$UPLOAD_ID\"\n","lang":"bash"},"children":[]},{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"data-language":"powershell","header":{"controls":{"copy":{}}},"source":"curl.exe -f -L -X PUT --upload-file .\\video.mp4 \"$env:PRESIGNED_URL\"\nml-cli cloud-storage complete --id \"$env:UPLOAD_ID\"\n","lang":"powershell"},"children":[]},{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"data-language":"bash","header":{"controls":{"copy":{}}},"source":"ml-cli cloud-storage labels\nml-cli cloud-storage label-create --label-name automation --color \"#2F80ED\"\nml-cli cloud-storage label-update --label-id \"$LABEL_ID\" --label-name automation-ready --color \"#27AE60\"\nml-cli cloud-storage file-labels --file-id \"$FILE_ID\"\nml-cli cloud-storage add-labels --file-id \"$FILE_ID\" --tag-id \"$LABEL_ID\"\nml-cli cloud-storage set-labels --file-id \"$FILE_ID\" --tag-id \"$LABEL_ID\"\nml-cli cloud-storage label-delete --label-id \"$LABEL_ID\"\nml-cli cloud-storage delete --file-id \"$FILE_ID\"\n","lang":"bash"},"children":[]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["RPA は ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["morelogin://cloudfile?ids=<fileId>"]},"、複数 ID はコンマ区切りで参照できます。パラメーターの ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["__Extra__"]}," メタデータを保持してください。スケジュール・実行照会は ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["schedule template-market/template-personal/list/create-once-task/cancel/subtask-list/subtask-detail/subtask-cancel"]}," で行います。"]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"クラウドブラウザー","__idx":5},"children":["クラウドブラウザー"]},{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"data-language":"bash","header":{"controls":{"copy":{}}},"source":"ml-cli cloud-browser list --page-no 1 --page-size 10\nml-cli --timeout 30 cloud-browser start --env-id \"$ENV_ID\"\nml-cli cloud-browser connect --env-id \"$ENV_ID\"\nml-cli cloud-browser stop --env-id \"$ENV_ID\" --force false\n","lang":"bash"},"children":[]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["これらはリモートのクラウドブラウザーを管理し、",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["env start/open"]}," はローカルプロファイルを操作します。start/stop/connect は固有の引数・JSON を使うため、ID やポートを流用する前にヘルプを確認してください。"]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"グループタグプロキシメタデータ","__idx":6},"children":["グループ・タグ・プロキシ・メタデータ"]},{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"data-language":"bash","header":{"controls":{"copy":{}}},"source":"ml-cli group list\nml-cli tag list\nml-cli proxy list\nml-cli env set-group --help\nml-cli env set-proxy --help\nml-cli env set-remark --help\n","lang":"bash"},"children":[]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["応答には ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["groupName"]},"（未分類は null）、",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["tagInfos"]},"（タグなしは空配列）、",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["envRemark"]}," が含まれる場合があります。タグ ID は文字列です。表表示はこれらを優先し、JSON は入れ子を保持します。作成・編集・削除のフラグは",{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/ja/cli/commands"},"children":["コマンド"]},"を参照してください。"]}]},"headings":[{"value":"リソースの操作手順","id":"リソースの操作手順","depth":1},{"value":"ブラウザープロファイルとコア","id":"ブラウザープロファイルとコア","depth":2},{"value":"クラウド端末","id":"クラウド端末","depth":2},{"value":"チームアプリ","id":"チームアプリ","depth":2},{"value":"クラウドストレージ","id":"クラウドストレージ","depth":2},{"value":"クラウドブラウザー","id":"クラウドブラウザー","depth":2},{"value":"グループ・タグ・プロキシ・メタデータ","id":"グループタグプロキシメタデータ","depth":2}],"frontmatter":{"seo":{"title":"リソースの操作手順"}},"lastModified":"2026-10-20T08:43:16.000Z","pagePropGetterError":{"message":"","name":""}},"slug":"/ja/cli/workflows","userData":{"isAuthenticated":false,"teams":["anonymous"]},"isPublic":true}