path パラメータ
-
Atlas Project/Group ID。
-
アプリケーションの ObjectID。App Services API プロジェクトとアプリケーション ID のセクションでは、この値を見つける方法が示されています。
POST /groups/{groupId}/apps/{appId}/environment_values
curl \
--request POST 'https://services.cloud.mongodb.com/api/admin/v3.0/groups/{groupId}/apps/{appId}/environment_values' \
--header "Authorization: Bearer $ACCESS_TOKEN" \
--header "Content-Type: application/json" \
--data '{"_id":"string","name":"string","last_modified":42.0,"values":{}}'
リクエスト例
{
"_id": "string",
"name": "string",
"last_modified": 42.0,
"values": {}
}
応答の例(201)
{
"_id": "string",
"name": "string",
"last_modified": 42.0
}
応答の例(409)
{
"error": "string",
"error_code": "string"
}