路径参数
-
Atlas 项目/组 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"
}