Testinium
  • Testinium Cloud
    • GET STARTED
      • What is Testinium?
      • Go to Testinium
    • How to run tests in Testinium?
    • Testinium Cloud Navigation
  • LOGIN
    • Login
      • Log in to Testinium
      • Reset Password
  • DASHBOARD
    • Dashboard
  • USER PROFILE
    • User Profile
      • Account Information
  • PROJECTS
    • Projects
      • Create New Project
      • Summary
      • Scenarios
      • Plans
      • Advanced
      • Properties
  • SCENARIOS
    • Scenarios
      • Create Scenario
      • Edit Scenarios
      • Delete Scenarios
      • Create New Group
      • Sync Scenarios
  • PLANS
    • Plans
      • Create Plan
      • Edit Plans
      • Delete Plans
      • Report
      • Run Plan
      • Quick Run Plan
  • REPORTS
    • Reports
      • Test Execution(Auto)
      • Scheduled Reports(Periodically Scheduled)
        • Create New Periodically Reports
        • Edit Periodically Report
        • Delete Periodically Report
        • Periodically Report History
      • Smart Prioritization Report
  • AUTOMATED TEST
    • Automated Test
      • Test Code Generator(Web)
      • Test Code Generator(Android Web)
      • Test Code Generator(IOS Web)
      • Test Code Generator(Android App)
      • Test Code Generator(IOS App)
      • Operation Report
  • PLUGINS
    • Plugins
      • Jenkins
      • Automated Test
      • Jira
      • Slack
      • TestRail
  • API's
    • Auth
      • Login
    • Account
      • Delete Customer API
      • Get All Roles
      • Get Customer ID by Company ID
      • Get Package Price by Package, Period, and Currency
      • Get User Details by Customer ID and User ID
      • Get Customer Information
      • Get Last Subscribed Product Packages of Customer
      • Update User
      • Get Billings by Customer ID
      • Get Address Types
      • Get Phone Types
      • Get Countries
      • Get Live Testing Parallel Limit
      • Update Live Testing Parallel Limit
      • Update Repository Information
      • Get Users of a Customer
      • Get All Products
    • Project
      • Get All Projects
      • Get All Projects By ProjectID
      • Get All Projects By Company ID
      • Get All Active Projects
      • Create Mobile Project
      • Create Service Project
      • Create WEB Project
      • Create Project From Template
      • Upload Mobile App
      • Delete Mobile App
      • Get Framework Summary
      • Enable Project
      • Disable Project
      • Get Jira Settings By ProjectID
      • Update Project For Jira Issue Settings
      • Get TestRail Settings By ProjectID
      • Update Project TestRail Settings
      • Get Xray Settings By ProjectID
      • Update Xray Settings By ProjectID
      • Get Xray Project Key Activation Information
      • Delete Project
      • Get Branch List By ProjectID
      • Get Plugins
    • Plan
      • Get All Test Plans
      • Get Plan By Plan ID
      • Get All Parent Plans
      • Get All Plans By Project ID
      • Get Active Test Plans
      • Run Test Plan
      • Force Run Test Plan
      • Quick Run Test Plan
      • Check Test Plan Running Status
      • Create Test Plan
      • Update Test Plan
      • Delete Test Plan
      • Get Band Width Types
      • Get Maximum Execution Times
      • Get Browsers
      • Get All Desktop Environments
      • Get All Mobile Environments
      • Get Total Plan Count by Filter
      • Get Files of a Test Plan
    • Reports
      • Get All Test Executions By Plan ID
      • Get Test Execution By ID
      • Download Execution Report by ID
      • Get Test Results of Execution by Scenario ID
      • Get Detailed Test Result
      • Filter Test Executions
      • Get Total Test Execution Runtime
      • Get Test Results Per Day
      • Graph Prioritization
      • Graph Prioritization Scenario
      • Get Plans By Scheduled Reports
      • Create Scheduled Report
      • Get All Scheduled Reports
      • Get Scheduled Report by ID
      • Update Scheduled Report
      • Get Scheduled Report History
      • Delete Scheduled Report
      • Get Public Report Link
      • Get Automated Apps for a Company
      • Get Remote Test Results Detailed
      • Get Test Result Detailed
    • Scenario
      • Get All Scenarios
      • Get All Group Scenarios
      • Get Scenario By ID
      • Get Test Scenarios By Filter
      • Get Scenarios by Execution ID
      • Get Last Failed Scenarios of a Test Plan
      • Create Scenario
      • Create Group Scenario
      • Update Scenario
      • Delete Scenario
      • Delete Multiple Scenarios
      • Get Total Scenario Count by Filter
      • Get File List (Source Tree)
      • Get BDD Steps
      • Read Test Method List
  • RELEASE NOTES
    • Release Notes
      • Testinium-Cloud 2.13.8 Release Notes
      • Testinium-Cloud 2.13.6 Release Notes
      • Testinium-Cloud 2.13.5 Release Notes
      • Testinium-Cloud 2.13.4 Release Notes
      • Testinium-Cloud 2.13.3 Release Notes
      • Testinium-Cloud 2.13.2 Release Notes
      • Testinium-Cloud 2.13.1 Release Notes
      • Testinium-Cloud 2.13.0 Release Notes
      • Testinium-Cloud 2.12.4 Release Notes
