お知らせ:

当社は、お客様により充実したサポート情報を迅速に提供するため、本ページのコンテンツは機械翻訳を用いて日本語に翻訳しています。正確かつ最新のサポート情報をご覧いただくには、本内容の英語版を参照してください。

すべてのBrowser Grid詳細の取得

getGrid() SDKメソッドを使用して、プロジェクト内に存在するすべてのBrowser Gridの詳細を取得できます。以下のスニペットで使用されているgridインスタンスは、コンポーネントリファレンスです。

Info: このSDKメソッドを使用するには、Adminスコープで初期化する必要があります。この要件の詳細については、このセクションをご覧ください。

以下のパッケージをインポートしてください

copy
import com.zc.component.smartbrowz.*;
copy
List<\ZCGrid> gridList = grid.getGrid(); // プロジェクトに存在するすべてのグリッドの詳細リストを返します。

期待されるレスポンスの例

copy
{
  "status": "success",
  "data": [
    {
      "id": "3970000000006058",
      "name": "play",
      "memory": 1024,
      "browser_version": {
        "chrome_version": "137.0.7515.155",
        "firefox_version": "136.0.4"
      },
      "created_time": "Sep 10, 2025 07:04 PM",
      "modified_time": "Sep 10, 2025 07:04 PM",
      "api_key_modified_time": "1757511270919",
      "created_by": {
        "zuid": "111734674",
        "email_id": "emmy@zylker.com",
        "first_name": "Headless",
        "last_name": "2",
        "user_type": "SuperAdmin"
      },
      "modified_by": {
        "zuid": "111734674",
        "email_id": "emmy@zylker.com",
        "first_name": "Headless",
        "last_name": "2",
        "user_type": "SuperAdmin"
      },
      "project_details": {
        "project_name": "Project-Rainfall",
        "id": "38119000000022053",
        "project_type": "Live"
      },
      "endpoint_type": 1,
      "max_session_count": 1,
      "max_nodes_count": 10,
      "max_concurrent_count": 10,
      "config_type": 1
    },
    {
      "id": "3970000000005426",
      "name": "Automation",
      "memory": 1024,
      "browser_version": {
        "chrome_version": "137.0.7515.155",
        "firefox_version": "136.0.4"
      },
      "created_time": "Sep 10, 2025 12:47 PM",
      "modified_time": "Sep 23, 2025 03:12 PM",
      "api_key_modified_time": "1757488669690",
      "created_by": {
        "zuid": "111734674",
        "email_id": "emmy@zylker.com",
        "first_name": "Headless",
        "last_name": "2",
        "user_type": "SuperAdmin"
      },
      "modified_by": {
        "zuid": "111734674",
        "email_id": "emmy@zylker.com",
        "first_name": "Headless",
        "last_name": "2",
        "user_type": "SuperAdmin"
      },
      "project_details": {
        "project_name": "Project-Rainfall",
        "id": "38119000000022053",
        "project_type": "Live"
      },
      "endpoint_type": 2,
      "max_session_count": 1,
      "max_nodes_count": 5,
      "max_concurrent_count": 5,
      "config_type": 2
    },
    {
      "id": "3970000000005027",
      "name": "SDK",
      "memory": 1024,
      "browser_version": {
        "chrome_version": "137.0.7515.155",
        "firefox_version": "136.0.4"
      },
      "created_time": "Sep 10, 2025 11:33 AM",
      "modified_time": "Sep 10, 2025 04:27 PM",
      "api_key_modified_time": "1757484201284",
      "created_by": {
        "zuid": "111734674",
        "email_id": "emmy@zylker.com",
        "first_name": "Headless",
        "last_name": "2",
        "user_type": "SuperAdmin"
      },
      "modified_by": {
        "zuid": "111734674",
        "email_id": "emmy@zylker.com",
        "first_name": "Headless",
        "last_name": "2",
        "user_type": "SuperAdmin"
      },
      "project_details": {
        "project_name": "Project-Rainfall",
        "id": "38119000000022053",
        "project_type": "Live"
      },
      "endpoint_type": 2,
      "max_session_count": 1,
      "max_nodes_count": 5,
      "max_concurrent_count": 5,
      "config_type": 1
    },
    {
      "id": "3970000000005015",
      "name": "Puppeteer_Grid",
      "memory": 1024,
      "browser_version": {
        "chrome_version": "137.0.7515.155",
        "firefox_version": "136.0.4"
      },
      "created_time": "Sep 10, 2025 10:21 AM",
      "modified_time": "Sep 10, 2025 10:21 AM",
      "api_key_modified_time": "1757479864798",
      "created_by": {
        "zuid": "111734674",
        "email_id": "emmy@zylker.com",
        "first_name": "Headless",
        "last_name": "2",
        "user_type": "SuperAdmin"
      },
      "modified_by": {
        "zuid": "111734674",
        "email_id": "emmy@zylker.com",
        "first_name": "Headless",
        "last_name": "2",
        "user_type": "SuperAdmin"
      },
      "project_details": {
        "project_name": "Project-Rainfall",
        "id": "38119000000022053",
        "project_type": "Live"
      },
      "endpoint_type": 1,
      "max_session_count": 1,
      "max_nodes_count": 1,
      "max_concurrent_count": 1,
      "config_type": 1
    },
    {
      "id": "3970000000005013",
      "name": "Selenium_Gridt",
      "memory": 1024,
      "browser_version": {
        "chrome_version": "137.0.7515.155",
        "firefox_version": "136.0.4"
      },
      "created_time": "Sep 10, 2025 10:21 AM",
      "modified_time": "Sep 23, 2025 05:50 PM",
      "api_key_modified_time": "1757479864794",
      "created_by": {
        "zuid": "111734674",
        "email_id": "emmy@zylker.com",
        "first_name": "Headless",
        "last_name": "2",
        "user_type": "SuperAdmin"
      },
      "modified_by": {
        "zuid": "111734674",
        "email_id": "emmy@zylker.com",
        "first_name": "Headless",
        "last_name": "2",
        "user_type": "SuperAdmin"
      },
      "project_details": {
        "project_name": "Project-Rainfall",
        "id": "38119000000022053",
        "project_type": "Live"
      },
      "endpoint_type": 2,
      "max_session_count": 1,
      "max_nodes_count": 1,
      "max_concurrent_count": 1,
      "config_type": 2
    }
  ]
}

最終更新日 2026-03-30 13:40:30 +0530 IST