ホストされているアセットのメタデータ属性を更新する
非推奨
特定のリソース パスでホストされているアセットのメタデータ属性を更新します。
path パラメータ
-
Atlas Project/Group ID。
-
アプリケーションの ObjectID。App Services API プロジェクトとアプリケーション ID のセクションでは、この値を見つける方法が示されています。
PATCH /groups/{groupId}/apps/{appId}/hosting/assets/ アセット
curl \
--request PATCH 'https://services.cloud.mongodb.com/api/admin/v3.0/groups/{groupId}/apps/{appId}/hosting/assets/asset?path=string' \
--header "Authorization: Bearer $ACCESS_TOKEN" \
--header "Content-Type: application/json" \
--data '{"attributes":[{"name":"string","value":"string"}]}'
リクエスト例
{
"attributes": [
{
"name": "string",
"value": "string"
}
]
}
応答の例(400)
{
"error": "string",
"error_code": "string"
}