Atlas プロジェクトおよびグループ内のすべての App Services アプリを一覧表示する
Atlas プロジェクト(グループ)内のすべての App Services アプリを一覧表示します。
path パラメータ
-
Atlas Project/Group ID。
クエリ パラメータ
-
1 つまたは複数の特定の App Services 製品の種類。指定されている場合、このエンドポイントは指定された製品の種類のアプリのみを返します。
ほとんどのアプリは、このエンドポイントがデフォルトで返す
standard
製品の種類を使用します。atlas
、data-api
、およびdevice-sync
製品の種類は、Atlas UI からアクセスできる Atlas Triggers、Atlas Data API、および Atlas Device Sync 用の特別なアプリを表します。複数の製品の種類をカンマ区切りのリストとして指定できます。
/groups/{groupId}/apps?product=atlas,data-api
値は、
standard
、atlas
、data-api
、またはdevice-sync
です。
/groups/{groupId}/apps を取得する
curl \
--request GET 'https://services.cloud.mongodb.com/api/admin/v3.0/groups/{groupId}/apps' \
--header "Authorization: Bearer $ACCESS_TOKEN"
応答の例(200)
[
{
"name": "MyApp",
"provider_region": "aws-us-east-1",
"location": "US-VA",
"deployment_model": "GLOBAL",
"": "production",
"_id": "633209ffd3bd3478005d1bac",
"client_app_id": "myapp-abcde",
"domain_id": "63320a2b5f9de9a6e0a213e8",
"group_id": "5b2ec991973129243223a114",
"last_used": 1664224746,
"last_modified": 1656440824,
"product": "standard"
}
]