ホストされたアセットを移動またはコピーする
非推奨
ホストされたアセットを新しいリソース パスに移動またはコピーします。
path パラメータ
-
Atlas Project/Group ID。
-
アプリケーションの ObjectID。App Services API プロジェクトとアプリケーション ID のセクションでは、この値を見つける方法が示されています。
POST /groups/{groupId}/apps/{appId}/hosting/assets
curl \
--request POST 'https://services.cloud.mongodb.com/api/admin/v3.0/groups/{groupId}/apps/{appId}/hosting/assets' \
--header "Authorization: Bearer $ACCESS_TOKEN" \
--header "Content-Type: application/json" \
--data '{"move_from":"string","move_to":"string","copy_from":"string","copy_to":"string"}'
リクエスト例
{
"move_from": "string",
"move_to": "string",
"copy_from": "string",
"copy_to": "string"
}