Powered by GitBook
On this page
  • Endpoint Information
  • Path Parameters
  • Response
  • Response Fields
  • Error Codes
  • Example Request
  1. API's
  2. Plan

Get All Mobile Environments

Retrieves a list of all mobile environments available in the system, based on the mobile operating systems and their respective manufacturers and devices.


Endpoint Information

  • URL: https://testinium.io/Testinium.RestApi/api/environments/mobile

  • Method: GET

  • Authentication: Required (Bearer Token)


Path Parameters

Name
Type
Description

user

User

The authenticated user making the request.


Response

[
    {
        "operating_system": {
            "code": "IOS",
            "platform": "Mobile",
            "clean_name": "iOS",
            "screen_resolutions": [
                {
                    "resolution_name": "WXGA",
                    "resolution_width": 1280,
                    "resolution_height": 800
                },
                {
                    "resolution_name": "WXGA_P",
                    "resolution_width": 1440,
                    "resolution_height": 900
                },
                {
                    "resolution_name": "XGA",
                    "resolution_width": 1024,
                    "resolution_height": 768
                }
            ],
            "mobile": true
        },
        "manufacturers": [
            {
                "code": "APPLE",
                "name": "APPLE",
                "devices": [
                    {
                        "code": "iphone6",
                        "name": "iPhone 6",
                        "details": [
                            {
                                "environment_id": 1103,
                                "version": "12.5.5",
                                "enabled": true
                            }
                        ]
                    },
                    {
                        "code": "iPhone_7",
                        "name": "iPhone 7",
                        "details": [
                            {
                                "environment_id": 1101,
                                "version": "15.7.6",
                                "enabled": true
                            }
                        ]
                    },
                    {
                        "code": "iPhone6s",
                        "name": "iPhone 6S",
                        "details": [
                            {
                                "environment_id": 1104,
                                "version": "15.7.5",
                                "enabled": true
                            },
                            {
                                "environment_id": 1181,
                                "version": "15.7.9",
                                "enabled": true
                            }
                        ]
                    },
                    {
                        "code": "iPhone_XR",
                        "name": "iPhone XR",
                        "details": [
                            {
                                "environment_id": 1174,
                                "version": "12.4.1",
                                "enabled": true
                            },
                            {
                                "environment_id": 1119,
                                "version": "17.1",
                                "enabled": true
                            }
                        ]
                    },
                    {
                        "code": "iPhone_X",
                        "name": "iPhone X",
                        "details": [
                            {
                                "environment_id": 1172,
                                "version": "16.7.7",
                                "enabled": true
                            }
                        ]
                    },
                    {
                        "code": "IPHONE_14_PLUS",
                        "name": "IPHONE 14 PLUS",
                        "details": [
                            {
                                "environment_id": 1202,
                                "version": "18.1.1",
                                "enabled": true
                            }
                        ]
                    },
                    {
                        "code": "IPHONE_13",
                        "name": "IPHONE 13",
                        "details": [
                            {
                                "environment_id": 1204,
                                "version": "18.1.1",
                                "enabled": true
                            }
                        ]
                    },
                    {
                        "code": "IPHONE_13_PRO_MAX",
                        "name": "IPHONE 13 PRO MAX",
                        "details": [
                            {
                                "environment_id": 1208,
                                "version": "17.7",
                                "enabled": true
                            }
                        ]
                    },
                    {
                        "code": "device create code",
                        "name": "device create name",
                        "details": [
                            {
                                "environment_id": 1214,
                                "version": "13.0",
                                "enabled": true
                            }
                        ]
                    }
                ]
            },
            {
                "code": "LG",
                "name": "LG",
                "devices": [
                    {
                        "code": "G4",
                        "name": "G4",
                        "details": [
                            {
                                "environment_id": 1212,
                                "version": "1.2.3",
                                "enabled": true
                            }
                        ]
                    },
                    {
                        "code": "LG_G6",
                        "name": "LG G6",
                        "details": [
                            {
                                "environment_id": 1106,
                                "version": "8.0.0",
                                "enabled": true
                            }
                        ]
                    }
                ]
            },
            {
                "code": "SAMSUNG",
                "name": "SAMSUNG",
                "devices": [
                    {
                        "code": "Galaxy_Note20",
                        "name": "Galaxy Note 20",
                        "details": [
                            {
                                "environment_id": 1177,
                                "version": "13",
                                "enabled": true
                            }
                        ]
                    }
                ]
            }
        ],
        "browsers": [],
        "enabled": false
    },
    {
        "operating_system": {
            "code": "ANDROID",
            "platform": "Mobile",
            "clean_name": "Android",
            "screen_resolutions": [
                {
                    "resolution_name": "FHD",
                    "resolution_width": 1920,
                    "resolution_height": 1080
                },
                {
                    "resolution_name": "SVGA",
                    "resolution_width": 800,
                    "resolution_height": 600
                }
            ],
            "mobile": true
        },
        "manufacturers": [
            {
                "code": "LG",
                "name": "LG",
                "devices": [
                    {
                        "code": "G4",
                        "name": "G4",
                        "details": [
                            {
                                "environment_id": 1212,
                                "version": "1.2.3",
                                "enabled": true
                            }
                        ]
                    },
                    {
                        "code": "LG_G6",
                        "name": "LG G6",
                        "details": [
                            {
                                "environment_id": 1106,
                                "version": "8.0.0",
                                "enabled": true
                            }
                        ]
                    }
                ]
            },
            {
                "code": "Oppo",
                "name": "Oppo",
                "devices": [
                    {
                        "code": "Oppo_A91",
                        "name": "Oppo A91",
                        "details": [
                            {
                                "environment_id": 1210,
                                "version": "11",
                                "enabled": true
                            }
                        ]
                    }
                ]
            },
            {
                "code": "SAMSUNG",
                "name": "SAMSUNG",
                "devices": [
                    {
                        "code": "Galaxy_Note20",
                        "name": "Galaxy Note 20",
                        "details": [
                            {
                                "environment_id": 1177,
                                "version": "13",
                                "enabled": true
                            }
                        ]
                    }
                ]
            }
        ],
        "browsers": [],
        "enabled": false
    }
]

