Atlas プロジェクトおよびグループ内のすべての App Services アプリを一覧表示する

GET /groups/{groupId}/apps

Atlas プロジェクト(グループ)内のすべての App Services アプリを一覧表示します。

path パラメータ

クエリ パラメータ

  • product string

    1 つまたは複数の特定の App Services 製品の種類。指定されている場合、このエンドポイントは指定された製品の種類のアプリのみを返します。

    ほとんどのアプリは、このエンドポイントがデフォルトで返す standard 製品の種類を使用します。atlasdata-api、および device-sync 製品の種類は、Atlas UI からアクセスできる Atlas TriggersAtlas Data API、および Atlas Device Sync 用の特別なアプリを表します。

    複数の製品の種類をカンマ区切りのリストとして指定できます。

    /groups/{groupId}/apps?product=atlas,data-api
    

    値は、standardatlasdata-api、または device-sync です。

応答

  • 200 application/ JSON

    正常に一覧表示されました。

    応答属性の非表示 応答属性の表示 オブジェクト

    特定の既存のアプリケーション。

    • name string

      アプリケーションの名前。文字で始まる必要があり、ASCII 文字、数字、アンダースコア、ハイフンのみを含めることができます。

    • provider_region string

      次の 1 つ:

      値は、aws-us-east-1aws-us-west-2aws-us-east-2aws-eu-central-1aws-eu-west-1aws-eu-west-2aws-ap-southeast-1aws-ap-southeast-2aws-ap-south-1、または aws-sa-east-1 です。

      値は、azure-eastus2azure-westusazure-westeuropeazure-eastasia、または azure-southeastasia です。

      値は、gcp-us-central1gcp-us-east4gcp-us-west1gcp-europe-west1、または gcp-asia-south1 です。

    • ロケーション string

      アプリをホストするクラウドプロバイダーに関係なく、アプリサーバーが物理的に配置されるロケーションの識別子です。

      値は、US-VAUS-ORDE-FFIEAUIN-MBSG、または BR-SP です。

    • deployment_model string

      アプリケーションの配置モデル

      値は GLOBAL または LOCAL です。

    • アプリケーションの環境。

      値は、developmenttestingqa、または production です。

    • _id string

      アプリケーションの一意の内部ID。

    • client_app_id string

      アプリケーションの公開 App ID。

    • domain_id string

      アプリケーションに関連付けられた ドメインID。

    • group_id string

      アプリケーションの Atlas Project/Group ID

    • last_used integer

      このアプリが最後に使用された時刻(UNIX 時間)(つまり 1 月 1、1970 からの秒数)。

    • last_modified integer

      このアプリがUNIX 時間で最後に変更された時刻(つまり 1 月 1、1970 からの秒数)。

    • product string

      このアプリはの製品です。

      値は、standardatlasdata-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"
  }
]