Response Fields

Field
Type
Description

operating_system

Object

Contains information about the operating system.

code

String

The code representing the operating system (e.g., IOS, ANDROID).

platform

String

The platform type, which is Mobile in this case.

clean_name

String

The clean name of the operating system (e.g., iOS, Android).

screen_resolutions

Array

List of screen resolutions supported by the operating system.

manufacturers

Array

List of manufacturers and their devices supported on the given operating system.

code

String

The code of the manufacturer (e.g., APPLE, SAMSUNG).

name

String

The name of the manufacturer.

devices

Array

List of devices from the manufacturer with their respective versions.

details

Array

List of environment details such as environment_id, version, and enabled.

enabled

Boolean

Indicates whether the environment is enabled.

browsers

Array

List of browsers available for the operating system (empty in this case).

enabled

Boolean

Indicates whether the operating system is enabled for use.


Error Codes

HTTP Status
Code
Message

400

BAD_REQUEST

Invalid request parameters.

401

UNAUTHORIZED

The user is not authorized to access this resource.

403

FORBIDDEN

The user does not have sufficient permissions to access the resource.

500

INTERNAL_ERROR

An internal server error occurred while processing the request.

Example Request

curl --location --request GET "https://testinium.io/Testinium.RestApi/api/environments/mobile" \
--header 'Authorization: Bearer <your_access_token>'
PreviousGet All Desktop EnvironmentsNextGet Total Plan Count by Filter

Last updated 3 months ago