This repo contains Bitbar Cloud API Client for Ruby. It's mainly generated by Swagger Codegen, with small tweaks and additions (like FilterBuilder).
BitbarCloud API
This SDK is automatically generated by the Swagger Codegen project:
- API version: 3.24.1-master-20231027-124207
- Package version: 1.1.0
- Build package: io.swagger.codegen.v3.generators.ruby.RubyClientCodegen For more information, please visit https://support.smartbear.com/bitbar
To generate it the following steps have been made:
- Downloaded https://cloud.bitbar.com/cloud/v3/api-docs/BitBar, saved as ~/Downloads/BitBar.json
- Downloaded https://cloud.bitbar.com/cloud/v3/api-docs/swagger-config, saved as ~/Downloads/swagger-config.json
- Modifed ~/Downloads/swagger-config.json to include
"gemName":"bitbar-cloud-api-client"
:
{"configUrl":"/cloud/v3/api-docs/swagger-config","docExpansion":"none","oauth2RedirectUrl":"https://cloud.bitbar.com/cloud/swagger-ui/oauth2-redirect.html","tagsSorter":"alpha","urls":[{"url":"/cloud/v3/api-docs/BitBar","name":"BitBar"}],"validatorUrl":"","gemName":"bitbar-cloud-api-client"}
wget https://repo1.maven.org/maven2/io/swagger/codegen/v3/swagger-codegen-cli/3.0.50/swagger-codegen-cli-3.0.50.jar -O swagger-codegen-cli.jar
- Execute:
java -jar swagger-codegen-cli.jar generate \
-i ~/Downloads/BitBar.json \
-l ruby \
-o ruby \
-c ~/Downloads/swagger-config.json
To build the Ruby code into a gem:
gem build bitbar-cloud-api-client.gemspec
Then either install the gem locally:
gem install ./bitbar-cloud-api-client-1.1.0.gem
(for development, run gem install --dev ./bitbar-cloud-api-client-1.1.0.gem
to install the development dependencies)
or publish the gem to a gem hosting service, e.g. RubyGems.
Finally add this to the Gemfile:
gem 'bitbar-cloud-api-client', '~> 1.1.0'
gem 'bitbar-cloud-api-client', :git => 'https://github.com/bitbar/cloud-api-client-ruby.git'
Include the Ruby code directly using -I
as follows:
ruby -Ilib script.rb
Please follow the installation procedure and then run the following code:
# Load the gem
require 'bitbar-cloud-api-client'
# Setup authorization
BitbarCloudApiClient.configure do |config|
# Configure HTTP basic authorization: apiKeyInHeader
config.username = 'YOUR_API_KEY'
config.password = ''
end
api_instance = BitbarCloudApiClient::AdminApi.new
project_id = 789 # Integer |
run_id = 789 # Integer |
device_session_id = 789 # Integer |
begin
#Abort device session.
result = api_instance.abort_device_session1(project_id, run_id, device_session_id)
p result
rescue BitbarCloudApiClient::ApiError => e
puts "Exception when calling AdminApi->abort_device_session1: #{e}"
end
api_instance = BitbarCloudApiClient::AdminApi.new
project_id = 789 # Integer |
run_id = 789 # Integer |
begin
#Abort test run and receive partial results.
result = api_instance.abort_project_test_run(project_id, run_id)
p result
rescue BitbarCloudApiClient::ApiError => e
puts "Exception when calling AdminApi->abort_project_test_run: #{e}"
end
api_instance = BitbarCloudApiClient::AdminApi.new
run_id = 789 # Integer |
opts = {
project_id: 789 # Integer |
}
begin
#Abort test run and receive partial results.
result = api_instance.abort_test_run(run_id, opts)
p result
rescue BitbarCloudApiClient::ApiError => e
puts "Exception when calling AdminApi->abort_test_run: #{e}"
end
api_instance = BitbarCloudApiClient::AdminApi.new
run_id = 789 # Integer |
begin
#Abort test run and receive partial results.
result = api_instance.abort_test_run1(run_id)
p result
rescue BitbarCloudApiClient::ApiError => e
puts "Exception when calling AdminApi->abort_test_run1: #{e}"
end
api_instance = BitbarCloudApiClient::AdminApi.new
id = 789 # Integer |
begin
#Activate license.
result = api_instance.activate_license(id)
p result
rescue BitbarCloudApiClient::ApiError => e
puts "Exception when calling AdminApi->activate_license: #{e}"
end
api_instance = BitbarCloudApiClient::AdminApi.new
service_id = 789 # Integer |
opts = {
activate_time: 789 # Integer |
}
begin
#Activate service.
result = api_instance.activate_service(service_id, opts)
p result
rescue BitbarCloudApiClient::ApiError => e
puts "Exception when calling AdminApi->activate_service: #{e}"
end
api_instance = BitbarCloudApiClient::AdminApi.new
account_service_id = 789 # Integer |
begin
#Activate account service.
result = api_instance.activate_user_service(account_service_id)
p result
rescue BitbarCloudApiClient::ApiError => e
puts "Exception when calling AdminApi->activate_user_service: #{e}"
end
api_instance = BitbarCloudApiClient::AdminApi.new
device_id = 789 # Integer |
device_cleanup_configuration_id = 789 # Integer |
begin
#Add device specific cleanup configuration.
result = api_instance.add_device_cleanup_configuration(device_id, device_cleanup_configuration_id)
p result
rescue BitbarCloudApiClient::ApiError => e
puts "Exception when calling AdminApi->add_device_cleanup_configuration: #{e}"
end
api_instance = BitbarCloudApiClient::AdminApi.new
device_id = 789 # Integer |
label_id = 789 # Integer |
begin
#Add label to device.
result = api_instance.add_device_label(device_id, label_id)
p result
rescue BitbarCloudApiClient::ApiError => e
puts "Exception when calling AdminApi->add_device_label: #{e}"
end
api_instance = BitbarCloudApiClient::AdminApi.new
device_id = 789 # Integer |
label_id = 789 # Integer |
begin
#Add label to device.
result = api_instance.add_device_label1(device_id, label_id)
p result
rescue BitbarCloudApiClient::ApiError => e
puts "Exception when calling AdminApi->add_device_label1: #{e}"
end
api_instance = BitbarCloudApiClient::AdminApi.new
opts = {
field: 'field_example', # String |
label_group_id: 789 # Integer |
}
begin
#Create device model criterion.
result = api_instance.add_device_model_criteria(opts)
p result
rescue BitbarCloudApiClient::ApiError => e
puts "Exception when calling AdminApi->add_device_model_criteria: #{e}"
end
api_instance = BitbarCloudApiClient::AdminApi.new
device_session_id = 789 # Integer |
name = 'name_example' # String |
opts = {
body: BitbarCloudApiClient::OutputfilesetFilesBody4.new, # OutputfilesetFilesBody4 |
tag: 'tag_example' # String |
}
begin
#Add file to device session.
result = api_instance.add_device_session_output_file(device_session_id, name, opts)
p result
rescue BitbarCloudApiClient::ApiError => e
puts "Exception when calling AdminApi->add_device_session_output_file: #{e}"
end
api_instance = BitbarCloudApiClient::AdminApi.new
device_group_id = 789 # Integer |
opts = {
device_id: [56], # Array<Integer> |
device_ids: [56] # Array<Integer> |
}
begin
#Add device to device group.
result = api_instance.add_device_to_device_group1(device_group_id, opts)
p result
rescue BitbarCloudApiClient::ApiError => e
puts "Exception when calling AdminApi->add_device_to_device_group1: #{e}"
end
api_instance = BitbarCloudApiClient::AdminApi.new
project_id = 789 # Integer |
run_id = 789 # Integer |
name = 'name_example' # String |
begin
#Add tag to test run.
result = api_instance.add_project_test_run_tag(project_id, run_id, name)
p result
rescue BitbarCloudApiClient::ApiError => e
puts "Exception when calling AdminApi->add_project_test_run_tag: #{e}"
end
api_instance = BitbarCloudApiClient::AdminApi.new
user_id = 789 # Integer |
role_id = 789 # Integer |
opts = {
value: 56, # Integer |
expire_time: 789 # Integer |
}
begin
#Add account role.
result = api_instance.add_role_to_account(user_id, role_id, opts)
p result
rescue BitbarCloudApiClient::ApiError => e
puts "Exception when calling AdminApi->add_role_to_account: #{e}"
end
api_instance = BitbarCloudApiClient::AdminApi.new
device_group_id = 789 # Integer |
selector_ids = [56] # Array<Integer> |
begin
#Add selectors to device group.
result = api_instance.add_selector_to_device_group1(device_group_id, selector_ids)
p result
rescue BitbarCloudApiClient::ApiError => e
puts "Exception when calling AdminApi->add_selector_to_device_group1: #{e}"
end
api_instance = BitbarCloudApiClient::AdminApi.new
user_id = 789 # Integer |
service_id = 789 # Integer |
opts = {
count: 1, # Integer |
end_time: 789 # Integer |
}
begin
#Add service to user.
result = api_instance.add_service_to_user(user_id, service_id, opts)
p result
rescue BitbarCloudApiClient::ApiError => e
puts "Exception when calling AdminApi->add_service_to_user: #{e}"
end
api_instance = BitbarCloudApiClient::AdminApi.new
run_id = 789 # Integer |
name = 'name_example' # String |
opts = {
project_id: 789 # Integer |
}
begin
#Add tag to test run.
result = api_instance.add_test_run_tag1(run_id, name, opts)
p result
rescue BitbarCloudApiClient::ApiError => e
puts "Exception when calling AdminApi->add_test_run_tag1: #{e}"
end
api_instance = BitbarCloudApiClient::AdminApi.new
access_group_id = 789 # Integer |
email = 'email_example' # String |
begin
#Add user to access group.
result = api_instance.add_user1(access_group_id, email)
p result
rescue BitbarCloudApiClient::ApiError => e
puts "Exception when calling AdminApi->add_user1: #{e}"
end
api_instance = BitbarCloudApiClient::AdminApi.new
service_id = 789 # Integer |
begin
#Archive service.
api_instance.archive_service(service_id)
rescue BitbarCloudApiClient::ApiError => e
puts "Exception when calling AdminApi->archive_service: #{e}"
end
api_instance = BitbarCloudApiClient::AdminApi.new
test_run_id = 789 # Integer |
begin
#Create property banning application.
result = api_instance.ban_application(test_run_id)
p result
rescue BitbarCloudApiClient::ApiError => e
puts "Exception when calling AdminApi->ban_application: #{e}"
end
api_instance = BitbarCloudApiClient::AdminApi.new
email = 'email_example' # String |
begin
#Create property banning email domain.
result = api_instance.ban_email_domain(email)
p result
rescue BitbarCloudApiClient::ApiError => e
puts "Exception when calling AdminApi->ban_email_domain: #{e}"
end
api_instance = BitbarCloudApiClient::AdminApi.new
device_id = 789 # Integer |
begin
#Start blinking device screen.
result = api_instance.blink(device_id)
p result
rescue BitbarCloudApiClient::ApiError => e
puts "Exception when calling AdminApi->blink: #{e}"
end
api_instance = BitbarCloudApiClient::AdminApi.new
service_id = 789 # Integer |
cent_price = 56 # Integer |
begin
#Update service price.
result = api_instance.change_service_price(service_id, cent_price)
p result
rescue BitbarCloudApiClient::ApiError => e
puts "Exception when calling AdminApi->change_service_price: #{e}"
end
api_instance = BitbarCloudApiClient::AdminApi.new
name = 'name_example' # String |
opts = {
scope: 'USER', # String |
user_id: 789 # Integer |
}
begin
#Create access group.
result = api_instance.create1(name, opts)
p result
rescue BitbarCloudApiClient::ApiError => e
puts "Exception when calling AdminApi->create1: #{e}"
end
api_instance = BitbarCloudApiClient::AdminApi.new
name = 'name_example' # String |
display_name = 'display_name_example' # String |
version = 'version_example' # String |
os_type = 'os_type_example' # String |
opts = {
architecture: 'architecture_example', # String |
install_url: 'install_url_example' # String |
}
begin
#Create browser.
result = api_instance.create_browser(name, display_name, version, os_type, opts)
p result
rescue BitbarCloudApiClient::ApiError => e
puts "Exception when calling AdminApi->create_browser: #{e}"
end
api_instance = BitbarCloudApiClient::AdminApi.new
content = 'content_example' # String |
os_type = 'os_type_example' # String |
discriminator = 'discriminator_example' # String |
opts = {
enabled: true # BOOLEAN |
}
begin
#Create device cleanup configuration.
result = api_instance.create_device_cleanup_configuration(content, os_type, discriminator, opts)
p result
rescue BitbarCloudApiClient::ApiError => e
puts "Exception when calling AdminApi->create_device_cleanup_configuration: #{e}"
end
api_instance = BitbarCloudApiClient::AdminApi.new
device_session_id = 789 # Integer |
host = 'host_example' # String |
port = 56 # Integer |
type = 'type_example' # String |
opts = {
password: 'password_example' # String |
}
begin
#Create connection for device session.
result = api_instance.create_device_session_connection1(device_session_id, host, port, type, opts)
p result
rescue BitbarCloudApiClient::ApiError => e
puts "Exception when calling AdminApi->create_device_session_connection1: #{e}"
end
api_instance = BitbarCloudApiClient::AdminApi.new
file_id = 789 # Integer |
key = 'key_example' # String |
value = 'value_example' # String |
begin
#Create file property.
result = api_instance.create_file_property(file_id, key, value)
p result
rescue BitbarCloudApiClient::ApiError => e
puts "Exception when calling AdminApi->create_file_property: #{e}"
end
api_instance = BitbarCloudApiClient::AdminApi.new
name = 'name_example' # String |
os_type = 'os_type_example' # String |
content = 'content_example' # String |
opts = {
description: 'description_example', # String |
required_app_extensions: 'required_app_extensions_example', # String |
required_test_extensions: 'required_test_extensions_example', # String |
required_test_file_tags: 'required_test_file_tags_example', # String |
documentation_url: 'documentation_url_example', # String |
for_projects: true, # BOOLEAN |
can_run_from_ui: true, # BOOLEAN |
retryable: true, # BOOLEAN |
skip_queue: false, # BOOLEAN |
skip_older_sdk: true, # BOOLEAN |
type: 'type_example', # String |
account_id: 789, # Integer |
label_id: 789, # Integer |
add_label_to_devices: false, # BOOLEAN |
role_ids: [56], # Array<Integer> |
sample_app_id: 789, # Integer |
sample_test_id: 789, # Integer |
icon: 'icon_example' # String |
}
begin
#Create framework.
result = api_instance.create_framework(name, os_type, content, opts)
p result
rescue BitbarCloudApiClient::ApiError => e
puts "Exception when calling AdminApi->create_framework: #{e}"
end
api_instance = BitbarCloudApiClient::AdminApi.new
group_id = 789 # Integer |
name = 'name_example' # String |
display_name = 'display_name_example' # String |
begin
#Add label to label group.
result = api_instance.create_label(group_id, name, display_name)
p result
rescue BitbarCloudApiClient::ApiError => e
puts "Exception when calling AdminApi->create_label: #{e}"
end
api_instance = BitbarCloudApiClient::AdminApi.new
name = 'name_example' # String |
display_name = 'display_name_example' # String |
begin
#Create label group.
result = api_instance.create_label_group(name, display_name)
p result
rescue BitbarCloudApiClient::ApiError => e
puts "Exception when calling AdminApi->create_label_group: #{e}"
end
api_instance = BitbarCloudApiClient::AdminApi.new
user_id = 789 # Integer |
unit = 'unit_example' # String |
unit_count = 56 # Integer |
opts = {
android_enabled: false, # BOOLEAN |
android_device_limit: 56, # Integer |
android_project_limit: 56, # Integer |
inspector_enabled: false, # BOOLEAN |
ios_enabled: false, # BOOLEAN |
ios_device_limit: 56, # Integer |
ios_project_limit: 56, # Integer |
private_instance: false, # BOOLEAN |
build_enabled: false, # BOOLEAN |
build_limit: 56, # Integer |
desktop_enabled: false, # BOOLEAN |
desktop_device_limit: 56, # Integer |
desktop_project_limit: 56, # Integer |
global_device_limit: 56, # Integer |
global_project_limit: 56 # Integer |
}
begin
#Create license.
result = api_instance.create_license(user_id, unit, unit_count, opts)
p result
rescue BitbarCloudApiClient::ApiError => e
puts "Exception when calling AdminApi->create_license: #{e}"
end
api_instance = BitbarCloudApiClient::AdminApi.new
name = 'name_example' # String |
value = 'value_example' # String |
description = 'description_example' # String |
opts = {
from_time: 789, # Integer |
to_time: 789 # Integer |
}
begin
#Create property.
result = api_instance.create_property(name, value, description, opts)
p result
rescue BitbarCloudApiClient::ApiError => e
puts "Exception when calling AdminApi->create_property: #{e}"
end
api_instance = BitbarCloudApiClient::AdminApi.new
body = BitbarCloudApiClient::APIService.new # APIService |
begin
#Create or update the service.
result = api_instance.create_service(body)
p result
rescue BitbarCloudApiClient::ApiError => e
puts "Exception when calling AdminApi->create_service: #{e}"
end
api_instance = BitbarCloudApiClient::AdminApi.new
email = 'email_example' # String |
begin
#Create user.
result = api_instance.create_user(email)
p result
rescue BitbarCloudApiClient::ApiError => e
puts "Exception when calling AdminApi->create_user: #{e}"
end
api_instance = BitbarCloudApiClient::AdminApi.new
id = 789 # Integer |
begin
#Deactivate license.
result = api_instance.deactivate_license(id)
p result
rescue BitbarCloudApiClient::ApiError => e
puts "Exception when calling AdminApi->deactivate_license: #{e}"
end
api_instance = BitbarCloudApiClient::AdminApi.new
account_service_id = 789 # Integer |
begin
#Deactivate account service.
result = api_instance.deactivate_user_service(account_service_id)
p result
rescue BitbarCloudApiClient::ApiError => e
puts "Exception when calling AdminApi->deactivate_user_service: #{e}"
end
api_instance = BitbarCloudApiClient::AdminApi.new
access_group_id = 789 # Integer |
begin
#Delete access group.
api_instance.delete2(access_group_id)
rescue BitbarCloudApiClient::ApiError => e
puts "Exception when calling AdminApi->delete2: #{e}"
end
api_instance = BitbarCloudApiClient::AdminApi.new
id = 789 # Integer |
begin
#Delete browser.
api_instance.delete_browser(id)
rescue BitbarCloudApiClient::ApiError => e
puts "Exception when calling AdminApi->delete_browser: #{e}"
end
api_instance = BitbarCloudApiClient::AdminApi.new
id = 789 # Integer |
begin
#Delete cluster.
api_instance.delete_cluster(id)
rescue BitbarCloudApiClient::ApiError => e
puts "Exception when calling AdminApi->delete_cluster: #{e}"
end
api_instance = BitbarCloudApiClient::AdminApi.new
device_id = 789 # Integer |
begin
#Delete device.
api_instance.delete_device(device_id)
rescue BitbarCloudApiClient::ApiError => e
puts "Exception when calling AdminApi->delete_device: #{e}"
end
api_instance = BitbarCloudApiClient::AdminApi.new
device_id = 789 # Integer |
begin
#Delete device specific cleanup configuration.
api_instance.delete_device_cleanup_configuration(device_id)
rescue BitbarCloudApiClient::ApiError => e
puts "Exception when calling AdminApi->delete_device_cleanup_configuration: #{e}"
end
api_instance = BitbarCloudApiClient::AdminApi.new
device_group_id = 789 # Integer |
device_model_id = 789 # Integer |
begin
#Delete device from device group.
api_instance.delete_device_from_device_group1(device_group_id, device_model_id)
rescue BitbarCloudApiClient::ApiError => e
puts "Exception when calling AdminApi->delete_device_from_device_group1: #{e}"
end
api_instance = BitbarCloudApiClient::AdminApi.new
device_group_id = 789 # Integer |
begin
#Delete device group.
api_instance.delete_device_group(device_group_id)
rescue BitbarCloudApiClient::ApiError => e
puts "Exception when calling AdminApi->delete_device_group: #{e}"
end
api_instance = BitbarCloudApiClient::AdminApi.new
device_id = 789 # Integer |
label_id = 789 # Integer |
begin
#Delete label from device.
api_instance.delete_device_label(device_id, label_id)
rescue BitbarCloudApiClient::ApiError => e
puts "Exception when calling AdminApi->delete_device_label: #{e}"
end
api_instance = BitbarCloudApiClient::AdminApi.new
device_id = 789 # Integer |
label_id = 789 # Integer |
begin
#Delete label from device.
api_instance.delete_device_label1(device_id, label_id)
rescue BitbarCloudApiClient::ApiError => e
puts "Exception when calling AdminApi->delete_device_label1: #{e}"
end
api_instance = BitbarCloudApiClient::AdminApi.new
id = 789 # Integer |
begin
#Delete device model criterion.
result = api_instance.delete_device_model_criteria(id)
p result
rescue BitbarCloudApiClient::ApiError => e
puts "Exception when calling AdminApi->delete_device_model_criteria: #{e}"
end
api_instance = BitbarCloudApiClient::AdminApi.new
user_id = 789 # Integer |
device_group_id = 789 # Integer |
device_ids = [56] # Array<Integer> |
begin
#Delete devices from device group.
api_instance.delete_devices_from_device_group(user_id, device_group_id, device_ids)
rescue BitbarCloudApiClient::ApiError => e
puts "Exception when calling AdminApi->delete_devices_from_device_group: #{e}"
end
api_instance = BitbarCloudApiClient::AdminApi.new
device_group_id = 789 # Integer |
device_ids = [56] # Array<Integer> |
begin
#Delete devices from device group.
api_instance.delete_devices_from_device_group1(device_group_id, device_ids)
rescue BitbarCloudApiClient::ApiError => e
puts "Exception when calling AdminApi->delete_devices_from_device_group1: #{e}"
end
api_instance = BitbarCloudApiClient::AdminApi.new
file_id = 789 # Integer |
begin
#Delete file.
api_instance.delete_file2(file_id)
rescue BitbarCloudApiClient::ApiError => e
puts "Exception when calling AdminApi->delete_file2: #{e}"
end
api_instance = BitbarCloudApiClient::AdminApi.new
device_session_id = 789 # Integer |
file_id = 789 # Integer |
begin
#Delete file from device session.
api_instance.delete_file3(device_session_id, file_id)
rescue BitbarCloudApiClient::ApiError => e
puts "Exception when calling AdminApi->delete_file3: #{e}"
end
api_instance = BitbarCloudApiClient::AdminApi.new
file_id = 789 # Integer |
begin
#Delete sample file.
api_instance.delete_file4(file_id)
rescue BitbarCloudApiClient::ApiError => e
puts "Exception when calling AdminApi->delete_file4: #{e}"
end
api_instance = BitbarCloudApiClient::AdminApi.new
file_id = 789 # Integer |
property_id = 789 # Integer |
begin
#Delete file property.
api_instance.delete_file_property(file_id, property_id)
rescue BitbarCloudApiClient::ApiError => e
puts "Exception when calling AdminApi->delete_file_property: #{e}"
end
api_instance = BitbarCloudApiClient::AdminApi.new
id = 789 # Integer |
begin
#Delete framework.
api_instance.delete_framework(id)
rescue BitbarCloudApiClient::ApiError => e
puts "Exception when calling AdminApi->delete_framework: #{e}"
end
api_instance = BitbarCloudApiClient::AdminApi.new
group_id = 789 # Integer |
label_id = 789 # Integer |
begin
#Delete label.
api_instance.delete_label(group_id, label_id)
rescue BitbarCloudApiClient::ApiError => e
puts "Exception when calling AdminApi->delete_label: #{e}"
end
api_instance = BitbarCloudApiClient::AdminApi.new
group_id = 789 # Integer |
begin
#Delete label group.
api_instance.delete_label_group(group_id)
rescue BitbarCloudApiClient::ApiError => e
puts "Exception when calling AdminApi->delete_label_group: #{e}"
end
api_instance = BitbarCloudApiClient::AdminApi.new
id = 789 # Integer |
begin
#Delete license.
api_instance.delete_license(id)
rescue BitbarCloudApiClient::ApiError => e
puts "Exception when calling AdminApi->delete_license: #{e}"
end
api_instance = BitbarCloudApiClient::AdminApi.new
project_id = 789 # Integer |
begin
#Delete project.
api_instance.delete_project(project_id)
rescue BitbarCloudApiClient::ApiError => e
puts "Exception when calling AdminApi->delete_project: #{e}"
end
api_instance = BitbarCloudApiClient::AdminApi.new
project_id = 789 # Integer |
run_id = 789 # Integer |
begin
#Delete test run.
api_instance.delete_project_test_run(project_id, run_id)
rescue BitbarCloudApiClient::ApiError => e
puts "Exception when calling AdminApi->delete_project_test_run: #{e}"
end
api_instance = BitbarCloudApiClient::AdminApi.new
id = 789 # Integer |
begin
#Delete property.
api_instance.delete_property(id)
rescue BitbarCloudApiClient::ApiError => e
puts "Exception when calling AdminApi->delete_property: #{e}"
end
api_instance = BitbarCloudApiClient::AdminApi.new
access_group_id = 789 # Integer |
resource_id = 789 # Integer |
begin
#Delete access group resource.
api_instance.delete_resource1(access_group_id, resource_id)
rescue BitbarCloudApiClient::ApiError => e
puts "Exception when calling AdminApi->delete_resource1: #{e}"
end
api_instance = BitbarCloudApiClient::AdminApi.new
user_id = 789 # Integer |
account_role_id = 789 # Integer |
begin
#Delete account role.
api_instance.delete_role_from_account(user_id, account_role_id)
rescue BitbarCloudApiClient::ApiError => e
puts "Exception when calling AdminApi->delete_role_from_account: #{e}"
end
api_instance = BitbarCloudApiClient::AdminApi.new
device_group_id = 789 # Integer |
selector_id = 789 # Integer |
begin
#Delete selector from device group.
api_instance.delete_selector_from_device_group1(device_group_id, selector_id)
rescue BitbarCloudApiClient::ApiError => e
puts "Exception when calling AdminApi->delete_selector_from_device_group1: #{e}"
end
api_instance = BitbarCloudApiClient::AdminApi.new
user_id = 789 # Integer |
device_group_id = 789 # Integer |
selector_ids = [56] # Array<Integer> |
begin
#Delete selectors from device group.
api_instance.delete_selectors_from_device_group(user_id, device_group_id, selector_ids)
rescue BitbarCloudApiClient::ApiError => e
puts "Exception when calling AdminApi->delete_selectors_from_device_group: #{e}"
end
api_instance = BitbarCloudApiClient::AdminApi.new
device_group_id = 789 # Integer |
selector_ids = [56] # Array<Integer> |
begin
#Delete selectors from device group.
api_instance.delete_selectors_from_device_group1(device_group_id, selector_ids)
rescue BitbarCloudApiClient::ApiError => e
puts "Exception when calling AdminApi->delete_selectors_from_device_group1: #{e}"
end
api_instance = BitbarCloudApiClient::AdminApi.new
run_id = 789 # Integer |
opts = {
project_id: 789 # Integer |
}
begin
#Delete test run.
api_instance.delete_test_run(run_id, opts)
rescue BitbarCloudApiClient::ApiError => e
puts "Exception when calling AdminApi->delete_test_run: #{e}"
end
api_instance = BitbarCloudApiClient::AdminApi.new
run_id = 789 # Integer |
begin
#Delete test run.
api_instance.delete_test_run1(run_id)
rescue BitbarCloudApiClient::ApiError => e
puts "Exception when calling AdminApi->delete_test_run1: #{e}"
end
api_instance = BitbarCloudApiClient::AdminApi.new
run_id = 789 # Integer |
tag_id = 789 # Integer |
opts = {
project_id: 789 # Integer |
}
begin
#Delete test run tag.
api_instance.delete_test_run_tag1(run_id, tag_id, opts)
rescue BitbarCloudApiClient::ApiError => e
puts "Exception when calling AdminApi->delete_test_run_tag1: #{e}"
end
api_instance = BitbarCloudApiClient::AdminApi.new
project_id = 789 # Integer |
run_id = 789 # Integer |
tag_id = 789 # Integer |
begin
#Delete test run tag.
api_instance.delete_test_run_tag_with_project(project_id, run_id, tag_id)
rescue BitbarCloudApiClient::ApiError => e
puts "Exception when calling AdminApi->delete_test_run_tag_with_project: #{e}"
end
api_instance = BitbarCloudApiClient::AdminApi.new
access_group_id = 789 # Integer |
user_id = 789 # Integer |
begin
#Delete access group user.
api_instance.delete_user2(access_group_id, user_id)
rescue BitbarCloudApiClient::ApiError => e
puts "Exception when calling AdminApi->delete_user2: #{e}"
end
api_instance = BitbarCloudApiClient::AdminApi.new
user_id = 789 # Integer |
begin
#Delete all user test runs.
api_instance.delete_user_test_runs(user_id)
rescue BitbarCloudApiClient::ApiError => e
puts "Exception when calling AdminApi->delete_user_test_runs: #{e}"
end
api_instance = BitbarCloudApiClient::AdminApi.new
user_id = 789 # Integer |
begin
#Disable user.
result = api_instance.disable_user(user_id)
p result
rescue BitbarCloudApiClient::ApiError => e
puts "Exception when calling AdminApi->disable_user: #{e}"
end
api_instance = BitbarCloudApiClient::AdminApi.new
file_id = 789 # Integer |
begin
#Download icon of file.
api_instance.download_icon_file1(file_id)
rescue BitbarCloudApiClient::ApiError => e
puts "Exception when calling AdminApi->download_icon_file1: #{e}"
end
api_instance = BitbarCloudApiClient::AdminApi.new
id = 789 # Integer |
begin
#Get license.
api_instance.download_license(id)
rescue BitbarCloudApiClient::ApiError => e
puts "Exception when calling AdminApi->download_license: #{e}"
end
api_instance = BitbarCloudApiClient::AdminApi.new
device_session_id = 789 # Integer |
begin
#Get device session output files.zip.
api_instance.download_output_files_zip1(device_session_id)
rescue BitbarCloudApiClient::ApiError => e
puts "Exception when calling AdminApi->download_output_files_zip1: #{e}"
end
api_instance = BitbarCloudApiClient::AdminApi.new
run_id = 789 # Integer |
device_session_id = 789 # Integer |
begin
#Get device session output files.zip.
api_instance.download_test_run_output_files_zip1(run_id, device_session_id)
rescue BitbarCloudApiClient::ApiError => e
puts "Exception when calling AdminApi->download_test_run_output_files_zip1: #{e}"
end
api_instance = BitbarCloudApiClient::AdminApi.new
project_id = 789 # Integer |
run_id = 789 # Integer |
device_session_id = 789 # Integer |
begin
#Get device session output files.zip.
api_instance.download_test_run_output_files_zip2(project_id, run_id, device_session_id)
rescue BitbarCloudApiClient::ApiError => e
puts "Exception when calling AdminApi->download_test_run_output_files_zip2: #{e}"
end
api_instance = BitbarCloudApiClient::AdminApi.new
file_id = 789 # Integer |
opts = {
width: 56, # Integer |
height: 56 # Integer |
}
begin
#Download file.
api_instance.download_user_file1(file_id, opts)
rescue BitbarCloudApiClient::ApiError => e
puts "Exception when calling AdminApi->download_user_file1: #{e}"
end
api_instance = BitbarCloudApiClient::AdminApi.new
user_id = 789 # Integer |
begin
#Enable user.
result = api_instance.enable_user(user_id)
p result
rescue BitbarCloudApiClient::ApiError => e
puts "Exception when calling AdminApi->enable_user: #{e}"
end
api_instance = BitbarCloudApiClient::AdminApi.new
access_group_id = 789 # Integer |
begin
#Get access group.
result = api_instance.get2(access_group_id)
p result
rescue BitbarCloudApiClient::ApiError => e
puts "Exception when calling AdminApi->get2: #{e}"
end
api_instance = BitbarCloudApiClient::AdminApi.new
account_id = 789 # Integer |
opts = {
with_dedicated_devices_info: false # BOOLEAN |
}
begin
#Get account.
result = api_instance.get_account1(account_id, opts)
p result
rescue BitbarCloudApiClient::ApiError => e
puts "Exception when calling AdminApi->get_account1: #{e}"
end
api_instance = BitbarCloudApiClient::AdminApi.new
opts = {
with_dedicated_devices_info: false, # BOOLEAN |
only_with_dedicated_devices: false, # BOOLEAN |
sort: '', # String | sort parameter contains list of fields used for sort query result <br> examples: <br> sort=createTime_a<br>sort=mainUserFirstName_a<br>sort=mainUserEmail_a<br>sort=id_a<br>sort=mainUserLastName_a
filter: '', # String | filter parameter contains list of fields used for filter query result <br> examples: <br> filter=createtime_eq_1700230366167<br>filter=mainuserfirstname_eq_value<br>filter=mainuseremail_eq_value<br>filter=id_eq_1<br>filter=mainuserlastname_eq_value
offset: '0', # String | offset parameter define page number
limit: '20' # String | limit parameter define page size
}
begin
#Get accounts.
result = api_instance.get_account_list(opts)
p result
rescue BitbarCloudApiClient::ApiError => e
puts "Exception when calling AdminApi->get_account_list: #{e}"
end
api_instance = BitbarCloudApiClient::AdminApi.new
account_id = 789 # Integer |
begin
#Get account preferences.
result = api_instance.get_account_preferences(account_id)
p result
rescue BitbarCloudApiClient::ApiError => e
puts "Exception when calling AdminApi->get_account_preferences: #{e}"
end
api_instance = BitbarCloudApiClient::AdminApi.new
user_id = 789 # Integer |
opts = {
sort: '', # String | sort parameter contains list of fields used for sort query result <br> examples: <br>
filter: '', # String | filter parameter contains list of fields used for filter query result <br> examples: <br> filter=name_eq_admin<br>filter=id_eq_1
offset: '0', # String | offset parameter define page number
limit: '20' # String | limit parameter define page size
}
begin
#Get account roles.
result = api_instance.get_account_roles(user_id, opts)
p result
rescue BitbarCloudApiClient::ApiError => e
puts "Exception when calling AdminApi->get_account_roles: #{e}"
end
api_instance = BitbarCloudApiClient::AdminApi.new
opts = {
sort: '', # String | sort parameter contains list of fields used for sort query result <br> examples: <br> sort=chargeType_a<br>sort=active_a<br>sort=activatedByName_a<br>sort=serviceName_a<br>sort=deactivatedByName_a<br>sort=accountId_a<br>sort=cbtId_a<br>sort=price_a<br>sort=autoRenew_a<br>sort=paymentMethod_a<br>sort=startTime_a<br>sort=_endTime_a<br>sort=id_a
filter: '', # String | filter parameter contains list of fields used for filter query result <br> examples: <br> filter=deactivatereason_eq_initial_failure<br>filter=chargetype_eq_concurrency<br>filter=active_eq_true<br>filter=activatedbyname_eq_value<br>filter=servicename_eq_value<br>filter=deactivatedbyname_eq_value<br>filter=accountid_eq_1<br>filter=cbtid_eq_value<br>filter=price_eq_1<br>filter=autorenew_eq_true<br>filter=paymentmethod_eq_paypal<br>filter=starttime_eq_1700230366179<br>filter=_endtime_eq_1700230366179<br>filter=id_eq_1
offset: '0', # String | offset parameter define page number
limit: '20' # String | limit parameter define page size
}
begin
#Get account services.
result = api_instance.get_account_services(opts)
p result
rescue BitbarCloudApiClient::ApiError => e
puts "Exception when calling AdminApi->get_account_services: #{e}"
end
api_instance = BitbarCloudApiClient::AdminApi.new
opts = {
sort: '', # String | sort parameter contains list of fields used for sort query result <br> examples: <br> sort=createTime_a<br>sort=userAgent_a<br>sort=userEmail_a<br>sort=id_a<br>sort=body_a<br>sort=httpMethod_a<br>sort=parameters_a<br>sort=uri_a<br>sort=userId_a<br>sort=deprecatedResource_a<br>sort=accept_a
filter: '', # String | filter parameter contains list of fields used for filter query result <br> examples: <br> filter=createtime_eq_1700230366162<br>filter=useragent_eq_value<br>filter=useremail_eq_value<br>filter=id_eq_1<br>filter=body_eq_value<br>filter=httpmethod_eq_get<br>filter=parameters_eq_value<br>filter=uri_eq_value<br>filter=userid_eq_1<br>filter=deprecatedresource_eq_true<br>filter=accept_eq_value
offset: '0', # String | offset parameter define page number
limit: '20' # String | limit parameter define page size
}
begin
#Get activities.
result = api_instance.get_activities(opts)
p result
rescue BitbarCloudApiClient::ApiError => e
puts "Exception when calling AdminApi->get_activities: #{e}"
end
api_instance = BitbarCloudApiClient::AdminApi.new
device_id = 789 # Integer |
begin
#Get device.
result = api_instance.get_admin_device(device_id)
p result
rescue BitbarCloudApiClient::ApiError => e
puts "Exception when calling AdminApi->get_admin_device: #{e}"
end
api_instance = BitbarCloudApiClient::AdminApi.new
opts = {
days: 30 # Integer |
}
begin
#Get device session statistics.
result = api_instance.get_admin_test_runs(opts)
p result
rescue BitbarCloudApiClient::ApiError => e
puts "Exception when calling AdminApi->get_admin_test_runs: #{e}"
end
api_instance = BitbarCloudApiClient::AdminApi.new
opts = {
sort: '', # String | sort parameter contains list of fields used for sort query result <br> examples: <br> sort=frameworkId_a<br>sort=frameworkName_a<br>sort=deviceCount_a<br>sort=displayName_a<br>sort=executionRatio_a<br>sort=successRatio_a<br>sort=userId_a<br>sort=common_a<br>sort=createTime_a<br>sort=startTime_a<br>sort=id_a<br>sort=state_a<br>sort=projectId_a
filter: '', # String | filter parameter contains list of fields used for filter query result <br> examples: <br> filter=frameworkid_eq_1<br>filter=frameworkname_eq_value<br>filter=displayname_eq_value<br>filter=successratio_eq_1<br>filter=userid_eq_1<br>filter=common_eq_true<br>filter=createtime_eq_1700230365771<br>filter=starttime_eq_1700230365771<br>filter=id_eq_1<br>filter=projectid_eq_1
offset: '0', # String | offset parameter define page number
limit: '20' # String | limit parameter define page size
}
begin
#Get test runs.
result = api_instance.get_admin_test_runs1(opts)
p result
rescue BitbarCloudApiClient::ApiError => e
puts "Exception when calling AdminApi->get_admin_test_runs1: #{e}"
end
api_instance = BitbarCloudApiClient::AdminApi.new
opts = {
sort: '', # String | sort parameter contains list of fields used for sort query result <br> examples: <br> sort=additionalHoursPrice_a<br>sort=mail_a<br>sort=totalPrice_a<br>sort=startBillingPeriod_a<br>sort=userId_a<br>sort=_endBillingPeriod_a<br>sort=subscriptionEnd_a<br>sort=createTime_a<br>sort=servicePrice_a<br>sort=lastPaymentDate_a<br>sort=subscriptionStart_a<br>sort=additionalHours_a<br>sort=paymentMethod_a<br>sort=id_a<br>sort=additionalHoursPaymentDate_a<br>sort=paymentDate_a<br>sort=plan_a
filter: '', # String | filter parameter contains list of fields used for filter query result <br> examples: <br> filter=additionalhoursprice_eq_1<br>filter=mail_eq_value<br>filter=totalprice_eq_1<br>filter=startbillingperiod_eq_1700230366157<br>filter=userid_eq_1<br>filter=_endbillingperiod_eq_1700230366157<br>filter=subscriptionend_eq_1700230366157<br>filter=createtime_eq_1700230366157<br>filter=serviceprice_eq_1<br>filter=lastpaymentdate_eq_1700230366157<br>filter=paid_eq_true<br>filter=subscriptionstart_eq_1700230366157<br>filter=additionalhours_eq_1<br>filter=paymentmethod_eq_paypal<br>filter=id_eq_1<br>filter=plan_eq_value
offset: '0', # String | offset parameter define page number
limit: '20' # String | limit parameter define page size
}
begin
#Get billing periods.
result = api_instance.get_all_billing_periods(opts)
p result
rescue BitbarCloudApiClient::ApiError => e
puts "Exception when calling AdminApi->get_all_billing_periods: #{e}"
end
api_instance = BitbarCloudApiClient::AdminApi.new
run_id = 789 # Integer |
opts = {
sort: '', # String | sort parameter contains list of fields used for sort query result <br> examples: <br> sort=finishTimeMS_a<br>sort=deviceSessionId_a<br>sort=testRunId_a<br>sort=startTimeMS_a<br>sort=id_a
filter: '', # String | filter parameter contains list of fields used for filter query result <br> examples: <br> filter=finishtimems_eq_1<br>filter=devicesessionid_eq_1<br>filter=testrunid_eq_1<br>filter=starttimems_eq_1<br>filter=id_eq_1
offset: '0', # String | offset parameter define page number
limit: '20' # String | limit parameter define page size
}
begin
#Get device session steps of all device sessions in run.
result = api_instance.get_all_test_run_device_session_steps1(run_id, opts)
p result
rescue BitbarCloudApiClient::ApiError => e
puts "Exception when calling AdminApi->get_all_test_run_device_session_steps1: #{e}"
end
api_instance = BitbarCloudApiClient::AdminApi.new
project_id = 789 # Integer |
run_id = 789 # Integer |
opts = {
sort: '', # String | sort parameter contains list of fields used for sort query result <br> examples: <br> sort=finishTimeMS_a<br>sort=deviceSessionId_a<br>sort=testRunId_a<br>sort=startTimeMS_a<br>sort=id_a
filter: '', # String | filter parameter contains list of fields used for filter query result <br> examples: <br> filter=finishtimems_eq_1<br>filter=devicesessionid_eq_1<br>filter=testrunid_eq_1<br>filter=starttimems_eq_1<br>filter=id_eq_1
offset: '0', # String | offset parameter define page number
limit: '20' # String | limit parameter define page size
}
begin
#Get device session steps of all device sessions in run.
result = api_instance.get_all_test_run_device_session_steps2(project_id, run_id, opts)
p result
rescue BitbarCloudApiClient::ApiError => e
puts "Exception when calling AdminApi->get_all_test_run_device_session_steps2: #{e}"
end
api_instance = BitbarCloudApiClient::AdminApi.new
id = 789 # Integer |
begin
#Get property.
result = api_instance.get_api_property(id)
p result
rescue BitbarCloudApiClient::ApiError => e
puts "Exception when calling AdminApi->get_api_property: #{e}"
end
api_instance = BitbarCloudApiClient::AdminApi.new
test_run_id = 789 # Integer |
begin
#Get property of banned application.
result = api_instance.get_ban_application(test_run_id)
p result
rescue BitbarCloudApiClient::ApiError => e
puts "Exception when calling AdminApi->get_ban_application: #{e}"
end
api_instance = BitbarCloudApiClient::AdminApi.new
id = 789 # Integer |
begin
#Get browser.
result = api_instance.get_browser(id)
p result
rescue BitbarCloudApiClient::ApiError => e
puts "Exception when calling AdminApi->get_browser: #{e}"
end
api_instance = BitbarCloudApiClient::AdminApi.new
opts = {
sort: '', # String | sort parameter contains list of fields used for sort query result <br> examples: <br> sort=displayName_a<br>sort=name_a<br>sort=id_a
filter: '', # String | filter parameter contains list of fields used for filter query result <br> examples: <br> filter=displayname_eq_value<br>filter=name_eq_value<br>filter=id_eq_1<br>filter=version_eq_value
offset: '0', # String | offset parameter define page number
limit: '20' # String | limit parameter define page size
}
begin
#Get browsers.
result = api_instance.get_browsers(opts)
p result
rescue BitbarCloudApiClient::ApiError => e
puts "Exception when calling AdminApi->get_browsers: #{e}"
end
api_instance = BitbarCloudApiClient::AdminApi.new
id = 789 # Integer |
opts = {
with_devices: true # BOOLEAN |
}
begin
#Get cluster.
result = api_instance.get_cluster_by_id(id, opts)
p result
rescue BitbarCloudApiClient::ApiError => e
puts "Exception when calling AdminApi->get_cluster_by_id: #{e}"
end
api_instance = BitbarCloudApiClient::AdminApi.new
id = 789 # Integer |
opts = {
sort: '', # String | sort parameter contains list of fields used for sort query result <br> examples: <br> sort=stateChangeTime_a<br>sort=cluster.name_a<br>sort=mainUserEmail_a<br>sort=enabled_a<br>sort=manufacturer_a<br>sort=accountId_a<br>sort=mainUserId_a<br>sort=serialId_a<br>sort=stateTime_a<br>sort=deviceModelId_a<br>sort=fingerprint_a<br>sort=name_a<br>sort=dedicationEndTime_a<br>sort=id_a<br>sort=state_a
filter: '', # String | filter parameter contains list of fields used for filter query result <br> examples: <br> filter=statechangetime_eq_1700230365659<br>filter=cluster.name_eq_value<br>filter=mainuseremail_eq_value<br>filter=enabled_eq_true<br>filter=platform_eq_ios<br>filter=manufacturer_eq_value<br>filter=accountid_eq_1<br>filter=mainuserid_eq_1<br>filter=serialid_eq_value<br>filter=statetime_eq_1700230365659<br>filter=devicemodelid_eq_1<br>filter=fingerprint_eq_value<br>filter=name_eq_value<br>filter=ostype_eq_ios<br>filter=dedicationendtime_eq_1700230365659<br>filter=devicecleanupconfigurationid_eq_1<br>filter=id_eq_1<br>filter=state_eq_offline_cleaning<br>filter=locked_eq_true
offset: '0', # String | offset parameter define page number
limit: '20' # String | limit parameter define page size
}
begin
#Get cluster devices.
result = api_instance.get_cluster_devices(id, opts)
p result
rescue BitbarCloudApiClient::ApiError => e
puts "Exception when calling AdminApi->get_cluster_devices: #{e}"
end
api_instance = BitbarCloudApiClient::AdminApi.new
opts = {
sort: '', # String | sort parameter contains list of fields used for sort query result <br> examples: <br> sort=stateChangeTime_a<br>sort=ipAddress_a<br>sort=jenkinsVersion_a<br>sort=type_a<br>sort=enabled_a<br>sort=url_a<br>sort=pluginVersion_a<br>sort=stateTime_a<br>sort=name_a<br>sort=location_a<br>sort=id_a<br>sort=state_a<br>sort=region_a
filter: '', # String | filter parameter contains list of fields used for filter query result <br> examples: <br> filter=statechangetime_eq_1700230365631<br>filter=ipaddress_eq_value<br>filter=jenkinsversion_eq_value<br>filter=type_eq_bare_metal<br>filter=enabled_eq_true<br>filter=url_eq_value<br>filter=pluginversion_eq_value<br>filter=statetime_eq_1700230365631<br>filter=name_eq_value<br>filter=location_eq_value<br>filter=id_eq_1<br>filter=state_eq_offline<br>filter=region_eq_value
offset: '0', # String | offset parameter define page number
limit: '20' # String | limit parameter define page size
}
begin
#Get clusters.
result = api_instance.get_clusters(opts)
p result
rescue BitbarCloudApiClient::ApiError => e
puts "Exception when calling AdminApi->get_clusters: #{e}"
end
api_instance = BitbarCloudApiClient::AdminApi.new
opts = {
sort: '', # String | sort parameter contains list of fields used for sort query result <br> examples: <br> sort=id_a
filter: '', # String | filter parameter contains list of fields used for filter query result <br> examples: <br> filter=id_eq_1
offset: '0', # String | offset parameter define page number
limit: '20' # String | limit parameter define page size
}
begin
#Get device model criteria.
result = api_instance.get_criteria(opts)
p result
rescue BitbarCloudApiClient::ApiError => e
puts "Exception when calling AdminApi->get_criteria: #{e}"
end
api_instance = BitbarCloudApiClient::AdminApi.new
run_id = 789 # Integer |
device_session_id = 789 # Integer |
begin
#Get current device session step.
result = api_instance.get_current_device_session_step1(run_id, device_session_id)
p result
rescue BitbarCloudApiClient::ApiError => e
puts "Exception when calling AdminApi->get_current_device_session_step1: #{e}"
end
api_instance = BitbarCloudApiClient::AdminApi.new
project_id = 789 # Integer |
run_id = 789 # Integer |
device_session_id = 789 # Integer |
begin
#Get current device session step.
result = api_instance.get_current_device_session_step2(project_id, run_id, device_session_id)
p result
rescue BitbarCloudApiClient::ApiError => e
puts "Exception when calling AdminApi->get_current_device_session_step2: #{e}"
end
api_instance = BitbarCloudApiClient::AdminApi.new
device_session_id = 789 # Integer |
begin
#Get current device session step.
result = api_instance.get_current_device_session_step3(device_session_id)
p result
rescue BitbarCloudApiClient::ApiError => e
puts "Exception when calling AdminApi->get_current_device_session_step3: #{e}"
end
api_instance = BitbarCloudApiClient::AdminApi.new
device_id = 789 # Integer |
begin
#Get device specific cleanup configuration.
result = api_instance.get_device_cleanup_configuration(device_id)
p result
rescue BitbarCloudApiClient::ApiError => e
puts "Exception when calling AdminApi->get_device_cleanup_configuration: #{e}"
end
api_instance = BitbarCloudApiClient::AdminApi.new
id = 789 # Integer |
begin
#Get device cleanup configuration.
result = api_instance.get_device_cleanup_configuration1(id)
p result
rescue BitbarCloudApiClient::ApiError => e
puts "Exception when calling AdminApi->get_device_cleanup_configuration1: #{e}"
end
api_instance = BitbarCloudApiClient::AdminApi.new
opts = {
sort: '', # String | sort parameter contains list of fields used for sort query result <br> examples: <br> sort=createdByEmail_a<br>sort=createTime_a<br>sort=lastModificationTime_a<br>sort=osType_a<br>sort=global_a<br>sort=id_a<br>sort=content_a<br>sort=createdById_a<br>sort=enabled_a<br>sort=discriminator_a
filter: '', # String | filter parameter contains list of fields used for filter query result <br> examples: <br> filter=createdbyemail_eq_value<br>filter=createtime_eq_1700230365974<br>filter=lastmodificationtime_eq_1700230365974<br>filter=ostype_eq_ios<br>filter=global_eq_true<br>filter=id_eq_1<br>filter=content_eq_value<br>filter=createdbyid_eq_1<br>filter=enabled_eq_true<br>filter=discriminator_eq_value
offset: '0', # String | offset parameter define page number
limit: '20' # String | limit parameter define page size
}
begin
#Get device cleanup configurations.
result = api_instance.get_device_cleanup_configurations(opts)
p result
rescue BitbarCloudApiClient::ApiError => e
puts "Exception when calling AdminApi->get_device_cleanup_configurations: #{e}"
end
api_instance = BitbarCloudApiClient::AdminApi.new
device_group_id = 789 # Integer |
begin
#Get device group.
result = api_instance.get_device_group(device_group_id)
p result
rescue BitbarCloudApiClient::ApiError => e
puts "Exception when calling AdminApi->get_device_group: #{e}"
end
api_instance = BitbarCloudApiClient::AdminApi.new
device_group_id = 789 # Integer |
opts = {
with_properties: false, # BOOLEAN |
sort: '', # String | sort parameter contains list of fields used for sort query result <br> examples: <br> sort=accountId_a<br>sort=displayName_a<br>sort=creditsPrice_a<br>sort=osType_a<br>sort=device.archiveTime_a<br>sort=id_a<br>sort=locked_a<br>sort=enabled_a<br>sort=platform_a<br>sort=manufacturer_a
filter: '', # String | filter parameter contains list of fields used for filter query result <br> examples: <br> filter=accountid_eq_1<br>filter=displayname_eq_value<br>filter=creditsprice_eq_1<br>filter=ostype_eq_ios<br>filter=online_eq_true<br>filter=location_eq_value<br>filter=device.archivetime_eq_1700230365585<br>filter=id_eq_1<br>filter=locked_eq_true<br>filter=enabled_eq_true<br>filter=platform_eq_ios<br>filter=manufacturer_eq_value
offset: '0', # String | offset parameter define page number
limit: '20' # String | limit parameter define page size
}
begin
#Get device group devices.
result = api_instance.get_device_group_devices1(device_group_id, opts)
p result
rescue BitbarCloudApiClient::ApiError => e
puts "Exception when calling AdminApi->get_device_group_devices1: #{e}"
end
api_instance = BitbarCloudApiClient::AdminApi.new
device_group_id = 789 # Integer |
opts = {
sort: '', # String | sort parameter contains list of fields used for sort query result <br> examples: <br> sort=propertyGroupName_a<br>sort=displayName_a<br>sort=name_a<br>sort=propertyGroupId_a<br>sort=id_a<br>sort=labelGroupName_a
filter: '', # String | filter parameter contains list of fields used for filter query result <br> examples: <br> filter=propertygroupname_eq_value<br>filter=displayname_eq_value<br>filter=name_eq_value<br>filter=propertygroupid_eq_1<br>filter=id_eq_1<br>filter=labelgroupname_eq_value
offset: '0', # String | offset parameter define page number
limit: '20' # String | limit parameter define page size
}
begin
#Get device group selectors.
result = api_instance.get_device_group_selectors1(device_group_id, opts)
p result
rescue BitbarCloudApiClient::ApiError => e
puts "Exception when calling AdminApi->get_device_group_selectors1: #{e}"
end
api_instance = BitbarCloudApiClient::AdminApi.new
opts = {
sort: '', # String | sort parameter contains list of fields used for sort query result <br> examples: <br> sort=displayName_a<br>sort=name_a<br>sort=osType_a<br>sort=id_a<br>sort=userId_a
filter: '', # String | filter parameter contains list of fields used for filter query result <br> examples: <br> filter=displayname_eq_value<br>filter=name_eq_value<br>filter=ostype_eq_ios<br>filter=id_eq_1<br>filter=userid_eq_1
offset: '0', # String | offset parameter define page number
limit: '20' # String | limit parameter define page size
}
begin
#Get device groups.
result = api_instance.get_device_groups(opts)
p result
rescue BitbarCloudApiClient::ApiError => e
puts "Exception when calling AdminApi->get_device_groups: #{e}"
end
api_instance = BitbarCloudApiClient::AdminApi.new
device_id = 789 # Integer |
opts = {
sort: '', # String | sort parameter contains list of fields used for sort query result <br> examples: <br> sort=propertyGroupName_a<br>sort=displayName_a<br>sort=name_a<br>sort=propertyGroupId_a<br>sort=id_a<br>sort=labelGroupName_a
filter: '', # String | filter parameter contains list of fields used for filter query result <br> examples: <br> filter=propertygroupname_eq_value<br>filter=displayname_eq_value<br>filter=name_eq_value<br>filter=propertygroupid_eq_1<br>filter=id_eq_1<br>filter=labelgroupname_eq_value
offset: '0', # String | offset parameter define page number
limit: '20' # String | limit parameter define page size
}
begin
#Get device labels.
result = api_instance.get_device_labels(device_id, opts)
p result
rescue BitbarCloudApiClient::ApiError => e
puts "Exception when calling AdminApi->get_device_labels: #{e}"
end
api_instance = BitbarCloudApiClient::AdminApi.new
device_id = 789 # Integer |
opts = {
sort: '', # String | sort parameter contains list of fields used for sort query result <br> examples: <br> sort=propertyGroupName_a<br>sort=displayName_a<br>sort=name_a<br>sort=propertyGroupId_a<br>sort=id_a<br>sort=labelGroupName_a
filter: '', # String | filter parameter contains list of fields used for filter query result <br> examples: <br> filter=propertygroupname_eq_value<br>filter=displayname_eq_value<br>filter=name_eq_value<br>filter=propertygroupid_eq_1<br>filter=id_eq_1<br>filter=labelgroupname_eq_value
offset: '0', # String | offset parameter define page number
limit: '20' # String | limit parameter define page size
}
begin
#Get device labels.
result = api_instance.get_device_labels1(device_id, opts)
p result
rescue BitbarCloudApiClient::ApiError => e
puts "Exception when calling AdminApi->get_device_labels1: #{e}"
end
api_instance = BitbarCloudApiClient::AdminApi.new
device_model_id = 789 # Integer |
opts = {
sort: '', # String | sort parameter contains list of fields used for sort query result <br> examples: <br> sort=displayName_a<br>sort=name_a<br>sort=id_a
filter: '', # String | filter parameter contains list of fields used for filter query result <br> examples: <br> filter=displayname_eq_value<br>filter=name_eq_value<br>filter=id_eq_1<br>filter=version_eq_value
offset: '0', # String | offset parameter define page number
limit: '20' # String | limit parameter define page size
}
begin
#Get device model browsers.
result = api_instance.get_device_model_browsers(device_model_id, opts)
p result
rescue BitbarCloudApiClient::ApiError => e
puts "Exception when calling AdminApi->get_device_model_browsers: #{e}"
end
api_instance = BitbarCloudApiClient::AdminApi.new
serial_id = 'serial_id_example' # String |
opts = {
sort: '', # String | sort parameter contains list of fields used for sort query result <br> examples: <br> sort=displayName_a<br>sort=name_a<br>sort=id_a
filter: '', # String | filter parameter contains list of fields used for filter query result <br> examples: <br> filter=displayname_eq_value<br>filter=name_eq_value<br>filter=id_eq_1<br>filter=version_eq_value
offset: '0', # String | offset parameter define page number
limit: '20' # String | limit parameter define page size
}
begin
#Get device model browsers.
result = api_instance.get_device_model_browsers1(serial_id, opts)
p result
rescue BitbarCloudApiClient::ApiError => e
puts "Exception when calling AdminApi->get_device_model_browsers1: #{e}"
end
api_instance = BitbarCloudApiClient::AdminApi.new
id = 789 # Integer |
begin
#Get device model pool.
result = api_instance.get_device_model_pool(id)
p result
rescue BitbarCloudApiClient::ApiError => e
puts "Exception when calling AdminApi->get_device_model_pool: #{e}"
end
api_instance = BitbarCloudApiClient::AdminApi.new
begin
#Get device model pools statistics.
result = api_instance.get_device_model_pool_statistics
p result
rescue BitbarCloudApiClient::ApiError => e
puts "Exception when calling AdminApi->get_device_model_pool_statistics: #{e}"
end
api_instance = BitbarCloudApiClient::AdminApi.new
opts = {
sort: '', # String | sort parameter contains list of fields used for sort query result <br> examples: <br> sort=retentionStrategy_a<br>sort=createTime_a<br>sort=name_a<br>sort=location_a<br>sort=id_a<br>sort=enabled_a
filter: '', # String | filter parameter contains list of fields used for filter query result <br> examples: <br> filter=retentionstrategy_eq_cluster_on_off<br>filter=name_eq_value<br>filter=location_eq_value<br>filter=id_eq_1<br>filter=enabled_eq_true
offset: '0', # String | offset parameter define page number
limit: '20' # String | limit parameter define page size
}
begin
#Get device model pools.
result = api_instance.get_device_model_pools(opts)
p result
rescue BitbarCloudApiClient::ApiError => e
puts "Exception when calling AdminApi->get_device_model_pools: #{e}"
end
api_instance = BitbarCloudApiClient::AdminApi.new
opts = {
with_sessions_info: true, # BOOLEAN |
sort: '', # String | sort parameter contains list of fields used for sort query result <br> examples: <br> sort=releaseVersion_a<br>sort=enabled_a<br>sort=platform_a<br>sort=total_a<br>sort=name_a<br>sort=osType_a<br>sort=online_a<br>sort=location_a<br>sort=id_a
filter: '', # String | filter parameter contains list of fields used for filter query result <br> examples: <br> filter=dedicated_eq_true<br>filter=releaseversion_eq_value<br>filter=enabled_eq_true<br>filter=platform_eq_ios<br>filter=total_eq_1<br>filter=name_eq_value<br>filter=ostype_eq_ios<br>filter=online_eq_1<br>filter=location_eq_value<br>filter=id_eq_1
offset: '0', # String | offset parameter define page number
limit: '20' # String | limit parameter define page size
}
begin
#Get device models.
result = api_instance.get_device_models(opts)
p result
rescue BitbarCloudApiClient::ApiError => e
puts "Exception when calling AdminApi->get_device_models: #{e}"
end
api_instance = BitbarCloudApiClient::AdminApi.new
opts = {
sort: '', # String | sort parameter contains list of fields used for sort query result <br> examples: <br> sort=clusterName_a<br>sort=clusterId_a<br>sort=id_a<br>sort=deviceId_a<br>sort=deviceName_a
filter: '', # String | filter parameter contains list of fields used for filter query result <br> examples: <br> filter=clustername_eq_value<br>filter=ostype_eq_ios<br>filter=clusterid_eq_1<br>filter=id_eq_1<br>filter=deviceid_eq_1<br>filter=devicename_eq_value
offset: '0', # String | offset parameter define page number
limit: '20' # String | limit parameter define page size
}
begin
#Get device problems.
result = api_instance.get_device_problems(opts)
p result
rescue BitbarCloudApiClient::ApiError => e
puts "Exception when calling AdminApi->get_device_problems: #{e}"
end
api_instance = BitbarCloudApiClient::AdminApi.new
device_id = 789 # Integer |
opts = {
sort: '', # String | sort parameter contains list of fields used for sort query result <br> examples: <br> sort=archiveTime_a<br>sort=startedByDisplayName_a<br>sort=currentStepType_a<br>sort=deviceModel.id_a<br>sort=device.id_a<br>sort=priority_a<br>sort=createTime_a<br>sort=startTime_a<br>sort=_endTime_a<br>sort=id_a<br>sort=state_a<br>sort=projectName_a<br>sort=testRunName_a
filter: '', # String | filter parameter contains list of fields used for filter query result <br> examples: <br> filter=archivetime_eq_1700230365957<br>filter=startedbydisplayname_eq_value<br>filter=currentsteptype_eq_waiting<br>filter=devicemodel.id_eq_1<br>filter=device.id_eq_1<br>filter=priority_eq_1<br>filter=createtime_eq_1700230365957<br>filter=starttime_eq_1700230365957<br>filter=_endtime_eq_1700230365957<br>filter=id_eq_1<br>filter=state_eq_aborted<br>filter=projectname_eq_value<br>filter=testrunname_eq_value
offset: '0', # String | offset parameter define page number
limit: '20' # String | limit parameter define page size
}
begin
#Get device queue.
result = api_instance.get_device_queue(device_id, opts)
p result
rescue BitbarCloudApiClient::ApiError => e
puts "Exception when calling AdminApi->get_device_queue: #{e}"
end
api_instance = BitbarCloudApiClient::AdminApi.new
device_session_id = 789 # Integer |
opts = {
project_id: 789, # Integer |
test_run_id: 789 # Integer |
}
begin
#Get device session.
result = api_instance.get_device_session(device_session_id, opts)
p result
rescue BitbarCloudApiClient::ApiError => e
puts "Exception when calling AdminApi->get_device_session: #{e}"
end
api_instance = BitbarCloudApiClient::AdminApi.new
run_id = 789 # Integer |
device_session_id = 789 # Integer |
begin
#Get device session commands.
result = api_instance.get_device_session_commands1(run_id, device_session_id)
p result
rescue BitbarCloudApiClient::ApiError => e
puts "Exception when calling AdminApi->get_device_session_commands1: #{e}"
end
api_instance = BitbarCloudApiClient::AdminApi.new
project_id = 789 # Integer |
run_id = 789 # Integer |
device_session_id = 789 # Integer |
begin
#Get device session commands.
result = api_instance.get_device_session_commands2(project_id, run_id, device_session_id)
p result
rescue BitbarCloudApiClient::ApiError => e
puts "Exception when calling AdminApi->get_device_session_commands2: #{e}"
end
api_instance = BitbarCloudApiClient::AdminApi.new
device_session_id = 789 # Integer |
begin
#Get device session commands.
result = api_instance.get_device_session_commands3(device_session_id)
p result
rescue BitbarCloudApiClient::ApiError => e
puts "Exception when calling AdminApi->get_device_session_commands3: #{e}"
end
api_instance = BitbarCloudApiClient::AdminApi.new
device_session_id = 789 # Integer |
opts = {
sort: '', # String | sort parameter contains list of fields used for sort query result <br> examples: <br> sort=path_a<br>sort=password_a<br>sort=urlSchema_a<br>sort=deviceSessionId_a<br>sort=createTime_a<br>sort=port_a<br>sort=host_a<br>sort=_endTime_a<br>sort=id_a<br>sort=type_a
filter: '', # String | filter parameter contains list of fields used for filter query result <br> examples: <br> filter=path_eq_value<br>filter=password_eq_value<br>filter=urlschema_eq_value<br>filter=devicesessionid_eq_1<br>filter=createtime_eq_1700230365550<br>filter=port_eq_1<br>filter=host_eq_value<br>filter=_endtime_eq_1700230365550<br>filter=id_eq_1<br>filter=type_eq_value
offset: '0', # String | offset parameter define page number
limit: '20' # String | limit parameter define page size
}
begin
#Get connections for device session.
result = api_instance.get_device_session_connections1(device_session_id, opts)
p result
rescue BitbarCloudApiClient::ApiError => e
puts "Exception when calling AdminApi->get_device_session_connections1: #{e}"
end
api_instance = BitbarCloudApiClient::AdminApi.new
opts = {
sort: '', # String | sort parameter contains list of fields used for sort query result <br> examples: <br> sort=archiveTime_a<br>sort=startedByDisplayName_a<br>sort=currentStepType_a<br>sort=deviceModel.id_a<br>sort=device.id_a<br>sort=priority_a<br>sort=createTime_a<br>sort=startTime_a<br>sort=_endTime_a<br>sort=id_a<br>sort=state_a<br>sort=projectName_a<br>sort=testRunName_a
filter: '', # String | filter parameter contains list of fields used for filter query result <br> examples: <br> filter=archivetime_eq_1700230366086<br>filter=startedbydisplayname_eq_value<br>filter=currentsteptype_eq_waiting<br>filter=devicemodel.id_eq_1<br>filter=device.id_eq_1<br>filter=priority_eq_1<br>filter=createtime_eq_1700230366086<br>filter=starttime_eq_1700230366086<br>filter=_endtime_eq_1700230366086<br>filter=id_eq_1<br>filter=state_eq_aborted<br>filter=projectname_eq_value<br>filter=testrunname_eq_value
offset: '0', # String | offset parameter define page number
limit: '20' # String | limit parameter define page size
}
begin
#Get device sessions.
result = api_instance.get_device_session_history(opts)
p result
rescue BitbarCloudApiClient::ApiError => e
puts "Exception when calling AdminApi->get_device_session_history: #{e}"
end
api_instance = BitbarCloudApiClient::AdminApi.new
run_id = 789 # Integer |
device_session_id = 789 # Integer |
screenshot_id = 789 # Integer |
opts = {
width: 56, # Integer |
height: 56 # Integer |
}
begin
#Get device session screenshot.
api_instance.get_device_session_screenshot(run_id, device_session_id, screenshot_id, opts)
rescue BitbarCloudApiClient::ApiError => e
puts "Exception when calling AdminApi->get_device_session_screenshot: #{e}"
end
api_instance = BitbarCloudApiClient::AdminApi.new
device_session_id = 789 # Integer |
screenshot_id = 789 # Integer |
opts = {
project_id: 789, # Integer |
test_run_id: 789, # Integer |
width: 56, # Integer |
height: 56 # Integer |
}
begin
#Get device session screenshot.
api_instance.get_device_session_screenshot1(device_session_id, screenshot_id, opts)
rescue BitbarCloudApiClient::ApiError => e
puts "Exception when calling AdminApi->get_device_session_screenshot1: #{e}"
end
api_instance = BitbarCloudApiClient::AdminApi.new
run_id = 789 # Integer |
device_session_id = 789 # Integer |
opts = {
sort: '', # String | sort parameter contains list of fields used for sort query result <br> examples: <br> sort=originalName_a<br>sort=takeTimestamp_a<br>sort=id_a
filter: '', # String | filter parameter contains list of fields used for filter query result <br> examples: <br> filter=originalname_eq_value<br>filter=taketimestamp_eq_1<br>filter=id_eq_1
offset: '0', # String | offset parameter define page number
limit: '20' # String | limit parameter define page size
}
begin
#Get device session screenshots.
result = api_instance.get_device_session_screenshots(run_id, device_session_id, opts)
p result
rescue BitbarCloudApiClient::ApiError => e
puts "Exception when calling AdminApi->get_device_session_screenshots: #{e}"
end
api_instance = BitbarCloudApiClient::AdminApi.new
device_session_id = 789 # Integer |
opts = {
project_id: 789, # Integer |
test_run_id: 789, # Integer |
sort: '', # String | sort parameter contains list of fields used for sort query result <br> examples: <br> sort=originalName_a<br>sort=takeTimestamp_a<br>sort=id_a
filter: '', # String | filter parameter contains list of fields used for filter query result <br> examples: <br> filter=originalname_eq_value<br>filter=taketimestamp_eq_1<br>filter=id_eq_1
offset: '0', # String | offset parameter define page number
limit: '20' # String | limit parameter define page size
}
begin
#Get device session screenshots.
result = api_instance.get_device_session_screenshots1(device_session_id, opts)
p result
rescue BitbarCloudApiClient::ApiError => e
puts "Exception when calling AdminApi->get_device_session_screenshots1: #{e}"
end
api_instance = BitbarCloudApiClient::AdminApi.new
run_id = 789 # Integer |
device_session_id = 789 # Integer |
device_session_step_id = 789 # Integer |
begin
#Get device session step.
result = api_instance.get_device_session_step(run_id, device_session_id, device_session_step_id)
p result
rescue BitbarCloudApiClient::ApiError => e
puts "Exception when calling AdminApi->get_device_session_step: #{e}"
end
api_instance = BitbarCloudApiClient::AdminApi.new
project_id = 789 # Integer |
run_id = 789 # Integer |
device_session_id = 789 # Integer |
device_session_step_id = 789 # Integer |
begin
#Get device session step.
result = api_instance.get_device_session_step1(project_id, run_id, device_session_id, device_session_step_id)
p result
rescue BitbarCloudApiClient::ApiError => e
puts "Exception when calling AdminApi->get_device_session_step1: #{e}"
end
api_instance = BitbarCloudApiClient::AdminApi.new
device_session_id = 789 # Integer |
device_session_step_id = 789 # Integer |
begin
#Get device session step.
result = api_instance.get_device_session_step2(device_session_id, device_session_step_id)
p result
rescue BitbarCloudApiClient::ApiError => e
puts "Exception when calling AdminApi->get_device_session_step2: #{e}"
end
api_instance = BitbarCloudApiClient::AdminApi.new
run_id = 789 # Integer |
device_session_id = 789 # Integer |
opts = {
sort: '', # String | sort parameter contains list of fields used for sort query result <br> examples: <br> sort=finishTimeMS_a<br>sort=deviceSessionId_a<br>sort=testRunId_a<br>sort=startTimeMS_a<br>sort=id_a
filter: '', # String | filter parameter contains list of fields used for filter query result <br> examples: <br> filter=finishtimems_eq_1<br>filter=devicesessionid_eq_1<br>filter=testrunid_eq_1<br>filter=starttimems_eq_1<br>filter=id_eq_1
offset: '0', # String | offset parameter define page number
limit: '20' # String | limit parameter define page size
}
begin
#Get device session steps.
result = api_instance.get_device_session_steps1(run_id, device_session_id, opts)
p result
rescue BitbarCloudApiClient::ApiError => e
puts "Exception when calling AdminApi->get_device_session_steps1: #{e}"
end
api_instance = BitbarCloudApiClient::AdminApi.new
project_id = 789 # Integer |
run_id = 789 # Integer |
device_session_id = 789 # Integer |
opts = {
sort: '', # String | sort parameter contains list of fields used for sort query result <br> examples: <br> sort=finishTimeMS_a<br>sort=deviceSessionId_a<br>sort=testRunId_a<br>sort=startTimeMS_a<br>sort=id_a
filter: '', # String | filter parameter contains list of fields used for filter query result <br> examples: <br> filter=finishtimems_eq_1<br>filter=devicesessionid_eq_1<br>filter=testrunid_eq_1<br>filter=starttimems_eq_1<br>filter=id_eq_1
offset: '0', # String | offset parameter define page number
limit: '20' # String | limit parameter define page size
}
begin
#Get device session steps.
result = api_instance.get_device_session_steps2(project_id, run_id, device_session_id, opts)
p result
rescue BitbarCloudApiClient::ApiError => e
puts "Exception when calling AdminApi->get_device_session_steps2: #{e}"
end
api_instance = BitbarCloudApiClient::AdminApi.new
device_session_id = 789 # Integer |
opts = {
sort: '', # String | sort parameter contains list of fields used for sort query result <br> examples: <br> sort=finishTimeMS_a<br>sort=deviceSessionId_a<br>sort=testRunId_a<br>sort=startTimeMS_a<br>sort=id_a
filter: '', # String | filter parameter contains list of fields used for filter query result <br> examples: <br> filter=finishtimems_eq_1<br>filter=devicesessionid_eq_1<br>filter=testrunid_eq_1<br>filter=starttimems_eq_1<br>filter=id_eq_1
offset: '0', # String | offset parameter define page number
limit: '20' # String | limit parameter define page size
}
begin
#Get device session steps.
result = api_instance.get_device_session_steps3(device_session_id, opts)
p result
rescue BitbarCloudApiClient::ApiError => e
puts "Exception when calling AdminApi->get_device_session_steps3: #{e}"
end
api_instance = BitbarCloudApiClient::AdminApi.new
device_session_id = 789 # Integer |
opts = {
project_id: 789, # Integer |
test_run_id: 789 # Integer |
}
begin
#Get device session steps.
result = api_instance.get_device_session_steps_with_params(device_session_id, opts)
p result
rescue BitbarCloudApiClient::ApiError => e
puts "Exception when calling AdminApi->get_device_session_steps_with_params: #{e}"
end
api_instance = BitbarCloudApiClient::AdminApi.new
run_id = 789 # Integer |
device_session_id = 789 # Integer |
begin
#Get device session steps.
result = api_instance.get_device_session_test_case_runs1(run_id, device_session_id)
p result
rescue BitbarCloudApiClient::ApiError => e
puts "Exception when calling AdminApi->get_device_session_test_case_runs1: #{e}"
end
api_instance = BitbarCloudApiClient::AdminApi.new
project_id = 789 # Integer |
run_id = 789 # Integer |
device_session_id = 789 # Integer |
begin
#Get device session steps.
result = api_instance.get_device_session_test_case_runs2(project_id, run_id, device_session_id)
p result
rescue BitbarCloudApiClient::ApiError => e
puts "Exception when calling AdminApi->get_device_session_test_case_runs2: #{e}"
end
api_instance = BitbarCloudApiClient::AdminApi.new
project_id = 789 # Integer |
run_id = 789 # Integer |
device_session_id = 789 # Integer |
begin
#Get device session.
result = api_instance.get_device_session_with_project(project_id, run_id, device_session_id)
p result
rescue BitbarCloudApiClient::ApiError => e
puts "Exception when calling AdminApi->get_device_session_with_project: #{e}"
end
api_instance = BitbarCloudApiClient::AdminApi.new
run_id = 789 # Integer |
device_session_id = 789 # Integer |
begin
#Get device session.
result = api_instance.get_device_session_with_run(run_id, device_session_id)
p result
rescue BitbarCloudApiClient::ApiError => e
puts "Exception when calling AdminApi->get_device_session_with_run: #{e}"
end
api_instance = BitbarCloudApiClient::AdminApi.new
run_id = 789 # Integer |
opts = {
project_id: 789, # Integer |
sort: '', # String | sort parameter contains list of fields used for sort query result <br> examples: <br> sort=isExcluded_a<br>sort=testRunId_a<br>sort=clientSideId_a<br>sort=externalId_a<br>sort=successRatio_a<br>sort=device.id_a<br>sort=retryState_a<br>sort=type_a<br>sort=userId_a<br>sort=duration_a<br>sort=timeLimit_a<br>sort=createTime_a<br>sort=biometricInstrumentation_a<br>sort=startTime_a<br>sort=userEmail_a<br>sort=_endTime_a<br>sort=id_a<br>sort=state_a<br>sort=device.displayName_a<br>sort=projectName_a<br>sort=projectId_a<br>sort=testRunName_a
filter: '', # String | filter parameter contains list of fields used for filter query result <br> examples: <br> filter=testrunid_eq_1<br>filter=clientsideid_eq_value<br>filter=externalid_eq_value<br>filter=successratio_eq_1<br>filter=device.id_eq_1<br>filter=retrystate_eq_none<br>filter=type_eq_automatic<br>filter=userid_eq_1<br>filter=duration_eq_1<br>filter=timelimit_eq_1<br>filter=createtime_eq_1700230364841<br>filter=biometricinstrumentation_eq_true<br>filter=starttime_eq_1700230364841<br>filter=useremail_eq_value<br>filter=_endtime_eq_1700230364841<br>filter=id_eq_1<br>filter=state_eq_aborted<br>filter=device.displayname_eq_value<br>filter=projectname_eq_value<br>filter=projectid_eq_1<br>filter=testrunname_eq_null
offset: '0', # String | offset parameter define page number
limit: '20' # String | limit parameter define page size
}
begin
#Get device sessions.
result = api_instance.get_device_sessions1(run_id, opts)
p result
rescue BitbarCloudApiClient::ApiError => e
puts "Exception when calling AdminApi->get_device_sessions1: #{e}"
end
api_instance = BitbarCloudApiClient::AdminApi.new
opts = {
sort: '', # String | sort parameter contains list of fields used for sort query result <br> examples: <br> sort=internalStorage_a<br>sort=tdsVersion_a<br>sort=alarmOn_a<br>sort=externalStorage_a<br>sort=monitoringOn_a<br>sort=deviceTime_a<br>sort=deviceId_a<br>sort=deviceName_a<br>sort=ssid_a<br>sort=enabled_a<br>sort=internetAccess_a<br>sort=serialId_a<br>sort=clusterName_a<br>sort=emailAccount_a<br>sort=bluetoothOn_a<br>sort=id_a<br>sort=state_a<br>sort=mockLocationOn_a<br>sort=batteryLevel_a<br>sort=locationServiceOn_a<br>sort=testExecuting_a<br>sort=screenLocked_a<br>sort=updateTime_a<br>sort=sdcardPresent_a<br>sort=aslOn_a<br>sort=deviceTimeZone_a<br>sort=device.archiveTime_a<br>sort=flashOn_a<br>sort=tetheringOn_a
filter: '', # String | filter parameter contains list of fields used for filter query result <br> examples: <br> filter=internalstorage_eq_1<br>filter=tdsversion_eq_value<br>filter=alarmon_eq_true<br>filter=externalstorage_eq_1<br>filter=monitoringon_eq_true<br>filter=devicetime_eq_1<br>filter=deviceid_eq_1<br>filter=devicename_eq_value<br>filter=ssid_eq_value<br>filter=enabled_eq_true<br>filter=internetaccess_eq_true<br>filter=serialid_eq_value<br>filter=clustername_eq_value<br>filter=emailaccount_eq_value<br>filter=bluetoothon_eq_true<br>filter=id_eq_1<br>filter=state_eq_offline_cleaning<br>filter=mocklocationon_eq_true<br>filter=batterylevel_eq_1<br>filter=locationserviceon_eq_true<br>filter=testexecuting_eq_true<br>filter=screenlocked_eq_true<br>filter=sdcardpresent_eq_true<br>filter=aslon_eq_true<br>filter=devicetimezone_eq_value<br>filter=device.archivetime_eq_1700230366053<br>filter=flashon_eq_true<br>filter=tetheringon_eq_true
offset: '0', # String | offset parameter define page number
limit: '20' # String | limit parameter define page size
}
begin
#Get device statuses.
result = api_instance.get_device_statuses(opts)
p result
rescue BitbarCloudApiClient::ApiError => e
puts "Exception when calling AdminApi->get_device_statuses: #{e}"
end
api_instance = BitbarCloudApiClient::AdminApi.new
opts = {
sort: '', # String | sort parameter contains list of fields used for sort query result <br> examples: <br>
filter: '', # String | filter parameter contains list of fields used for filter query result <br> examples: <br> filter=devicemodelname_eq_value<br>filter=ostype_eq_ios<br>filter=starttime_eq_1700230366077<br>filter=useremail_eq_value<br>filter=_endtime_eq_1700230366077<br>filter=projectname_eq_value
offset: '0', # String | offset parameter define page number
limit: '20' # String | limit parameter define page size
}
begin
#Get device time, counted testRuns and deviceSessions per day, user, project, deviceModel.
result = api_instance.get_device_time_count_session_report(opts)
p result
rescue BitbarCloudApiClient::ApiError => e
puts "Exception when calling AdminApi->get_device_time_count_session_report: #{e}"
end
api_instance = BitbarCloudApiClient::AdminApi.new
opts = {
for_whole_account: false, # BOOLEAN |
sort: '', # String | sort parameter contains list of fields used for sort query result <br> examples: <br> sort=createTime_a<br>sort=id_a<br>sort=type_a<br>sort=userName_a
filter: '', # String | filter parameter contains list of fields used for filter query result <br> examples: <br> filter=starttime_eq_1700230366066<br>filter=_endtime_eq_1700230366066<br>filter=id_eq_1<br>filter=username_eq_value<br>filter=userid_eq_1
offset: '0', # String | offset parameter define page number
limit: '20' # String | limit parameter define page size
}
begin
#Get device time history.
result = api_instance.get_device_time_history(opts)
p result
rescue BitbarCloudApiClient::ApiError => e
puts "Exception when calling AdminApi->get_device_time_history: #{e}"
end
api_instance = BitbarCloudApiClient::AdminApi.new
opts = {
for_whole_account: false, # BOOLEAN |
sort: '', # String | sort parameter contains list of fields used for sort query result <br> examples: <br> sort=createTime_a<br>sort=id_a<br>sort=type_a<br>sort=userName_a
filter: '', # String | filter parameter contains list of fields used for filter query result <br> examples: <br> filter=starttime_eq_1700230366080<br>filter=_endtime_eq_1700230366080<br>filter=id_eq_1<br>filter=username_eq_value<br>filter=userid_eq_1
offset: '0', # String | offset parameter define page number
limit: '20' # String | limit parameter define page size
}
begin
#Get device time summary.
result = api_instance.get_device_time_history_summary(opts)
p result
rescue BitbarCloudApiClient::ApiError => e
puts "Exception when calling AdminApi->get_device_time_history_summary: #{e}"
end
api_instance = BitbarCloudApiClient::AdminApi.new
opts = {
sort: '', # String | sort parameter contains list of fields used for sort query result <br> examples: <br>
filter: '', # String | filter parameter contains list of fields used for filter query result <br> examples: <br> filter=devicemodelname_eq_value<br>filter=ostype_eq_ios<br>filter=starttime_eq_1700230366072<br>filter=useremail_eq_value<br>filter=_endtime_eq_1700230366072<br>filter=projectname_eq_value
offset: '0', # String | offset parameter define page number
limit: '20' # String | limit parameter define page size
}
begin
#Get device preparing and waiting time per day, user, project, deviceModel.
result = api_instance.get_device_time_step_time_report(opts)
p result
rescue BitbarCloudApiClient::ApiError => e
puts "Exception when calling AdminApi->get_device_time_step_time_report: #{e}"
end
api_instance = BitbarCloudApiClient::AdminApi.new
device_type_id = 789 # Integer |
begin
#Get device frame.
result = api_instance.get_device_type(device_type_id)
p result
rescue BitbarCloudApiClient::ApiError => e
puts "Exception when calling AdminApi->get_device_type: #{e}"
end
api_instance = BitbarCloudApiClient::AdminApi.new
opts = {
sort: '', # String | sort parameter contains list of fields used for sort query result <br> examples: <br> sort=imagePrefix_a<br>sort=id_a
filter: '', # String | filter parameter contains list of fields used for filter query result <br> examples: <br> filter=imageprefix_eq_value<br>filter=id_eq_1
offset: '0', # String | offset parameter define page number
limit: '20' # String | limit parameter define page size
}
begin
#Get device frames.
result = api_instance.get_device_types(opts)
p result
rescue BitbarCloudApiClient::ApiError => e
puts "Exception when calling AdminApi->get_device_types: #{e}"
end
api_instance = BitbarCloudApiClient::AdminApi.new
opts = {
with_disabled: true, # BOOLEAN |
sort: '', # String | sort parameter contains list of fields used for sort query result <br> examples: <br> sort=stateChangeTime_a<br>sort=cluster.name_a<br>sort=mainUserEmail_a<br>sort=enabled_a<br>sort=manufacturer_a<br>sort=accountId_a<br>sort=mainUserId_a<br>sort=serialId_a<br>sort=stateTime_a<br>sort=deviceModelId_a<br>sort=fingerprint_a<br>sort=name_a<br>sort=dedicationEndTime_a<br>sort=id_a<br>sort=state_a
filter: '', # String | filter parameter contains list of fields used for filter query result <br> examples: <br> filter=statechangetime_eq_1700230365935<br>filter=cluster.name_eq_value<br>filter=mainuseremail_eq_value<br>filter=enabled_eq_true<br>filter=platform_eq_ios<br>filter=manufacturer_eq_value<br>filter=accountid_eq_1<br>filter=mainuserid_eq_1<br>filter=serialid_eq_value<br>filter=statetime_eq_1700230365935<br>filter=devicemodelid_eq_1<br>filter=fingerprint_eq_value<br>filter=name_eq_value<br>filter=ostype_eq_ios<br>filter=dedicationendtime_eq_1700230365935<br>filter=devicecleanupconfigurationid_eq_1<br>filter=id_eq_1<br>filter=state_eq_offline_cleaning<br>filter=locked_eq_true
offset: '0', # String | offset parameter define page number
limit: '20' # String | limit parameter define page size
}
begin
#Get devices.
result = api_instance.get_devices1(opts)
p result
rescue BitbarCloudApiClient::ApiError => e
puts "Exception when calling AdminApi->get_devices1: #{e}"
end
api_instance = BitbarCloudApiClient::AdminApi.new
id = 789 # Integer |
opts = {
sort: '', # String | sort parameter contains list of fields used for sort query result <br> examples: <br> sort=stateChangeTime_a<br>sort=cluster.name_a<br>sort=mainUserEmail_a<br>sort=enabled_a<br>sort=manufacturer_a<br>sort=accountId_a<br>sort=mainUserId_a<br>sort=serialId_a<br>sort=stateTime_a<br>sort=deviceModelId_a<br>sort=fingerprint_a<br>sort=name_a<br>sort=dedicationEndTime_a<br>sort=id_a<br>sort=state_a
filter: '', # String | filter parameter contains list of fields used for filter query result <br> examples: <br> filter=statechangetime_eq_1700230365989<br>filter=cluster.name_eq_value<br>filter=mainuseremail_eq_value<br>filter=enabled_eq_true<br>filter=platform_eq_ios<br>filter=manufacturer_eq_value<br>filter=accountid_eq_1<br>filter=mainuserid_eq_1<br>filter=serialid_eq_value<br>filter=statetime_eq_1700230365989<br>filter=devicemodelid_eq_1<br>filter=fingerprint_eq_value<br>filter=name_eq_value<br>filter=ostype_eq_ios<br>filter=dedicationendtime_eq_1700230365989<br>filter=devicecleanupconfigurationid_eq_1<br>filter=id_eq_1<br>filter=state_eq_offline_cleaning<br>filter=locked_eq_true
offset: '0', # String | offset parameter define page number
limit: '20' # String | limit parameter define page size
}
begin
#Get devices used given device cleanup configuration.
result = api_instance.get_devices_used_device_cleanup_configuration(id, opts)
p result
rescue BitbarCloudApiClient::ApiError => e
puts "Exception when calling AdminApi->get_devices_used_device_cleanup_configuration: #{e}"
end
api_instance = BitbarCloudApiClient::AdminApi.new
opts = {
sort: '', # String | sort parameter contains list of fields used for sort query result <br> examples: <br> sort=createTime_a<br>sort=subject_a<br>sort=lastRetryTime_a<br>sort=channel_a<br>sort=userEmail_a<br>sort=id_a<br>sort=sent_a<br>sort=userId_a
filter: '', # String | filter parameter contains list of fields used for filter query result <br> examples: <br> filter=createtime_eq_1700230365926<br>filter=subject_eq_value<br>filter=lastretrytime_eq_1700230365926<br>filter=channel_eq_slack<br>filter=useremail_eq_value<br>filter=id_eq_1<br>filter=sent_eq_true<br>filter=userid_eq_1
offset: '0', # String | offset parameter define page number
limit: '20' # String | limit parameter define page size
}
begin
#Get emails.
result = api_instance.get_emails(opts)
p result
rescue BitbarCloudApiClient::ApiError => e
puts "Exception when calling AdminApi->get_emails: #{e}"
end
api_instance = BitbarCloudApiClient::AdminApi.new
opts = {
sort: '', # String | sort parameter contains list of fields used for sort query result <br> examples: <br> sort=quantity_a<br>sort=id_a<br>sort=type_a
filter: '', # String | filter parameter contains list of fields used for filter query result <br> examples: <br> filter=quantity_eq_1<br>filter=id_eq_1<br>filter=type_eq_abort_request<br>filter=timestamp_eq_1
offset: '0', # String | offset parameter define page number
limit: '20' # String | limit parameter define page size
}
begin
#Get errors.
result = api_instance.get_errors(opts)
p result
rescue BitbarCloudApiClient::ApiError => e
puts "Exception when calling AdminApi->get_errors: #{e}"
end
api_instance = BitbarCloudApiClient::AdminApi.new
file_id = 789 # Integer |
opts = {
sort: '', # String | sort parameter contains list of fields used for sort query result <br> examples: <br> sort=id_a<br>sort=value_a<br>sort=key_a
filter: '', # String | filter parameter contains list of fields used for filter query result <br> examples: <br> filter=id_eq_1<br>filter=value_eq_value<br>filter=key_eq_value
offset: '0', # String | offset parameter define page number
limit: '20' # String | limit parameter define page size
}
begin
#Get file properties.
result = api_instance.get_file_properties(file_id, opts)
p result
rescue BitbarCloudApiClient::ApiError => e
puts "Exception when calling AdminApi->get_file_properties: #{e}"
end
api_instance = BitbarCloudApiClient::AdminApi.new
file_id = 789 # Integer |
property_id = 789 # Integer |
begin
#Get file property.
result = api_instance.get_file_property(file_id, property_id)
p result
rescue BitbarCloudApiClient::ApiError => e
puts "Exception when calling AdminApi->get_file_property: #{e}"
end
api_instance = BitbarCloudApiClient::AdminApi.new
file_id = 789 # Integer |
opts = {
sort: '', # String | sort parameter contains list of fields used for sort query result <br> examples: <br> sort=name_a<br>sort=id_a
filter: '', # String | filter parameter contains list of fields used for filter query result <br> examples: <br> filter=name_eq_value<br>filter=id_eq_1
offset: '0', # String | offset parameter define page number
limit: '20' # String | limit parameter define page size
}
begin
#Get file tags.
result = api_instance.get_file_tags1(file_id, opts)
p result
rescue BitbarCloudApiClient::ApiError => e
puts "Exception when calling AdminApi->get_file_tags1: #{e}"
end
api_instance = BitbarCloudApiClient::AdminApi.new
opts = {
tag: ['tag_example'], # Array<String> |
sort: '', # String | sort parameter contains list of fields used for sort query result <br> examples: <br> sort=size_a<br>sort=createTime_a<br>sort=name_a<br>sort=inputType_a<br>sort=mimetype_a<br>sort=userEmail_a<br>sort=id_a<br>sort=state_a<br>sort=direction_a
filter: '', # String | filter parameter contains list of fields used for filter query result <br> examples: <br> filter=size_eq_1<br>filter=createtime_eq_1700230365359<br>filter=name_eq_value<br>filter=inputtype_eq_application<br>filter=mimetype_eq_value<br>filter=useremail_eq_value<br>filter=id_eq_1<br>filter=state_eq_preparing<br>filter=direction_eq_input
offset: '0', # String | offset parameter define page number
limit: '20' # String | limit parameter define page size
}
begin
#Get files.
result = api_instance.get_files(opts)
p result
rescue BitbarCloudApiClient::ApiError => e
puts "Exception when calling AdminApi->get_files: #{e}"
end
api_instance = BitbarCloudApiClient::AdminApi.new
id = 789 # Integer |
begin
#Get framework.
result = api_instance.get_framework(id)
p result
rescue BitbarCloudApiClient::ApiError => e
puts "Exception when calling AdminApi->get_framework: #{e}"
end
api_instance = BitbarCloudApiClient::AdminApi.new
opts = {
sort: '', # String | sort parameter contains list of fields used for sort query result <br> examples: <br> sort=propertyGroupName_a<br>sort=displayName_a<br>sort=name_a<br>sort=propertyGroupId_a<br>sort=id_a<br>sort=labelGroupName_a
filter: '', # String | filter parameter contains list of fields used for filter query result <br> examples: <br> filter=propertygroupname_eq_value<br>filter=displayname_eq_value<br>filter=name_eq_value<br>filter=propertygroupid_eq_1<br>filter=id_eq_1<br>filter=labelgroupname_eq_value
offset: '0', # String | offset parameter define page number
limit: '20' # String | limit parameter define page size
}
begin
#Get available framework labels.
result = api_instance.get_framework_available_labels(opts)
p result
rescue BitbarCloudApiClient::ApiError => e
puts "Exception when calling AdminApi->get_framework_available_labels: #{e}"
end
api_instance = BitbarCloudApiClient::AdminApi.new
id = 789 # Integer |
begin
#Get framework's config.
result = api_instance.get_framework_config(id)
p result
rescue BitbarCloudApiClient::ApiError => e
puts "Exception when calling AdminApi->get_framework_config: #{e}"
end
api_instance = BitbarCloudApiClient::AdminApi.new
id = 789 # Integer |
opts = {
sort: '', # String | sort parameter contains list of fields used for sort query result <br> examples: <br> sort=frameworkId_a<br>sort=name_a<br>sort=id_a
filter: '', # String | filter parameter contains list of fields used for filter query result <br> examples: <br> filter=frameworkid_eq_1<br>filter=name_eq_admin<br>filter=id_eq_null
offset: '0', # String | offset parameter define page number
limit: '20' # String | limit parameter define page size
}
begin
#Get roles required by framework.
result = api_instance.get_framework_roles(id, opts)
p result
rescue BitbarCloudApiClient::ApiError => e
puts "Exception when calling AdminApi->get_framework_roles: #{e}"
end
api_instance = BitbarCloudApiClient::AdminApi.new
opts = {
days: 30, # Integer |
sort: '', # String | sort parameter contains list of fields used for sort query result <br> examples: <br> sort=frameworkName_a<br>sort=releaseVersion_a<br>sort=osType_a<br>sort=startTime_a<br>sort=_endTime_a<br>sort=id_a<br>sort=state_a
filter: '', # String | filter parameter contains list of fields used for filter query result <br> examples: <br> filter=frameworkname_eq_value<br>filter=releaseversion_eq_value<br>filter=devicemodelname_eq_value<br>filter=ostype_eq_ios<br>filter=starttime_eq_1700230365734<br>filter=useremail_eq_value<br>filter=_endtime_eq_1700230365734<br>filter=id_eq_1<br>filter=state_eq_aborted
offset: '0', # String | offset parameter define page number
limit: '20' # String | limit parameter define page size
}
begin
#Get framework statistics.
result = api_instance.get_framework_statistics(opts)
p result
rescue BitbarCloudApiClient::ApiError => e
puts "Exception when calling AdminApi->get_framework_statistics: #{e}"
end
api_instance = BitbarCloudApiClient::AdminApi.new
opts = {
sort: '', # String | sort parameter contains list of fields used for sort query result <br> examples: <br> sort=canRunFromUI_a<br>sort=retryable_a<br>sort=skipQueue_a<br>sort=forProjects_a<br>sort=description_a<br>sort=mainUserEmail_a<br>sort=type_a<br>sort=accountId_a<br>sort=labelId_a<br>sort=createTime_a<br>sort=jobConfigId_a<br>sort=name_a<br>sort=osType_a<br>sort=id_a<br>sort=labelName_a<br>sort=secured_a<br>sort=skipOlderSdk_a
filter: '', # String | filter parameter contains list of fields used for filter query result <br> examples: <br> filter=canrunfromui_eq_true<br>filter=retryable_eq_true<br>filter=skipqueue_eq_true<br>filter=forprojects_eq_true<br>filter=description_eq_value<br>filter=mainuseremail_eq_value<br>filter=type_eq_value<br>filter=accountid_eq_1<br>filter=labelid_eq_1<br>filter=createtime_eq_1700230365861<br>filter=jobconfigid_eq_1<br>filter=name_eq_value<br>filter=ostype_eq_ios<br>filter=id_eq_1<br>filter=labelname_eq_value<br>filter=secured_eq_true<br>filter=skipoldersdk_eq_true
offset: '0', # String | offset parameter define page number
limit: '20' # String | limit parameter define page size
}
begin
#Get frameworks.
result = api_instance.get_frameworks(opts)
p result
rescue BitbarCloudApiClient::ApiError => e
puts "Exception when calling AdminApi->get_frameworks: #{e}"
end
api_instance = BitbarCloudApiClient::AdminApi.new
device_session_id = 789 # Integer |
connection_id = 789 # Integer |
begin
#Get connection for device session.
result = api_instance.get_inspector_device_session_connection(device_session_id, connection_id)
p result
rescue BitbarCloudApiClient::ApiError => e
puts "Exception when calling AdminApi->get_inspector_device_session_connection: #{e}"
end
api_instance = BitbarCloudApiClient::AdminApi.new
opts = {
sort: '', # String | sort parameter contains list of fields used for sort query result <br> examples: <br> sort=deviceModelName_a<br>sort=type_a<br>sort=billable_a<br>sort=deviceId_a<br>sort=deviceName_a<br>sort=userId_a<br>sort=duration_a<br>sort=createTime_a<br>sort=deviceModelId_a<br>sort=startTime_a<br>sort=userEmail_a<br>sort=_endTime_a<br>sort=id_a<br>sort=state_a
filter: '', # String | filter parameter contains list of fields used for filter query result <br> examples: <br> filter=devicemodelname_eq_value<br>filter=type_eq_automatic<br>filter=billable_eq_true<br>filter=deviceid_eq_1<br>filter=devicename_eq_value<br>filter=userid_eq_1<br>filter=duration_eq_1<br>filter=createtime_eq_1700230365850<br>filter=devicemodelid_eq_1<br>filter=ostype_eq_ios<br>filter=starttime_eq_1700230365850<br>filter=useremail_eq_value<br>filter=_endtime_eq_1700230365850<br>filter=id_eq_1<br>filter=state_eq_aborted
offset: '0', # String | offset parameter define page number
limit: '20' # String | limit parameter define page size
}
begin
#Get manual sessions queue.
result = api_instance.get_interactive_queue(opts)
p result
rescue BitbarCloudApiClient::ApiError => e
puts "Exception when calling AdminApi->get_interactive_queue: #{e}"
end
api_instance = BitbarCloudApiClient::AdminApi.new
begin
#Get license installed to cloud.
result = api_instance.get_license
p result
rescue BitbarCloudApiClient::ApiError => e
puts "Exception when calling AdminApi->get_license: #{e}"
end
api_instance = BitbarCloudApiClient::AdminApi.new
id = 789 # Integer |
begin
#Get license.
result = api_instance.get_license1(id)
p result
rescue BitbarCloudApiClient::ApiError => e
puts "Exception when calling AdminApi->get_license1: #{e}"
end
api_instance = BitbarCloudApiClient::AdminApi.new
opts = {
sort: '', # String | sort parameter contains list of fields used for sort query result <br> examples: <br> sort=expireTime_a<br>sort=closeTime_a<br>sort=activateTime_a<br>sort=privateInstance_a<br>sort=userEmail_a<br>sort=id_a<br>sort=userId_a<br>sort=status_a
filter: '', # String | filter parameter contains list of fields used for filter query result <br> examples: <br> filter=expiretime_eq_1700230365836<br>filter=closetime_eq_1700230365836<br>filter=activatetime_eq_1700230365836<br>filter=privateinstance_eq_true<br>filter=useremail_eq_value<br>filter=id_eq_1<br>filter=userid_eq_1<br>filter=status_eq_value
offset: '0', # String | offset parameter define page number
limit: '20' # String | limit parameter define page size
}
begin
#Get licenses.
result = api_instance.get_licenses(opts)
p result
rescue BitbarCloudApiClient::ApiError => e
puts "Exception when calling AdminApi->get_licenses: #{e}"
end
api_instance = BitbarCloudApiClient::AdminApi.new
opts = {
sort: '', # String | sort parameter contains list of fields used for sort query result <br> examples: <br> sort=scope_a<br>sort=name_a<br>sort=userEmail_a<br>sort=id_a<br>sort=userId_a
filter: '', # String | filter parameter contains list of fields used for filter query result <br> examples: <br> filter=scope_eq_user<br>filter=name_eq_value<br>filter=useremail_eq_value<br>filter=id_eq_1<br>filter=userid_eq_1
offset: '0', # String | offset parameter define page number
limit: '20' # String | limit parameter define page size
}
begin
#Get access groups.
result = api_instance.get_list1(opts)
p result
rescue BitbarCloudApiClient::ApiError => e
puts "Exception when calling AdminApi->get_list1: #{e}"
end
api_instance = BitbarCloudApiClient::AdminApi.new
begin
#Get maintenance mode.
result = api_instance.get_maintenance
p result
rescue BitbarCloudApiClient::ApiError => e
puts "Exception when calling AdminApi->get_maintenance: #{e}"
end
api_instance = BitbarCloudApiClient::AdminApi.new
run_id = 789 # Integer |
device_session_id = 789 # Integer |
opts = {
tag: ['tag_example'], # Array<String> |
sort: '', # String | sort parameter contains list of fields used for sort query result <br> examples: <br> sort=size_a<br>sort=createTime_a<br>sort=name_a<br>sort=inputType_a<br>sort=mimetype_a<br>sort=userEmail_a<br>sort=id_a<br>sort=state_a<br>sort=direction_a
filter: '', # String | filter parameter contains list of fields used for filter query result <br> examples: <br> filter=size_eq_1<br>filter=createtime_eq_1700230364930<br>filter=name_eq_value<br>filter=inputtype_eq_application<br>filter=mimetype_eq_value<br>filter=useremail_eq_value<br>filter=id_eq_1<br>filter=state_eq_preparing<br>filter=direction_eq_input
offset: '0', # String | offset parameter define page number
limit: '20' # String | limit parameter define page size
}
begin
#Get device session output files.
result = api_instance.get_output_files_for_device_session_by_tag(run_id, device_session_id, opts)
p result
rescue BitbarCloudApiClient::ApiError => e
puts "Exception when calling AdminApi->get_output_files_for_device_session_by_tag: #{e}"
end
api_instance = BitbarCloudApiClient::AdminApi.new
device_session_id = 789 # Integer |
opts = {
tag: ['tag_example'], # Array<String> |
sort: '', # String | sort parameter contains list of fields used for sort query result <br> examples: <br> sort=size_a<br>sort=createTime_a<br>sort=name_a<br>sort=inputType_a<br>sort=mimetype_a<br>sort=userEmail_a<br>sort=id_a<br>sort=state_a<br>sort=direction_a
filter: '', # String | filter parameter contains list of fields used for filter query result <br> examples: <br> filter=size_eq_1<br>filter=createtime_eq_1700230365543<br>filter=name_eq_value<br>filter=inputtype_eq_application<br>filter=mimetype_eq_value<br>filter=useremail_eq_value<br>filter=id_eq_1<br>filter=state_eq_preparing<br>filter=direction_eq_input
offset: '0', # String | offset parameter define page number
limit: '20' # String | limit parameter define page size
}
begin
#Get device session output files.
result = api_instance.get_output_files_for_device_session_by_tag1(device_session_id, opts)
p result
rescue BitbarCloudApiClient::ApiError => e
puts "Exception when calling AdminApi->get_output_files_for_device_session_by_tag1: #{e}"
end
api_instance = BitbarCloudApiClient::AdminApi.new
project_id = 789 # Integer |
run_id = 789 # Integer |
device_session_id = 789 # Integer |
opts = {
tag: ['tag_example'], # Array<String> |
sort: '', # String | sort parameter contains list of fields used for sort query result <br> examples: <br> sort=size_a<br>sort=createTime_a<br>sort=name_a<br>sort=inputType_a<br>sort=mimetype_a<br>sort=userEmail_a<br>sort=id_a<br>sort=state_a<br>sort=direction_a
filter: '', # String | filter parameter contains list of fields used for filter query result <br> examples: <br> filter=size_eq_1<br>filter=createtime_eq_1700230365281<br>filter=name_eq_value<br>filter=inputtype_eq_application<br>filter=mimetype_eq_value<br>filter=useremail_eq_value<br>filter=id_eq_1<br>filter=state_eq_preparing<br>filter=direction_eq_input
offset: '0', # String | offset parameter define page number
limit: '20' # String | limit parameter define page size
}
begin
#Get device session output files.
result = api_instance.get_output_files_for_projects_runs_device_session(project_id, run_id, device_session_id, opts)
p result
rescue BitbarCloudApiClient::ApiError => e
puts "Exception when calling AdminApi->get_output_files_for_projects_runs_device_session: #{e}"
end
api_instance = BitbarCloudApiClient::AdminApi.new
project_id = 789 # Integer |
begin
#Get project.
result = api_instance.get_project(project_id)
p result
rescue BitbarCloudApiClient::ApiError => e
puts "Exception when calling AdminApi->get_project: #{e}"
end
api_instance = BitbarCloudApiClient::AdminApi.new
project_id = 789 # Integer |
run_id = 789 # Integer |
device_session_id = 789 # Integer |
screenshot_id = 789 # Integer |
opts = {
width: 56, # Integer |
height: 56 # Integer |
}
begin
#Get device session screenshot.
api_instance.get_project_device_session_screenshot(project_id, run_id, device_session_id, screenshot_id, opts)
rescue BitbarCloudApiClient::ApiError => e
puts "Exception when calling AdminApi->get_project_device_session_screenshot: #{e}"
end
api_instance = BitbarCloudApiClient::AdminApi.new
project_id = 789 # Integer |
run_id = 789 # Integer |
device_session_id = 789 # Integer |
opts = {
sort: '', # String | sort parameter contains list of fields used for sort query result <br> examples: <br> sort=originalName_a<br>sort=takeTimestamp_a<br>sort=id_a
filter: '', # String | filter parameter contains list of fields used for filter query result <br> examples: <br> filter=originalname_eq_value<br>filter=taketimestamp_eq_1<br>filter=id_eq_1
offset: '0', # String | offset parameter define page number
limit: '20' # String | limit parameter define page size
}
begin
#Get device session screenshots.
result = api_instance.get_project_device_session_screenshots(project_id, run_id, device_session_id, opts)
p result
rescue BitbarCloudApiClient::ApiError => e
puts "Exception when calling AdminApi->get_project_device_session_screenshots: #{e}"
end
api_instance = BitbarCloudApiClient::AdminApi.new
project_id = 789 # Integer |
run_id = 789 # Integer |
opts = {
sort: '', # String | sort parameter contains list of fields used for sort query result <br> examples: <br> sort=isExcluded_a<br>sort=testRunId_a<br>sort=clientSideId_a<br>sort=externalId_a<br>sort=successRatio_a<br>sort=device.id_a<br>sort=retryState_a<br>sort=type_a<br>sort=userId_a<br>sort=duration_a<br>sort=timeLimit_a<br>sort=createTime_a<br>sort=biometricInstrumentation_a<br>sort=startTime_a<br>sort=userEmail_a<br>sort=_endTime_a<br>sort=id_a<br>sort=state_a<br>sort=device.displayName_a<br>sort=projectName_a<br>sort=projectId_a<br>sort=testRunName_a
filter: '', # String | filter parameter contains list of fields used for filter query result <br> examples: <br> filter=testrunid_eq_1<br>filter=clientsideid_eq_value<br>filter=externalid_eq_value<br>filter=successratio_eq_1<br>filter=device.id_eq_1<br>filter=retrystate_eq_none<br>filter=type_eq_automatic<br>filter=userid_eq_1<br>filter=duration_eq_1<br>filter=timelimit_eq_1<br>filter=createtime_eq_1700230365198<br>filter=biometricinstrumentation_eq_true<br>filter=starttime_eq_1700230365198<br>filter=useremail_eq_value<br>filter=_endtime_eq_1700230365198<br>filter=id_eq_1<br>filter=state_eq_aborted<br>filter=device.displayname_eq_value<br>filter=projectname_eq_value<br>filter=projectid_eq_1<br>filter=testrunname_eq_null
offset: '0', # String | offset parameter define page number
limit: '20' # String | limit parameter define page size
}
begin
#Get device sessions.
result = api_instance.get_project_device_sessions(project_id, run_id, opts)
p result
rescue BitbarCloudApiClient::ApiError => e
puts "Exception when calling AdminApi->get_project_device_sessions: #{e}"
end
api_instance = BitbarCloudApiClient::AdminApi.new
project_id = 789 # Integer |
run_id = 789 # Integer |
opts = {
sort: '', # String | sort parameter contains list of fields used for sort query result <br> examples: <br> sort=testRunId_a<br>sort=name_a<br>sort=id_a
filter: '', # String | filter parameter contains list of fields used for filter query result <br> examples: <br> filter=testrunid_eq_1<br>filter=name_eq_value<br>filter=id_eq_1
offset: '0', # String | offset parameter define page number
limit: '20' # String | limit parameter define page size
}
begin
#Get test run tags.
result = api_instance.get_project_test_run_tags(project_id, run_id, opts)
p result
rescue BitbarCloudApiClient::ApiError => e
puts "Exception when calling AdminApi->get_project_test_run_tags: #{e}"
end
api_instance = BitbarCloudApiClient::AdminApi.new
project_id = 789 # Integer |
run_id = 789 # Integer |
begin
#Get test run.
result = api_instance.get_project_test_run_with_project(project_id, run_id)
p result
rescue BitbarCloudApiClient::ApiError => e
puts "Exception when calling AdminApi->get_project_test_run_with_project: #{e}"
end
api_instance = BitbarCloudApiClient::AdminApi.new
project_id = 789 # Integer |
opts = {
sort: '', # String | sort parameter contains list of fields used for sort query result <br> examples: <br> sort=frameworkId_a<br>sort=frameworkName_a<br>sort=deviceCount_a<br>sort=displayName_a<br>sort=executionRatio_a<br>sort=successRatio_a<br>sort=userId_a<br>sort=common_a<br>sort=createTime_a<br>sort=startTime_a<br>sort=id_a<br>sort=state_a<br>sort=projectId_a
filter: '', # String | filter parameter contains list of fields used for filter query result <br> examples: <br> filter=frameworkid_eq_1<br>filter=frameworkname_eq_value<br>filter=displayname_eq_value<br>filter=successratio_eq_1<br>filter=userid_eq_1<br>filter=common_eq_true<br>filter=createtime_eq_1700230365041<br>filter=starttime_eq_1700230365041<br>filter=id_eq_1<br>filter=projectid_eq_1
offset: '0', # String | offset parameter define page number
limit: '20' # String | limit parameter define page size
}
begin
#Get test runs.
result = api_instance.get_project_test_runs(project_id, opts)
p result
rescue BitbarCloudApiClient::ApiError => e
puts "Exception when calling AdminApi->get_project_test_runs: #{e}"
end
api_instance = BitbarCloudApiClient::AdminApi.new
opts = {
sort: '', # String | sort parameter contains list of fields used for sort query result <br> examples: <br> sort=archiveTime_a<br>sort=common_a<br>sort=createTime_a<br>sort=name_a<br>sort=osType_a<br>sort=description_a<br>sort=id_a<br>sort=sharedByEmail_a
filter: '', # String | filter parameter contains list of fields used for filter query result <br> examples: <br> filter=archivetime_eq_1700230364959<br>filter=common_eq_true<br>filter=createtime_eq_1700230364959<br>filter=name_eq_value<br>filter=ostype_eq_ios<br>filter=description_eq_value<br>filter=readonly_eq_true<br>filter=id_eq_1<br>filter=sharedbyemail_eq_value
offset: '0', # String | offset parameter define page number
limit: '20' # String | limit parameter define page size
}
begin
#Get projects.
result = api_instance.get_projects(opts)
p result
rescue BitbarCloudApiClient::ApiError => e
puts "Exception when calling AdminApi->get_projects: #{e}"
end
api_instance = BitbarCloudApiClient::AdminApi.new
opts = {
sort: '', # String | sort parameter contains list of fields used for sort query result <br> examples: <br> sort=updatedByDisplayName_a<br>sort=fromTime_a<br>sort=name_a<br>sort=description_a<br>sort=updateTime_a<br>sort=id_a<br>sort=updatedById_a<br>sort=value_a<br>sort=toTime_a
filter: '', # String | filter parameter contains list of fields used for filter query result <br> examples: <br> filter=updatedbydisplayname_eq_value<br>filter=fromtime_eq_1700230364946<br>filter=name_eq_value<br>filter=description_eq_value<br>filter=updatetime_eq_1700230364946<br>filter=id_eq_1<br>filter=updatedbyid_eq_1<br>filter=value_eq_value<br>filter=totime_eq_1700230364946
offset: '0', # String | offset parameter define page number
limit: '20' # String | limit parameter define page size
}
begin
#Get properties.
result = api_instance.get_properties(opts)
p result
rescue BitbarCloudApiClient::ApiError => e
puts "Exception when calling AdminApi->get_properties: #{e}"
end
api_instance = BitbarCloudApiClient::AdminApi.new
access_group_id = 789 # Integer |
resource_id = 789 # Integer |
begin
#Get access group resource.
result = api_instance.get_resource1(access_group_id, resource_id)
p result
rescue BitbarCloudApiClient::ApiError => e
puts "Exception when calling AdminApi->get_resource1: #{e}"
end
api_instance = BitbarCloudApiClient::AdminApi.new
access_group_id = 789 # Integer |
opts = {
sort: '', # String | sort parameter contains list of fields used for sort query result <br> examples: <br> sort=resourceId_a<br>sort=name_a<br>sort=id_a<br>sort=type_a
filter: '', # String | filter parameter contains list of fields used for filter query result <br> examples: <br> filter=resourceid_eq_1<br>filter=accessgroupid_eq_1<br>filter=name_eq_value<br>filter=id_eq_1<br>filter=type_eq_device_group
offset: '0', # String | offset parameter define page number
limit: '20' # String | limit parameter define page size
}
begin
#Get access group resources.
result = api_instance.get_resources1(access_group_id, opts)
p result
rescue BitbarCloudApiClient::ApiError => e
puts "Exception when calling AdminApi->get_resources1: #{e}"
end
api_instance = BitbarCloudApiClient::AdminApi.new
opts = {
without_priorities: false, # BOOLEAN |
sort: '', # String | sort parameter contains list of fields used for sort query result <br> examples: <br> sort=name_a<br>sort=id_a
filter: '', # String | filter parameter contains list of fields used for filter query result <br> examples: <br> filter=name_eq_value<br>filter=id_eq_1
offset: '0', # String | offset parameter define page number
limit: '20' # String | limit parameter define page size
}
begin
#Get roles.
result = api_instance.get_roles(opts)
p result
rescue BitbarCloudApiClient::ApiError => e
puts "Exception when calling AdminApi->get_roles: #{e}"
end
api_instance = BitbarCloudApiClient::AdminApi.new
opts = {
sort: '', # String | sort parameter contains list of fields used for sort query result <br> examples: <br> sort=size_a<br>sort=createTime_a<br>sort=name_a<br>sort=inputType_a<br>sort=mimetype_a<br>sort=userEmail_a<br>sort=id_a<br>sort=state_a<br>sort=direction_a
filter: '', # String | filter parameter contains list of fields used for filter query result <br> examples: <br> filter=size_eq_1<br>filter=createtime_eq_1700230365764<br>filter=name_eq_value<br>filter=inputtype_eq_application<br>filter=mimetype_eq_value<br>filter=useremail_eq_value<br>filter=id_eq_1<br>filter=state_eq_preparing<br>filter=direction_eq_input
offset: '0', # String | offset parameter define page number
limit: '20' # String | limit parameter define page size
}
begin
#Get sample files.
result = api_instance.get_sample_files(opts)
p result
rescue BitbarCloudApiClient::ApiError => e
puts "Exception when calling AdminApi->get_sample_files: #{e}"
end
api_instance = BitbarCloudApiClient::AdminApi.new
run_id = 789 # Integer |
begin
#Get screenshot names.
result = api_instance.get_screenshot_names1(run_id)
p result
rescue BitbarCloudApiClient::ApiError => e
puts "Exception when calling AdminApi->get_screenshot_names1: #{e}"
end
api_instance = BitbarCloudApiClient::AdminApi.new
project_id = 789 # Integer |
run_id = 789 # Integer |
begin
#Get screenshot names.
result = api_instance.get_screenshot_names2(project_id, run_id)
p result
rescue BitbarCloudApiClient::ApiError => e
puts "Exception when calling AdminApi->get_screenshot_names2: #{e}"
end
api_instance = BitbarCloudApiClient::AdminApi.new
service_id = 789 # Integer |
begin
#Get service.
result = api_instance.get_service(service_id)
p result
rescue BitbarCloudApiClient::ApiError => e
puts "Exception when calling AdminApi->get_service: #{e}"
end
api_instance = BitbarCloudApiClient::AdminApi.new
opts = {
in_use: false, # BOOLEAN |
not_archived: false, # BOOLEAN |
active_only: false, # BOOLEAN |
sort: '', # String | sort parameter contains list of fields used for sort query result <br> examples: <br> sort=archiveTime_a<br>sort=chargeType_a<br>sort=activateTime_a<br>sort=description_a<br>sort=pricePerHour_a<br>sort=centPrice_a<br>sort=customPlan_a<br>sort=includedHours_a<br>sort=name_a<br>sort=autoRenew_a<br>sort=commonId_a<br>sort=id_a<br>sort=activated_a
filter: '', # String | filter parameter contains list of fields used for filter query result <br> examples: <br> filter=archivetime_eq_1700230365751<br>filter=chargetype_eq_concurrency<br>filter=activatetime_eq_1700230365751<br>filter=description_eq_value<br>filter=priceperhour_eq_1<br>filter=centprice_eq_1<br>filter=customplan_eq_true<br>filter=includedhours_eq_1<br>filter=name_eq_value<br>filter=autorenew_eq_true<br>filter=commonid_eq_value<br>filter=id_eq_1<br>filter=activated_eq_true
offset: '0', # String | offset parameter define page number
limit: '20' # String | limit parameter define page size
}
begin
#Get services.
result = api_instance.get_services(opts)
p result
rescue BitbarCloudApiClient::ApiError => e
puts "Exception when calling AdminApi->get_services: #{e}"
end
api_instance = BitbarCloudApiClient::AdminApi.new
opts = {
with_vulnerable_data: false # BOOLEAN |
}
begin
#Get settings.
result = api_instance.get_settings(opts)
p result
rescue BitbarCloudApiClient::ApiError => e
puts "Exception when calling AdminApi->get_settings: #{e}"
end
api_instance = BitbarCloudApiClient::AdminApi.new
serial_id = 'serial_id_example' # String |
begin
#Get specific device cleanup configuration.
result = api_instance.get_specific_device_cleanup_configuration(serial_id)
p result
rescue BitbarCloudApiClient::ApiError => e
puts "Exception when calling AdminApi->get_specific_device_cleanup_configuration: #{e}"
end
api_instance = BitbarCloudApiClient::AdminApi.new
id = 789 # Integer |
begin
#Delete device cleanup configuration.
api_instance.get_specific_device_cleanup_configuration1(id)
rescue BitbarCloudApiClient::ApiError => e
puts "Exception when calling AdminApi->get_specific_device_cleanup_configuration1: #{e}"
end
api_instance = BitbarCloudApiClient::AdminApi.new
begin
#Get overview status.
result = api_instance.get_system_overview
p result
rescue BitbarCloudApiClient::ApiError => e
puts "Exception when calling AdminApi->get_system_overview: #{e}"
end
api_instance = BitbarCloudApiClient::AdminApi.new
run_id = 789 # Integer |
opts = {
project_id: 789 # Integer |
}
begin
#Get test run.
result = api_instance.get_test_run(run_id, opts)
p result
rescue BitbarCloudApiClient::ApiError => e
puts "Exception when calling AdminApi->get_test_run: #{e}"
end
api_instance = BitbarCloudApiClient::AdminApi.new
project_id = 789 # Integer |
run_id = 789 # Integer |
begin
#Get test run data availability.
result = api_instance.get_test_run_data_availability_with_project(project_id, run_id)
p result
rescue BitbarCloudApiClient::ApiError => e
puts "Exception when calling AdminApi->get_test_run_data_availability_with_project: #{e}"
end
api_instance = BitbarCloudApiClient::AdminApi.new
run_id = 789 # Integer |
opts = {
user_id: 789, # Integer |
project_id: 789 # Integer |
}
begin
#Get test run data availability.
result = api_instance.get_test_run_data_availability_with_test_run(run_id, opts)
p result
rescue BitbarCloudApiClient::ApiError => e
puts "Exception when calling AdminApi->get_test_run_data_availability_with_test_run: #{e}"
end
api_instance = BitbarCloudApiClient::AdminApi.new
run_id = 789 # Integer |
name = 'name_example' # String |
opts = {
sort: '', # String | sort parameter contains list of fields used for sort query result <br> examples: <br> sort=originalName_a<br>sort=takeTimestamp_a<br>sort=id_a
filter: '', # String | filter parameter contains list of fields used for filter query result <br> examples: <br> filter=originalname_eq_value<br>filter=taketimestamp_eq_1<br>filter=id_eq_1
offset: '0', # String | offset parameter define page number
limit: '20' # String | limit parameter define page size
}
begin
#Get test run screenshots by name.
result = api_instance.get_test_run_screenshots1(run_id, name, opts)
p result
rescue BitbarCloudApiClient::ApiError => e
puts "Exception when calling AdminApi->get_test_run_screenshots1: #{e}"
end
api_instance = BitbarCloudApiClient::AdminApi.new
project_id = 789 # Integer |
run_id = 789 # Integer |
name = 'name_example' # String |
opts = {
sort: '', # String | sort parameter contains list of fields used for sort query result <br> examples: <br> sort=originalName_a<br>sort=takeTimestamp_a<br>sort=id_a
filter: '', # String | filter parameter contains list of fields used for filter query result <br> examples: <br> filter=originalname_eq_value<br>filter=taketimestamp_eq_1<br>filter=id_eq_1
offset: '0', # String | offset parameter define page number
limit: '20' # String | limit parameter define page size
}
begin
#Get test run screenshots by name.
result = api_instance.get_test_run_screenshots2(project_id, run_id, name, opts)
p result
rescue BitbarCloudApiClient::ApiError => e
puts "Exception when calling AdminApi->get_test_run_screenshots2: #{e}"
end
api_instance = BitbarCloudApiClient::AdminApi.new
project_id = 789 # Integer |
run_id = 789 # Integer |
tag_id = 789 # Integer |
begin
#Get test run tag.
result = api_instance.get_test_run_tag1(project_id, run_id, tag_id)
p result
rescue BitbarCloudApiClient::ApiError => e
puts "Exception when calling AdminApi->get_test_run_tag1: #{e}"
end
api_instance = BitbarCloudApiClient::AdminApi.new
run_id = 789 # Integer |
tag_id = 789 # Integer |
opts = {
project_id: 789 # Integer |
}
begin
#Get test run tag.
result = api_instance.get_test_run_tag_with_run(run_id, tag_id, opts)
p result
rescue BitbarCloudApiClient::ApiError => e
puts "Exception when calling AdminApi->get_test_run_tag_with_run: #{e}"
end
api_instance = BitbarCloudApiClient::AdminApi.new
run_id = 789 # Integer |
opts = {
project_id: 789, # Integer |
sort: '', # String | sort parameter contains list of fields used for sort query result <br> examples: <br> sort=testRunId_a<br>sort=name_a<br>sort=id_a
filter: '', # String | filter parameter contains list of fields used for filter query result <br> examples: <br> filter=testrunid_eq_1<br>filter=name_eq_value<br>filter=id_eq_1
offset: '0', # String | offset parameter define page number
limit: '20' # String | limit parameter define page size
}
begin
#Get test run tags.
result = api_instance.get_test_run_tags1(run_id, opts)
p result
rescue BitbarCloudApiClient::ApiError => e
puts "Exception when calling AdminApi->get_test_run_tags1: #{e}"
end
api_instance = BitbarCloudApiClient::AdminApi.new
opts = {
sort: '', # String | sort parameter contains list of fields used for sort query result <br> examples: <br> sort=frameworkId_a<br>sort=frameworkName_a<br>sort=deviceCount_a<br>sort=displayName_a<br>sort=executionRatio_a<br>sort=successRatio_a<br>sort=userId_a<br>sort=common_a<br>sort=createTime_a<br>sort=startTime_a<br>sort=id_a<br>sort=state_a<br>sort=projectId_a
filter: '', # String | filter parameter contains list of fields used for filter query result <br> examples: <br> filter=frameworkid_eq_1<br>filter=frameworkname_eq_value<br>filter=displayname_eq_value<br>filter=successratio_eq_1<br>filter=userid_eq_1<br>filter=common_eq_true<br>filter=createtime_eq_1700230364648<br>filter=starttime_eq_1700230364648<br>filter=id_eq_1<br>filter=projectid_eq_1
offset: '0', # String | offset parameter define page number
limit: '20' # String | limit parameter define page size
}
begin
#Get test runs.
result = api_instance.get_test_runs(opts)
p result
rescue BitbarCloudApiClient::ApiError => e
puts "Exception when calling AdminApi->get_test_runs: #{e}"
end
api_instance = BitbarCloudApiClient::AdminApi.new
from_time = 789 # Integer |
to_time = 789 # Integer |
opts = {
sort: '', # String | sort parameter contains list of fields used for sort query result <br> examples: <br> sort=country_a<br>sort=organization_a<br>sort=id_a<br>sort=state_a<br>sort=email_a
filter: '', # String | filter parameter contains list of fields used for filter query result <br> examples: <br> filter=country_eq_value<br>filter=organization_eq_value<br>filter=id_eq_1<br>filter=state_eq_value<br>filter=email_eq_value
offset: '0', # String | offset parameter define page number
limit: '20' # String | limit parameter define page size
}
begin
#Get trial statistics.
result = api_instance.get_trial_statistics(from_time, to_time, opts)
p result
rescue BitbarCloudApiClient::ApiError => e
puts "Exception when calling AdminApi->get_trial_statistics: #{e}"
end
api_instance = BitbarCloudApiClient::AdminApi.new
access_group_id = 789 # Integer |
user_id = 789 # Integer |
begin
#Get access group user.
result = api_instance.get_user2(access_group_id, user_id)
p result
rescue BitbarCloudApiClient::ApiError => e
puts "Exception when calling AdminApi->get_user2: #{e}"
end
api_instance = BitbarCloudApiClient::AdminApi.new
file_id = 789 # Integer |
begin
#Get file.
result = api_instance.get_user_file1(file_id)
p result
rescue BitbarCloudApiClient::ApiError => e
puts "Exception when calling AdminApi->get_user_file1: #{e}"
end
api_instance = BitbarCloudApiClient::AdminApi.new
user_id = 789 # Integer |
opts = {
sort: '', # String | sort parameter contains list of fields used for sort query result <br> examples: <br> sort=expireTime_a<br>sort=closeTime_a<br>sort=activateTime_a<br>sort=privateInstance_a<br>sort=userEmail_a<br>sort=id_a<br>sort=userId_a<br>sort=status_a
filter: '', # String | filter parameter contains list of fields used for filter query result <br> examples: <br> filter=expiretime_eq_1700230365671<br>filter=closetime_eq_1700230365671<br>filter=activatetime_eq_1700230365671<br>filter=privateinstance_eq_true<br>filter=useremail_eq_value<br>filter=id_eq_1<br>filter=userid_eq_1<br>filter=status_eq_value
offset: '0', # String | offset parameter define page number
limit: '20' # String | limit parameter define page size
}
begin
#Get user licenses.
result = api_instance.get_user_licenses(user_id, opts)
p result
rescue BitbarCloudApiClient::ApiError => e
puts "Exception when calling AdminApi->get_user_licenses: #{e}"
end
api_instance = BitbarCloudApiClient::AdminApi.new
account_service_id = 789 # Integer |
begin
#Get account service.
result = api_instance.get_user_service(account_service_id)
p result
rescue BitbarCloudApiClient::ApiError => e
puts "Exception when calling AdminApi->get_user_service: #{e}"
end
api_instance = BitbarCloudApiClient::AdminApi.new
user_id = 789 # Integer |
opts = {
sort: '', # String | sort parameter contains list of fields used for sort query result <br> examples: <br> sort=chargeType_a<br>sort=active_a<br>sort=activatedByName_a<br>sort=serviceName_a<br>sort=deactivatedByName_a<br>sort=accountId_a<br>sort=cbtId_a<br>sort=price_a<br>sort=autoRenew_a<br>sort=paymentMethod_a<br>sort=startTime_a<br>sort=_endTime_a<br>sort=id_a
filter: '', # String | filter parameter contains list of fields used for filter query result <br> examples: <br> filter=deactivatereason_eq_initial_failure<br>filter=chargetype_eq_concurrency<br>filter=active_eq_true<br>filter=activatedbyname_eq_value<br>filter=servicename_eq_value<br>filter=deactivatedbyname_eq_value<br>filter=accountid_eq_1<br>filter=cbtid_eq_value<br>filter=price_eq_1<br>filter=autorenew_eq_true<br>filter=paymentmethod_eq_paypal<br>filter=starttime_eq_1700230365684<br>filter=_endtime_eq_1700230365684<br>filter=id_eq_1
offset: '0', # String | offset parameter define page number
limit: '20' # String | limit parameter define page size
}
begin
#Get account services.
result = api_instance.get_user_services(user_id, opts)
p result
rescue BitbarCloudApiClient::ApiError => e
puts "Exception when calling AdminApi->get_user_services: #{e}"
end
api_instance = BitbarCloudApiClient::AdminApi.new
opts = {
only_main_users: false, # BOOLEAN |
only_with_disabled_services: false, # BOOLEAN |
with_role: 'with_role_example', # String |
with_roles: false, # BOOLEAN |
with_address: false, # BOOLEAN |
with_user_info: true, # BOOLEAN |
sort: '', # String | sort parameter contains list of fields used for sort query result <br> examples: <br> sort=lastName_a<br>sort=mainUserEmail_a<br>sort=accountId_a<br>sort=firstName_a<br>sort=serviceIds_a<br>sort=mainUserId_a<br>sort=createTime_a<br>sort=deleteTime_a<br>sort=accountServiceIds_a<br>sort=id_a<br>sort=email_a<br>sort=status_a
filter: '', # String | filter parameter contains list of fields used for filter query result <br> examples: <br> filter=lastname_eq_value<br>filter=mainuseremail_eq_value<br>filter=accountid_eq_1<br>filter=firstname_eq_value<br>filter=serviceids_eq_1<br>filter=mainuserid_eq_1<br>filter=createtime_eq_1700230363668<br>filter=deletetime_eq_1700230363668<br>filter=accountserviceids_eq_1<br>filter=ismainuser_eq_true<br>filter=id_eq_1<br>filter=email_eq_value<br>filter=status_eq_inactive
offset: '0', # String | offset parameter define page number
limit: '20' # String | limit parameter define page size
}
begin
#Get users.
result = api_instance.get_users(opts)
p result
rescue BitbarCloudApiClient::ApiError => e
puts "Exception when calling AdminApi->get_users: #{e}"
end
api_instance = BitbarCloudApiClient::AdminApi.new
access_group_id = 789 # Integer |
opts = {
sort: '', # String | sort parameter contains list of fields used for sort query result <br> examples: <br> sort=firstName_a<br>sort=lastName_a<br>sort=id_a<br>sort=email_a
filter: '', # String | filter parameter contains list of fields used for filter query result <br> examples: <br> filter=firstname_eq_value<br>filter=lastname_eq_value<br>filter=accessgroupid_eq_1<br>filter=id_eq_1<br>filter=email_eq_value
offset: '0', # String | offset parameter define page number
limit: '20' # String | limit parameter define page size
}
begin
#Get access group users.
result = api_instance.get_users2(access_group_id, opts)
p result
rescue BitbarCloudApiClient::ApiError => e
puts "Exception when calling AdminApi->get_users2: #{e}"
end
api_instance = BitbarCloudApiClient::AdminApi.new
billing_period_id = 789 # Integer |
begin
#Mark billing period as paid.
result = api_instance.mark_billing_period_as_paid(billing_period_id)
p result
rescue BitbarCloudApiClient::ApiError => e
puts "Exception when calling AdminApi->mark_billing_period_as_paid: #{e}"
end
api_instance = BitbarCloudApiClient::AdminApi.new
device_session_id = 789 # Integer |
begin
#Release device session.
result = api_instance.release_device_session1(device_session_id)
p result
rescue BitbarCloudApiClient::ApiError => e
puts "Exception when calling AdminApi->release_device_session1: #{e}"
end
api_instance = BitbarCloudApiClient::AdminApi.new
project_id = 789 # Integer |
run_id = 789 # Integer |
opts = {
device_run_ids: [56] # Array<Integer> |
}
begin
#Generate build logs zip.
result = api_instance.request_project_test_run_build_logs(project_id, run_id, opts)
p result
rescue BitbarCloudApiClient::ApiError => e
puts "Exception when calling AdminApi->request_project_test_run_build_logs: #{e}"
end
api_instance = BitbarCloudApiClient::AdminApi.new
project_id = 789 # Integer |
run_id = 789 # Integer |
opts = {
device_run_ids: [56] # Array<Integer> |
}
begin
#Generate files zip.
result = api_instance.request_project_test_run_files(project_id, run_id, opts)
p result
rescue BitbarCloudApiClient::ApiError => e
puts "Exception when calling AdminApi->request_project_test_run_files: #{e}"
end
api_instance = BitbarCloudApiClient::AdminApi.new
project_id = 789 # Integer |
run_id = 789 # Integer |
opts = {
device_run_ids: [56] # Array<Integer> |
}
begin
#Generate logs zip.
result = api_instance.request_project_test_run_logs(project_id, run_id, opts)
p result
rescue BitbarCloudApiClient::ApiError => e
puts "Exception when calling AdminApi->request_project_test_run_logs: #{e}"
end
api_instance = BitbarCloudApiClient::AdminApi.new
project_id = 789 # Integer |
run_id = 789 # Integer |
opts = {
device_run_ids: [56] # Array<Integer> |
}
begin
#Generate performance zip.
result = api_instance.request_project_test_run_performance(project_id, run_id, opts)
p result
rescue BitbarCloudApiClient::ApiError => e
puts "Exception when calling AdminApi->request_project_test_run_performance: #{e}"
end
api_instance = BitbarCloudApiClient::AdminApi.new
project_id = 789 # Integer |
run_id = 789 # Integer |
opts = {
device_run_ids: [56] # Array<Integer> |
}
begin
#Generate screenshot zip.
result = api_instance.request_project_test_run_screenshots(project_id, run_id, opts)
p result
rescue BitbarCloudApiClient::ApiError => e
puts "Exception when calling AdminApi->request_project_test_run_screenshots: #{e}"
end
api_instance = BitbarCloudApiClient::AdminApi.new
run_id = 789 # Integer |
opts = {
project_id: 789, # Integer |
user_id: 789, # Integer |
device_run_ids: [56] # Array<Integer> |
}
begin
#Generate build logs zip.
result = api_instance.request_test_run_build_logs(run_id, opts)
p result
rescue BitbarCloudApiClient::ApiError => e
puts "Exception when calling AdminApi->request_test_run_build_logs: #{e}"
end
api_instance = BitbarCloudApiClient::AdminApi.new
run_id = 789 # Integer |
opts = {
user_id: 789, # Integer |
project_id: 789, # Integer |
device_run_ids: [56] # Array<Integer> |
}
begin
#Generate files zip.
result = api_instance.request_test_run_files(run_id, opts)
p result
rescue BitbarCloudApiClient::ApiError => e
puts "Exception when calling AdminApi->request_test_run_files: #{e}"
end
api_instance = BitbarCloudApiClient::AdminApi.new
run_id = 789 # Integer |
opts = {
user_id: 789, # Integer |
project_id: 789, # Integer |
device_run_ids: [56] # Array<Integer> |
}
begin
#Generate logs zip.
result = api_instance.request_test_run_logs(run_id, opts)
p result
rescue BitbarCloudApiClient::ApiError => e
puts "Exception when calling AdminApi->request_test_run_logs: #{e}"
end
api_instance = BitbarCloudApiClient::AdminApi.new
run_id = 789 # Integer |
opts = {
project_id: 789, # Integer |
user_id: 789, # Integer |
device_run_ids: [56] # Array<Integer> |
}
begin
#Generate performance zip.
result = api_instance.request_test_run_performance(run_id, opts)
p result
rescue BitbarCloudApiClient::ApiError => e
puts "Exception when calling AdminApi->request_test_run_performance: #{e}"
end
api_instance = BitbarCloudApiClient::AdminApi.new
run_id = 789 # Integer |
opts = {
project_id: 789, # Integer |
user_id: 789, # Integer |
device_run_ids: [56] # Array<Integer> |
}
begin
#Generate screenshot zip.
result = api_instance.request_test_run_screenshots(run_id, opts)
p result
rescue BitbarCloudApiClient::ApiError => e
puts "Exception when calling AdminApi->request_test_run_screenshots: #{e}"
end
api_instance = BitbarCloudApiClient::AdminApi.new
user_id = 789 # Integer |
additional_user_id = 789 # Integer |
begin
#Resend activation email to additional user.
result = api_instance.resend_activation_email(user_id, additional_user_id)
p result
rescue BitbarCloudApiClient::ApiError => e
puts "Exception when calling AdminApi->resend_activation_email: #{e}"
end
api_instance = BitbarCloudApiClient::AdminApi.new
user_id = 789 # Integer |
begin
#Resend activation email.
result = api_instance.resend_activation_email1(user_id)
p result
rescue BitbarCloudApiClient::ApiError => e
puts "Exception when calling AdminApi->resend_activation_email1: #{e}"
end
api_instance = BitbarCloudApiClient::AdminApi.new
id = 789 # Integer |
begin
#Resend email.
result = api_instance.resend_email(id)
p result
rescue BitbarCloudApiClient::ApiError => e
puts "Exception when calling AdminApi->resend_email: #{e}"
end
api_instance = BitbarCloudApiClient::AdminApi.new
id = 789 # Integer |
begin
#Resend license.
result = api_instance.resend_license(id)
p result
rescue BitbarCloudApiClient::ApiError => e
puts "Exception when calling AdminApi->resend_license: #{e}"
end
api_instance = BitbarCloudApiClient::AdminApi.new
project_id = 789 # Integer |
run_id = 789 # Integer |
device_session_id = 789 # Integer |
begin
#Retry device session.
result = api_instance.retry_device_session(project_id, run_id, device_session_id)
p result
rescue BitbarCloudApiClient::ApiError => e
puts "Exception when calling AdminApi->retry_device_session: #{e}"
end
api_instance = BitbarCloudApiClient::AdminApi.new
project_id = 789 # Integer |
run_id = 789 # Integer |
opts = {
device_run_ids: [56] # Array<Integer> |
}
begin
#Retry test run or its device sessions.
result = api_instance.retry_project_test_run(project_id, run_id, opts)
p result
rescue BitbarCloudApiClient::ApiError => e
puts "Exception when calling AdminApi->retry_project_test_run: #{e}"
end
api_instance = BitbarCloudApiClient::AdminApi.new
run_id = 789 # Integer |
opts = {
device_run_ids: [56] # Array<Integer> |
}
begin
#Retry test run or its device sessions.
result = api_instance.retry_test_run(run_id, opts)
p result
rescue BitbarCloudApiClient::ApiError => e
puts "Exception when calling AdminApi->retry_test_run: #{e}"
end
api_instance = BitbarCloudApiClient::AdminApi.new
run_id = 789 # Integer |
opts = {
project_id: 789, # Integer |
device_run_ids: [56] # Array<Integer> |
}
begin
#Retry test run or its device sessions.
result = api_instance.retry_test_run_with_test_run(run_id, opts)
p result
rescue BitbarCloudApiClient::ApiError => e
puts "Exception when calling AdminApi->retry_test_run_with_test_run: #{e}"
end
api_instance = BitbarCloudApiClient::AdminApi.new
id = 789 # Integer |
begin
#Rollback framework's config.
result = api_instance.rollback_framework_config(id)
p result
rescue BitbarCloudApiClient::ApiError => e
puts "Exception when calling AdminApi->rollback_framework_config: #{e}"
end
api_instance = BitbarCloudApiClient::AdminApi.new
body = BitbarCloudApiClient::APITestRunConfig.new # APITestRunConfig |
begin
#Run test run.
result = api_instance.run_test_run(body)
p result
rescue BitbarCloudApiClient::ApiError => e
puts "Exception when calling AdminApi->run_test_run: #{e}"
end
api_instance = BitbarCloudApiClient::AdminApi.new
run_id = 789 # Integer |
billable = true # BOOLEAN |
begin
#Change billable status.
result = api_instance.set_billable_flag(run_id, billable)
p result
rescue BitbarCloudApiClient::ApiError => e
puts "Exception when calling AdminApi->set_billable_flag: #{e}"
end
api_instance = BitbarCloudApiClient::AdminApi.new
device_session_id = 789 # Integer |
billable = true # BOOLEAN |
begin
#Change billable status for device session.
result = api_instance.set_billable_flag1(device_session_id, billable)
p result
rescue BitbarCloudApiClient::ApiError => e
puts "Exception when calling AdminApi->set_billable_flag1: #{e}"
end
api_instance = BitbarCloudApiClient::AdminApi.new
enabled = true # BOOLEAN |
opts = {
type: 'type_example' # String |
}
begin
#Turn on/off maintenance mode.
result = api_instance.set_maintenance(enabled, opts)
p result
rescue BitbarCloudApiClient::ApiError => e
puts "Exception when calling AdminApi->set_maintenance: #{e}"
end
api_instance = BitbarCloudApiClient::AdminApi.new
run_id = 789 # Integer |
priority = 56 # Integer |
begin
#Change priority.
result = api_instance.set_priority(run_id, priority)
p result
rescue BitbarCloudApiClient::ApiError => e
puts "Exception when calling AdminApi->set_priority: #{e}"
end
api_instance = BitbarCloudApiClient::AdminApi.new
device_group_id = 789 # Integer |
opts = {
access_group_id: 789, # Integer |
email: 'email_example' # String |
}
begin
#Share device group.
result = api_instance.share_device_group1(device_group_id, opts)
p result
rescue BitbarCloudApiClient::ApiError => e
puts "Exception when calling AdminApi->share_device_group1: #{e}"
end
api_instance = BitbarCloudApiClient::AdminApi.new
file_id = 789 # Integer |
opts = {
access_group_id: 789, # Integer |
email: 'email_example' # String |
}
begin
#Share file.
result = api_instance.share_file1(file_id, opts)
p result
rescue BitbarCloudApiClient::ApiError => e
puts "Exception when calling AdminApi->share_file1: #{e}"
end
api_instance = BitbarCloudApiClient::AdminApi.new
project_id = 789 # Integer |
opts = {
access_group_id: 789, # Integer |
email: 'email_example' # String |
}
begin
#Share project.
result = api_instance.share_project1(project_id, opts)
p result
rescue BitbarCloudApiClient::ApiError => e
puts "Exception when calling AdminApi->share_project1: #{e}"
end
api_instance = BitbarCloudApiClient::AdminApi.new
project_id = 789 # Integer |
begin
#Unarchive project.
api_instance.unarchive_project(project_id)
rescue BitbarCloudApiClient::ApiError => e
puts "Exception when calling AdminApi->unarchive_project: #{e}"
end
api_instance = BitbarCloudApiClient::AdminApi.new
access_group_id = 789 # Integer |
opts = {
scope: 'scope_example', # String |
name: 'name_example' # String |
}
begin
#Update access group.
result = api_instance.update1(access_group_id, opts)
p result
rescue BitbarCloudApiClient::ApiError => e
puts "Exception when calling AdminApi->update1: #{e}"
end
api_instance = BitbarCloudApiClient::AdminApi.new
body = BitbarCloudApiClient::APIAccountPreference.new # APIAccountPreference |
account_id = 789 # Integer |
begin
#Update account preferences.
result = api_instance.update_account_preferences(body, account_id)
p result
rescue BitbarCloudApiClient::ApiError => e
puts "Exception when calling AdminApi->update_account_preferences: #{e}"
end
api_instance = BitbarCloudApiClient::AdminApi.new
account_service_id = 789 # Integer |
begin
#Force update account service subscription price.
result = api_instance.update_account_service_price(account_service_id)
p result
rescue BitbarCloudApiClient::ApiError => e
puts "Exception when calling AdminApi->update_account_service_price: #{e}"
end
api_instance = BitbarCloudApiClient::AdminApi.new
group_id = 789 # Integer |
label_id = 789 # Integer |
opts = {
name: 'name_example', # String |
display_name: 'display_name_example' # String |
}
begin
#Update label.
result = api_instance.update_api_label(group_id, label_id, opts)
p result
rescue BitbarCloudApiClient::ApiError => e
puts "Exception when calling AdminApi->update_api_label: #{e}"
end
api_instance = BitbarCloudApiClient::AdminApi.new
id = 789 # Integer |
name = 'name_example' # String |
display_name = 'display_name_example' # String |
version = 'version_example' # String |
os_type = 'os_type_example' # String |
opts = {
architecture: 'architecture_example', # String |
install_url: 'install_url_example' # String |
}
begin
#Update browser.
result = api_instance.update_browser(id, name, display_name, version, os_type, opts)
p result
rescue BitbarCloudApiClient::ApiError => e
puts "Exception when calling AdminApi->update_browser: #{e}"
end
api_instance = BitbarCloudApiClient::AdminApi.new
id = 789 # Integer |
opts = {
enabled: true, # BOOLEAN |
quiet_down: true, # BOOLEAN |
restart: true, # BOOLEAN |
turn_maintenance: true, # BOOLEAN |
url: 'url_example' # String |
}
begin
#Update cluster.
result = api_instance.update_cluster(id, opts)
p result
rescue BitbarCloudApiClient::ApiError => e
puts "Exception when calling AdminApi->update_cluster: #{e}"
end
api_instance = BitbarCloudApiClient::AdminApi.new
device_id = 789 # Integer |
opts = {
release_version: 'release_version_example', # String |
api_level: 56, # Integer |
serial_id: 'serial_id_example', # String |
name: 'name_example', # String |
enabled: true, # BOOLEAN |
unlock_gesture: 'unlock_gesture_example', # String |
init_step: 'init_step_example', # String |
ip_address: 'ip_address_example', # String |
account_id: 789, # Integer |
test_time_limit: 789, # Integer |
dedication_end_time: 789, # Integer |
comment: 'comment_example' # String |
}
begin
#Update device.
result = api_instance.update_device(device_id, opts)
p result
rescue BitbarCloudApiClient::ApiError => e
puts "Exception when calling AdminApi->update_device: #{e}"
end
api_instance = BitbarCloudApiClient::AdminApi.new
id = 789 # Integer |
content = 'content_example' # String |
opts = {
enabled: true, # BOOLEAN |
discriminator: 'discriminator_example' # String |
}
begin
#Update device cleanup configuration.
result = api_instance.update_device_cleanup_configuration(id, content, opts)
p result
rescue BitbarCloudApiClient::ApiError => e
puts "Exception when calling AdminApi->update_device_cleanup_configuration: #{e}"
end
api_instance = BitbarCloudApiClient::AdminApi.new
device_model_id = 789 # Integer |
opts = {
release_version: 'release_version_example', # String |
api_level: 56, # Integer |
name: 'name_example', # String |
manufacturer: 'manufacturer_example', # String |
enabled: true, # BOOLEAN |
type_id: 789, # Integer |
credits_price: 56 # Integer |
}
begin
#Update device model.
result = api_instance.update_device_model(device_model_id, opts)
p result
rescue BitbarCloudApiClient::ApiError => e
puts "Exception when calling AdminApi->update_device_model: #{e}"
end
api_instance = BitbarCloudApiClient::AdminApi.new
device_model_id = 789 # Integer |
opts = {
browser_ids: [56] # Array<Integer> |
}
begin
#Update device model browsers.
result = api_instance.update_device_model_browsers(device_model_id, opts)
p result
rescue BitbarCloudApiClient::ApiError => e
puts "Exception when calling AdminApi->update_device_model_browsers: #{e}"
end
api_instance = BitbarCloudApiClient::AdminApi.new
id = 789 # Integer |
opts = {
min_available: 56, # Integer |
max_total: 56 # Integer |
}
begin
#Update device model pool.
result = api_instance.update_device_model_pool(id, opts)
p result
rescue BitbarCloudApiClient::ApiError => e
puts "Exception when calling AdminApi->update_device_model_pool: #{e}"
end
api_instance = BitbarCloudApiClient::AdminApi.new
opts = {
body: BitbarCloudApiClient::APIDevicePicker.new, # APIDevicePicker |
sync: false # BOOLEAN |
}
begin
#Update device picker filters.
result = api_instance.update_device_picker(opts)
p result
rescue BitbarCloudApiClient::ApiError => e
puts "Exception when calling AdminApi->update_device_picker: #{e}"
end
api_instance = BitbarCloudApiClient::AdminApi.new
run_id = 789 # Integer |
device_session_id = 789 # Integer |
opts = {
name: 'name_example', # String |
client_side_id: 'client_side_id_example', # String |
state: 'state_example' # String |
}
begin
#Update device session by external id.
result = api_instance.update_device_session2(run_id, device_session_id, opts)
p result
rescue BitbarCloudApiClient::ApiError => e
puts "Exception when calling AdminApi->update_device_session2: #{e}"
end
api_instance = BitbarCloudApiClient::AdminApi.new
project_id = 789 # Integer |
run_id = 789 # Integer |
device_session_id = 789 # Integer |
opts = {
name: 'name_example', # String |
client_side_id: 'client_side_id_example', # String |
state: 'state_example' # String |
}
begin
#Update device session by external id.
result = api_instance.update_device_session3(project_id, run_id, device_session_id, opts)
p result
rescue BitbarCloudApiClient::ApiError => e
puts "Exception when calling AdminApi->update_device_session3: #{e}"
end
api_instance = BitbarCloudApiClient::AdminApi.new
device_type_id = 789 # Integer |
image_width = 56 # Integer |
image_height = 56 # Integer |
image_left = 56 # Integer |
image_top = 56 # Integer |
opts = {
frame_extra_width: 56 # Integer |
}
begin
#Update device frame.
result = api_instance.update_device_type(device_type_id, image_width, image_height, image_left, image_top, opts)
p result
rescue BitbarCloudApiClient::ApiError => e
puts "Exception when calling AdminApi->update_device_type: #{e}"
end
api_instance = BitbarCloudApiClient::AdminApi.new
file_id = 789 # Integer |
name = 'name_example' # String |
begin
#Update file name.
result = api_instance.update_file_name1(file_id, name)
p result
rescue BitbarCloudApiClient::ApiError => e
puts "Exception when calling AdminApi->update_file_name1: #{e}"
end
api_instance = BitbarCloudApiClient::AdminApi.new
file_id = 789 # Integer |
property_id = 789 # Integer |
value = 'value_example' # String |
begin
#Update file property.
result = api_instance.update_file_property(file_id, property_id, value)
p result
rescue BitbarCloudApiClient::ApiError => e
puts "Exception when calling AdminApi->update_file_property: #{e}"
end
api_instance = BitbarCloudApiClient::AdminApi.new
id = 789 # Integer |
opts = {
name: 'name_example', # String |
description: 'description_example', # String |
os_type: 'os_type_example', # String |
required_app_extensions: 'required_app_extensions_example', # String |
required_test_extensions: 'required_test_extensions_example', # String |
required_test_file_tags: 'required_test_file_tags_example', # String |
documentation_url: 'documentation_url_example', # String |
for_projects: true, # BOOLEAN |
can_run_from_ui: true, # BOOLEAN |
retryable: true, # BOOLEAN |
skip_queue: true, # BOOLEAN |
skip_older_sdk: true, # BOOLEAN |
type: 'type_example', # String |
label_id: 789, # Integer |
add_label_to_devices: false, # BOOLEAN |
role_ids: [56], # Array<Integer> |
sample_app_id: 789, # Integer |
sample_test_id: 789, # Integer |
icon: 'icon_example' # String |
}
begin
#Update framework.
result = api_instance.update_framework(id, opts)
p result
rescue BitbarCloudApiClient::ApiError => e
puts "Exception when calling AdminApi->update_framework: #{e}"
end
api_instance = BitbarCloudApiClient::AdminApi.new
id = 789 # Integer |
content = 'content_example' # String |
begin
#Update framework's config.
result = api_instance.update_framework_config(id, content)
p result
rescue BitbarCloudApiClient::ApiError => e
puts "Exception when calling AdminApi->update_framework_config: #{e}"
end
api_instance = BitbarCloudApiClient::AdminApi.new
group_id = 789 # Integer |
opts = {
name: 'name_example', # String |
display_name: 'display_name_example' # String |
}
begin
#Update label group.
result = api_instance.update_label_group(group_id, opts)
p result
rescue BitbarCloudApiClient::ApiError => e
puts "Exception when calling AdminApi->update_label_group: #{e}"
end
api_instance = BitbarCloudApiClient::AdminApi.new
project_id = 789 # Integer |
opts = {
name: 'name_example', # String |
description: 'description_example', # String |
common: true, # BOOLEAN |
read_only: true, # BOOLEAN |
archiving_strategy: 'archiving_strategy_example', # String |
archiving_item_count: 56, # Integer |
email: 'email_example' # String |
}
begin
#Update project.
result = api_instance.update_project(project_id, opts)
p result
rescue BitbarCloudApiClient::ApiError => e
puts "Exception when calling AdminApi->update_project: #{e}"
end
api_instance = BitbarCloudApiClient::AdminApi.new
project_id = 789 # Integer |
run_id = 789 # Integer |
display_name = 'display_name_example' # String |
begin
#Update test run.
result = api_instance.update_project_test_run(project_id, run_id, display_name)
p result
rescue BitbarCloudApiClient::ApiError => e
puts "Exception when calling AdminApi->update_project_test_run: #{e}"
end
api_instance = BitbarCloudApiClient::AdminApi.new
id = 789 # Integer |
opts = {
name: 'name_example', # String |
value: 'value_example', # String |
description: 'description_example', # String |
from_time: 789, # Integer |
to_time: 789, # Integer |
always_valid: true # BOOLEAN |
}
begin
#Update property.
result = api_instance.update_property(id, opts)
p result
rescue BitbarCloudApiClient::ApiError => e
puts "Exception when calling AdminApi->update_property: #{e}"
end
api_instance = BitbarCloudApiClient::AdminApi.new
run_id = 789 # Integer |
display_name = 'display_name_example' # String |
opts = {
project_id: 789 # Integer |
}
begin
#Update test run.
result = api_instance.update_test_run(run_id, display_name, opts)
p result
rescue BitbarCloudApiClient::ApiError => e
puts "Exception when calling AdminApi->update_test_run: #{e}"
end
api_instance = BitbarCloudApiClient::AdminApi.new
device_group_id = 789 # Integer |
opts = {
name: 'name_example', # String |
display_name: 'display_name_example', # String |
os_type: 'os_type_example' # String |
}
begin
#Update device group.
result = api_instance.update_user_device_group1(device_group_id, opts)
p result
rescue BitbarCloudApiClient::ApiError => e
puts "Exception when calling AdminApi->update_user_device_group1: #{e}"
end
api_instance = BitbarCloudApiClient::AdminApi.new
file_id = 789 # Integer |
opts = {
body: BitbarCloudApiClient::FileIdFileBody1.new # FileIdFileBody1 |
}
begin
#Update file content.
result = api_instance.update_user_file1(file_id, opts)
p result
rescue BitbarCloudApiClient::ApiError => e
puts "Exception when calling AdminApi->update_user_file1: #{e}"
end
api_instance = BitbarCloudApiClient::AdminApi.new
user_id = 789 # Integer |
opts = {
account_id: 789 # Integer |
}
begin
#Update users main account, switch main user.
result = api_instance.update_users_main_account(user_id, opts)
p result
rescue BitbarCloudApiClient::ApiError => e
puts "Exception when calling AdminApi->update_users_main_account: #{e}"
end
api_instance = BitbarCloudApiClient::AdminApi.new
opts = {
body: BitbarCloudApiClient::V2FilesBody.new, # V2FilesBody |
global: false # BOOLEAN |
}
begin
#Upload file.
result = api_instance.upload_file1(opts)
p result
rescue BitbarCloudApiClient::ApiError => e
puts "Exception when calling AdminApi->upload_file1: #{e}"
end
api_instance = BitbarCloudApiClient::AdminApi.new
opts = {
body: BitbarCloudApiClient::AdminSamplesBody.new # AdminSamplesBody |
}
begin
#Upload sample file.
result = api_instance.upload_file2(opts)
p result
rescue BitbarCloudApiClient::ApiError => e
puts "Exception when calling AdminApi->upload_file2: #{e}"
end
api_instance = BitbarCloudApiClient::AdminApi.new
opts = {
body: BitbarCloudApiClient::V2LicenseBody.new # V2LicenseBody |
}
begin
#Upload license to cloud.
result = api_instance.upload_license(opts)
p result
rescue BitbarCloudApiClient::ApiError => e
puts "Exception when calling AdminApi->upload_license: #{e}"
end
api_instance = BitbarCloudApiClient::AdminApi.new
body = BitbarCloudApiClient::APITestRunConfig.new # APITestRunConfig |
opts = {
include_devices: false, # BOOLEAN |
include_device_groups: true, # BOOLEAN |
include_frameworks: true # BOOLEAN |
}
begin
#Validate test run configuration.
result = api_instance.validate_test_run_config1(body, opts)
p result
rescue BitbarCloudApiClient::ApiError => e
puts "Exception when calling AdminApi->validate_test_run_config1: #{e}"
end
api_instance = BitbarCloudApiClient::AllEndpointsApi.new
user_id = 789 # Integer |
project_id = 789 # Integer |
run_id = 789 # Integer |
device_session_id = 789 # Integer |
begin
#Abort device session.
result = api_instance.abort_device_session(user_id, project_id, run_id, device_session_id)
p result
rescue BitbarCloudApiClient::ApiError => e
puts "Exception when calling AllEndpointsApi->abort_device_session: #{e}"
end
api_instance = BitbarCloudApiClient::AllEndpointsApi.new
project_id = 789 # Integer |
run_id = 789 # Integer |
device_session_id = 789 # Integer |
begin
#Abort device session.
result = api_instance.abort_device_session1(project_id, run_id, device_session_id)
p result
rescue BitbarCloudApiClient::ApiError => e
puts "Exception when calling AllEndpointsApi->abort_device_session1: #{e}"
end
api_instance = BitbarCloudApiClient::AllEndpointsApi.new
project_id = 789 # Integer |
run_id = 789 # Integer |
begin
#Abort test run and receive partial results.
result = api_instance.abort_project_test_run(project_id, run_id)
p result
rescue BitbarCloudApiClient::ApiError => e
puts "Exception when calling AllEndpointsApi->abort_project_test_run: #{e}"
end
api_instance = BitbarCloudApiClient::AllEndpointsApi.new
run_id = 789 # Integer |
opts = {
project_id: 789 # Integer |
}
begin
#Abort test run and receive partial results.
result = api_instance.abort_test_run(run_id, opts)
p result
rescue BitbarCloudApiClient::ApiError => e
puts "Exception when calling AllEndpointsApi->abort_test_run: #{e}"
end
api_instance = BitbarCloudApiClient::AllEndpointsApi.new
run_id = 789 # Integer |
begin
#Abort test run and receive partial results.
result = api_instance.abort_test_run1(run_id)
p result
rescue BitbarCloudApiClient::ApiError => e
puts "Exception when calling AllEndpointsApi->abort_test_run1: #{e}"
end
api_instance = BitbarCloudApiClient::AllEndpointsApi.new
user_id = 789 # Integer |
project_id = 789 # Integer |
run_id = 789 # Integer |
begin
#Abort test run and receive partial results.
result = api_instance.abort_user_test_run(user_id, project_id, run_id)
p result
rescue BitbarCloudApiClient::ApiError => e
puts "Exception when calling AllEndpointsApi->abort_user_test_run: #{e}"
end
api_instance = BitbarCloudApiClient::AllEndpointsApi.new
email = 'email_example' # String |
key = 'key_example' # String |
password = 'password_example' # String |
opts = {
first_name: 'first_name_example', # String |
last_name: 'last_name_example', # String |
phone: 'phone_example', # String |
organization: 'organization_example', # String |
country: 'country_example', # String |
city: 'city_example', # String |
state: 'state_example', # String |
address: 'address_example', # String |
zip: 'zip_example' # String |
}
begin
#Activate user after registration.
result = api_instance.activate(email, key, password, opts)
p result
rescue BitbarCloudApiClient::ApiError => e
puts "Exception when calling AllEndpointsApi->activate: #{e}"
end
api_instance = BitbarCloudApiClient::AllEndpointsApi.new
id = 789 # Integer |
begin
#Activate license.
result = api_instance.activate_license(id)
p result
rescue BitbarCloudApiClient::ApiError => e
puts "Exception when calling AllEndpointsApi->activate_license: #{e}"
end
api_instance = BitbarCloudApiClient::AllEndpointsApi.new
service_id = 789 # Integer |
opts = {
activate_time: 789 # Integer |
}
begin
#Activate service.
result = api_instance.activate_service(service_id, opts)
p result
rescue BitbarCloudApiClient::ApiError => e
puts "Exception when calling AllEndpointsApi->activate_service: #{e}"
end
api_instance = BitbarCloudApiClient::AllEndpointsApi.new
account_service_id = 789 # Integer |
begin
#Activate account service.
result = api_instance.activate_user_service(account_service_id)
p result
rescue BitbarCloudApiClient::ApiError => e
puts "Exception when calling AllEndpointsApi->activate_user_service: #{e}"
end
api_instance = BitbarCloudApiClient::AllEndpointsApi.new
user_id = 789 # Integer |
email = 'email_example' # String |
begin
#Add additional user.
result = api_instance.add_additional_user(user_id, email)
p result
rescue BitbarCloudApiClient::ApiError => e
puts "Exception when calling AllEndpointsApi->add_additional_user: #{e}"
end
api_instance = BitbarCloudApiClient::AllEndpointsApi.new
device_id = 789 # Integer |
device_cleanup_configuration_id = 789 # Integer |
begin
#Add device specific cleanup configuration.
result = api_instance.add_device_cleanup_configuration(device_id, device_cleanup_configuration_id)
p result
rescue BitbarCloudApiClient::ApiError => e
puts "Exception when calling AllEndpointsApi->add_device_cleanup_configuration: #{e}"
end
api_instance = BitbarCloudApiClient::AllEndpointsApi.new
device_id = 789 # Integer |
label_id = 789 # Integer |
begin
#Add label to device.
result = api_instance.add_device_label(device_id, label_id)
p result
rescue BitbarCloudApiClient::ApiError => e
puts "Exception when calling AllEndpointsApi->add_device_label: #{e}"
end
api_instance = BitbarCloudApiClient::AllEndpointsApi.new
device_id = 789 # Integer |
label_id = 789 # Integer |
begin
#Add label to device.
result = api_instance.add_device_label1(device_id, label_id)
p result
rescue BitbarCloudApiClient::ApiError => e
puts "Exception when calling AllEndpointsApi->add_device_label1: #{e}"
end
api_instance = BitbarCloudApiClient::AllEndpointsApi.new
opts = {
field: 'field_example', # String |
label_group_id: 789 # Integer |
}
begin
#Create device model criterion.
result = api_instance.add_device_model_criteria(opts)
p result
rescue BitbarCloudApiClient::ApiError => e
puts "Exception when calling AllEndpointsApi->add_device_model_criteria: #{e}"
end
api_instance = BitbarCloudApiClient::AllEndpointsApi.new
device_session_id = 789 # Integer |
name = 'name_example' # String |
opts = {
body: BitbarCloudApiClient::OutputfilesetFilesBody4.new, # OutputfilesetFilesBody4 |
tag: 'tag_example' # String |
}
begin
#Add file to device session.
result = api_instance.add_device_session_output_file(device_session_id, name, opts)
p result
rescue BitbarCloudApiClient::ApiError => e
puts "Exception when calling AllEndpointsApi->add_device_session_output_file: #{e}"
end
api_instance = BitbarCloudApiClient::AllEndpointsApi.new
user_id = 789 # Integer |
device_group_id = 789 # Integer |
opts = {
device_id: [56], # Array<Integer> |
device_ids: [56] # Array<Integer> |
}
begin
#Add device to device group.
result = api_instance.add_device_to_device_group(user_id, device_group_id, opts)
p result
rescue BitbarCloudApiClient::ApiError => e
puts "Exception when calling AllEndpointsApi->add_device_to_device_group: #{e}"
end
api_instance = BitbarCloudApiClient::AllEndpointsApi.new
device_group_id = 789 # Integer |
opts = {
device_id: [56], # Array<Integer> |
device_ids: [56] # Array<Integer> |
}
begin
#Add device to device group.
result = api_instance.add_device_to_device_group1(device_group_id, opts)
p result
rescue BitbarCloudApiClient::ApiError => e
puts "Exception when calling AllEndpointsApi->add_device_to_device_group1: #{e}"
end
api_instance = BitbarCloudApiClient::AllEndpointsApi.new
user_id = 789 # Integer |
project_id = 789 # Integer |
run_id = 789 # Integer |
device_session_id = 789 # Integer |
name = 'name_example' # String |
opts = {
body: BitbarCloudApiClient::OutputfilesetFilesBody.new, # OutputfilesetFilesBody |
tag: 'tag_example' # String |
}
begin
#Add file to device session.
result = api_instance.add_file(user_id, project_id, run_id, device_session_id, name, opts)
p result
rescue BitbarCloudApiClient::ApiError => e
puts "Exception when calling AllEndpointsApi->add_file: #{e}"
end
api_instance = BitbarCloudApiClient::AllEndpointsApi.new
user_id = 789 # Integer |
device_session_id = 789 # Integer |
name = 'name_example' # String |
opts = {
body: BitbarCloudApiClient::OutputfilesetFilesBody1.new, # OutputfilesetFilesBody1 |
tag: 'tag_example' # String |
}
begin
#Add file to device session.
result = api_instance.add_file1(user_id, device_session_id, name, opts)
p result
rescue BitbarCloudApiClient::ApiError => e
puts "Exception when calling AllEndpointsApi->add_file1: #{e}"
end
api_instance = BitbarCloudApiClient::AllEndpointsApi.new
run_id = 789 # Integer |
device_session_id = 789 # Integer |
name = 'name_example' # String |
opts = {
body: BitbarCloudApiClient::OutputfilesetFilesBody2.new, # OutputfilesetFilesBody2 |
tag: 'tag_example' # String |
}
begin
#Add file to device session.
result = api_instance.add_file2(run_id, device_session_id, name, opts)
p result
rescue BitbarCloudApiClient::ApiError => e
puts "Exception when calling AllEndpointsApi->add_file2: #{e}"
end
api_instance = BitbarCloudApiClient::AllEndpointsApi.new
project_id = 789 # Integer |
run_id = 789 # Integer |
device_session_id = 789 # Integer |
name = 'name_example' # String |
opts = {
body: BitbarCloudApiClient::OutputfilesetFilesBody3.new, # OutputfilesetFilesBody3 |
tag: 'tag_example' # String |
}
begin
#Add file to device session.
result = api_instance.add_file3(project_id, run_id, device_session_id, name, opts)
p result
rescue BitbarCloudApiClient::ApiError => e
puts "Exception when calling AllEndpointsApi->add_file3: #{e}"
end
api_instance = BitbarCloudApiClient::AllEndpointsApi.new
project_id = 789 # Integer |
run_id = 789 # Integer |
name = 'name_example' # String |
begin
#Add tag to test run.
result = api_instance.add_project_test_run_tag(project_id, run_id, name)
p result
rescue BitbarCloudApiClient::ApiError => e
puts "Exception when calling AllEndpointsApi->add_project_test_run_tag: #{e}"
end
api_instance = BitbarCloudApiClient::AllEndpointsApi.new
user_id = 789 # Integer |
role_id = 789 # Integer |
opts = {
value: 56, # Integer |
expire_time: 789 # Integer |
}
begin
#Add account role.
result = api_instance.add_role_to_account(user_id, role_id, opts)
p result
rescue BitbarCloudApiClient::ApiError => e
puts "Exception when calling AllEndpointsApi->add_role_to_account: #{e}"
end
api_instance = BitbarCloudApiClient::AllEndpointsApi.new
user_id = 789 # Integer |
device_group_id = 789 # Integer |
selector_ids = [56] # Array<Integer> |
opts = {
sort: '', # String | sort parameter contains list of fields used for sort query result <br> examples: <br> sort=displayName_a<br>sort=name_a<br>sort=osType_a<br>sort=id_a<br>sort=userId_a
filter: '', # String | filter parameter contains list of fields used for filter query result <br> examples: <br> filter=displayname_eq_value<br>filter=name_eq_value<br>filter=ostype_eq_ios<br>filter=id_eq_1<br>filter=userid_eq_1
offset: '0', # String | offset parameter define page number
limit: '20' # String | limit parameter define page size
}
begin
#Add selectors to device group.
result = api_instance.add_selector_to_device_group(user_id, device_group_id, selector_ids, opts)
p result
rescue BitbarCloudApiClient::ApiError => e
puts "Exception when calling AllEndpointsApi->add_selector_to_device_group: #{e}"
end
api_instance = BitbarCloudApiClient::AllEndpointsApi.new
device_group_id = 789 # Integer |
selector_ids = [56] # Array<Integer> |
begin
#Add selectors to device group.
result = api_instance.add_selector_to_device_group1(device_group_id, selector_ids)
p result
rescue BitbarCloudApiClient::ApiError => e
puts "Exception when calling AllEndpointsApi->add_selector_to_device_group1: #{e}"
end
api_instance = BitbarCloudApiClient::AllEndpointsApi.new
user_id = 789 # Integer |
service_id = 789 # Integer |
opts = {
count: 1, # Integer |
end_time: 789 # Integer |
}
begin
#Add service to user.
result = api_instance.add_service_to_user(user_id, service_id, opts)
p result
rescue BitbarCloudApiClient::ApiError => e
puts "Exception when calling AllEndpointsApi->add_service_to_user: #{e}"
end
api_instance = BitbarCloudApiClient::AllEndpointsApi.new
user_id = 789 # Integer |
project_id = 789 # Integer |
run_id = 789 # Integer |
name = 'name_example' # String |
begin
#Add tag to test run.
result = api_instance.add_test_run_tag(user_id, project_id, run_id, name)
p result
rescue BitbarCloudApiClient::ApiError => e
puts "Exception when calling AllEndpointsApi->add_test_run_tag: #{e}"
end
api_instance = BitbarCloudApiClient::AllEndpointsApi.new
run_id = 789 # Integer |
name = 'name_example' # String |
opts = {
project_id: 789 # Integer |
}
begin
#Add tag to test run.
result = api_instance.add_test_run_tag1(run_id, name, opts)
p result
rescue BitbarCloudApiClient::ApiError => e
puts "Exception when calling AllEndpointsApi->add_test_run_tag1: #{e}"
end
api_instance = BitbarCloudApiClient::AllEndpointsApi.new
user_id = 789 # Integer |
access_group_id = 789 # Integer |
email = 'email_example' # String |
begin
#Add user to access group.
result = api_instance.add_user(user_id, access_group_id, email)
p result
rescue BitbarCloudApiClient::ApiError => e
puts "Exception when calling AllEndpointsApi->add_user: #{e}"
end
api_instance = BitbarCloudApiClient::AllEndpointsApi.new
access_group_id = 789 # Integer |
email = 'email_example' # String |
begin
#Add user to access group.
result = api_instance.add_user1(access_group_id, email)
p result
rescue BitbarCloudApiClient::ApiError => e
puts "Exception when calling AllEndpointsApi->add_user1: #{e}"
end
api_instance = BitbarCloudApiClient::AllEndpointsApi.new
service_id = 789 # Integer |
begin
#Archive service.
api_instance.archive_service(service_id)
rescue BitbarCloudApiClient::ApiError => e
puts "Exception when calling AllEndpointsApi->archive_service: #{e}"
end
api_instance = BitbarCloudApiClient::AllEndpointsApi.new
test_run_id = 789 # Integer |
begin
#Create property banning application.
result = api_instance.ban_application(test_run_id)
p result
rescue BitbarCloudApiClient::ApiError => e
puts "Exception when calling AllEndpointsApi->ban_application: #{e}"
end
api_instance = BitbarCloudApiClient::AllEndpointsApi.new
email = 'email_example' # String |
begin
#Create property banning email domain.
result = api_instance.ban_email_domain(email)
p result
rescue BitbarCloudApiClient::ApiError => e
puts "Exception when calling AllEndpointsApi->ban_email_domain: #{e}"
end
api_instance = BitbarCloudApiClient::AllEndpointsApi.new
device_id = 789 # Integer |
begin
#Start blinking device screen.
result = api_instance.blink(device_id)
p result
rescue BitbarCloudApiClient::ApiError => e
puts "Exception when calling AllEndpointsApi->blink: #{e}"
end
api_instance = BitbarCloudApiClient::AllEndpointsApi.new
user_id = 789 # Integer |
service_id = 789 # Integer |
payment_method = 'payment_method_example' # String |
opts = {
first_name: 'first_name_example', # String |
last_name: 'last_name_example', # String |
email: 'email_example', # String |
phone: 'phone_example', # String |
organization: 'organization_example', # String |
country: 'country_example', # String |
city: 'city_example', # String |
state: 'state_example', # String |
address: 'address_example', # String |
zip: 'zip_example', # String |
card_number: 'card_number_example', # String |
expiration_date: 'expiration_date_example', # String |
cvv: 'cvv_example', # String |
count: 1, # Integer |
stripe_token: 'stripe_token_example' # String |
}
begin
#Buy service.
result = api_instance.buy_service(user_id, service_id, payment_method, opts)
p result
rescue BitbarCloudApiClient::ApiError => e
puts "Exception when calling AllEndpointsApi->buy_service: #{e}"
end
api_instance = BitbarCloudApiClient::AllEndpointsApi.new
user_id = 789 # Integer |
account_service_id = 789 # Integer |
begin
#Cancel service subscription.
result = api_instance.cancel_subscription(user_id, account_service_id)
p result
rescue BitbarCloudApiClient::ApiError => e
puts "Exception when calling AllEndpointsApi->cancel_subscription: #{e}"
end
api_instance = BitbarCloudApiClient::AllEndpointsApi.new
service_id = 789 # Integer |
cent_price = 56 # Integer |
begin
#Update service price.
result = api_instance.change_service_price(service_id, cent_price)
p result
rescue BitbarCloudApiClient::ApiError => e
puts "Exception when calling AllEndpointsApi->change_service_price: #{e}"
end
api_instance = BitbarCloudApiClient::AllEndpointsApi.new
user_id = 789 # Integer |
name = 'name_example' # String |
opts = {
scope: 'USER' # String |
}
begin
#Create access group.
result = api_instance.create(user_id, name, opts)
p result
rescue BitbarCloudApiClient::ApiError => e
puts "Exception when calling AllEndpointsApi->create: #{e}"
end
api_instance = BitbarCloudApiClient::AllEndpointsApi.new
name = 'name_example' # String |
opts = {
scope: 'USER', # String |
user_id: 789 # Integer |
}
begin
#Create access group.
result = api_instance.create1(name, opts)
p result
rescue BitbarCloudApiClient::ApiError => e
puts "Exception when calling AllEndpointsApi->create1: #{e}"
end
api_instance = BitbarCloudApiClient::AllEndpointsApi.new
name = 'name_example' # String |
display_name = 'display_name_example' # String |
version = 'version_example' # String |
os_type = 'os_type_example' # String |
opts = {
architecture: 'architecture_example', # String |
install_url: 'install_url_example' # String |
}
begin
#Create browser.
result = api_instance.create_browser(name, display_name, version, os_type, opts)
p result
rescue BitbarCloudApiClient::ApiError => e
puts "Exception when calling AllEndpointsApi->create_browser: #{e}"
end
api_instance = BitbarCloudApiClient::AllEndpointsApi.new
content = 'content_example' # String |
os_type = 'os_type_example' # String |
discriminator = 'discriminator_example' # String |
opts = {
enabled: true # BOOLEAN |
}
begin
#Create device cleanup configuration.
result = api_instance.create_device_cleanup_configuration(content, os_type, discriminator, opts)
p result
rescue BitbarCloudApiClient::ApiError => e
puts "Exception when calling AllEndpointsApi->create_device_cleanup_configuration: #{e}"
end
api_instance = BitbarCloudApiClient::AllEndpointsApi.new
user_id = 789 # Integer |
device_session_id = 789 # Integer |
host = 'host_example' # String |
port = 56 # Integer |
type = 'type_example' # String |
opts = {
password: 'password_example' # String |
}
begin
#Create connection for device session.
result = api_instance.create_device_session_connection(user_id, device_session_id, host, port, type, opts)
p result
rescue BitbarCloudApiClient::ApiError => e
puts "Exception when calling AllEndpointsApi->create_device_session_connection: #{e}"
end
api_instance = BitbarCloudApiClient::AllEndpointsApi.new
device_session_id = 789 # Integer |
host = 'host_example' # String |
port = 56 # Integer |
type = 'type_example' # String |
opts = {
password: 'password_example' # String |
}
begin
#Create connection for device session.
result = api_instance.create_device_session_connection1(device_session_id, host, port, type, opts)
p result
rescue BitbarCloudApiClient::ApiError => e
puts "Exception when calling AllEndpointsApi->create_device_session_connection1: #{e}"
end
api_instance = BitbarCloudApiClient::AllEndpointsApi.new
user_id = 789 # Integer |
content = 'content_example' # String |
opts = {
body: BitbarCloudApiClient::UserIdFeedbackBody.new # UserIdFeedbackBody |
}
begin
#Create feedback email.
api_instance.create_feedback_form_email(user_id, content, opts)
rescue BitbarCloudApiClient::ApiError => e
puts "Exception when calling AllEndpointsApi->create_feedback_form_email: #{e}"
end
api_instance = BitbarCloudApiClient::AllEndpointsApi.new
file_id = 789 # Integer |
key = 'key_example' # String |
value = 'value_example' # String |
begin
#Create file property.
result = api_instance.create_file_property(file_id, key, value)
p result
rescue BitbarCloudApiClient::ApiError => e
puts "Exception when calling AllEndpointsApi->create_file_property: #{e}"
end
api_instance = BitbarCloudApiClient::AllEndpointsApi.new
name = 'name_example' # String |
os_type = 'os_type_example' # String |
content = 'content_example' # String |
opts = {
description: 'description_example', # String |
required_app_extensions: 'required_app_extensions_example', # String |
required_test_extensions: 'required_test_extensions_example', # String |
required_test_file_tags: 'required_test_file_tags_example', # String |
documentation_url: 'documentation_url_example', # String |
for_projects: true, # BOOLEAN |
can_run_from_ui: true, # BOOLEAN |
retryable: true, # BOOLEAN |
skip_queue: false, # BOOLEAN |
skip_older_sdk: true, # BOOLEAN |
type: 'type_example', # String |
account_id: 789, # Integer |
label_id: 789, # Integer |
add_label_to_devices: false, # BOOLEAN |
role_ids: [56], # Array<Integer> |
sample_app_id: 789, # Integer |
sample_test_id: 789, # Integer |
icon: 'icon_example' # String |
}
begin
#Create framework.
result = api_instance.create_framework(name, os_type, content, opts)
p result
rescue BitbarCloudApiClient::ApiError => e
puts "Exception when calling AllEndpointsApi->create_framework: #{e}"
end
api_instance = BitbarCloudApiClient::AllEndpointsApi.new
user_id = 789 # Integer |
opts = {
body: BitbarCloudApiClient::APIDeviceSessionConfig.new, # APIDeviceSessionConfig |
device_model_id: 789, # Integer |
type: 'type_example', # String |
browser_name: 'browser_name_example', # String |
browser_version: 'browser_version_example', # String |
screen_resolution: 'screen_resolution_example', # String |
url: 'url_example' # String |
}
begin
#Create device session.
result = api_instance.create_inspector_device_session(user_id, opts)
p result
rescue BitbarCloudApiClient::ApiError => e
puts "Exception when calling AllEndpointsApi->create_inspector_device_session: #{e}"
end
api_instance = BitbarCloudApiClient::AllEndpointsApi.new
group_id = 789 # Integer |
name = 'name_example' # String |
display_name = 'display_name_example' # String |
begin
#Add label to label group.
result = api_instance.create_label(group_id, name, display_name)
p result
rescue BitbarCloudApiClient::ApiError => e
puts "Exception when calling AllEndpointsApi->create_label: #{e}"
end
api_instance = BitbarCloudApiClient::AllEndpointsApi.new
name = 'name_example' # String |
display_name = 'display_name_example' # String |
begin
#Create label group.
result = api_instance.create_label_group(name, display_name)
p result
rescue BitbarCloudApiClient::ApiError => e
puts "Exception when calling AllEndpointsApi->create_label_group: #{e}"
end
api_instance = BitbarCloudApiClient::AllEndpointsApi.new
user_id = 789 # Integer |
unit = 'unit_example' # String |
unit_count = 56 # Integer |
opts = {
android_enabled: false, # BOOLEAN |
android_device_limit: 56, # Integer |
android_project_limit: 56, # Integer |
inspector_enabled: false, # BOOLEAN |
ios_enabled: false, # BOOLEAN |
ios_device_limit: 56, # Integer |
ios_project_limit: 56, # Integer |
private_instance: false, # BOOLEAN |
build_enabled: false, # BOOLEAN |
build_limit: 56, # Integer |
desktop_enabled: false, # BOOLEAN |
desktop_device_limit: 56, # Integer |
desktop_project_limit: 56, # Integer |
global_device_limit: 56, # Integer |
global_project_limit: 56 # Integer |
}
begin
#Create license.
result = api_instance.create_license(user_id, unit, unit_count, opts)
p result
rescue BitbarCloudApiClient::ApiError => e
puts "Exception when calling AllEndpointsApi->create_license: #{e}"
end
api_instance = BitbarCloudApiClient::AllEndpointsApi.new
user_id = 789 # Integer |
opts = {
name: 'name_example' # String |
}
begin
#Create project.
result = api_instance.create_my_project(user_id, opts)
p result
rescue BitbarCloudApiClient::ApiError => e
puts "Exception when calling AllEndpointsApi->create_my_project: #{e}"
end
api_instance = BitbarCloudApiClient::AllEndpointsApi.new
body = BitbarCloudApiClient::APIVisualTestAccess.new # APIVisualTestAccess |
user_id = 789 # Integer |
begin
#Create or update VisualTests access.
result = api_instance.create_or_update_visual_test_access(body, user_id)
p result
rescue BitbarCloudApiClient::ApiError => e
puts "Exception when calling AllEndpointsApi->create_or_update_visual_test_access: #{e}"
end
api_instance = BitbarCloudApiClient::AllEndpointsApi.new
name = 'name_example' # String |
value = 'value_example' # String |
description = 'description_example' # String |
opts = {
from_time: 789, # Integer |
to_time: 789 # Integer |
}
begin
#Create property.
result = api_instance.create_property(name, value, description, opts)
p result
rescue BitbarCloudApiClient::ApiError => e
puts "Exception when calling AllEndpointsApi->create_property: #{e}"
end
api_instance = BitbarCloudApiClient::AllEndpointsApi.new
body = BitbarCloudApiClient::APIService.new # APIService |
begin
#Create or update the service.
result = api_instance.create_service(body)
p result
rescue BitbarCloudApiClient::ApiError => e
puts "Exception when calling AllEndpointsApi->create_service: #{e}"
end
api_instance = BitbarCloudApiClient::AllEndpointsApi.new
email = 'email_example' # String |
begin
#Create user.
result = api_instance.create_user(email)
p result
rescue BitbarCloudApiClient::ApiError => e
puts "Exception when calling AllEndpointsApi->create_user: #{e}"
end
api_instance = BitbarCloudApiClient::AllEndpointsApi.new
user_id = 789 # Integer |
opts = {
name: 'name_example', # String |
display_name: 'display_name_example', # String |
os_type: 'ANDROID', # String |
device_ids: [56], # Array<Integer> |
selector_ids: [56] # Array<Integer> |
}
begin
#Create device group.
result = api_instance.create_user_device_group(user_id, opts)
p result
rescue BitbarCloudApiClient::ApiError => e
puts "Exception when calling AllEndpointsApi->create_user_device_group: #{e}"
end
api_instance = BitbarCloudApiClient::AllEndpointsApi.new
user_id = 789 # Integer |
destination = 'destination_example' # String |
channel = 'channel_example' # String |
scope = 'scope_example' # String |
opts = {
project_id: 789 # Integer |
}
begin
#Create notification.
result = api_instance.create_user_notification(user_id, destination, channel, scope, opts)
p result
rescue BitbarCloudApiClient::ApiError => e
puts "Exception when calling AllEndpointsApi->create_user_notification: #{e}"
end
api_instance = BitbarCloudApiClient::AllEndpointsApi.new
id = 789 # Integer |
begin
#Deactivate license.
result = api_instance.deactivate_license(id)
p result
rescue BitbarCloudApiClient::ApiError => e
puts "Exception when calling AllEndpointsApi->deactivate_license: #{e}"
end
api_instance = BitbarCloudApiClient::AllEndpointsApi.new
account_service_id = 789 # Integer |
begin
#Deactivate account service.
result = api_instance.deactivate_user_service(account_service_id)
p result
rescue BitbarCloudApiClient::ApiError => e
puts "Exception when calling AllEndpointsApi->deactivate_user_service: #{e}"
end
api_instance = BitbarCloudApiClient::AllEndpointsApi.new
user_id = 789 # Integer |
tunnel_id = 'tunnel_id_example' # String |
begin
#Delete users tunnel.
api_instance.delete(user_id, tunnel_id)
rescue BitbarCloudApiClient::ApiError => e
puts "Exception when calling AllEndpointsApi->delete: #{e}"
end
api_instance = BitbarCloudApiClient::AllEndpointsApi.new
user_id = 789 # Integer |
access_group_id = 789 # Integer |
begin
#Delete access group.
api_instance.delete1(user_id, access_group_id)
rescue BitbarCloudApiClient::ApiError => e
puts "Exception when calling AllEndpointsApi->delete1: #{e}"
end
api_instance = BitbarCloudApiClient::AllEndpointsApi.new
access_group_id = 789 # Integer |
begin
#Delete access group.
api_instance.delete2(access_group_id)
rescue BitbarCloudApiClient::ApiError => e
puts "Exception when calling AllEndpointsApi->delete2: #{e}"
end
api_instance = BitbarCloudApiClient::AllEndpointsApi.new
id = 789 # Integer |
begin
#Delete browser.
api_instance.delete_browser(id)
rescue BitbarCloudApiClient::ApiError => e
puts "Exception when calling AllEndpointsApi->delete_browser: #{e}"
end
api_instance = BitbarCloudApiClient::AllEndpointsApi.new
id = 789 # Integer |
begin
#Delete cluster.
api_instance.delete_cluster(id)
rescue BitbarCloudApiClient::ApiError => e
puts "Exception when calling AllEndpointsApi->delete_cluster: #{e}"
end
api_instance = BitbarCloudApiClient::AllEndpointsApi.new
device_id = 789 # Integer |
begin
#Delete device.
api_instance.delete_device(device_id)
rescue BitbarCloudApiClient::ApiError => e
puts "Exception when calling AllEndpointsApi->delete_device: #{e}"
end
api_instance = BitbarCloudApiClient::AllEndpointsApi.new
device_id = 789 # Integer |
begin
#Delete device specific cleanup configuration.
api_instance.delete_device_cleanup_configuration(device_id)
rescue BitbarCloudApiClient::ApiError => e
puts "Exception when calling AllEndpointsApi->delete_device_cleanup_configuration: #{e}"
end
api_instance = BitbarCloudApiClient::AllEndpointsApi.new
user_id = 789 # Integer |
device_group_id = 789 # Integer |
device_id = 789 # Integer |
begin
#Delete device from device group.
api_instance.delete_device_from_device_group(user_id, device_group_id, device_id)
rescue BitbarCloudApiClient::ApiError => e
puts "Exception when calling AllEndpointsApi->delete_device_from_device_group: #{e}"
end
api_instance = BitbarCloudApiClient::AllEndpointsApi.new
device_group_id = 789 # Integer |
device_model_id = 789 # Integer |
begin
#Delete device from device group.
api_instance.delete_device_from_device_group1(device_group_id, device_model_id)
rescue BitbarCloudApiClient::ApiError => e
puts "Exception when calling AllEndpointsApi->delete_device_from_device_group1: #{e}"
end
api_instance = BitbarCloudApiClient::AllEndpointsApi.new
device_group_id = 789 # Integer |
begin
#Delete device group.
api_instance.delete_device_group(device_group_id)
rescue BitbarCloudApiClient::ApiError => e
puts "Exception when calling AllEndpointsApi->delete_device_group: #{e}"
end
api_instance = BitbarCloudApiClient::AllEndpointsApi.new
device_id = 789 # Integer |
label_id = 789 # Integer |
begin
#Delete label from device.
api_instance.delete_device_label(device_id, label_id)
rescue BitbarCloudApiClient::ApiError => e
puts "Exception when calling AllEndpointsApi->delete_device_label: #{e}"
end
api_instance = BitbarCloudApiClient::AllEndpointsApi.new
device_id = 789 # Integer |
label_id = 789 # Integer |
begin
#Delete label from device.
api_instance.delete_device_label1(device_id, label_id)
rescue BitbarCloudApiClient::ApiError => e
puts "Exception when calling AllEndpointsApi->delete_device_label1: #{e}"
end
api_instance = BitbarCloudApiClient::AllEndpointsApi.new
id = 789 # Integer |
begin
#Delete device model criterion.
result = api_instance.delete_device_model_criteria(id)
p result
rescue BitbarCloudApiClient::ApiError => e
puts "Exception when calling AllEndpointsApi->delete_device_model_criteria: #{e}"
end
api_instance = BitbarCloudApiClient::AllEndpointsApi.new
user_id = 789 # Integer |
device_group_id = 789 # Integer |
device_ids = [56] # Array<Integer> |
begin
#Delete devices from device group.
api_instance.delete_devices_from_device_group(user_id, device_group_id, device_ids)
rescue BitbarCloudApiClient::ApiError => e
puts "Exception when calling AllEndpointsApi->delete_devices_from_device_group: #{e}"
end
api_instance = BitbarCloudApiClient::AllEndpointsApi.new
device_group_id = 789 # Integer |
device_ids = [56] # Array<Integer> |
begin
#Delete devices from device group.
api_instance.delete_devices_from_device_group1(device_group_id, device_ids)
rescue BitbarCloudApiClient::ApiError => e
puts "Exception when calling AllEndpointsApi->delete_devices_from_device_group1: #{e}"
end
api_instance = BitbarCloudApiClient::AllEndpointsApi.new
user_id = 789 # Integer |
file_id = 789 # Integer |
begin
#Delete file.
api_instance.delete_file(user_id, file_id)
rescue BitbarCloudApiClient::ApiError => e
puts "Exception when calling AllEndpointsApi->delete_file: #{e}"
end
api_instance = BitbarCloudApiClient::AllEndpointsApi.new
user_id = 789 # Integer |
device_session_id = 789 # Integer |
file_id = 789 # Integer |
begin
#Delete file from device session.
api_instance.delete_file1(user_id, device_session_id, file_id)
rescue BitbarCloudApiClient::ApiError => e
puts "Exception when calling AllEndpointsApi->delete_file1: #{e}"
end
api_instance = BitbarCloudApiClient::AllEndpointsApi.new
file_id = 789 # Integer |
begin
#Delete file.
api_instance.delete_file2(file_id)
rescue BitbarCloudApiClient::ApiError => e
puts "Exception when calling AllEndpointsApi->delete_file2: #{e}"
end
api_instance = BitbarCloudApiClient::AllEndpointsApi.new
device_session_id = 789 # Integer |
file_id = 789 # Integer |
begin
#Delete file from device session.
api_instance.delete_file3(device_session_id, file_id)
rescue BitbarCloudApiClient::ApiError => e
puts "Exception when calling AllEndpointsApi->delete_file3: #{e}"
end
api_instance = BitbarCloudApiClient::AllEndpointsApi.new
file_id = 789 # Integer |
begin
#Delete sample file.
api_instance.delete_file4(file_id)
rescue BitbarCloudApiClient::ApiError => e
puts "Exception when calling AllEndpointsApi->delete_file4: #{e}"
end
api_instance = BitbarCloudApiClient::AllEndpointsApi.new
file_id = 789 # Integer |
property_id = 789 # Integer |
begin
#Delete file property.
api_instance.delete_file_property(file_id, property_id)
rescue BitbarCloudApiClient::ApiError => e
puts "Exception when calling AllEndpointsApi->delete_file_property: #{e}"
end
api_instance = BitbarCloudApiClient::AllEndpointsApi.new
id = 789 # Integer |
begin
#Delete framework.
api_instance.delete_framework(id)
rescue BitbarCloudApiClient::ApiError => e
puts "Exception when calling AllEndpointsApi->delete_framework: #{e}"
end
api_instance = BitbarCloudApiClient::AllEndpointsApi.new
group_id = 789 # Integer |
label_id = 789 # Integer |
begin
#Delete label.
api_instance.delete_label(group_id, label_id)
rescue BitbarCloudApiClient::ApiError => e
puts "Exception when calling AllEndpointsApi->delete_label: #{e}"
end
api_instance = BitbarCloudApiClient::AllEndpointsApi.new
group_id = 789 # Integer |
begin
#Delete label group.
api_instance.delete_label_group(group_id)
rescue BitbarCloudApiClient::ApiError => e
puts "Exception when calling AllEndpointsApi->delete_label_group: #{e}"
end
api_instance = BitbarCloudApiClient::AllEndpointsApi.new
id = 789 # Integer |
begin
#Delete license.
api_instance.delete_license(id)
rescue BitbarCloudApiClient::ApiError => e
puts "Exception when calling AllEndpointsApi->delete_license: #{e}"
end
api_instance = BitbarCloudApiClient::AllEndpointsApi.new
project_id = 789 # Integer |
begin
#Delete project.
api_instance.delete_project(project_id)
rescue BitbarCloudApiClient::ApiError => e
puts "Exception when calling AllEndpointsApi->delete_project: #{e}"
end
api_instance = BitbarCloudApiClient::AllEndpointsApi.new
project_id = 789 # Integer |
run_id = 789 # Integer |
begin
#Delete test run.
api_instance.delete_project_test_run(project_id, run_id)
rescue BitbarCloudApiClient::ApiError => e
puts "Exception when calling AllEndpointsApi->delete_project_test_run: #{e}"
end
api_instance = BitbarCloudApiClient::AllEndpointsApi.new
id = 789 # Integer |
begin
#Delete property.
api_instance.delete_property(id)
rescue BitbarCloudApiClient::ApiError => e
puts "Exception when calling AllEndpointsApi->delete_property: #{e}"
end
api_instance = BitbarCloudApiClient::AllEndpointsApi.new
user_id = 789 # Integer |
access_group_id = 789 # Integer |
resource_id = 789 # Integer |
begin
#Delete access group resource.
api_instance.delete_resource(user_id, access_group_id, resource_id)
rescue BitbarCloudApiClient::ApiError => e
puts "Exception when calling AllEndpointsApi->delete_resource: #{e}"
end
api_instance = BitbarCloudApiClient::AllEndpointsApi.new
access_group_id = 789 # Integer |
resource_id = 789 # Integer |
begin
#Delete access group resource.
api_instance.delete_resource1(access_group_id, resource_id)
rescue BitbarCloudApiClient::ApiError => e
puts "Exception when calling AllEndpointsApi->delete_resource1: #{e}"
end
api_instance = BitbarCloudApiClient::AllEndpointsApi.new
user_id = 789 # Integer |
account_role_id = 789 # Integer |
begin
#Delete account role.
api_instance.delete_role_from_account(user_id, account_role_id)
rescue BitbarCloudApiClient::ApiError => e
puts "Exception when calling AllEndpointsApi->delete_role_from_account: #{e}"
end
api_instance = BitbarCloudApiClient::AllEndpointsApi.new
user_id = 789 # Integer |
device_group_id = 789 # Integer |
selector_id = 789 # Integer |
begin
#Delete selector from device group.
api_instance.delete_selector_from_device_group(user_id, device_group_id, selector_id)
rescue BitbarCloudApiClient::ApiError => e
puts "Exception when calling AllEndpointsApi->delete_selector_from_device_group: #{e}"
end
api_instance = BitbarCloudApiClient::AllEndpointsApi.new
device_group_id = 789 # Integer |
selector_id = 789 # Integer |
begin
#Delete selector from device group.
api_instance.delete_selector_from_device_group1(device_group_id, selector_id)
rescue BitbarCloudApiClient::ApiError => e
puts "Exception when calling AllEndpointsApi->delete_selector_from_device_group1: #{e}"
end
api_instance = BitbarCloudApiClient::AllEndpointsApi.new
user_id = 789 # Integer |
device_group_id = 789 # Integer |
selector_ids = [56] # Array<Integer> |
begin
#Delete selectors from device group.
api_instance.delete_selectors_from_device_group(user_id, device_group_id, selector_ids)
rescue BitbarCloudApiClient::ApiError => e
puts "Exception when calling AllEndpointsApi->delete_selectors_from_device_group: #{e}"
end
api_instance = BitbarCloudApiClient::AllEndpointsApi.new
device_group_id = 789 # Integer |
selector_ids = [56] # Array<Integer> |
begin
#Delete selectors from device group.
api_instance.delete_selectors_from_device_group1(device_group_id, selector_ids)
rescue BitbarCloudApiClient::ApiError => e
puts "Exception when calling AllEndpointsApi->delete_selectors_from_device_group1: #{e}"
end
api_instance = BitbarCloudApiClient::AllEndpointsApi.new
run_id = 789 # Integer |
opts = {
project_id: 789 # Integer |
}
begin
#Delete test run.
api_instance.delete_test_run(run_id, opts)
rescue BitbarCloudApiClient::ApiError => e
puts "Exception when calling AllEndpointsApi->delete_test_run: #{e}"
end
api_instance = BitbarCloudApiClient::AllEndpointsApi.new
run_id = 789 # Integer |
begin
#Delete test run.
api_instance.delete_test_run1(run_id)
rescue BitbarCloudApiClient::ApiError => e
puts "Exception when calling AllEndpointsApi->delete_test_run1: #{e}"
end
api_instance = BitbarCloudApiClient::AllEndpointsApi.new
user_id = 789 # Integer |
project_id = 789 # Integer |
run_id = 789 # Integer |
tag_id = 789 # Integer |
begin
#Delete test run tag.
api_instance.delete_test_run_tag(user_id, project_id, run_id, tag_id)
rescue BitbarCloudApiClient::ApiError => e
puts "Exception when calling AllEndpointsApi->delete_test_run_tag: #{e}"
end
api_instance = BitbarCloudApiClient::AllEndpointsApi.new
run_id = 789 # Integer |
tag_id = 789 # Integer |
opts = {
project_id: 789 # Integer |
}
begin
#Delete test run tag.
api_instance.delete_test_run_tag1(run_id, tag_id, opts)
rescue BitbarCloudApiClient::ApiError => e
puts "Exception when calling AllEndpointsApi->delete_test_run_tag1: #{e}"
end
api_instance = BitbarCloudApiClient::AllEndpointsApi.new
project_id = 789 # Integer |
run_id = 789 # Integer |
tag_id = 789 # Integer |
begin
#Delete test run tag.
api_instance.delete_test_run_tag_with_project(project_id, run_id, tag_id)
rescue BitbarCloudApiClient::ApiError => e
puts "Exception when calling AllEndpointsApi->delete_test_run_tag_with_project: #{e}"
end
api_instance = BitbarCloudApiClient::AllEndpointsApi.new
user_id = 789 # Integer |
password = 'password_example' # String |
begin
#Delete user.
result = api_instance.delete_user(user_id, password)
p result
rescue BitbarCloudApiClient::ApiError => e
puts "Exception when calling AllEndpointsApi->delete_user: #{e}"
end
api_instance = BitbarCloudApiClient::AllEndpointsApi.new
user_id = 789 # Integer |
access_group_id = 789 # Integer |
participant_id = 789 # Integer |
begin
#Delete access group user.
api_instance.delete_user1(user_id, access_group_id, participant_id)
rescue BitbarCloudApiClient::ApiError => e
puts "Exception when calling AllEndpointsApi->delete_user1: #{e}"
end
api_instance = BitbarCloudApiClient::AllEndpointsApi.new
access_group_id = 789 # Integer |
user_id = 789 # Integer |
begin
#Delete access group user.
api_instance.delete_user2(access_group_id, user_id)
rescue BitbarCloudApiClient::ApiError => e
puts "Exception when calling AllEndpointsApi->delete_user2: #{e}"
end
api_instance = BitbarCloudApiClient::AllEndpointsApi.new
user_id = 789 # Integer |
device_group_id = 789 # Integer |
begin
#Delete device group.
api_instance.delete_user_device_group(user_id, device_group_id)
rescue BitbarCloudApiClient::ApiError => e
puts "Exception when calling AllEndpointsApi->delete_user_device_group: #{e}"
end
api_instance = BitbarCloudApiClient::AllEndpointsApi.new
user_id = 789 # Integer |
id = 789 # Integer |
begin
#Delete notification.
api_instance.delete_user_notification_email(user_id, id)
rescue BitbarCloudApiClient::ApiError => e
puts "Exception when calling AllEndpointsApi->delete_user_notification_email: #{e}"
end
api_instance = BitbarCloudApiClient::AllEndpointsApi.new
user_id = 789 # Integer |
project_id = 789 # Integer |
begin
#Delete project.
api_instance.delete_user_project(user_id, project_id)
rescue BitbarCloudApiClient::ApiError => e
puts "Exception when calling AllEndpointsApi->delete_user_project: #{e}"
end
api_instance = BitbarCloudApiClient::AllEndpointsApi.new
user_id = 789 # Integer |
project_id = 789 # Integer |
run_id = 789 # Integer |
begin
#Delete test run.
api_instance.delete_user_test_run(user_id, project_id, run_id)
rescue BitbarCloudApiClient::ApiError => e
puts "Exception when calling AllEndpointsApi->delete_user_test_run: #{e}"
end
api_instance = BitbarCloudApiClient::AllEndpointsApi.new
user_id = 789 # Integer |
begin
#Delete all user test runs.
api_instance.delete_user_test_runs(user_id)
rescue BitbarCloudApiClient::ApiError => e
puts "Exception when calling AllEndpointsApi->delete_user_test_runs: #{e}"
end
api_instance = BitbarCloudApiClient::AllEndpointsApi.new
user_id = 789 # Integer |
additional_user_id = 789 # Integer |
begin
#Disable additional user.
result = api_instance.disable_additional_user(user_id, additional_user_id)
p result
rescue BitbarCloudApiClient::ApiError => e
puts "Exception when calling AllEndpointsApi->disable_additional_user: #{e}"
end
api_instance = BitbarCloudApiClient::AllEndpointsApi.new
user_id = 789 # Integer |
begin
#Disable user.
result = api_instance.disable_user(user_id)
p result
rescue BitbarCloudApiClient::ApiError => e
puts "Exception when calling AllEndpointsApi->disable_user: #{e}"
end
api_instance = BitbarCloudApiClient::AllEndpointsApi.new
user_id = 789 # Integer |
file_id = 789 # Integer |
begin
#Download icon of file.
api_instance.download_icon_file(user_id, file_id)
rescue BitbarCloudApiClient::ApiError => e
puts "Exception when calling AllEndpointsApi->download_icon_file: #{e}"
end
api_instance = BitbarCloudApiClient::AllEndpointsApi.new
file_id = 789 # Integer |
begin
#Download icon of file.
api_instance.download_icon_file1(file_id)
rescue BitbarCloudApiClient::ApiError => e
puts "Exception when calling AllEndpointsApi->download_icon_file1: #{e}"
end
api_instance = BitbarCloudApiClient::AllEndpointsApi.new
id = 789 # Integer |
begin
#Get license.
api_instance.download_license(id)
rescue BitbarCloudApiClient::ApiError => e
puts "Exception when calling AllEndpointsApi->download_license: #{e}"
end
api_instance = BitbarCloudApiClient::AllEndpointsApi.new
user_id = 789 # Integer |
device_session_id = 789 # Integer |
begin
#Get device session output files.zip.
api_instance.download_output_files_zip(user_id, device_session_id)
rescue BitbarCloudApiClient::ApiError => e
puts "Exception when calling AllEndpointsApi->download_output_files_zip: #{e}"
end
api_instance = BitbarCloudApiClient::AllEndpointsApi.new
device_session_id = 789 # Integer |
begin
#Get device session output files.zip.
api_instance.download_output_files_zip1(device_session_id)
rescue BitbarCloudApiClient::ApiError => e
puts "Exception when calling AllEndpointsApi->download_output_files_zip1: #{e}"
end
api_instance = BitbarCloudApiClient::AllEndpointsApi.new
user_id = 789 # Integer |
project_id = 789 # Integer |
run_id = 789 # Integer |
device_session_id = 789 # Integer |
begin
#Get device session output files.zip.
api_instance.download_test_run_output_files_zip(user_id, project_id, run_id, device_session_id)
rescue BitbarCloudApiClient::ApiError => e
puts "Exception when calling AllEndpointsApi->download_test_run_output_files_zip: #{e}"
end
api_instance = BitbarCloudApiClient::AllEndpointsApi.new
run_id = 789 # Integer |
device_session_id = 789 # Integer |
begin
#Get device session output files.zip.
api_instance.download_test_run_output_files_zip1(run_id, device_session_id)
rescue BitbarCloudApiClient::ApiError => e
puts "Exception when calling AllEndpointsApi->download_test_run_output_files_zip1: #{e}"
end
api_instance = BitbarCloudApiClient::AllEndpointsApi.new
project_id = 789 # Integer |
run_id = 789 # Integer |
device_session_id = 789 # Integer |
begin
#Get device session output files.zip.
api_instance.download_test_run_output_files_zip2(project_id, run_id, device_session_id)
rescue BitbarCloudApiClient::ApiError => e
puts "Exception when calling AllEndpointsApi->download_test_run_output_files_zip2: #{e}"
end
api_instance = BitbarCloudApiClient::AllEndpointsApi.new
user_id = 789 # Integer |
file_id = 789 # Integer |
opts = {
width: 56, # Integer |
height: 56 # Integer |
}
begin
#Download file.
api_instance.download_user_file(user_id, file_id, opts)
rescue BitbarCloudApiClient::ApiError => e
puts "Exception when calling AllEndpointsApi->download_user_file: #{e}"
end
api_instance = BitbarCloudApiClient::AllEndpointsApi.new
file_id = 789 # Integer |
opts = {
width: 56, # Integer |
height: 56 # Integer |
}
begin
#Download file.
api_instance.download_user_file1(file_id, opts)
rescue BitbarCloudApiClient::ApiError => e
puts "Exception when calling AllEndpointsApi->download_user_file1: #{e}"
end
api_instance = BitbarCloudApiClient::AllEndpointsApi.new
user_id = 789 # Integer |
additional_user_id = 789 # Integer |
begin
#Enable additional user.
result = api_instance.enable_additional_user(user_id, additional_user_id)
p result
rescue BitbarCloudApiClient::ApiError => e
puts "Exception when calling AllEndpointsApi->enable_additional_user: #{e}"
end
api_instance = BitbarCloudApiClient::AllEndpointsApi.new
user_id = 789 # Integer |
begin
#Enable user.
result = api_instance.enable_user(user_id)
p result
rescue BitbarCloudApiClient::ApiError => e
puts "Exception when calling AllEndpointsApi->enable_user: #{e}"
end
api_instance = BitbarCloudApiClient::AllEndpointsApi.new
email = 'email_example' # String |
begin
#Generate recovery key.
result = api_instance.generate_recovery_key_for_user(email)
p result
rescue BitbarCloudApiClient::ApiError => e
puts "Exception when calling AllEndpointsApi->generate_recovery_key_for_user: #{e}"
end
api_instance = BitbarCloudApiClient::AllEndpointsApi.new
user_id = 789 # Integer |
opts = {
active: true # BOOLEAN |
}
begin
#Get users tunnels.
result = api_instance.get(user_id, opts)
p result
rescue BitbarCloudApiClient::ApiError => e
puts "Exception when calling AllEndpointsApi->get: #{e}"
end
api_instance = BitbarCloudApiClient::AllEndpointsApi.new
user_id = 789 # Integer |
access_group_id = 789 # Integer |
begin
#Get access group.
result = api_instance.get1(user_id, access_group_id)
p result
rescue BitbarCloudApiClient::ApiError => e
puts "Exception when calling AllEndpointsApi->get1: #{e}"
end
api_instance = BitbarCloudApiClient::AllEndpointsApi.new
access_group_id = 789 # Integer |
begin
#Get access group.
result = api_instance.get2(access_group_id)
p result
rescue BitbarCloudApiClient::ApiError => e
puts "Exception when calling AllEndpointsApi->get2: #{e}"
end
api_instance = BitbarCloudApiClient::AllEndpointsApi.new
user_id = 789 # Integer |
begin
#Get account.
result = api_instance.get_account(user_id)
p result
rescue BitbarCloudApiClient::ApiError => e
puts "Exception when calling AllEndpointsApi->get_account: #{e}"
end
api_instance = BitbarCloudApiClient::AllEndpointsApi.new
account_id = 789 # Integer |
opts = {
with_dedicated_devices_info: false # BOOLEAN |
}
begin
#Get account.
result = api_instance.get_account1(account_id, opts)
p result
rescue BitbarCloudApiClient::ApiError => e
puts "Exception when calling AllEndpointsApi->get_account1: #{e}"
end
api_instance = BitbarCloudApiClient::AllEndpointsApi.new
account_id = 789 # Integer |
begin
#Get account concurrency status.
result = api_instance.get_account_concurrency_status(account_id)
p result
rescue BitbarCloudApiClient::ApiError => e
puts "Exception when calling AllEndpointsApi->get_account_concurrency_status: #{e}"
end
api_instance = BitbarCloudApiClient::AllEndpointsApi.new
opts = {
with_dedicated_devices_info: false, # BOOLEAN |
only_with_dedicated_devices: false, # BOOLEAN |
sort: '', # String | sort parameter contains list of fields used for sort query result <br> examples: <br> sort=createTime_a<br>sort=mainUserFirstName_a<br>sort=mainUserEmail_a<br>sort=id_a<br>sort=mainUserLastName_a
filter: '', # String | filter parameter contains list of fields used for filter query result <br> examples: <br> filter=createtime_eq_1700230366167<br>filter=mainuserfirstname_eq_value<br>filter=mainuseremail_eq_value<br>filter=id_eq_1<br>filter=mainuserlastname_eq_value
offset: '0', # String | offset parameter define page number
limit: '20' # String | limit parameter define page size
}
begin
#Get accounts.
result = api_instance.get_account_list(opts)
p result
rescue BitbarCloudApiClient::ApiError => e
puts "Exception when calling AllEndpointsApi->get_account_list: #{e}"
end
api_instance = BitbarCloudApiClient::AllEndpointsApi.new
account_id = 789 # Integer |
begin
#Get account preferences.
result = api_instance.get_account_preferences(account_id)
p result
rescue BitbarCloudApiClient::ApiError => e
puts "Exception when calling AllEndpointsApi->get_account_preferences: #{e}"
end
api_instance = BitbarCloudApiClient::AllEndpointsApi.new
user_id = 789 # Integer |
opts = {
sort: '', # String | sort parameter contains list of fields used for sort query result <br> examples: <br>
filter: '', # String | filter parameter contains list of fields used for filter query result <br> examples: <br> filter=name_eq_admin<br>filter=id_eq_1
offset: '0', # String | offset parameter define page number
limit: '20' # String | limit parameter define page size
}
begin
#Get account roles.
result = api_instance.get_account_roles(user_id, opts)
p result
rescue BitbarCloudApiClient::ApiError => e
puts "Exception when calling AllEndpointsApi->get_account_roles: #{e}"
end
api_instance = BitbarCloudApiClient::AllEndpointsApi.new
user_id = 789 # Integer |
account_service_id = 789 # Integer |
opts = {
on_date: 789 # Integer |
}
begin
#Get billing information.
result = api_instance.get_account_service_payment(user_id, account_service_id, opts)
p result
rescue BitbarCloudApiClient::ApiError => e
puts "Exception when calling AllEndpointsApi->get_account_service_payment: #{e}"
end
api_instance = BitbarCloudApiClient::AllEndpointsApi.new
opts = {
sort: '', # String | sort parameter contains list of fields used for sort query result <br> examples: <br> sort=chargeType_a<br>sort=active_a<br>sort=activatedByName_a<br>sort=serviceName_a<br>sort=deactivatedByName_a<br>sort=accountId_a<br>sort=cbtId_a<br>sort=price_a<br>sort=autoRenew_a<br>sort=paymentMethod_a<br>sort=startTime_a<br>sort=_endTime_a<br>sort=id_a
filter: '', # String | filter parameter contains list of fields used for filter query result <br> examples: <br> filter=deactivatereason_eq_initial_failure<br>filter=chargetype_eq_concurrency<br>filter=active_eq_true<br>filter=activatedbyname_eq_value<br>filter=servicename_eq_value<br>filter=deactivatedbyname_eq_value<br>filter=accountid_eq_1<br>filter=cbtid_eq_value<br>filter=price_eq_1<br>filter=autorenew_eq_true<br>filter=paymentmethod_eq_paypal<br>filter=starttime_eq_1700230366179<br>filter=_endtime_eq_1700230366179<br>filter=id_eq_1
offset: '0', # String | offset parameter define page number
limit: '20' # String | limit parameter define page size
}
begin
#Get account services.
result = api_instance.get_account_services(opts)
p result
rescue BitbarCloudApiClient::ApiError => e
puts "Exception when calling AllEndpointsApi->get_account_services: #{e}"
end
api_instance = BitbarCloudApiClient::AllEndpointsApi.new
opts = {
sort: '', # String | sort parameter contains list of fields used for sort query result <br> examples: <br> sort=createTime_a<br>sort=userAgent_a<br>sort=userEmail_a<br>sort=id_a<br>sort=body_a<br>sort=httpMethod_a<br>sort=parameters_a<br>sort=uri_a<br>sort=userId_a<br>sort=deprecatedResource_a<br>sort=accept_a
filter: '', # String | filter parameter contains list of fields used for filter query result <br> examples: <br> filter=createtime_eq_1700230366162<br>filter=useragent_eq_value<br>filter=useremail_eq_value<br>filter=id_eq_1<br>filter=body_eq_value<br>filter=httpmethod_eq_get<br>filter=parameters_eq_value<br>filter=uri_eq_value<br>filter=userid_eq_1<br>filter=deprecatedresource_eq_true<br>filter=accept_eq_value
offset: '0', # String | offset parameter define page number
limit: '20' # String | limit parameter define page size
}
begin
#Get activities.
result = api_instance.get_activities(opts)
p result
rescue BitbarCloudApiClient::ApiError => e
puts "Exception when calling AllEndpointsApi->get_activities: #{e}"
end
api_instance = BitbarCloudApiClient::AllEndpointsApi.new
user_id = 789 # Integer |
opts = {
sort: '', # String | sort parameter contains list of fields used for sort query result <br> examples: <br> sort=lastName_a<br>sort=mainUserEmail_a<br>sort=accountId_a<br>sort=firstName_a<br>sort=serviceIds_a<br>sort=mainUserId_a<br>sort=createTime_a<br>sort=deleteTime_a<br>sort=accountServiceIds_a<br>sort=id_a<br>sort=email_a<br>sort=status_a
filter: '', # String | filter parameter contains list of fields used for filter query result <br> examples: <br> filter=lastname_eq_value<br>filter=mainuseremail_eq_value<br>filter=accountid_eq_1<br>filter=firstname_eq_value<br>filter=serviceids_eq_1<br>filter=mainuserid_eq_1<br>filter=createtime_eq_1700230364459<br>filter=deletetime_eq_1700230364459<br>filter=accountserviceids_eq_1<br>filter=ismainuser_eq_true<br>filter=id_eq_1<br>filter=email_eq_value<br>filter=status_eq_inactive
offset: '0', # String | offset parameter define page number
limit: '20' # String | limit parameter define page size
}
begin
#Get additional users.
result = api_instance.get_additional_users(user_id, opts)
p result
rescue BitbarCloudApiClient::ApiError => e
puts "Exception when calling AllEndpointsApi->get_additional_users: #{e}"
end
api_instance = BitbarCloudApiClient::AllEndpointsApi.new
device_id = 789 # Integer |
begin
#Get device.
result = api_instance.get_admin_device(device_id)
p result
rescue BitbarCloudApiClient::ApiError => e
puts "Exception when calling AllEndpointsApi->get_admin_device: #{e}"
end
api_instance = BitbarCloudApiClient::AllEndpointsApi.new
opts = {
days: 30 # Integer |
}
begin
#Get device session statistics.
result = api_instance.get_admin_test_runs(opts)
p result
rescue BitbarCloudApiClient::ApiError => e
puts "Exception when calling AllEndpointsApi->get_admin_test_runs: #{e}"
end
api_instance = BitbarCloudApiClient::AllEndpointsApi.new
opts = {
sort: '', # String | sort parameter contains list of fields used for sort query result <br> examples: <br> sort=frameworkId_a<br>sort=frameworkName_a<br>sort=deviceCount_a<br>sort=displayName_a<br>sort=executionRatio_a<br>sort=successRatio_a<br>sort=userId_a<br>sort=common_a<br>sort=createTime_a<br>sort=startTime_a<br>sort=id_a<br>sort=state_a<br>sort=projectId_a
filter: '', # String | filter parameter contains list of fields used for filter query result <br> examples: <br> filter=frameworkid_eq_1<br>filter=frameworkname_eq_value<br>filter=displayname_eq_value<br>filter=successratio_eq_1<br>filter=userid_eq_1<br>filter=common_eq_true<br>filter=createtime_eq_1700230365771<br>filter=starttime_eq_1700230365771<br>filter=id_eq_1<br>filter=projectid_eq_1
offset: '0', # String | offset parameter define page number
limit: '20' # String | limit parameter define page size
}
begin
#Get test runs.
result = api_instance.get_admin_test_runs1(opts)
p result
rescue BitbarCloudApiClient::ApiError => e
puts "Exception when calling AllEndpointsApi->get_admin_test_runs1: #{e}"
end
api_instance = BitbarCloudApiClient::AllEndpointsApi.new
opts = {
sort: '', # String | sort parameter contains list of fields used for sort query result <br> examples: <br> sort=additionalHoursPrice_a<br>sort=mail_a<br>sort=totalPrice_a<br>sort=startBillingPeriod_a<br>sort=userId_a<br>sort=_endBillingPeriod_a<br>sort=subscriptionEnd_a<br>sort=createTime_a<br>sort=servicePrice_a<br>sort=lastPaymentDate_a<br>sort=subscriptionStart_a<br>sort=additionalHours_a<br>sort=paymentMethod_a<br>sort=id_a<br>sort=additionalHoursPaymentDate_a<br>sort=paymentDate_a<br>sort=plan_a
filter: '', # String | filter parameter contains list of fields used for filter query result <br> examples: <br> filter=additionalhoursprice_eq_1<br>filter=mail_eq_value<br>filter=totalprice_eq_1<br>filter=startbillingperiod_eq_1700230366157<br>filter=userid_eq_1<br>filter=_endbillingperiod_eq_1700230366157<br>filter=subscriptionend_eq_1700230366157<br>filter=createtime_eq_1700230366157<br>filter=serviceprice_eq_1<br>filter=lastpaymentdate_eq_1700230366157<br>filter=paid_eq_true<br>filter=subscriptionstart_eq_1700230366157<br>filter=additionalhours_eq_1<br>filter=paymentmethod_eq_paypal<br>filter=id_eq_1<br>filter=plan_eq_value
offset: '0', # String | offset parameter define page number
limit: '20' # String | limit parameter define page size
}
begin
#Get billing periods.
result = api_instance.get_all_billing_periods(opts)
p result
rescue BitbarCloudApiClient::ApiError => e
puts "Exception when calling AllEndpointsApi->get_all_billing_periods: #{e}"
end
api_instance = BitbarCloudApiClient::AllEndpointsApi.new
user_id = 789 # Integer |
project_id = 789 # Integer |
run_id = 789 # Integer |
opts = {
sort: '', # String | sort parameter contains list of fields used for sort query result <br> examples: <br> sort=finishTimeMS_a<br>sort=deviceSessionId_a<br>sort=testRunId_a<br>sort=startTimeMS_a<br>sort=id_a
filter: '', # String | filter parameter contains list of fields used for filter query result <br> examples: <br> filter=finishtimems_eq_1<br>filter=devicesessionid_eq_1<br>filter=testrunid_eq_1<br>filter=starttimems_eq_1<br>filter=id_eq_1
offset: '0', # String | offset parameter define page number
limit: '20' # String | limit parameter define page size
}
begin
#Get device session steps of all device sessions in run.
result = api_instance.get_all_test_run_device_session_steps(user_id, project_id, run_id, opts)
p result
rescue BitbarCloudApiClient::ApiError => e
puts "Exception when calling AllEndpointsApi->get_all_test_run_device_session_steps: #{e}"
end
api_instance = BitbarCloudApiClient::AllEndpointsApi.new
run_id = 789 # Integer |
opts = {
sort: '', # String | sort parameter contains list of fields used for sort query result <br> examples: <br> sort=finishTimeMS_a<br>sort=deviceSessionId_a<br>sort=testRunId_a<br>sort=startTimeMS_a<br>sort=id_a
filter: '', # String | filter parameter contains list of fields used for filter query result <br> examples: <br> filter=finishtimems_eq_1<br>filter=devicesessionid_eq_1<br>filter=testrunid_eq_1<br>filter=starttimems_eq_1<br>filter=id_eq_1
offset: '0', # String | offset parameter define page number
limit: '20' # String | limit parameter define page size
}
begin
#Get device session steps of all device sessions in run.
result = api_instance.get_all_test_run_device_session_steps1(run_id, opts)
p result
rescue BitbarCloudApiClient::ApiError => e
puts "Exception when calling AllEndpointsApi->get_all_test_run_device_session_steps1: #{e}"
end
api_instance = BitbarCloudApiClient::AllEndpointsApi.new
project_id = 789 # Integer |
run_id = 789 # Integer |
opts = {
sort: '', # String | sort parameter contains list of fields used for sort query result <br> examples: <br> sort=finishTimeMS_a<br>sort=deviceSessionId_a<br>sort=testRunId_a<br>sort=startTimeMS_a<br>sort=id_a
filter: '', # String | filter parameter contains list of fields used for filter query result <br> examples: <br> filter=finishtimems_eq_1<br>filter=devicesessionid_eq_1<br>filter=testrunid_eq_1<br>filter=starttimems_eq_1<br>filter=id_eq_1
offset: '0', # String | offset parameter define page number
limit: '20' # String | limit parameter define page size
}
begin
#Get device session steps of all device sessions in run.
result = api_instance.get_all_test_run_device_session_steps2(project_id, run_id, opts)
p result
rescue BitbarCloudApiClient::ApiError => e
puts "Exception when calling AllEndpointsApi->get_all_test_run_device_session_steps2: #{e}"
end
api_instance = BitbarCloudApiClient::AllEndpointsApi.new
group_id = 789 # Integer |
label_id = 789 # Integer |
begin
#Get label.
result = api_instance.get_api_label(group_id, label_id)
p result
rescue BitbarCloudApiClient::ApiError => e
puts "Exception when calling AllEndpointsApi->get_api_label: #{e}"
end
api_instance = BitbarCloudApiClient::AllEndpointsApi.new
group_id = 789 # Integer |
begin
#Get label group.
result = api_instance.get_api_label_group(group_id)
p result
rescue BitbarCloudApiClient::ApiError => e
puts "Exception when calling AllEndpointsApi->get_api_label_group: #{e}"
end
api_instance = BitbarCloudApiClient::AllEndpointsApi.new
id = 789 # Integer |
begin
#Get property.
result = api_instance.get_api_property(id)
p result
rescue BitbarCloudApiClient::ApiError => e
puts "Exception when calling AllEndpointsApi->get_api_property: #{e}"
end
api_instance = BitbarCloudApiClient::AllEndpointsApi.new
user_id = 789 # Integer |
opts = {
sort: '', # String | sort parameter contains list of fields used for sort query result <br> examples: <br> sort=canRunFromUI_a<br>sort=retryable_a<br>sort=skipQueue_a<br>sort=forProjects_a<br>sort=description_a<br>sort=mainUserEmail_a<br>sort=type_a<br>sort=accountId_a<br>sort=labelId_a<br>sort=createTime_a<br>sort=jobConfigId_a<br>sort=name_a<br>sort=osType_a<br>sort=id_a<br>sort=labelName_a<br>sort=secured_a<br>sort=skipOlderSdk_a
filter: '', # String | filter parameter contains list of fields used for filter query result <br> examples: <br> filter=canrunfromui_eq_true<br>filter=retryable_eq_true<br>filter=skipqueue_eq_true<br>filter=forprojects_eq_true<br>filter=description_eq_value<br>filter=mainuseremail_eq_value<br>filter=type_eq_value<br>filter=accountid_eq_1<br>filter=labelid_eq_1<br>filter=createtime_eq_1700230364439<br>filter=jobconfigid_eq_1<br>filter=name_eq_value<br>filter=ostype_eq_ios<br>filter=id_eq_1<br>filter=labelname_eq_value<br>filter=secured_eq_true<br>filter=skipoldersdk_eq_true
offset: '0', # String | offset parameter define page number
limit: '20' # String | limit parameter define page size
}
begin
#Get available frameworks.
result = api_instance.get_available_frameworks(user_id, opts)
p result
rescue BitbarCloudApiClient::ApiError => e
puts "Exception when calling AllEndpointsApi->get_available_frameworks: #{e}"
end
api_instance = BitbarCloudApiClient::AllEndpointsApi.new
user_id = 789 # Integer |
opts = {
sort: '', # String | sort parameter contains list of fields used for sort query result <br> examples: <br> sort=archiveTime_a<br>sort=chargeType_a<br>sort=activateTime_a<br>sort=description_a<br>sort=pricePerHour_a<br>sort=centPrice_a<br>sort=customPlan_a<br>sort=includedHours_a<br>sort=name_a<br>sort=autoRenew_a<br>sort=commonId_a<br>sort=id_a<br>sort=activated_a
filter: '', # String | filter parameter contains list of fields used for filter query result <br> examples: <br> filter=archivetime_eq_1700230363752<br>filter=chargetype_eq_concurrency<br>filter=activatetime_eq_1700230363752<br>filter=description_eq_value<br>filter=priceperhour_eq_1<br>filter=centprice_eq_1<br>filter=customplan_eq_true<br>filter=includedhours_eq_1<br>filter=name_eq_value<br>filter=autorenew_eq_true<br>filter=commonid_eq_value<br>filter=id_eq_1<br>filter=activated_eq_true
offset: '0', # String | offset parameter define page number
limit: '20' # String | limit parameter define page size
}
begin
#Get available services.
result = api_instance.get_available_services(user_id, opts)
p result
rescue BitbarCloudApiClient::ApiError => e
puts "Exception when calling AllEndpointsApi->get_available_services: #{e}"
end
api_instance = BitbarCloudApiClient::AllEndpointsApi.new
opts = {
sort: '', # String | sort parameter contains list of fields used for sort query result <br> examples: <br> sort=archiveTime_a<br>sort=chargeType_a<br>sort=activateTime_a<br>sort=description_a<br>sort=pricePerHour_a<br>sort=centPrice_a<br>sort=customPlan_a<br>sort=includedHours_a<br>sort=name_a<br>sort=autoRenew_a<br>sort=commonId_a<br>sort=id_a<br>sort=activated_a
filter: '', # String | filter parameter contains list of fields used for filter query result <br> examples: <br> filter=archivetime_eq_1700230364570<br>filter=chargetype_eq_concurrency<br>filter=activatetime_eq_1700230364571<br>filter=description_eq_value<br>filter=priceperhour_eq_1<br>filter=centprice_eq_1<br>filter=customplan_eq_true<br>filter=includedhours_eq_1<br>filter=name_eq_value<br>filter=autorenew_eq_true<br>filter=commonid_eq_value<br>filter=id_eq_1<br>filter=activated_eq_true
offset: '0', # String | offset parameter define page number
limit: '20' # String | limit parameter define page size
}
begin
#Get available services.
result = api_instance.get_available_services1(opts)
p result
rescue BitbarCloudApiClient::ApiError => e
puts "Exception when calling AllEndpointsApi->get_available_services1: #{e}"
end
api_instance = BitbarCloudApiClient::AllEndpointsApi.new
test_run_id = 789 # Integer |
begin
#Get property of banned application.
result = api_instance.get_ban_application(test_run_id)
p result
rescue BitbarCloudApiClient::ApiError => e
puts "Exception when calling AllEndpointsApi->get_ban_application: #{e}"
end
api_instance = BitbarCloudApiClient::AllEndpointsApi.new
user_id = 789 # Integer |
billing_period_id = 789 # Integer |
begin
#Get billing period.
result = api_instance.get_billing_period(user_id, billing_period_id)
p result
rescue BitbarCloudApiClient::ApiError => e
puts "Exception when calling AllEndpointsApi->get_billing_period: #{e}"
end
api_instance = BitbarCloudApiClient::AllEndpointsApi.new
id = 789 # Integer |
begin
#Get browser.
result = api_instance.get_browser(id)
p result
rescue BitbarCloudApiClient::ApiError => e
puts "Exception when calling AllEndpointsApi->get_browser: #{e}"
end
api_instance = BitbarCloudApiClient::AllEndpointsApi.new
opts = {
sort: '', # String | sort parameter contains list of fields used for sort query result <br> examples: <br> sort=displayName_a<br>sort=name_a<br>sort=id_a
filter: '', # String | filter parameter contains list of fields used for filter query result <br> examples: <br> filter=displayname_eq_value<br>filter=name_eq_value<br>filter=id_eq_1<br>filter=version_eq_value
offset: '0', # String | offset parameter define page number
limit: '20' # String | limit parameter define page size
}
begin
#Get browsers.
result = api_instance.get_browsers(opts)
p result
rescue BitbarCloudApiClient::ApiError => e
puts "Exception when calling AllEndpointsApi->get_browsers: #{e}"
end
api_instance = BitbarCloudApiClient::AllEndpointsApi.new
channel = 'channel_example' # String |
begin
#Get notification scopes for user and channel.
result = api_instance.get_channel_scopes(channel)
p result
rescue BitbarCloudApiClient::ApiError => e
puts "Exception when calling AllEndpointsApi->get_channel_scopes: #{e}"
end
api_instance = BitbarCloudApiClient::AllEndpointsApi.new
begin
#Get notification channels.
result = api_instance.get_channels
p result
rescue BitbarCloudApiClient::ApiError => e
puts "Exception when calling AllEndpointsApi->get_channels: #{e}"
end
api_instance = BitbarCloudApiClient::AllEndpointsApi.new
id = 789 # Integer |
opts = {
with_devices: true # BOOLEAN |
}
begin
#Get cluster.
result = api_instance.get_cluster_by_id(id, opts)
p result
rescue BitbarCloudApiClient::ApiError => e
puts "Exception when calling AllEndpointsApi->get_cluster_by_id: #{e}"
end
api_instance = BitbarCloudApiClient::AllEndpointsApi.new
id = 789 # Integer |
opts = {
sort: '', # String | sort parameter contains list of fields used for sort query result <br> examples: <br> sort=stateChangeTime_a<br>sort=cluster.name_a<br>sort=mainUserEmail_a<br>sort=enabled_a<br>sort=manufacturer_a<br>sort=accountId_a<br>sort=mainUserId_a<br>sort=serialId_a<br>sort=stateTime_a<br>sort=deviceModelId_a<br>sort=fingerprint_a<br>sort=name_a<br>sort=dedicationEndTime_a<br>sort=id_a<br>sort=state_a
filter: '', # String | filter parameter contains list of fields used for filter query result <br> examples: <br> filter=statechangetime_eq_1700230365659<br>filter=cluster.name_eq_value<br>filter=mainuseremail_eq_value<br>filter=enabled_eq_true<br>filter=platform_eq_ios<br>filter=manufacturer_eq_value<br>filter=accountid_eq_1<br>filter=mainuserid_eq_1<br>filter=serialid_eq_value<br>filter=statetime_eq_1700230365659<br>filter=devicemodelid_eq_1<br>filter=fingerprint_eq_value<br>filter=name_eq_value<br>filter=ostype_eq_ios<br>filter=dedicationendtime_eq_1700230365659<br>filter=devicecleanupconfigurationid_eq_1<br>filter=id_eq_1<br>filter=state_eq_offline_cleaning<br>filter=locked_eq_true
offset: '0', # String | offset parameter define page number
limit: '20' # String | limit parameter define page size
}
begin
#Get cluster devices.
result = api_instance.get_cluster_devices(id, opts)
p result
rescue BitbarCloudApiClient::ApiError => e
puts "Exception when calling AllEndpointsApi->get_cluster_devices: #{e}"
end
api_instance = BitbarCloudApiClient::AllEndpointsApi.new
opts = {
sort: '', # String | sort parameter contains list of fields used for sort query result <br> examples: <br> sort=stateChangeTime_a<br>sort=ipAddress_a<br>sort=jenkinsVersion_a<br>sort=type_a<br>sort=enabled_a<br>sort=url_a<br>sort=pluginVersion_a<br>sort=stateTime_a<br>sort=name_a<br>sort=location_a<br>sort=id_a<br>sort=state_a<br>sort=region_a
filter: '', # String | filter parameter contains list of fields used for filter query result <br> examples: <br> filter=statechangetime_eq_1700230365631<br>filter=ipaddress_eq_value<br>filter=jenkinsversion_eq_value<br>filter=type_eq_bare_metal<br>filter=enabled_eq_true<br>filter=url_eq_value<br>filter=pluginversion_eq_value<br>filter=statetime_eq_1700230365631<br>filter=name_eq_value<br>filter=location_eq_value<br>filter=id_eq_1<br>filter=state_eq_offline<br>filter=region_eq_value
offset: '0', # String | offset parameter define page number
limit: '20' # String | limit parameter define page size
}
begin
#Get clusters.
result = api_instance.get_clusters(opts)
p result
rescue BitbarCloudApiClient::ApiError => e
puts "Exception when calling AllEndpointsApi->get_clusters: #{e}"
end
api_instance = BitbarCloudApiClient::AllEndpointsApi.new
opts = {
sort: '', # String | sort parameter contains list of fields used for sort query result <br> examples: <br> sort=id_a
filter: '', # String | filter parameter contains list of fields used for filter query result <br> examples: <br> filter=id_eq_1
offset: '0', # String | offset parameter define page number
limit: '20' # String | limit parameter define page size
}
begin
#Get device model criteria.
result = api_instance.get_criteria(opts)
p result
rescue BitbarCloudApiClient::ApiError => e
puts "Exception when calling AllEndpointsApi->get_criteria: #{e}"
end
api_instance = BitbarCloudApiClient::AllEndpointsApi.new
user_id = 789 # Integer |
project_id = 789 # Integer |
run_id = 789 # Integer |
device_session_id = 789 # Integer |
begin
#Get current device session step.
result = api_instance.get_current_device_session_step(user_id, project_id, run_id, device_session_id)
p result
rescue BitbarCloudApiClient::ApiError => e
puts "Exception when calling AllEndpointsApi->get_current_device_session_step: #{e}"
end
api_instance = BitbarCloudApiClient::AllEndpointsApi.new
run_id = 789 # Integer |
device_session_id = 789 # Integer |
begin
#Get current device session step.
result = api_instance.get_current_device_session_step1(run_id, device_session_id)
p result
rescue BitbarCloudApiClient::ApiError => e
puts "Exception when calling AllEndpointsApi->get_current_device_session_step1: #{e}"
end
api_instance = BitbarCloudApiClient::AllEndpointsApi.new
project_id = 789 # Integer |
run_id = 789 # Integer |
device_session_id = 789 # Integer |
begin
#Get current device session step.
result = api_instance.get_current_device_session_step2(project_id, run_id, device_session_id)
p result
rescue BitbarCloudApiClient::ApiError => e
puts "Exception when calling AllEndpointsApi->get_current_device_session_step2: #{e}"
end
api_instance = BitbarCloudApiClient::AllEndpointsApi.new
device_session_id = 789 # Integer |
begin
#Get current device session step.
result = api_instance.get_current_device_session_step3(device_session_id)
p result
rescue BitbarCloudApiClient::ApiError => e
puts "Exception when calling AllEndpointsApi->get_current_device_session_step3: #{e}"
end
api_instance = BitbarCloudApiClient::AllEndpointsApi.new
begin
#Get desktop browser capabilities.
result = api_instance.get_desktop_browser_capabilities
p result
rescue BitbarCloudApiClient::ApiError => e
puts "Exception when calling AllEndpointsApi->get_desktop_browser_capabilities: #{e}"
end
api_instance = BitbarCloudApiClient::AllEndpointsApi.new
device_id = 789 # Integer |
opts = {
with_dedicated: false, # BOOLEAN |
with_disabled: false, # BOOLEAN |
with_browsers: false # BOOLEAN |
}
begin
#Get device.
result = api_instance.get_device(device_id, opts)
p result
rescue BitbarCloudApiClient::ApiError => e
puts "Exception when calling AllEndpointsApi->get_device: #{e}"
end
api_instance = BitbarCloudApiClient::AllEndpointsApi.new
device_id = 789 # Integer |
opts = {
sort: '', # String | sort parameter contains list of fields used for sort query result <br> examples: <br> sort=displayName_a<br>sort=name_a<br>sort=id_a
filter: '', # String | filter parameter contains list of fields used for filter query result <br> examples: <br> filter=displayname_eq_value<br>filter=name_eq_value<br>filter=id_eq_1<br>filter=version_eq_value
offset: '0', # String | offset parameter define page number
limit: '20' # String | limit parameter define page size
}
begin
#Get device browsers.
result = api_instance.get_device_browsers(device_id, opts)
p result
rescue BitbarCloudApiClient::ApiError => e
puts "Exception when calling AllEndpointsApi->get_device_browsers: #{e}"
end
api_instance = BitbarCloudApiClient::AllEndpointsApi.new
device_id = 789 # Integer |
begin
#Get device specific cleanup configuration.
result = api_instance.get_device_cleanup_configuration(device_id)
p result
rescue BitbarCloudApiClient::ApiError => e
puts "Exception when calling AllEndpointsApi->get_device_cleanup_configuration: #{e}"
end
api_instance = BitbarCloudApiClient::AllEndpointsApi.new
id = 789 # Integer |
begin
#Get device cleanup configuration.
result = api_instance.get_device_cleanup_configuration1(id)
p result
rescue BitbarCloudApiClient::ApiError => e
puts "Exception when calling AllEndpointsApi->get_device_cleanup_configuration1: #{e}"
end
api_instance = BitbarCloudApiClient::AllEndpointsApi.new
opts = {
sort: '', # String | sort parameter contains list of fields used for sort query result <br> examples: <br> sort=createdByEmail_a<br>sort=createTime_a<br>sort=lastModificationTime_a<br>sort=osType_a<br>sort=global_a<br>sort=id_a<br>sort=content_a<br>sort=createdById_a<br>sort=enabled_a<br>sort=discriminator_a
filter: '', # String | filter parameter contains list of fields used for filter query result <br> examples: <br> filter=createdbyemail_eq_value<br>filter=createtime_eq_1700230365974<br>filter=lastmodificationtime_eq_1700230365974<br>filter=ostype_eq_ios<br>filter=global_eq_true<br>filter=id_eq_1<br>filter=content_eq_value<br>filter=createdbyid_eq_1<br>filter=enabled_eq_true<br>filter=discriminator_eq_value
offset: '0', # String | offset parameter define page number
limit: '20' # String | limit parameter define page size
}
begin
#Get device cleanup configurations.
result = api_instance.get_device_cleanup_configurations(opts)
p result
rescue BitbarCloudApiClient::ApiError => e
puts "Exception when calling AllEndpointsApi->get_device_cleanup_configurations: #{e}"
end
api_instance = BitbarCloudApiClient::AllEndpointsApi.new
device_group_id = 789 # Integer |
begin
#Get device group.
result = api_instance.get_device_group(device_group_id)
p result
rescue BitbarCloudApiClient::ApiError => e
puts "Exception when calling AllEndpointsApi->get_device_group: #{e}"
end
api_instance = BitbarCloudApiClient::AllEndpointsApi.new
user_id = 789 # Integer |
device_group_id = 789 # Integer |
opts = {
with_properties: false, # BOOLEAN |
sort: '', # String | sort parameter contains list of fields used for sort query result <br> examples: <br> sort=accountId_a<br>sort=displayName_a<br>sort=creditsPrice_a<br>sort=osType_a<br>sort=device.archiveTime_a<br>sort=id_a<br>sort=locked_a<br>sort=enabled_a<br>sort=platform_a<br>sort=manufacturer_a
filter: '', # String | filter parameter contains list of fields used for filter query result <br> examples: <br> filter=accountid_eq_1<br>filter=displayname_eq_value<br>filter=creditsprice_eq_1<br>filter=ostype_eq_ios<br>filter=online_eq_true<br>filter=location_eq_value<br>filter=device.archivetime_eq_1700230364388<br>filter=id_eq_1<br>filter=locked_eq_true<br>filter=enabled_eq_true<br>filter=platform_eq_ios<br>filter=manufacturer_eq_value
offset: '0', # String | offset parameter define page number
limit: '20' # String | limit parameter define page size
}
begin
#Get device group devices.
result = api_instance.get_device_group_devices(user_id, device_group_id, opts)
p result
rescue BitbarCloudApiClient::ApiError => e
puts "Exception when calling AllEndpointsApi->get_device_group_devices: #{e}"
end
api_instance = BitbarCloudApiClient::AllEndpointsApi.new
device_group_id = 789 # Integer |
opts = {
with_properties: false, # BOOLEAN |
sort: '', # String | sort parameter contains list of fields used for sort query result <br> examples: <br> sort=accountId_a<br>sort=displayName_a<br>sort=creditsPrice_a<br>sort=osType_a<br>sort=device.archiveTime_a<br>sort=id_a<br>sort=locked_a<br>sort=enabled_a<br>sort=platform_a<br>sort=manufacturer_a
filter: '', # String | filter parameter contains list of fields used for filter query result <br> examples: <br> filter=accountid_eq_1<br>filter=displayname_eq_value<br>filter=creditsprice_eq_1<br>filter=ostype_eq_ios<br>filter=online_eq_true<br>filter=location_eq_value<br>filter=device.archivetime_eq_1700230365585<br>filter=id_eq_1<br>filter=locked_eq_true<br>filter=enabled_eq_true<br>filter=platform_eq_ios<br>filter=manufacturer_eq_value
offset: '0', # String | offset parameter define page number
limit: '20' # String | limit parameter define page size
}
begin
#Get device group devices.
result = api_instance.get_device_group_devices1(device_group_id, opts)
p result
rescue BitbarCloudApiClient::ApiError => e
puts "Exception when calling AllEndpointsApi->get_device_group_devices1: #{e}"
end
api_instance = BitbarCloudApiClient::AllEndpointsApi.new
user_id = 789 # Integer |
device_group_id = 789 # Integer |
opts = {
sort: '', # String | sort parameter contains list of fields used for sort query result <br> examples: <br> sort=propertyGroupName_a<br>sort=displayName_a<br>sort=name_a<br>sort=propertyGroupId_a<br>sort=id_a<br>sort=labelGroupName_a
filter: '', # String | filter parameter contains list of fields used for filter query result <br> examples: <br> filter=propertygroupname_eq_value<br>filter=displayname_eq_value<br>filter=name_eq_value<br>filter=propertygroupid_eq_1<br>filter=id_eq_1<br>filter=labelgroupname_eq_value
offset: '0', # String | offset parameter define page number
limit: '20' # String | limit parameter define page size
}
begin
#Get device group selectors.
result = api_instance.get_device_group_selectors(user_id, device_group_id, opts)
p result
rescue BitbarCloudApiClient::ApiError => e
puts "Exception when calling AllEndpointsApi->get_device_group_selectors: #{e}"
end
api_instance = BitbarCloudApiClient::AllEndpointsApi.new
device_group_id = 789 # Integer |
opts = {
sort: '', # String | sort parameter contains list of fields used for sort query result <br> examples: <br> sort=propertyGroupName_a<br>sort=displayName_a<br>sort=name_a<br>sort=propertyGroupId_a<br>sort=id_a<br>sort=labelGroupName_a
filter: '', # String | filter parameter contains list of fields used for filter query result <br> examples: <br> filter=propertygroupname_eq_value<br>filter=displayname_eq_value<br>filter=name_eq_value<br>filter=propertygroupid_eq_1<br>filter=id_eq_1<br>filter=labelgroupname_eq_value
offset: '0', # String | offset parameter define page number
limit: '20' # String | limit parameter define page size
}
begin
#Get device group selectors.
result = api_instance.get_device_group_selectors1(device_group_id, opts)
p result
rescue BitbarCloudApiClient::ApiError => e
puts "Exception when calling AllEndpointsApi->get_device_group_selectors1: #{e}"
end
api_instance = BitbarCloudApiClient::AllEndpointsApi.new
opts = {
sort: '', # String | sort parameter contains list of fields used for sort query result <br> examples: <br> sort=displayName_a<br>sort=name_a<br>sort=osType_a<br>sort=id_a<br>sort=userId_a
filter: '', # String | filter parameter contains list of fields used for filter query result <br> examples: <br> filter=displayname_eq_value<br>filter=name_eq_value<br>filter=ostype_eq_ios<br>filter=id_eq_1<br>filter=userid_eq_1
offset: '0', # String | offset parameter define page number
limit: '20' # String | limit parameter define page size
}
begin
#Get device groups.
result = api_instance.get_device_groups(opts)
p result
rescue BitbarCloudApiClient::ApiError => e
puts "Exception when calling AllEndpointsApi->get_device_groups: #{e}"
end
api_instance = BitbarCloudApiClient::AllEndpointsApi.new
device_id = 789 # Integer |
opts = {
sort: '', # String | sort parameter contains list of fields used for sort query result <br> examples: <br> sort=propertyGroupName_a<br>sort=displayName_a<br>sort=name_a<br>sort=propertyGroupId_a<br>sort=id_a<br>sort=labelGroupName_a
filter: '', # String | filter parameter contains list of fields used for filter query result <br> examples: <br> filter=propertygroupname_eq_value<br>filter=displayname_eq_value<br>filter=name_eq_value<br>filter=propertygroupid_eq_1<br>filter=id_eq_1<br>filter=labelgroupname_eq_value
offset: '0', # String | offset parameter define page number
limit: '20' # String | limit parameter define page size
}
begin
#Get device labels.
result = api_instance.get_device_labels(device_id, opts)
p result
rescue BitbarCloudApiClient::ApiError => e
puts "Exception when calling AllEndpointsApi->get_device_labels: #{e}"
end
api_instance = BitbarCloudApiClient::AllEndpointsApi.new
device_id = 789 # Integer |
opts = {
sort: '', # String | sort parameter contains list of fields used for sort query result <br> examples: <br> sort=propertyGroupName_a<br>sort=displayName_a<br>sort=name_a<br>sort=propertyGroupId_a<br>sort=id_a<br>sort=labelGroupName_a
filter: '', # String | filter parameter contains list of fields used for filter query result <br> examples: <br> filter=propertygroupname_eq_value<br>filter=displayname_eq_value<br>filter=name_eq_value<br>filter=propertygroupid_eq_1<br>filter=id_eq_1<br>filter=labelgroupname_eq_value
offset: '0', # String | offset parameter define page number
limit: '20' # String | limit parameter define page size
}
begin
#Get device labels.
result = api_instance.get_device_labels1(device_id, opts)
p result
rescue BitbarCloudApiClient::ApiError => e
puts "Exception when calling AllEndpointsApi->get_device_labels1: #{e}"
end
api_instance = BitbarCloudApiClient::AllEndpointsApi.new
device_model_id = 789 # Integer |
opts = {
sort: '', # String | sort parameter contains list of fields used for sort query result <br> examples: <br> sort=displayName_a<br>sort=name_a<br>sort=id_a
filter: '', # String | filter parameter contains list of fields used for filter query result <br> examples: <br> filter=displayname_eq_value<br>filter=name_eq_value<br>filter=id_eq_1<br>filter=version_eq_value
offset: '0', # String | offset parameter define page number
limit: '20' # String | limit parameter define page size
}
begin
#Get device model browsers.
result = api_instance.get_device_model_browsers(device_model_id, opts)
p result
rescue BitbarCloudApiClient::ApiError => e
puts "Exception when calling AllEndpointsApi->get_device_model_browsers: #{e}"
end
api_instance = BitbarCloudApiClient::AllEndpointsApi.new
serial_id = 'serial_id_example' # String |
opts = {
sort: '', # String | sort parameter contains list of fields used for sort query result <br> examples: <br> sort=displayName_a<br>sort=name_a<br>sort=id_a
filter: '', # String | filter parameter contains list of fields used for filter query result <br> examples: <br> filter=displayname_eq_value<br>filter=name_eq_value<br>filter=id_eq_1<br>filter=version_eq_value
offset: '0', # String | offset parameter define page number
limit: '20' # String | limit parameter define page size
}
begin
#Get device model browsers.
result = api_instance.get_device_model_browsers1(serial_id, opts)
p result
rescue BitbarCloudApiClient::ApiError => e
puts "Exception when calling AllEndpointsApi->get_device_model_browsers1: #{e}"
end
api_instance = BitbarCloudApiClient::AllEndpointsApi.new
id = 789 # Integer |
begin
#Get device model pool.
result = api_instance.get_device_model_pool(id)
p result
rescue BitbarCloudApiClient::ApiError => e
puts "Exception when calling AllEndpointsApi->get_device_model_pool: #{e}"
end
api_instance = BitbarCloudApiClient::AllEndpointsApi.new
begin
#Get device model pools statistics.
result = api_instance.get_device_model_pool_statistics
p result
rescue BitbarCloudApiClient::ApiError => e
puts "Exception when calling AllEndpointsApi->get_device_model_pool_statistics: #{e}"
end
api_instance = BitbarCloudApiClient::AllEndpointsApi.new
opts = {
sort: '', # String | sort parameter contains list of fields used for sort query result <br> examples: <br> sort=retentionStrategy_a<br>sort=createTime_a<br>sort=name_a<br>sort=location_a<br>sort=id_a<br>sort=enabled_a
filter: '', # String | filter parameter contains list of fields used for filter query result <br> examples: <br> filter=retentionstrategy_eq_cluster_on_off<br>filter=name_eq_value<br>filter=location_eq_value<br>filter=id_eq_1<br>filter=enabled_eq_true
offset: '0', # String | offset parameter define page number
limit: '20' # String | limit parameter define page size
}
begin
#Get device model pools.
result = api_instance.get_device_model_pools(opts)
p result
rescue BitbarCloudApiClient::ApiError => e
puts "Exception when calling AllEndpointsApi->get_device_model_pools: #{e}"
end
api_instance = BitbarCloudApiClient::AllEndpointsApi.new
opts = {
with_sessions_info: true, # BOOLEAN |
sort: '', # String | sort parameter contains list of fields used for sort query result <br> examples: <br> sort=releaseVersion_a<br>sort=enabled_a<br>sort=platform_a<br>sort=total_a<br>sort=name_a<br>sort=osType_a<br>sort=online_a<br>sort=location_a<br>sort=id_a
filter: '', # String | filter parameter contains list of fields used for filter query result <br> examples: <br> filter=dedicated_eq_true<br>filter=releaseversion_eq_value<br>filter=enabled_eq_true<br>filter=platform_eq_ios<br>filter=total_eq_1<br>filter=name_eq_value<br>filter=ostype_eq_ios<br>filter=online_eq_1<br>filter=location_eq_value<br>filter=id_eq_1
offset: '0', # String | offset parameter define page number
limit: '20' # String | limit parameter define page size
}
begin
#Get device models.
result = api_instance.get_device_models(opts)
p result
rescue BitbarCloudApiClient::ApiError => e
puts "Exception when calling AllEndpointsApi->get_device_models: #{e}"
end
api_instance = BitbarCloudApiClient::AllEndpointsApi.new
opts = {
sort: '', # String | sort parameter contains list of fields used for sort query result <br> examples: <br> sort=id_a
filter: '', # String | filter parameter contains list of fields used for filter query result <br> examples: <br> filter=devicefiltergroup.name_eq_value<br>filter=ostype_eq_ios<br>filter=id_eq_1
offset: '0', # String | offset parameter define page number
limit: '20' # String | limit parameter define page size
}
begin
#Get device properties.
result = api_instance.get_device_picker(opts)
p result
rescue BitbarCloudApiClient::ApiError => e
puts "Exception when calling AllEndpointsApi->get_device_picker: #{e}"
end
api_instance = BitbarCloudApiClient::AllEndpointsApi.new
opts = {
sort: '', # String | sort parameter contains list of fields used for sort query result <br> examples: <br> sort=clusterName_a<br>sort=clusterId_a<br>sort=id_a<br>sort=deviceId_a<br>sort=deviceName_a
filter: '', # String | filter parameter contains list of fields used for filter query result <br> examples: <br> filter=clustername_eq_value<br>filter=ostype_eq_ios<br>filter=clusterid_eq_1<br>filter=id_eq_1<br>filter=deviceid_eq_1<br>filter=devicename_eq_value
offset: '0', # String | offset parameter define page number
limit: '20' # String | limit parameter define page size
}
begin
#Get device problems.
result = api_instance.get_device_problems(opts)
p result
rescue BitbarCloudApiClient::ApiError => e
puts "Exception when calling AllEndpointsApi->get_device_problems: #{e}"
end
api_instance = BitbarCloudApiClient::AllEndpointsApi.new
device_id = 789 # Integer |
opts = {
sort: '', # String | sort parameter contains list of fields used for sort query result <br> examples: <br> sort=propertyGroupName_a<br>sort=displayName_a<br>sort=name_a<br>sort=propertyGroupId_a<br>sort=id_a<br>sort=labelGroupName_a
filter: '', # String | filter parameter contains list of fields used for filter query result <br> examples: <br> filter=propertygroupname_eq_value<br>filter=displayname_eq_value<br>filter=name_eq_value<br>filter=propertygroupid_eq_1<br>filter=id_eq_1<br>filter=labelgroupname_eq_value
offset: '0', # String | offset parameter define page number
limit: '20' # String | limit parameter define page size
}
begin
#Get device properties.
result = api_instance.get_device_properties(device_id, opts)
p result
rescue BitbarCloudApiClient::ApiError => e
puts "Exception when calling AllEndpointsApi->get_device_properties: #{e}"
end
api_instance = BitbarCloudApiClient::AllEndpointsApi.new
device_id = 789 # Integer |
opts = {
sort: '', # String | sort parameter contains list of fields used for sort query result <br> examples: <br> sort=archiveTime_a<br>sort=startedByDisplayName_a<br>sort=currentStepType_a<br>sort=deviceModel.id_a<br>sort=device.id_a<br>sort=priority_a<br>sort=createTime_a<br>sort=startTime_a<br>sort=_endTime_a<br>sort=id_a<br>sort=state_a<br>sort=projectName_a<br>sort=testRunName_a
filter: '', # String | filter parameter contains list of fields used for filter query result <br> examples: <br> filter=archivetime_eq_1700230365957<br>filter=startedbydisplayname_eq_value<br>filter=currentsteptype_eq_waiting<br>filter=devicemodel.id_eq_1<br>filter=device.id_eq_1<br>filter=priority_eq_1<br>filter=createtime_eq_1700230365957<br>filter=starttime_eq_1700230365957<br>filter=_endtime_eq_1700230365957<br>filter=id_eq_1<br>filter=state_eq_aborted<br>filter=projectname_eq_value<br>filter=testrunname_eq_value
offset: '0', # String | offset parameter define page number
limit: '20' # String | limit parameter define page size
}
begin
#Get device queue.
result = api_instance.get_device_queue(device_id, opts)
p result
rescue BitbarCloudApiClient::ApiError => e
puts "Exception when calling AllEndpointsApi->get_device_queue: #{e}"
end
api_instance = BitbarCloudApiClient::AllEndpointsApi.new
device_session_id = 789 # Integer |
opts = {
project_id: 789, # Integer |
test_run_id: 789 # Integer |
}
begin
#Get device session.
result = api_instance.get_device_session(device_session_id, opts)
p result
rescue BitbarCloudApiClient::ApiError => e
puts "Exception when calling AllEndpointsApi->get_device_session: #{e}"
end
api_instance = BitbarCloudApiClient::AllEndpointsApi.new
user_id = 789 # Integer |
project_id = 789 # Integer |
run_id = 789 # Integer |
device_session_id = 789 # Integer |
begin
#Get device session commands.
result = api_instance.get_device_session_commands(user_id, project_id, run_id, device_session_id)
p result
rescue BitbarCloudApiClient::ApiError => e
puts "Exception when calling AllEndpointsApi->get_device_session_commands: #{e}"
end
api_instance = BitbarCloudApiClient::AllEndpointsApi.new
run_id = 789 # Integer |
device_session_id = 789 # Integer |
begin
#Get device session commands.
result = api_instance.get_device_session_commands1(run_id, device_session_id)
p result
rescue BitbarCloudApiClient::ApiError => e
puts "Exception when calling AllEndpointsApi->get_device_session_commands1: #{e}"
end
api_instance = BitbarCloudApiClient::AllEndpointsApi.new
project_id = 789 # Integer |
run_id = 789 # Integer |
device_session_id = 789 # Integer |
begin
#Get device session commands.
result = api_instance.get_device_session_commands2(project_id, run_id, device_session_id)
p result
rescue BitbarCloudApiClient::ApiError => e
puts "Exception when calling AllEndpointsApi->get_device_session_commands2: #{e}"
end
api_instance = BitbarCloudApiClient::AllEndpointsApi.new
device_session_id = 789 # Integer |
begin
#Get device session commands.
result = api_instance.get_device_session_commands3(device_session_id)
p result
rescue BitbarCloudApiClient::ApiError => e
puts "Exception when calling AllEndpointsApi->get_device_session_commands3: #{e}"
end
api_instance = BitbarCloudApiClient::AllEndpointsApi.new
user_id = 789 # Integer |
device_session_id = 789 # Integer |
opts = {
sort: '', # String | sort parameter contains list of fields used for sort query result <br> examples: <br> sort=path_a<br>sort=password_a<br>sort=urlSchema_a<br>sort=deviceSessionId_a<br>sort=createTime_a<br>sort=port_a<br>sort=host_a<br>sort=_endTime_a<br>sort=id_a<br>sort=type_a
filter: '', # String | filter parameter contains list of fields used for filter query result <br> examples: <br> filter=path_eq_value<br>filter=password_eq_value<br>filter=urlschema_eq_value<br>filter=devicesessionid_eq_1<br>filter=createtime_eq_1700230364360<br>filter=port_eq_1<br>filter=host_eq_value<br>filter=_endtime_eq_1700230364360<br>filter=id_eq_1<br>filter=type_eq_value
offset: '0', # String | offset parameter define page number
limit: '20' # String | limit parameter define page size
}
begin
#Get connections for device session.
result = api_instance.get_device_session_connections(user_id, device_session_id, opts)
p result
rescue BitbarCloudApiClient::ApiError => e
puts "Exception when calling AllEndpointsApi->get_device_session_connections: #{e}"
end
api_instance = BitbarCloudApiClient::AllEndpointsApi.new
device_session_id = 789 # Integer |
opts = {
sort: '', # String | sort parameter contains list of fields used for sort query result <br> examples: <br> sort=path_a<br>sort=password_a<br>sort=urlSchema_a<br>sort=deviceSessionId_a<br>sort=createTime_a<br>sort=port_a<br>sort=host_a<br>sort=_endTime_a<br>sort=id_a<br>sort=type_a
filter: '', # String | filter parameter contains list of fields used for filter query result <br> examples: <br> filter=path_eq_value<br>filter=password_eq_value<br>filter=urlschema_eq_value<br>filter=devicesessionid_eq_1<br>filter=createtime_eq_1700230365550<br>filter=port_eq_1<br>filter=host_eq_value<br>filter=_endtime_eq_1700230365550<br>filter=id_eq_1<br>filter=type_eq_value
offset: '0', # String | offset parameter define page number
limit: '20' # String | limit parameter define page size
}
begin
#Get connections for device session.
result = api_instance.get_device_session_connections1(device_session_id, opts)
p result
rescue BitbarCloudApiClient::ApiError => e
puts "Exception when calling AllEndpointsApi->get_device_session_connections1: #{e}"
end
api_instance = BitbarCloudApiClient::AllEndpointsApi.new
opts = {
sort: '', # String | sort parameter contains list of fields used for sort query result <br> examples: <br> sort=archiveTime_a<br>sort=startedByDisplayName_a<br>sort=currentStepType_a<br>sort=deviceModel.id_a<br>sort=device.id_a<br>sort=priority_a<br>sort=createTime_a<br>sort=startTime_a<br>sort=_endTime_a<br>sort=id_a<br>sort=state_a<br>sort=projectName_a<br>sort=testRunName_a
filter: '', # String | filter parameter contains list of fields used for filter query result <br> examples: <br> filter=archivetime_eq_1700230366086<br>filter=startedbydisplayname_eq_value<br>filter=currentsteptype_eq_waiting<br>filter=devicemodel.id_eq_1<br>filter=device.id_eq_1<br>filter=priority_eq_1<br>filter=createtime_eq_1700230366086<br>filter=starttime_eq_1700230366086<br>filter=_endtime_eq_1700230366086<br>filter=id_eq_1<br>filter=state_eq_aborted<br>filter=projectname_eq_value<br>filter=testrunname_eq_value
offset: '0', # String | offset parameter define page number
limit: '20' # String | limit parameter define page size
}
begin
#Get device sessions.
result = api_instance.get_device_session_history(opts)
p result
rescue BitbarCloudApiClient::ApiError => e
puts "Exception when calling AllEndpointsApi->get_device_session_history: #{e}"
end
api_instance = BitbarCloudApiClient::AllEndpointsApi.new
run_id = 789 # Integer |
device_session_id = 789 # Integer |
screenshot_id = 789 # Integer |
opts = {
width: 56, # Integer |
height: 56 # Integer |
}
begin
#Get device session screenshot.
api_instance.get_device_session_screenshot(run_id, device_session_id, screenshot_id, opts)
rescue BitbarCloudApiClient::ApiError => e
puts "Exception when calling AllEndpointsApi->get_device_session_screenshot: #{e}"
end
api_instance = BitbarCloudApiClient::AllEndpointsApi.new
device_session_id = 789 # Integer |
screenshot_id = 789 # Integer |
opts = {
project_id: 789, # Integer |
test_run_id: 789, # Integer |
width: 56, # Integer |
height: 56 # Integer |
}
begin
#Get device session screenshot.
api_instance.get_device_session_screenshot1(device_session_id, screenshot_id, opts)
rescue BitbarCloudApiClient::ApiError => e
puts "Exception when calling AllEndpointsApi->get_device_session_screenshot1: #{e}"
end
api_instance = BitbarCloudApiClient::AllEndpointsApi.new
run_id = 789 # Integer |
device_session_id = 789 # Integer |
opts = {
sort: '', # String | sort parameter contains list of fields used for sort query result <br> examples: <br> sort=originalName_a<br>sort=takeTimestamp_a<br>sort=id_a
filter: '', # String | filter parameter contains list of fields used for filter query result <br> examples: <br> filter=originalname_eq_value<br>filter=taketimestamp_eq_1<br>filter=id_eq_1
offset: '0', # String | offset parameter define page number
limit: '20' # String | limit parameter define page size
}
begin
#Get device session screenshots.
result = api_instance.get_device_session_screenshots(run_id, device_session_id, opts)
p result
rescue BitbarCloudApiClient::ApiError => e
puts "Exception when calling AllEndpointsApi->get_device_session_screenshots: #{e}"
end
api_instance = BitbarCloudApiClient::AllEndpointsApi.new
device_session_id = 789 # Integer |
opts = {
project_id: 789, # Integer |
test_run_id: 789, # Integer |
sort: '', # String | sort parameter contains list of fields used for sort query result <br> examples: <br> sort=originalName_a<br>sort=takeTimestamp_a<br>sort=id_a
filter: '', # String | filter parameter contains list of fields used for filter query result <br> examples: <br> filter=originalname_eq_value<br>filter=taketimestamp_eq_1<br>filter=id_eq_1
offset: '0', # String | offset parameter define page number
limit: '20' # String | limit parameter define page size
}
begin
#Get device session screenshots.
result = api_instance.get_device_session_screenshots1(device_session_id, opts)
p result
rescue BitbarCloudApiClient::ApiError => e
puts "Exception when calling AllEndpointsApi->get_device_session_screenshots1: #{e}"
end
api_instance = BitbarCloudApiClient::AllEndpointsApi.new
run_id = 789 # Integer |
device_session_id = 789 # Integer |
device_session_step_id = 789 # Integer |
begin
#Get device session step.
result = api_instance.get_device_session_step(run_id, device_session_id, device_session_step_id)
p result
rescue BitbarCloudApiClient::ApiError => e
puts "Exception when calling AllEndpointsApi->get_device_session_step: #{e}"
end
api_instance = BitbarCloudApiClient::AllEndpointsApi.new
project_id = 789 # Integer |
run_id = 789 # Integer |
device_session_id = 789 # Integer |
device_session_step_id = 789 # Integer |
begin
#Get device session step.
result = api_instance.get_device_session_step1(project_id, run_id, device_session_id, device_session_step_id)
p result
rescue BitbarCloudApiClient::ApiError => e
puts "Exception when calling AllEndpointsApi->get_device_session_step1: #{e}"
end
api_instance = BitbarCloudApiClient::AllEndpointsApi.new
device_session_id = 789 # Integer |
device_session_step_id = 789 # Integer |
begin
#Get device session step.
result = api_instance.get_device_session_step2(device_session_id, device_session_step_id)
p result
rescue BitbarCloudApiClient::ApiError => e
puts "Exception when calling AllEndpointsApi->get_device_session_step2: #{e}"
end
api_instance = BitbarCloudApiClient::AllEndpointsApi.new
user_id = 789 # Integer |
project_id = 789 # Integer |
run_id = 789 # Integer |
device_session_id = 789 # Integer |
opts = {
sort: '', # String | sort parameter contains list of fields used for sort query result <br> examples: <br> sort=finishTimeMS_a<br>sort=deviceSessionId_a<br>sort=testRunId_a<br>sort=startTimeMS_a<br>sort=id_a
filter: '', # String | filter parameter contains list of fields used for filter query result <br> examples: <br> filter=finishtimems_eq_1<br>filter=devicesessionid_eq_1<br>filter=testrunid_eq_1<br>filter=starttimems_eq_1<br>filter=id_eq_1
offset: '0', # String | offset parameter define page number
limit: '20' # String | limit parameter define page size
}
begin
#Get device session steps.
result = api_instance.get_device_session_steps(user_id, project_id, run_id, device_session_id, opts)
p result
rescue BitbarCloudApiClient::ApiError => e
puts "Exception when calling AllEndpointsApi->get_device_session_steps: #{e}"
end
api_instance = BitbarCloudApiClient::AllEndpointsApi.new
run_id = 789 # Integer |
device_session_id = 789 # Integer |
opts = {
sort: '', # String | sort parameter contains list of fields used for sort query result <br> examples: <br> sort=finishTimeMS_a<br>sort=deviceSessionId_a<br>sort=testRunId_a<br>sort=startTimeMS_a<br>sort=id_a
filter: '', # String | filter parameter contains list of fields used for filter query result <br> examples: <br> filter=finishtimems_eq_1<br>filter=devicesessionid_eq_1<br>filter=testrunid_eq_1<br>filter=starttimems_eq_1<br>filter=id_eq_1
offset: '0', # String | offset parameter define page number
limit: '20' # String | limit parameter define page size
}
begin
#Get device session steps.
result = api_instance.get_device_session_steps1(run_id, device_session_id, opts)
p result
rescue BitbarCloudApiClient::ApiError => e
puts "Exception when calling AllEndpointsApi->get_device_session_steps1: #{e}"
end
api_instance = BitbarCloudApiClient::AllEndpointsApi.new
project_id = 789 # Integer |
run_id = 789 # Integer |
device_session_id = 789 # Integer |
opts = {
sort: '', # String | sort parameter contains list of fields used for sort query result <br> examples: <br> sort=finishTimeMS_a<br>sort=deviceSessionId_a<br>sort=testRunId_a<br>sort=startTimeMS_a<br>sort=id_a
filter: '', # String | filter parameter contains list of fields used for filter query result <br> examples: <br> filter=finishtimems_eq_1<br>filter=devicesessionid_eq_1<br>filter=testrunid_eq_1<br>filter=starttimems_eq_1<br>filter=id_eq_1
offset: '0', # String | offset parameter define page number
limit: '20' # String | limit parameter define page size
}
begin
#Get device session steps.
result = api_instance.get_device_session_steps2(project_id, run_id, device_session_id, opts)
p result
rescue BitbarCloudApiClient::ApiError => e
puts "Exception when calling AllEndpointsApi->get_device_session_steps2: #{e}"
end
api_instance = BitbarCloudApiClient::AllEndpointsApi.new
device_session_id = 789 # Integer |
opts = {
sort: '', # String | sort parameter contains list of fields used for sort query result <br> examples: <br> sort=finishTimeMS_a<br>sort=deviceSessionId_a<br>sort=testRunId_a<br>sort=startTimeMS_a<br>sort=id_a
filter: '', # String | filter parameter contains list of fields used for filter query result <br> examples: <br> filter=finishtimems_eq_1<br>filter=devicesessionid_eq_1<br>filter=testrunid_eq_1<br>filter=starttimems_eq_1<br>filter=id_eq_1
offset: '0', # String | offset parameter define page number
limit: '20' # String | limit parameter define page size
}
begin
#Get device session steps.
result = api_instance.get_device_session_steps3(device_session_id, opts)
p result
rescue BitbarCloudApiClient::ApiError => e
puts "Exception when calling AllEndpointsApi->get_device_session_steps3: #{e}"
end
api_instance = BitbarCloudApiClient::AllEndpointsApi.new
device_session_id = 789 # Integer |
opts = {
project_id: 789, # Integer |
test_run_id: 789 # Integer |
}
begin
#Get device session steps.
result = api_instance.get_device_session_steps_with_params(device_session_id, opts)
p result
rescue BitbarCloudApiClient::ApiError => e
puts "Exception when calling AllEndpointsApi->get_device_session_steps_with_params: #{e}"
end
api_instance = BitbarCloudApiClient::AllEndpointsApi.new
user_id = 789 # Integer |
project_id = 789 # Integer |
run_id = 789 # Integer |
device_session_id = 789 # Integer |
begin
#Get device session steps.
result = api_instance.get_device_session_test_case_runs(user_id, project_id, run_id, device_session_id)
p result
rescue BitbarCloudApiClient::ApiError => e
puts "Exception when calling AllEndpointsApi->get_device_session_test_case_runs: #{e}"
end
api_instance = BitbarCloudApiClient::AllEndpointsApi.new
run_id = 789 # Integer |
device_session_id = 789 # Integer |
begin
#Get device session steps.
result = api_instance.get_device_session_test_case_runs1(run_id, device_session_id)
p result
rescue BitbarCloudApiClient::ApiError => e
puts "Exception when calling AllEndpointsApi->get_device_session_test_case_runs1: #{e}"
end
api_instance = BitbarCloudApiClient::AllEndpointsApi.new
project_id = 789 # Integer |
run_id = 789 # Integer |
device_session_id = 789 # Integer |
begin
#Get device session steps.
result = api_instance.get_device_session_test_case_runs2(project_id, run_id, device_session_id)
p result
rescue BitbarCloudApiClient::ApiError => e
puts "Exception when calling AllEndpointsApi->get_device_session_test_case_runs2: #{e}"
end
api_instance = BitbarCloudApiClient::AllEndpointsApi.new
project_id = 789 # Integer |
run_id = 789 # Integer |
device_session_id = 789 # Integer |
begin
#Get device session.
result = api_instance.get_device_session_with_project(project_id, run_id, device_session_id)
p result
rescue BitbarCloudApiClient::ApiError => e
puts "Exception when calling AllEndpointsApi->get_device_session_with_project: #{e}"
end
api_instance = BitbarCloudApiClient::AllEndpointsApi.new
run_id = 789 # Integer |
device_session_id = 789 # Integer |
begin
#Get device session.
result = api_instance.get_device_session_with_run(run_id, device_session_id)
p result
rescue BitbarCloudApiClient::ApiError => e
puts "Exception when calling AllEndpointsApi->get_device_session_with_run: #{e}"
end
api_instance = BitbarCloudApiClient::AllEndpointsApi.new
user_id = 789 # Integer |
project_id = 789 # Integer |
run_id = 789 # Integer |
opts = {
sort: '', # String | sort parameter contains list of fields used for sort query result <br> examples: <br> sort=isExcluded_a<br>sort=testRunId_a<br>sort=clientSideId_a<br>sort=externalId_a<br>sort=successRatio_a<br>sort=device.id_a<br>sort=retryState_a<br>sort=type_a<br>sort=userId_a<br>sort=duration_a<br>sort=timeLimit_a<br>sort=createTime_a<br>sort=biometricInstrumentation_a<br>sort=startTime_a<br>sort=userEmail_a<br>sort=_endTime_a<br>sort=id_a<br>sort=state_a<br>sort=device.displayName_a<br>sort=projectName_a<br>sort=projectId_a<br>sort=testRunName_a
filter: '', # String | filter parameter contains list of fields used for filter query result <br> examples: <br> filter=testrunid_eq_1<br>filter=clientsideid_eq_value<br>filter=externalid_eq_value<br>filter=successratio_eq_1<br>filter=device.id_eq_1<br>filter=retrystate_eq_none<br>filter=type_eq_automatic<br>filter=userid_eq_1<br>filter=duration_eq_1<br>filter=timelimit_eq_1<br>filter=createtime_eq_1700230364086<br>filter=biometricinstrumentation_eq_true<br>filter=starttime_eq_1700230364086<br>filter=useremail_eq_value<br>filter=_endtime_eq_1700230364086<br>filter=id_eq_1<br>filter=state_eq_aborted<br>filter=device.displayname_eq_value<br>filter=projectname_eq_value<br>filter=projectid_eq_1<br>filter=testrunname_eq_null
offset: '0', # String | offset parameter define page number
limit: '20' # String | limit parameter define page size
}
begin
#Get device sessions.
result = api_instance.get_device_sessions(user_id, project_id, run_id, opts)
p result
rescue BitbarCloudApiClient::ApiError => e
puts "Exception when calling AllEndpointsApi->get_device_sessions: #{e}"
end
api_instance = BitbarCloudApiClient::AllEndpointsApi.new
run_id = 789 # Integer |
opts = {
project_id: 789, # Integer |
sort: '', # String | sort parameter contains list of fields used for sort query result <br> examples: <br> sort=isExcluded_a<br>sort=testRunId_a<br>sort=clientSideId_a<br>sort=externalId_a<br>sort=successRatio_a<br>sort=device.id_a<br>sort=retryState_a<br>sort=type_a<br>sort=userId_a<br>sort=duration_a<br>sort=timeLimit_a<br>sort=createTime_a<br>sort=biometricInstrumentation_a<br>sort=startTime_a<br>sort=userEmail_a<br>sort=_endTime_a<br>sort=id_a<br>sort=state_a<br>sort=device.displayName_a<br>sort=projectName_a<br>sort=projectId_a<br>sort=testRunName_a
filter: '', # String | filter parameter contains list of fields used for filter query result <br> examples: <br> filter=testrunid_eq_1<br>filter=clientsideid_eq_value<br>filter=externalid_eq_value<br>filter=successratio_eq_1<br>filter=device.id_eq_1<br>filter=retrystate_eq_none<br>filter=type_eq_automatic<br>filter=userid_eq_1<br>filter=duration_eq_1<br>filter=timelimit_eq_1<br>filter=createtime_eq_1700230364841<br>filter=biometricinstrumentation_eq_true<br>filter=starttime_eq_1700230364841<br>filter=useremail_eq_value<br>filter=_endtime_eq_1700230364841<br>filter=id_eq_1<br>filter=state_eq_aborted<br>filter=device.displayname_eq_value<br>filter=projectname_eq_value<br>filter=projectid_eq_1<br>filter=testrunname_eq_null
offset: '0', # String | offset parameter define page number
limit: '20' # String | limit parameter define page size
}
begin
#Get device sessions.
result = api_instance.get_device_sessions1(run_id, opts)
p result
rescue BitbarCloudApiClient::ApiError => e
puts "Exception when calling AllEndpointsApi->get_device_sessions1: #{e}"
end
api_instance = BitbarCloudApiClient::AllEndpointsApi.new
user_id = 789 # Integer |
opts = {
for_whole_account: false, # BOOLEAN |
skip_common_project: false, # BOOLEAN |
skip_shared: false, # BOOLEAN |
mode: 'DEVICE_NAME', # String |
sort: '', # String | sort parameter contains list of fields used for sort query result <br> examples: <br> sort=failedRatio_a<br>sort=passedTests_a<br>sort=releaseVersion_a<br>sort=failedTests_a<br>sort=passedRatio_a<br>sort=deviceName_a<br>sort=usageCount_a<br>sort=totalTests_a<br>sort=failedDevices_a<br>sort=osType_a<br>sort=usageMillis_a<br>sort=id_a<br>sort=projectId_a
filter: '', # String | filter parameter contains list of fields used for filter query result <br> examples: <br> filter=releaseversion_eq_value<br>filter=testrunid_eq_1<br>filter=devicename_eq_value<br>filter=common_eq_true<br>filter=createtime_eq_1700230364268<br>filter=ostype_eq_ios<br>filter=id_eq_1<br>filter=projectid_eq_1
offset: '0', # String | offset parameter define page number
limit: '20' # String | limit parameter define page size
}
begin
#Get device statistics.
result = api_instance.get_device_statistics(user_id, opts)
p result
rescue BitbarCloudApiClient::ApiError => e
puts "Exception when calling AllEndpointsApi->get_device_statistics: #{e}"
end
api_instance = BitbarCloudApiClient::AllEndpointsApi.new
opts = {
skip_common_project: false, # BOOLEAN |
mode: 'DEVICE_NAME', # String |
sort: '', # String | sort parameter contains list of fields used for sort query result <br> examples: <br> sort=failedRatio_a<br>sort=passedTests_a<br>sort=releaseVersion_a<br>sort=failedTests_a<br>sort=passedRatio_a<br>sort=deviceName_a<br>sort=usageCount_a<br>sort=totalTests_a<br>sort=failedDevices_a<br>sort=osType_a<br>sort=usageMillis_a<br>sort=id_a<br>sort=projectId_a
filter: '', # String | filter parameter contains list of fields used for filter query result <br> examples: <br> filter=releaseversion_eq_value<br>filter=testrunid_eq_1<br>filter=devicename_eq_value<br>filter=common_eq_true<br>filter=createtime_eq_1700230365460<br>filter=ostype_eq_ios<br>filter=id_eq_1<br>filter=projectid_eq_1
offset: '0', # String | offset parameter define page number
limit: '20' # String | limit parameter define page size
}
begin
#Get device statistics.
result = api_instance.get_device_statistics1(opts)
p result
rescue BitbarCloudApiClient::ApiError => e
puts "Exception when calling AllEndpointsApi->get_device_statistics1: #{e}"
end
api_instance = BitbarCloudApiClient::AllEndpointsApi.new
opts = {
sort: '', # String | sort parameter contains list of fields used for sort query result <br> examples: <br> sort=internalStorage_a<br>sort=tdsVersion_a<br>sort=alarmOn_a<br>sort=externalStorage_a<br>sort=monitoringOn_a<br>sort=deviceTime_a<br>sort=deviceId_a<br>sort=deviceName_a<br>sort=ssid_a<br>sort=enabled_a<br>sort=internetAccess_a<br>sort=serialId_a<br>sort=clusterName_a<br>sort=emailAccount_a<br>sort=bluetoothOn_a<br>sort=id_a<br>sort=state_a<br>sort=mockLocationOn_a<br>sort=batteryLevel_a<br>sort=locationServiceOn_a<br>sort=testExecuting_a<br>sort=screenLocked_a<br>sort=updateTime_a<br>sort=sdcardPresent_a<br>sort=aslOn_a<br>sort=deviceTimeZone_a<br>sort=device.archiveTime_a<br>sort=flashOn_a<br>sort=tetheringOn_a
filter: '', # String | filter parameter contains list of fields used for filter query result <br> examples: <br> filter=internalstorage_eq_1<br>filter=tdsversion_eq_value<br>filter=alarmon_eq_true<br>filter=externalstorage_eq_1<br>filter=monitoringon_eq_true<br>filter=devicetime_eq_1<br>filter=deviceid_eq_1<br>filter=devicename_eq_value<br>filter=ssid_eq_value<br>filter=enabled_eq_true<br>filter=internetaccess_eq_true<br>filter=serialid_eq_value<br>filter=clustername_eq_value<br>filter=emailaccount_eq_value<br>filter=bluetoothon_eq_true<br>filter=id_eq_1<br>filter=state_eq_offline_cleaning<br>filter=mocklocationon_eq_true<br>filter=batterylevel_eq_1<br>filter=locationserviceon_eq_true<br>filter=testexecuting_eq_true<br>filter=screenlocked_eq_true<br>filter=sdcardpresent_eq_true<br>filter=aslon_eq_true<br>filter=devicetimezone_eq_value<br>filter=device.archivetime_eq_1700230366053<br>filter=flashon_eq_true<br>filter=tetheringon_eq_true
offset: '0', # String | offset parameter define page number
limit: '20' # String | limit parameter define page size
}
begin
#Get device statuses.
result = api_instance.get_device_statuses(opts)
p result
rescue BitbarCloudApiClient::ApiError => e
puts "Exception when calling AllEndpointsApi->get_device_statuses: #{e}"
end
api_instance = BitbarCloudApiClient::AllEndpointsApi.new
opts = {
sort: '', # String | sort parameter contains list of fields used for sort query result <br> examples: <br>
filter: '', # String | filter parameter contains list of fields used for filter query result <br> examples: <br> filter=devicemodelname_eq_value<br>filter=ostype_eq_ios<br>filter=starttime_eq_1700230366077<br>filter=useremail_eq_value<br>filter=_endtime_eq_1700230366077<br>filter=projectname_eq_value
offset: '0', # String | offset parameter define page number
limit: '20' # String | limit parameter define page size
}
begin
#Get device time, counted testRuns and deviceSessions per day, user, project, deviceModel.
result = api_instance.get_device_time_count_session_report(opts)
p result
rescue BitbarCloudApiClient::ApiError => e
puts "Exception when calling AllEndpointsApi->get_device_time_count_session_report: #{e}"
end
api_instance = BitbarCloudApiClient::AllEndpointsApi.new
opts = {
for_whole_account: false, # BOOLEAN |
sort: '', # String | sort parameter contains list of fields used for sort query result <br> examples: <br> sort=createTime_a<br>sort=id_a<br>sort=type_a<br>sort=userName_a
filter: '', # String | filter parameter contains list of fields used for filter query result <br> examples: <br> filter=starttime_eq_1700230366066<br>filter=_endtime_eq_1700230366066<br>filter=id_eq_1<br>filter=username_eq_value<br>filter=userid_eq_1
offset: '0', # String | offset parameter define page number
limit: '20' # String | limit parameter define page size
}
begin
#Get device time history.
result = api_instance.get_device_time_history(opts)
p result
rescue BitbarCloudApiClient::ApiError => e
puts "Exception when calling AllEndpointsApi->get_device_time_history: #{e}"
end
api_instance = BitbarCloudApiClient::AllEndpointsApi.new
opts = {
for_whole_account: false, # BOOLEAN |
sort: '', # String | sort parameter contains list of fields used for sort query result <br> examples: <br> sort=createTime_a<br>sort=id_a<br>sort=type_a<br>sort=userName_a
filter: '', # String | filter parameter contains list of fields used for filter query result <br> examples: <br> filter=starttime_eq_1700230366080<br>filter=_endtime_eq_1700230366080<br>filter=id_eq_1<br>filter=username_eq_value<br>filter=userid_eq_1
offset: '0', # String | offset parameter define page number
limit: '20' # String | limit parameter define page size
}
begin
#Get device time summary.
result = api_instance.get_device_time_history_summary(opts)
p result
rescue BitbarCloudApiClient::ApiError => e
puts "Exception when calling AllEndpointsApi->get_device_time_history_summary: #{e}"
end
api_instance = BitbarCloudApiClient::AllEndpointsApi.new
opts = {
sort: '', # String | sort parameter contains list of fields used for sort query result <br> examples: <br>
filter: '', # String | filter parameter contains list of fields used for filter query result <br> examples: <br> filter=devicemodelname_eq_value<br>filter=ostype_eq_ios<br>filter=starttime_eq_1700230366072<br>filter=useremail_eq_value<br>filter=_endtime_eq_1700230366072<br>filter=projectname_eq_value
offset: '0', # String | offset parameter define page number
limit: '20' # String | limit parameter define page size
}
begin
#Get device preparing and waiting time per day, user, project, deviceModel.
result = api_instance.get_device_time_step_time_report(opts)
p result
rescue BitbarCloudApiClient::ApiError => e
puts "Exception when calling AllEndpointsApi->get_device_time_step_time_report: #{e}"
end
api_instance = BitbarCloudApiClient::AllEndpointsApi.new
device_type_id = 789 # Integer |
begin
#Get device frame.
result = api_instance.get_device_type(device_type_id)
p result
rescue BitbarCloudApiClient::ApiError => e
puts "Exception when calling AllEndpointsApi->get_device_type: #{e}"
end
api_instance = BitbarCloudApiClient::AllEndpointsApi.new
opts = {
sort: '', # String | sort parameter contains list of fields used for sort query result <br> examples: <br> sort=imagePrefix_a<br>sort=id_a
filter: '', # String | filter parameter contains list of fields used for filter query result <br> examples: <br> filter=imageprefix_eq_value<br>filter=id_eq_1
offset: '0', # String | offset parameter define page number
limit: '20' # String | limit parameter define page size
}
begin
#Get device frames.
result = api_instance.get_device_types(opts)
p result
rescue BitbarCloudApiClient::ApiError => e
puts "Exception when calling AllEndpointsApi->get_device_types: #{e}"
end
api_instance = BitbarCloudApiClient::AllEndpointsApi.new
opts = {
with_disabled: false, # BOOLEAN |
with_dedicated: false, # BOOLEAN |
with_browsers: false, # BOOLEAN |
with_properties: false, # BOOLEAN |
with_supported_creators: false, # BOOLEAN |
live_testing_only: false, # BOOLEAN |
only_with_browsers: false, # BOOLEAN |
label_ids: [56], # Array<Integer> |
sort: '', # String | sort parameter contains list of fields used for sort query result <br> examples: <br> sort=accountId_a<br>sort=displayName_a<br>sort=creditsPrice_a<br>sort=osType_a<br>sort=device.archiveTime_a<br>sort=id_a<br>sort=locked_a<br>sort=enabled_a<br>sort=platform_a<br>sort=manufacturer_a
filter: '', # String | filter parameter contains list of fields used for filter query result <br> examples: <br> filter=accountid_eq_1<br>filter=displayname_eq_value<br>filter=creditsprice_eq_1<br>filter=ostype_eq_ios<br>filter=online_eq_true<br>filter=location_eq_value<br>filter=device.archivetime_eq_1700230365397<br>filter=id_eq_1<br>filter=locked_eq_true<br>filter=enabled_eq_true<br>filter=platform_eq_ios<br>filter=manufacturer_eq_value
offset: '0', # String | offset parameter define page number
limit: '20' # String | limit parameter define page size
}
begin
#Get devices.
result = api_instance.get_devices(opts)
p result
rescue BitbarCloudApiClient::ApiError => e
puts "Exception when calling AllEndpointsApi->get_devices: #{e}"
end
api_instance = BitbarCloudApiClient::AllEndpointsApi.new
opts = {
with_disabled: true, # BOOLEAN |
sort: '', # String | sort parameter contains list of fields used for sort query result <br> examples: <br> sort=stateChangeTime_a<br>sort=cluster.name_a<br>sort=mainUserEmail_a<br>sort=enabled_a<br>sort=manufacturer_a<br>sort=accountId_a<br>sort=mainUserId_a<br>sort=serialId_a<br>sort=stateTime_a<br>sort=deviceModelId_a<br>sort=fingerprint_a<br>sort=name_a<br>sort=dedicationEndTime_a<br>sort=id_a<br>sort=state_a
filter: '', # String | filter parameter contains list of fields used for filter query result <br> examples: <br> filter=statechangetime_eq_1700230365935<br>filter=cluster.name_eq_value<br>filter=mainuseremail_eq_value<br>filter=enabled_eq_true<br>filter=platform_eq_ios<br>filter=manufacturer_eq_value<br>filter=accountid_eq_1<br>filter=mainuserid_eq_1<br>filter=serialid_eq_value<br>filter=statetime_eq_1700230365935<br>filter=devicemodelid_eq_1<br>filter=fingerprint_eq_value<br>filter=name_eq_value<br>filter=ostype_eq_ios<br>filter=dedicationendtime_eq_1700230365935<br>filter=devicecleanupconfigurationid_eq_1<br>filter=id_eq_1<br>filter=state_eq_offline_cleaning<br>filter=locked_eq_true
offset: '0', # String | offset parameter define page number
limit: '20' # String | limit parameter define page size
}
begin
#Get devices.
result = api_instance.get_devices1(opts)
p result
rescue BitbarCloudApiClient::ApiError => e
puts "Exception when calling AllEndpointsApi->get_devices1: #{e}"
end
api_instance = BitbarCloudApiClient::AllEndpointsApi.new
id = 789 # Integer |
opts = {
sort: '', # String | sort parameter contains list of fields used for sort query result <br> examples: <br> sort=stateChangeTime_a<br>sort=cluster.name_a<br>sort=mainUserEmail_a<br>sort=enabled_a<br>sort=manufacturer_a<br>sort=accountId_a<br>sort=mainUserId_a<br>sort=serialId_a<br>sort=stateTime_a<br>sort=deviceModelId_a<br>sort=fingerprint_a<br>sort=name_a<br>sort=dedicationEndTime_a<br>sort=id_a<br>sort=state_a
filter: '', # String | filter parameter contains list of fields used for filter query result <br> examples: <br> filter=statechangetime_eq_1700230365989<br>filter=cluster.name_eq_value<br>filter=mainuseremail_eq_value<br>filter=enabled_eq_true<br>filter=platform_eq_ios<br>filter=manufacturer_eq_value<br>filter=accountid_eq_1<br>filter=mainuserid_eq_1<br>filter=serialid_eq_value<br>filter=statetime_eq_1700230365989<br>filter=devicemodelid_eq_1<br>filter=fingerprint_eq_value<br>filter=name_eq_value<br>filter=ostype_eq_ios<br>filter=dedicationendtime_eq_1700230365989<br>filter=devicecleanupconfigurationid_eq_1<br>filter=id_eq_1<br>filter=state_eq_offline_cleaning<br>filter=locked_eq_true
offset: '0', # String | offset parameter define page number
limit: '20' # String | limit parameter define page size
}
begin
#Get devices used given device cleanup configuration.
result = api_instance.get_devices_used_device_cleanup_configuration(id, opts)
p result
rescue BitbarCloudApiClient::ApiError => e
puts "Exception when calling AllEndpointsApi->get_devices_used_device_cleanup_configuration: #{e}"
end
api_instance = BitbarCloudApiClient::AllEndpointsApi.new
opts = {
sort: '', # String | sort parameter contains list of fields used for sort query result <br> examples: <br> sort=createTime_a<br>sort=subject_a<br>sort=lastRetryTime_a<br>sort=channel_a<br>sort=userEmail_a<br>sort=id_a<br>sort=sent_a<br>sort=userId_a
filter: '', # String | filter parameter contains list of fields used for filter query result <br> examples: <br> filter=createtime_eq_1700230365926<br>filter=subject_eq_value<br>filter=lastretrytime_eq_1700230365926<br>filter=channel_eq_slack<br>filter=useremail_eq_value<br>filter=id_eq_1<br>filter=sent_eq_true<br>filter=userid_eq_1
offset: '0', # String | offset parameter define page number
limit: '20' # String | limit parameter define page size
}
begin
#Get emails.
result = api_instance.get_emails(opts)
p result
rescue BitbarCloudApiClient::ApiError => e
puts "Exception when calling AllEndpointsApi->get_emails: #{e}"
end
api_instance = BitbarCloudApiClient::AllEndpointsApi.new
begin
#Get enums.
result = api_instance.get_enums
p result
rescue BitbarCloudApiClient::ApiError => e
puts "Exception when calling AllEndpointsApi->get_enums: #{e}"
end
api_instance = BitbarCloudApiClient::AllEndpointsApi.new
opts = {
sort: '', # String | sort parameter contains list of fields used for sort query result <br> examples: <br> sort=quantity_a<br>sort=id_a<br>sort=type_a
filter: '', # String | filter parameter contains list of fields used for filter query result <br> examples: <br> filter=quantity_eq_1<br>filter=id_eq_1<br>filter=type_eq_abort_request<br>filter=timestamp_eq_1
offset: '0', # String | offset parameter define page number
limit: '20' # String | limit parameter define page size
}
begin
#Get errors.
result = api_instance.get_errors(opts)
p result
rescue BitbarCloudApiClient::ApiError => e
puts "Exception when calling AllEndpointsApi->get_errors: #{e}"
end
api_instance = BitbarCloudApiClient::AllEndpointsApi.new
file_id = 789 # Integer |
opts = {
sort: '', # String | sort parameter contains list of fields used for sort query result <br> examples: <br> sort=id_a<br>sort=value_a<br>sort=key_a
filter: '', # String | filter parameter contains list of fields used for filter query result <br> examples: <br> filter=id_eq_1<br>filter=value_eq_value<br>filter=key_eq_value
offset: '0', # String | offset parameter define page number
limit: '20' # String | limit parameter define page size
}
begin
#Get file properties.
result = api_instance.get_file_properties(file_id, opts)
p result
rescue BitbarCloudApiClient::ApiError => e
puts "Exception when calling AllEndpointsApi->get_file_properties: #{e}"
end
api_instance = BitbarCloudApiClient::AllEndpointsApi.new
file_id = 789 # Integer |
property_id = 789 # Integer |
begin
#Get file property.
result = api_instance.get_file_property(file_id, property_id)
p result
rescue BitbarCloudApiClient::ApiError => e
puts "Exception when calling AllEndpointsApi->get_file_property: #{e}"
end
api_instance = BitbarCloudApiClient::AllEndpointsApi.new
user_id = 789 # Integer |
file_id = 789 # Integer |
opts = {
sort: '', # String | sort parameter contains list of fields used for sort query result <br> examples: <br> sort=name_a<br>sort=id_a
filter: '', # String | filter parameter contains list of fields used for filter query result <br> examples: <br> filter=name_eq_value<br>filter=id_eq_1
offset: '0', # String | offset parameter define page number
limit: '20' # String | limit parameter define page size
}
begin
#Get file tags.
result = api_instance.get_file_tags(user_id, file_id, opts)
p result
rescue BitbarCloudApiClient::ApiError => e
puts "Exception when calling AllEndpointsApi->get_file_tags: #{e}"
end
api_instance = BitbarCloudApiClient::AllEndpointsApi.new
file_id = 789 # Integer |
opts = {
sort: '', # String | sort parameter contains list of fields used for sort query result <br> examples: <br> sort=name_a<br>sort=id_a
filter: '', # String | filter parameter contains list of fields used for filter query result <br> examples: <br> filter=name_eq_value<br>filter=id_eq_1
offset: '0', # String | offset parameter define page number
limit: '20' # String | limit parameter define page size
}
begin
#Get file tags.
result = api_instance.get_file_tags1(file_id, opts)
p result
rescue BitbarCloudApiClient::ApiError => e
puts "Exception when calling AllEndpointsApi->get_file_tags1: #{e}"
end
api_instance = BitbarCloudApiClient::AllEndpointsApi.new
opts = {
tag: ['tag_example'], # Array<String> |
sort: '', # String | sort parameter contains list of fields used for sort query result <br> examples: <br> sort=size_a<br>sort=createTime_a<br>sort=name_a<br>sort=inputType_a<br>sort=mimetype_a<br>sort=userEmail_a<br>sort=id_a<br>sort=state_a<br>sort=direction_a
filter: '', # String | filter parameter contains list of fields used for filter query result <br> examples: <br> filter=size_eq_1<br>filter=createtime_eq_1700230365359<br>filter=name_eq_value<br>filter=inputtype_eq_application<br>filter=mimetype_eq_value<br>filter=useremail_eq_value<br>filter=id_eq_1<br>filter=state_eq_preparing<br>filter=direction_eq_input
offset: '0', # String | offset parameter define page number
limit: '20' # String | limit parameter define page size
}
begin
#Get files.
result = api_instance.get_files(opts)
p result
rescue BitbarCloudApiClient::ApiError => e
puts "Exception when calling AllEndpointsApi->get_files: #{e}"
end
api_instance = BitbarCloudApiClient::AllEndpointsApi.new
user_id = 789 # Integer |
project_id = 789 # Integer |
run_id = 789 # Integer |
device_session_id = 789 # Integer |
opts = {
tag: ['tag_example'], # Array<String> |
sort: '', # String | sort parameter contains list of fields used for sort query result <br> examples: <br> sort=size_a<br>sort=createTime_a<br>sort=name_a<br>sort=inputType_a<br>sort=mimetype_a<br>sort=userEmail_a<br>sort=id_a<br>sort=state_a<br>sort=direction_a
filter: '', # String | filter parameter contains list of fields used for filter query result <br> examples: <br> filter=size_eq_1<br>filter=createtime_eq_1700230364167<br>filter=name_eq_value<br>filter=inputtype_eq_application<br>filter=mimetype_eq_value<br>filter=useremail_eq_value<br>filter=id_eq_1<br>filter=state_eq_preparing<br>filter=direction_eq_input
offset: '0', # String | offset parameter define page number
limit: '20' # String | limit parameter define page size
}
begin
#Get device session output files.
result = api_instance.get_files_for_device_session_by_tag(user_id, project_id, run_id, device_session_id, opts)
p result
rescue BitbarCloudApiClient::ApiError => e
puts "Exception when calling AllEndpointsApi->get_files_for_device_session_by_tag: #{e}"
end
api_instance = BitbarCloudApiClient::AllEndpointsApi.new
id = 789 # Integer |
begin
#Get framework.
result = api_instance.get_framework(id)
p result
rescue BitbarCloudApiClient::ApiError => e
puts "Exception when calling AllEndpointsApi->get_framework: #{e}"
end
api_instance = BitbarCloudApiClient::AllEndpointsApi.new
opts = {
sort: '', # String | sort parameter contains list of fields used for sort query result <br> examples: <br> sort=propertyGroupName_a<br>sort=displayName_a<br>sort=name_a<br>sort=propertyGroupId_a<br>sort=id_a<br>sort=labelGroupName_a
filter: '', # String | filter parameter contains list of fields used for filter query result <br> examples: <br> filter=propertygroupname_eq_value<br>filter=displayname_eq_value<br>filter=name_eq_value<br>filter=propertygroupid_eq_1<br>filter=id_eq_1<br>filter=labelgroupname_eq_value
offset: '0', # String | offset parameter define page number
limit: '20' # String | limit parameter define page size
}
begin
#Get available framework labels.
result = api_instance.get_framework_available_labels(opts)
p result
rescue BitbarCloudApiClient::ApiError => e
puts "Exception when calling AllEndpointsApi->get_framework_available_labels: #{e}"
end
api_instance = BitbarCloudApiClient::AllEndpointsApi.new
id = 789 # Integer |
begin
#Get framework's config.
result = api_instance.get_framework_config(id)
p result
rescue BitbarCloudApiClient::ApiError => e
puts "Exception when calling AllEndpointsApi->get_framework_config: #{e}"
end
api_instance = BitbarCloudApiClient::AllEndpointsApi.new
id = 789 # Integer |
opts = {
sort: '', # String | sort parameter contains list of fields used for sort query result <br> examples: <br> sort=frameworkId_a<br>sort=name_a<br>sort=id_a
filter: '', # String | filter parameter contains list of fields used for filter query result <br> examples: <br> filter=frameworkid_eq_1<br>filter=name_eq_admin<br>filter=id_eq_null
offset: '0', # String | offset parameter define page number
limit: '20' # String | limit parameter define page size
}
begin
#Get roles required by framework.
result = api_instance.get_framework_roles(id, opts)
p result
rescue BitbarCloudApiClient::ApiError => e
puts "Exception when calling AllEndpointsApi->get_framework_roles: #{e}"
end
api_instance = BitbarCloudApiClient::AllEndpointsApi.new
opts = {
days: 30, # Integer |
sort: '', # String | sort parameter contains list of fields used for sort query result <br> examples: <br> sort=frameworkName_a<br>sort=releaseVersion_a<br>sort=osType_a<br>sort=startTime_a<br>sort=_endTime_a<br>sort=id_a<br>sort=state_a
filter: '', # String | filter parameter contains list of fields used for filter query result <br> examples: <br> filter=frameworkname_eq_value<br>filter=releaseversion_eq_value<br>filter=devicemodelname_eq_value<br>filter=ostype_eq_ios<br>filter=starttime_eq_1700230365734<br>filter=useremail_eq_value<br>filter=_endtime_eq_1700230365734<br>filter=id_eq_1<br>filter=state_eq_aborted
offset: '0', # String | offset parameter define page number
limit: '20' # String | limit parameter define page size
}
begin
#Get framework statistics.
result = api_instance.get_framework_statistics(opts)
p result
rescue BitbarCloudApiClient::ApiError => e
puts "Exception when calling AllEndpointsApi->get_framework_statistics: #{e}"
end
api_instance = BitbarCloudApiClient::AllEndpointsApi.new
opts = {
sort: '', # String | sort parameter contains list of fields used for sort query result <br> examples: <br> sort=canRunFromUI_a<br>sort=retryable_a<br>sort=skipQueue_a<br>sort=forProjects_a<br>sort=description_a<br>sort=mainUserEmail_a<br>sort=type_a<br>sort=accountId_a<br>sort=labelId_a<br>sort=createTime_a<br>sort=jobConfigId_a<br>sort=name_a<br>sort=osType_a<br>sort=id_a<br>sort=labelName_a<br>sort=secured_a<br>sort=skipOlderSdk_a
filter: '', # String | filter parameter contains list of fields used for filter query result <br> examples: <br> filter=canrunfromui_eq_true<br>filter=retryable_eq_true<br>filter=skipqueue_eq_true<br>filter=forprojects_eq_true<br>filter=description_eq_value<br>filter=mainuseremail_eq_value<br>filter=type_eq_value<br>filter=accountid_eq_1<br>filter=labelid_eq_1<br>filter=createtime_eq_1700230365861<br>filter=jobconfigid_eq_1<br>filter=name_eq_value<br>filter=ostype_eq_ios<br>filter=id_eq_1<br>filter=labelname_eq_value<br>filter=secured_eq_true<br>filter=skipoldersdk_eq_true
offset: '0', # String | offset parameter define page number
limit: '20' # String | limit parameter define page size
}
begin
#Get frameworks.
result = api_instance.get_frameworks(opts)
p result
rescue BitbarCloudApiClient::ApiError => e
puts "Exception when calling AllEndpointsApi->get_frameworks: #{e}"
end
api_instance = BitbarCloudApiClient::AllEndpointsApi.new
begin
#Get health check.
result = api_instance.get_health_check
p result
rescue BitbarCloudApiClient::ApiError => e
puts "Exception when calling AllEndpointsApi->get_health_check: #{e}"
end
api_instance = BitbarCloudApiClient::AllEndpointsApi.new
begin
#Get appium broker hubs (location and url).
result = api_instance.get_hubs
p result
rescue BitbarCloudApiClient::ApiError => e
puts "Exception when calling AllEndpointsApi->get_hubs: #{e}"
end
api_instance = BitbarCloudApiClient::AllEndpointsApi.new
device_session_id = 789 # Integer |
connection_id = 789 # Integer |
begin
#Get connection for device session.
result = api_instance.get_inspector_device_session_connection(device_session_id, connection_id)
p result
rescue BitbarCloudApiClient::ApiError => e
puts "Exception when calling AllEndpointsApi->get_inspector_device_session_connection: #{e}"
end
api_instance = BitbarCloudApiClient::AllEndpointsApi.new
user_id = 789 # Integer |
opts = {
with_properties: true, # BOOLEAN |
sort: '', # String | sort parameter contains list of fields used for sort query result <br> examples: <br> sort=isExcluded_a<br>sort=testRunId_a<br>sort=clientSideId_a<br>sort=externalId_a<br>sort=successRatio_a<br>sort=device.id_a<br>sort=retryState_a<br>sort=type_a<br>sort=userId_a<br>sort=duration_a<br>sort=timeLimit_a<br>sort=createTime_a<br>sort=biometricInstrumentation_a<br>sort=startTime_a<br>sort=userEmail_a<br>sort=_endTime_a<br>sort=id_a<br>sort=state_a<br>sort=device.displayName_a<br>sort=projectName_a<br>sort=projectId_a<br>sort=testRunName_a
filter: '', # String | filter parameter contains list of fields used for filter query result <br> examples: <br> filter=testrunid_eq_1<br>filter=clientsideid_eq_value<br>filter=externalid_eq_value<br>filter=successratio_eq_1<br>filter=device.id_eq_1<br>filter=retrystate_eq_none<br>filter=type_eq_automatic<br>filter=userid_eq_1<br>filter=duration_eq_1<br>filter=timelimit_eq_1<br>filter=createtime_eq_1700230364288<br>filter=biometricinstrumentation_eq_true<br>filter=starttime_eq_1700230364288<br>filter=useremail_eq_value<br>filter=_endtime_eq_1700230364288<br>filter=id_eq_1<br>filter=state_eq_aborted<br>filter=device.displayname_eq_value<br>filter=projectname_eq_value<br>filter=projectid_eq_1<br>filter=testrunname_eq_null
offset: '0', # String | offset parameter define page number
limit: '20' # String | limit parameter define page size
}
begin
#Get device sessions.
result = api_instance.get_inspector_device_sessions(user_id, opts)
p result
rescue BitbarCloudApiClient::ApiError => e
puts "Exception when calling AllEndpointsApi->get_inspector_device_sessions: #{e}"
end
api_instance = BitbarCloudApiClient::AllEndpointsApi.new
opts = {
sort: '', # String | sort parameter contains list of fields used for sort query result <br> examples: <br> sort=deviceModelName_a<br>sort=type_a<br>sort=billable_a<br>sort=deviceId_a<br>sort=deviceName_a<br>sort=userId_a<br>sort=duration_a<br>sort=createTime_a<br>sort=deviceModelId_a<br>sort=startTime_a<br>sort=userEmail_a<br>sort=_endTime_a<br>sort=id_a<br>sort=state_a
filter: '', # String | filter parameter contains list of fields used for filter query result <br> examples: <br> filter=devicemodelname_eq_value<br>filter=type_eq_automatic<br>filter=billable_eq_true<br>filter=deviceid_eq_1<br>filter=devicename_eq_value<br>filter=userid_eq_1<br>filter=duration_eq_1<br>filter=createtime_eq_1700230365850<br>filter=devicemodelid_eq_1<br>filter=ostype_eq_ios<br>filter=starttime_eq_1700230365850<br>filter=useremail_eq_value<br>filter=_endtime_eq_1700230365850<br>filter=id_eq_1<br>filter=state_eq_aborted
offset: '0', # String | offset parameter define page number
limit: '20' # String | limit parameter define page size
}
begin
#Get manual sessions queue.
result = api_instance.get_interactive_queue(opts)
p result
rescue BitbarCloudApiClient::ApiError => e
puts "Exception when calling AllEndpointsApi->get_interactive_queue: #{e}"
end
api_instance = BitbarCloudApiClient::AllEndpointsApi.new
opts = {
sort: '', # String | sort parameter contains list of fields used for sort query result <br> examples: <br> sort=displayName_a<br>sort=name_a<br>sort=id_a
filter: '', # String | filter parameter contains list of fields used for filter query result <br> examples: <br> filter=displayname_eq_value<br>filter=name_eq_value<br>filter=id_eq_1
offset: '0', # String | offset parameter define page number
limit: '20' # String | limit parameter define page size
}
begin
#Get label groups.
result = api_instance.get_label_groups(opts)
p result
rescue BitbarCloudApiClient::ApiError => e
puts "Exception when calling AllEndpointsApi->get_label_groups: #{e}"
end
api_instance = BitbarCloudApiClient::AllEndpointsApi.new
opts = {
sort: '', # String | sort parameter contains list of fields used for sort query result <br> examples: <br> sort=propertyGroupName_a<br>sort=displayName_a<br>sort=name_a<br>sort=propertyGroupId_a<br>sort=id_a<br>sort=labelGroupName_a
filter: '', # String | filter parameter contains list of fields used for filter query result <br> examples: <br> filter=propertygroupname_eq_value<br>filter=displayname_eq_value<br>filter=name_eq_value<br>filter=propertygroupid_eq_1<br>filter=id_eq_1<br>filter=labelgroupname_eq_value
offset: '0', # String | offset parameter define page number
limit: '20' # String | limit parameter define page size
}
begin
#Get labels.
result = api_instance.get_labels(opts)
p result
rescue BitbarCloudApiClient::ApiError => e
puts "Exception when calling AllEndpointsApi->get_labels: #{e}"
end
api_instance = BitbarCloudApiClient::AllEndpointsApi.new
group_id = 789 # Integer |
opts = {
sort: '', # String | sort parameter contains list of fields used for sort query result <br> examples: <br> sort=propertyGroupName_a<br>sort=displayName_a<br>sort=name_a<br>sort=propertyGroupId_a<br>sort=id_a<br>sort=labelGroupName_a
filter: '', # String | filter parameter contains list of fields used for filter query result <br> examples: <br> filter=propertygroupname_eq_value<br>filter=displayname_eq_value<br>filter=name_eq_value<br>filter=propertygroupid_eq_1<br>filter=id_eq_1<br>filter=labelgroupname_eq_value
offset: '0', # String | offset parameter define page number
limit: '20' # String | limit parameter define page size
}
begin
#Get labels.
result = api_instance.get_labels1(group_id, opts)
p result
rescue BitbarCloudApiClient::ApiError => e
puts "Exception when calling AllEndpointsApi->get_labels1: #{e}"
end
api_instance = BitbarCloudApiClient::AllEndpointsApi.new
begin
#Get license installed to cloud.
result = api_instance.get_license
p result
rescue BitbarCloudApiClient::ApiError => e
puts "Exception when calling AllEndpointsApi->get_license: #{e}"
end
api_instance = BitbarCloudApiClient::AllEndpointsApi.new
id = 789 # Integer |
begin
#Get license.
result = api_instance.get_license1(id)
p result
rescue BitbarCloudApiClient::ApiError => e
puts "Exception when calling AllEndpointsApi->get_license1: #{e}"
end
api_instance = BitbarCloudApiClient::AllEndpointsApi.new
opts = {
sort: '', # String | sort parameter contains list of fields used for sort query result <br> examples: <br> sort=expireTime_a<br>sort=closeTime_a<br>sort=activateTime_a<br>sort=privateInstance_a<br>sort=userEmail_a<br>sort=id_a<br>sort=userId_a<br>sort=status_a
filter: '', # String | filter parameter contains list of fields used for filter query result <br> examples: <br> filter=expiretime_eq_1700230365836<br>filter=closetime_eq_1700230365836<br>filter=activatetime_eq_1700230365836<br>filter=privateinstance_eq_true<br>filter=useremail_eq_value<br>filter=id_eq_1<br>filter=userid_eq_1<br>filter=status_eq_value
offset: '0', # String | offset parameter define page number
limit: '20' # String | limit parameter define page size
}
begin
#Get licenses.
result = api_instance.get_licenses(opts)
p result
rescue BitbarCloudApiClient::ApiError => e
puts "Exception when calling AllEndpointsApi->get_licenses: #{e}"
end
api_instance = BitbarCloudApiClient::AllEndpointsApi.new
user_id = 789 # Integer |
opts = {
sort: '', # String | sort parameter contains list of fields used for sort query result <br> examples: <br> sort=scope_a<br>sort=name_a<br>sort=userEmail_a<br>sort=id_a<br>sort=userId_a
filter: '', # String | filter parameter contains list of fields used for filter query result <br> examples: <br> filter=scope_eq_user<br>filter=name_eq_value<br>filter=useremail_eq_value<br>filter=id_eq_1<br>filter=userid_eq_1
offset: '0', # String | offset parameter define page number
limit: '20' # String | limit parameter define page size
}
begin
#Get access groups.
result = api_instance.get_list(user_id, opts)
p result
rescue BitbarCloudApiClient::ApiError => e
puts "Exception when calling AllEndpointsApi->get_list: #{e}"
end
api_instance = BitbarCloudApiClient::AllEndpointsApi.new
opts = {
sort: '', # String | sort parameter contains list of fields used for sort query result <br> examples: <br> sort=scope_a<br>sort=name_a<br>sort=userEmail_a<br>sort=id_a<br>sort=userId_a
filter: '', # String | filter parameter contains list of fields used for filter query result <br> examples: <br> filter=scope_eq_user<br>filter=name_eq_value<br>filter=useremail_eq_value<br>filter=id_eq_1<br>filter=userid_eq_1
offset: '0', # String | offset parameter define page number
limit: '20' # String | limit parameter define page size
}
begin
#Get access groups.
result = api_instance.get_list1(opts)
p result
rescue BitbarCloudApiClient::ApiError => e
puts "Exception when calling AllEndpointsApi->get_list1: #{e}"
end
api_instance = BitbarCloudApiClient::AllEndpointsApi.new
begin
#Get maintenance mode.
result = api_instance.get_maintenance
p result
rescue BitbarCloudApiClient::ApiError => e
puts "Exception when calling AllEndpointsApi->get_maintenance: #{e}"
end
api_instance = BitbarCloudApiClient::AllEndpointsApi.new
user_id = 789 # Integer |
device_session_id = 789 # Integer |
opts = {
tag: ['tag_example'], # Array<String> |
sort: '', # String | sort parameter contains list of fields used for sort query result <br> examples: <br> sort=size_a<br>sort=createTime_a<br>sort=name_a<br>sort=inputType_a<br>sort=mimetype_a<br>sort=userEmail_a<br>sort=id_a<br>sort=state_a<br>sort=direction_a
filter: '', # String | filter parameter contains list of fields used for filter query result <br> examples: <br> filter=size_eq_1<br>filter=createtime_eq_1700230364352<br>filter=name_eq_value<br>filter=inputtype_eq_application<br>filter=mimetype_eq_value<br>filter=useremail_eq_value<br>filter=id_eq_1<br>filter=state_eq_preparing<br>filter=direction_eq_input
offset: '0', # String | offset parameter define page number
limit: '20' # String | limit parameter define page size
}
begin
#Get files for device session.
result = api_instance.get_output_files(user_id, device_session_id, opts)
p result
rescue BitbarCloudApiClient::ApiError => e
puts "Exception when calling AllEndpointsApi->get_output_files: #{e}"
end
api_instance = BitbarCloudApiClient::AllEndpointsApi.new
run_id = 789 # Integer |
device_session_id = 789 # Integer |
opts = {
tag: ['tag_example'], # Array<String> |
sort: '', # String | sort parameter contains list of fields used for sort query result <br> examples: <br> sort=size_a<br>sort=createTime_a<br>sort=name_a<br>sort=inputType_a<br>sort=mimetype_a<br>sort=userEmail_a<br>sort=id_a<br>sort=state_a<br>sort=direction_a
filter: '', # String | filter parameter contains list of fields used for filter query result <br> examples: <br> filter=size_eq_1<br>filter=createtime_eq_1700230364930<br>filter=name_eq_value<br>filter=inputtype_eq_application<br>filter=mimetype_eq_value<br>filter=useremail_eq_value<br>filter=id_eq_1<br>filter=state_eq_preparing<br>filter=direction_eq_input
offset: '0', # String | offset parameter define page number
limit: '20' # String | limit parameter define page size
}
begin
#Get device session output files.
result = api_instance.get_output_files_for_device_session_by_tag(run_id, device_session_id, opts)
p result
rescue BitbarCloudApiClient::ApiError => e
puts "Exception when calling AllEndpointsApi->get_output_files_for_device_session_by_tag: #{e}"
end
api_instance = BitbarCloudApiClient::AllEndpointsApi.new
device_session_id = 789 # Integer |
opts = {
tag: ['tag_example'], # Array<String> |
sort: '', # String | sort parameter contains list of fields used for sort query result <br> examples: <br> sort=size_a<br>sort=createTime_a<br>sort=name_a<br>sort=inputType_a<br>sort=mimetype_a<br>sort=userEmail_a<br>sort=id_a<br>sort=state_a<br>sort=direction_a
filter: '', # String | filter parameter contains list of fields used for filter query result <br> examples: <br> filter=size_eq_1<br>filter=createtime_eq_1700230365543<br>filter=name_eq_value<br>filter=inputtype_eq_application<br>filter=mimetype_eq_value<br>filter=useremail_eq_value<br>filter=id_eq_1<br>filter=state_eq_preparing<br>filter=direction_eq_input
offset: '0', # String | offset parameter define page number
limit: '20' # String | limit parameter define page size
}
begin
#Get device session output files.
result = api_instance.get_output_files_for_device_session_by_tag1(device_session_id, opts)
p result
rescue BitbarCloudApiClient::ApiError => e
puts "Exception when calling AllEndpointsApi->get_output_files_for_device_session_by_tag1: #{e}"
end
api_instance = BitbarCloudApiClient::AllEndpointsApi.new
project_id = 789 # Integer |
run_id = 789 # Integer |
device_session_id = 789 # Integer |
opts = {
tag: ['tag_example'], # Array<String> |
sort: '', # String | sort parameter contains list of fields used for sort query result <br> examples: <br> sort=size_a<br>sort=createTime_a<br>sort=name_a<br>sort=inputType_a<br>sort=mimetype_a<br>sort=userEmail_a<br>sort=id_a<br>sort=state_a<br>sort=direction_a
filter: '', # String | filter parameter contains list of fields used for filter query result <br> examples: <br> filter=size_eq_1<br>filter=createtime_eq_1700230365281<br>filter=name_eq_value<br>filter=inputtype_eq_application<br>filter=mimetype_eq_value<br>filter=useremail_eq_value<br>filter=id_eq_1<br>filter=state_eq_preparing<br>filter=direction_eq_input
offset: '0', # String | offset parameter define page number
limit: '20' # String | limit parameter define page size
}
begin
#Get device session output files.
result = api_instance.get_output_files_for_projects_runs_device_session(project_id, run_id, device_session_id, opts)
p result
rescue BitbarCloudApiClient::ApiError => e
puts "Exception when calling AllEndpointsApi->get_output_files_for_projects_runs_device_session: #{e}"
end
api_instance = BitbarCloudApiClient::AllEndpointsApi.new
project_id = 789 # Integer |
begin
#Get project.
result = api_instance.get_project(project_id)
p result
rescue BitbarCloudApiClient::ApiError => e
puts "Exception when calling AllEndpointsApi->get_project: #{e}"
end
api_instance = BitbarCloudApiClient::AllEndpointsApi.new
project_id = 789 # Integer |
run_id = 789 # Integer |
device_session_id = 789 # Integer |
screenshot_id = 789 # Integer |
opts = {
width: 56, # Integer |
height: 56 # Integer |
}
begin
#Get device session screenshot.
api_instance.get_project_device_session_screenshot(project_id, run_id, device_session_id, screenshot_id, opts)
rescue BitbarCloudApiClient::ApiError => e
puts "Exception when calling AllEndpointsApi->get_project_device_session_screenshot: #{e}"
end
api_instance = BitbarCloudApiClient::AllEndpointsApi.new
project_id = 789 # Integer |
run_id = 789 # Integer |
device_session_id = 789 # Integer |
opts = {
sort: '', # String | sort parameter contains list of fields used for sort query result <br> examples: <br> sort=originalName_a<br>sort=takeTimestamp_a<br>sort=id_a
filter: '', # String | filter parameter contains list of fields used for filter query result <br> examples: <br> filter=originalname_eq_value<br>filter=taketimestamp_eq_1<br>filter=id_eq_1
offset: '0', # String | offset parameter define page number
limit: '20' # String | limit parameter define page size
}
begin
#Get device session screenshots.
result = api_instance.get_project_device_session_screenshots(project_id, run_id, device_session_id, opts)
p result
rescue BitbarCloudApiClient::ApiError => e
puts "Exception when calling AllEndpointsApi->get_project_device_session_screenshots: #{e}"
end
api_instance = BitbarCloudApiClient::AllEndpointsApi.new
project_id = 789 # Integer |
run_id = 789 # Integer |
opts = {
sort: '', # String | sort parameter contains list of fields used for sort query result <br> examples: <br> sort=isExcluded_a<br>sort=testRunId_a<br>sort=clientSideId_a<br>sort=externalId_a<br>sort=successRatio_a<br>sort=device.id_a<br>sort=retryState_a<br>sort=type_a<br>sort=userId_a<br>sort=duration_a<br>sort=timeLimit_a<br>sort=createTime_a<br>sort=biometricInstrumentation_a<br>sort=startTime_a<br>sort=userEmail_a<br>sort=_endTime_a<br>sort=id_a<br>sort=state_a<br>sort=device.displayName_a<br>sort=projectName_a<br>sort=projectId_a<br>sort=testRunName_a
filter: '', # String | filter parameter contains list of fields used for filter query result <br> examples: <br> filter=testrunid_eq_1<br>filter=clientsideid_eq_value<br>filter=externalid_eq_value<br>filter=successratio_eq_1<br>filter=device.id_eq_1<br>filter=retrystate_eq_none<br>filter=type_eq_automatic<br>filter=userid_eq_1<br>filter=duration_eq_1<br>filter=timelimit_eq_1<br>filter=createtime_eq_1700230365198<br>filter=biometricinstrumentation_eq_true<br>filter=starttime_eq_1700230365198<br>filter=useremail_eq_value<br>filter=_endtime_eq_1700230365198<br>filter=id_eq_1<br>filter=state_eq_aborted<br>filter=device.displayname_eq_value<br>filter=projectname_eq_value<br>filter=projectid_eq_1<br>filter=testrunname_eq_null
offset: '0', # String | offset parameter define page number
limit: '20' # String | limit parameter define page size
}
begin
#Get device sessions.
result = api_instance.get_project_device_sessions(project_id, run_id, opts)
p result
rescue BitbarCloudApiClient::ApiError => e
puts "Exception when calling AllEndpointsApi->get_project_device_sessions: #{e}"
end
api_instance = BitbarCloudApiClient::AllEndpointsApi.new
project_id = 789 # Integer |
run_id = 789 # Integer |
opts = {
sort: '', # String | sort parameter contains list of fields used for sort query result <br> examples: <br> sort=testRunId_a<br>sort=name_a<br>sort=id_a
filter: '', # String | filter parameter contains list of fields used for filter query result <br> examples: <br> filter=testrunid_eq_1<br>filter=name_eq_value<br>filter=id_eq_1
offset: '0', # String | offset parameter define page number
limit: '20' # String | limit parameter define page size
}
begin
#Get test run tags.
result = api_instance.get_project_test_run_tags(project_id, run_id, opts)
p result
rescue BitbarCloudApiClient::ApiError => e
puts "Exception when calling AllEndpointsApi->get_project_test_run_tags: #{e}"
end
api_instance = BitbarCloudApiClient::AllEndpointsApi.new
project_id = 789 # Integer |
run_id = 789 # Integer |
begin
#Get test run.
result = api_instance.get_project_test_run_with_project(project_id, run_id)
p result
rescue BitbarCloudApiClient::ApiError => e
puts "Exception when calling AllEndpointsApi->get_project_test_run_with_project: #{e}"
end
api_instance = BitbarCloudApiClient::AllEndpointsApi.new
project_id = 789 # Integer |
opts = {
sort: '', # String | sort parameter contains list of fields used for sort query result <br> examples: <br> sort=frameworkId_a<br>sort=frameworkName_a<br>sort=deviceCount_a<br>sort=displayName_a<br>sort=executionRatio_a<br>sort=successRatio_a<br>sort=userId_a<br>sort=common_a<br>sort=createTime_a<br>sort=startTime_a<br>sort=id_a<br>sort=state_a<br>sort=projectId_a
filter: '', # String | filter parameter contains list of fields used for filter query result <br> examples: <br> filter=frameworkid_eq_1<br>filter=frameworkname_eq_value<br>filter=displayname_eq_value<br>filter=successratio_eq_1<br>filter=userid_eq_1<br>filter=common_eq_true<br>filter=createtime_eq_1700230365041<br>filter=starttime_eq_1700230365041<br>filter=id_eq_1<br>filter=projectid_eq_1
offset: '0', # String | offset parameter define page number
limit: '20' # String | limit parameter define page size
}
begin
#Get test runs.
result = api_instance.get_project_test_runs(project_id, opts)
p result
rescue BitbarCloudApiClient::ApiError => e
puts "Exception when calling AllEndpointsApi->get_project_test_runs: #{e}"
end
api_instance = BitbarCloudApiClient::AllEndpointsApi.new
opts = {
sort: '', # String | sort parameter contains list of fields used for sort query result <br> examples: <br> sort=archiveTime_a<br>sort=common_a<br>sort=createTime_a<br>sort=name_a<br>sort=osType_a<br>sort=description_a<br>sort=id_a<br>sort=sharedByEmail_a
filter: '', # String | filter parameter contains list of fields used for filter query result <br> examples: <br> filter=archivetime_eq_1700230364959<br>filter=common_eq_true<br>filter=createtime_eq_1700230364959<br>filter=name_eq_value<br>filter=ostype_eq_ios<br>filter=description_eq_value<br>filter=readonly_eq_true<br>filter=id_eq_1<br>filter=sharedbyemail_eq_value
offset: '0', # String | offset parameter define page number
limit: '20' # String | limit parameter define page size
}
begin
#Get projects.
result = api_instance.get_projects(opts)
p result
rescue BitbarCloudApiClient::ApiError => e
puts "Exception when calling AllEndpointsApi->get_projects: #{e}"
end
api_instance = BitbarCloudApiClient::AllEndpointsApi.new
opts = {
sort: '', # String | sort parameter contains list of fields used for sort query result <br> examples: <br> sort=updatedByDisplayName_a<br>sort=fromTime_a<br>sort=name_a<br>sort=description_a<br>sort=updateTime_a<br>sort=id_a<br>sort=updatedById_a<br>sort=value_a<br>sort=toTime_a
filter: '', # String | filter parameter contains list of fields used for filter query result <br> examples: <br> filter=updatedbydisplayname_eq_value<br>filter=fromtime_eq_1700230364946<br>filter=name_eq_value<br>filter=description_eq_value<br>filter=updatetime_eq_1700230364946<br>filter=id_eq_1<br>filter=updatedbyid_eq_1<br>filter=value_eq_value<br>filter=totime_eq_1700230364946
offset: '0', # String | offset parameter define page number
limit: '20' # String | limit parameter define page size
}
begin
#Get properties.
result = api_instance.get_properties(opts)
p result
rescue BitbarCloudApiClient::ApiError => e
puts "Exception when calling AllEndpointsApi->get_properties: #{e}"
end
api_instance = BitbarCloudApiClient::AllEndpointsApi.new
user_id = 789 # Integer |
billing_period_id = 789 # Integer |
begin
#Get purchased service receipt.
api_instance.get_receipt(user_id, billing_period_id)
rescue BitbarCloudApiClient::ApiError => e
puts "Exception when calling AllEndpointsApi->get_receipt: #{e}"
end
api_instance = BitbarCloudApiClient::AllEndpointsApi.new
user_id = 789 # Integer |
access_group_id = 789 # Integer |
resource_id = 789 # Integer |
begin
#Get access group resource.
result = api_instance.get_resource(user_id, access_group_id, resource_id)
p result
rescue BitbarCloudApiClient::ApiError => e
puts "Exception when calling AllEndpointsApi->get_resource: #{e}"
end
api_instance = BitbarCloudApiClient::AllEndpointsApi.new
access_group_id = 789 # Integer |
resource_id = 789 # Integer |
begin
#Get access group resource.
result = api_instance.get_resource1(access_group_id, resource_id)
p result
rescue BitbarCloudApiClient::ApiError => e
puts "Exception when calling AllEndpointsApi->get_resource1: #{e}"
end
api_instance = BitbarCloudApiClient::AllEndpointsApi.new
user_id = 789 # Integer |
access_group_id = 789 # Integer |
opts = {
sort: '', # String | sort parameter contains list of fields used for sort query result <br> examples: <br> sort=resourceId_a<br>sort=name_a<br>sort=id_a<br>sort=type_a
filter: '', # String | filter parameter contains list of fields used for filter query result <br> examples: <br> filter=resourceid_eq_1<br>filter=accessgroupid_eq_1<br>filter=name_eq_value<br>filter=id_eq_1<br>filter=type_eq_device_group
offset: '0', # String | offset parameter define page number
limit: '20' # String | limit parameter define page size
}
begin
#Get access group resources.
result = api_instance.get_resources(user_id, access_group_id, opts)
p result
rescue BitbarCloudApiClient::ApiError => e
puts "Exception when calling AllEndpointsApi->get_resources: #{e}"
end
api_instance = BitbarCloudApiClient::AllEndpointsApi.new
access_group_id = 789 # Integer |
opts = {
sort: '', # String | sort parameter contains list of fields used for sort query result <br> examples: <br> sort=resourceId_a<br>sort=name_a<br>sort=id_a<br>sort=type_a
filter: '', # String | filter parameter contains list of fields used for filter query result <br> examples: <br> filter=resourceid_eq_1<br>filter=accessgroupid_eq_1<br>filter=name_eq_value<br>filter=id_eq_1<br>filter=type_eq_device_group
offset: '0', # String | offset parameter define page number
limit: '20' # String | limit parameter define page size
}
begin
#Get access group resources.
result = api_instance.get_resources1(access_group_id, opts)
p result
rescue BitbarCloudApiClient::ApiError => e
puts "Exception when calling AllEndpointsApi->get_resources1: #{e}"
end
api_instance = BitbarCloudApiClient::AllEndpointsApi.new
opts = {
without_priorities: false, # BOOLEAN |
sort: '', # String | sort parameter contains list of fields used for sort query result <br> examples: <br> sort=name_a<br>sort=id_a
filter: '', # String | filter parameter contains list of fields used for filter query result <br> examples: <br> filter=name_eq_value<br>filter=id_eq_1
offset: '0', # String | offset parameter define page number
limit: '20' # String | limit parameter define page size
}
begin
#Get roles.
result = api_instance.get_roles(opts)
p result
rescue BitbarCloudApiClient::ApiError => e
puts "Exception when calling AllEndpointsApi->get_roles: #{e}"
end
api_instance = BitbarCloudApiClient::AllEndpointsApi.new
opts = {
sort: '', # String | sort parameter contains list of fields used for sort query result <br> examples: <br> sort=size_a<br>sort=createTime_a<br>sort=name_a<br>sort=inputType_a<br>sort=mimetype_a<br>sort=userEmail_a<br>sort=id_a<br>sort=state_a<br>sort=direction_a
filter: '', # String | filter parameter contains list of fields used for filter query result <br> examples: <br> filter=size_eq_1<br>filter=createtime_eq_1700230365764<br>filter=name_eq_value<br>filter=inputtype_eq_application<br>filter=mimetype_eq_value<br>filter=useremail_eq_value<br>filter=id_eq_1<br>filter=state_eq_preparing<br>filter=direction_eq_input
offset: '0', # String | offset parameter define page number
limit: '20' # String | limit parameter define page size
}
begin
#Get sample files.
result = api_instance.get_sample_files(opts)
p result
rescue BitbarCloudApiClient::ApiError => e
puts "Exception when calling AllEndpointsApi->get_sample_files: #{e}"
end
api_instance = BitbarCloudApiClient::AllEndpointsApi.new
begin
#Get notification scopes.
result = api_instance.get_scopes
p result
rescue BitbarCloudApiClient::ApiError => e
puts "Exception when calling AllEndpointsApi->get_scopes: #{e}"
end
api_instance = BitbarCloudApiClient::AllEndpointsApi.new
user_id = 789 # Integer |
project_id = 789 # Integer |
run_id = 789 # Integer |
begin
#Get screenshot names.
result = api_instance.get_screenshot_names(user_id, project_id, run_id)
p result
rescue BitbarCloudApiClient::ApiError => e
puts "Exception when calling AllEndpointsApi->get_screenshot_names: #{e}"
end
api_instance = BitbarCloudApiClient::AllEndpointsApi.new
run_id = 789 # Integer |
begin
#Get screenshot names.
result = api_instance.get_screenshot_names1(run_id)
p result
rescue BitbarCloudApiClient::ApiError => e
puts "Exception when calling AllEndpointsApi->get_screenshot_names1: #{e}"
end
api_instance = BitbarCloudApiClient::AllEndpointsApi.new
project_id = 789 # Integer |
run_id = 789 # Integer |
begin
#Get screenshot names.
result = api_instance.get_screenshot_names2(project_id, run_id)
p result
rescue BitbarCloudApiClient::ApiError => e
puts "Exception when calling AllEndpointsApi->get_screenshot_names2: #{e}"
end
api_instance = BitbarCloudApiClient::AllEndpointsApi.new
service_id = 789 # Integer |
begin
#Get service.
result = api_instance.get_service(service_id)
p result
rescue BitbarCloudApiClient::ApiError => e
puts "Exception when calling AllEndpointsApi->get_service: #{e}"
end
api_instance = BitbarCloudApiClient::AllEndpointsApi.new
opts = {
in_use: false, # BOOLEAN |
not_archived: false, # BOOLEAN |
active_only: false, # BOOLEAN |
sort: '', # String | sort parameter contains list of fields used for sort query result <br> examples: <br> sort=archiveTime_a<br>sort=chargeType_a<br>sort=activateTime_a<br>sort=description_a<br>sort=pricePerHour_a<br>sort=centPrice_a<br>sort=customPlan_a<br>sort=includedHours_a<br>sort=name_a<br>sort=autoRenew_a<br>sort=commonId_a<br>sort=id_a<br>sort=activated_a
filter: '', # String | filter parameter contains list of fields used for filter query result <br> examples: <br> filter=archivetime_eq_1700230365751<br>filter=chargetype_eq_concurrency<br>filter=activatetime_eq_1700230365751<br>filter=description_eq_value<br>filter=priceperhour_eq_1<br>filter=centprice_eq_1<br>filter=customplan_eq_true<br>filter=includedhours_eq_1<br>filter=name_eq_value<br>filter=autorenew_eq_true<br>filter=commonid_eq_value<br>filter=id_eq_1<br>filter=activated_eq_true
offset: '0', # String | offset parameter define page number
limit: '20' # String | limit parameter define page size
}
begin
#Get services.
result = api_instance.get_services(opts)
p result
rescue BitbarCloudApiClient::ApiError => e
puts "Exception when calling AllEndpointsApi->get_services: #{e}"
end
api_instance = BitbarCloudApiClient::AllEndpointsApi.new
opts = {
with_vulnerable_data: false # BOOLEAN |
}
begin
#Get settings.
result = api_instance.get_settings(opts)
p result
rescue BitbarCloudApiClient::ApiError => e
puts "Exception when calling AllEndpointsApi->get_settings: #{e}"
end
api_instance = BitbarCloudApiClient::AllEndpointsApi.new
serial_id = 'serial_id_example' # String |
begin
#Get specific device cleanup configuration.
result = api_instance.get_specific_device_cleanup_configuration(serial_id)
p result
rescue BitbarCloudApiClient::ApiError => e
puts "Exception when calling AllEndpointsApi->get_specific_device_cleanup_configuration: #{e}"
end
api_instance = BitbarCloudApiClient::AllEndpointsApi.new
id = 789 # Integer |
begin
#Delete device cleanup configuration.
api_instance.get_specific_device_cleanup_configuration1(id)
rescue BitbarCloudApiClient::ApiError => e
puts "Exception when calling AllEndpointsApi->get_specific_device_cleanup_configuration1: #{e}"
end
api_instance = BitbarCloudApiClient::AllEndpointsApi.new
begin
#Get basic cloud info.
result = api_instance.get_status
p result
rescue BitbarCloudApiClient::ApiError => e
puts "Exception when calling AllEndpointsApi->get_status: #{e}"
end
api_instance = BitbarCloudApiClient::AllEndpointsApi.new
begin
#Get overview status.
result = api_instance.get_system_overview
p result
rescue BitbarCloudApiClient::ApiError => e
puts "Exception when calling AllEndpointsApi->get_system_overview: #{e}"
end
api_instance = BitbarCloudApiClient::AllEndpointsApi.new
run_id = 789 # Integer |
opts = {
project_id: 789 # Integer |
}
begin
#Get test run.
result = api_instance.get_test_run(run_id, opts)
p result
rescue BitbarCloudApiClient::ApiError => e
puts "Exception when calling AllEndpointsApi->get_test_run: #{e}"
end
api_instance = BitbarCloudApiClient::AllEndpointsApi.new
project_id = 789 # Integer |
run_id = 789 # Integer |
begin
#Get test run data availability.
result = api_instance.get_test_run_data_availability_with_project(project_id, run_id)
p result
rescue BitbarCloudApiClient::ApiError => e
puts "Exception when calling AllEndpointsApi->get_test_run_data_availability_with_project: #{e}"
end
api_instance = BitbarCloudApiClient::AllEndpointsApi.new
run_id = 789 # Integer |
opts = {
user_id: 789, # Integer |
project_id: 789 # Integer |
}
begin
#Get test run data availability.
result = api_instance.get_test_run_data_availability_with_test_run(run_id, opts)
p result
rescue BitbarCloudApiClient::ApiError => e
puts "Exception when calling AllEndpointsApi->get_test_run_data_availability_with_test_run: #{e}"
end
api_instance = BitbarCloudApiClient::AllEndpointsApi.new
user_id = 789 # Integer |
project_id = 789 # Integer |
run_id = 789 # Integer |
begin
#Get test run data availability.
result = api_instance.get_test_run_data_availability_with_user(user_id, project_id, run_id)
p result
rescue BitbarCloudApiClient::ApiError => e
puts "Exception when calling AllEndpointsApi->get_test_run_data_availability_with_user: #{e}"
end
api_instance = BitbarCloudApiClient::AllEndpointsApi.new
user_id = 789 # Integer |
project_id = 789 # Integer |
run_id = 789 # Integer |
name = 'name_example' # String |
opts = {
sort: '', # String | sort parameter contains list of fields used for sort query result <br> examples: <br> sort=originalName_a<br>sort=takeTimestamp_a<br>sort=id_a
filter: '', # String | filter parameter contains list of fields used for filter query result <br> examples: <br> filter=originalname_eq_value<br>filter=taketimestamp_eq_1<br>filter=id_eq_1
offset: '0', # String | offset parameter define page number
limit: '20' # String | limit parameter define page size
}
begin
#Get test run screenshots by name.
result = api_instance.get_test_run_screenshots(user_id, project_id, run_id, name, opts)
p result
rescue BitbarCloudApiClient::ApiError => e
puts "Exception when calling AllEndpointsApi->get_test_run_screenshots: #{e}"
end
api_instance = BitbarCloudApiClient::AllEndpointsApi.new
run_id = 789 # Integer |
name = 'name_example' # String |
opts = {
sort: '', # String | sort parameter contains list of fields used for sort query result <br> examples: <br> sort=originalName_a<br>sort=takeTimestamp_a<br>sort=id_a
filter: '', # String | filter parameter contains list of fields used for filter query result <br> examples: <br> filter=originalname_eq_value<br>filter=taketimestamp_eq_1<br>filter=id_eq_1
offset: '0', # String | offset parameter define page number
limit: '20' # String | limit parameter define page size
}
begin
#Get test run screenshots by name.
result = api_instance.get_test_run_screenshots1(run_id, name, opts)
p result
rescue BitbarCloudApiClient::ApiError => e
puts "Exception when calling AllEndpointsApi->get_test_run_screenshots1: #{e}"
end
api_instance = BitbarCloudApiClient::AllEndpointsApi.new
project_id = 789 # Integer |
run_id = 789 # Integer |
name = 'name_example' # String |
opts = {
sort: '', # String | sort parameter contains list of fields used for sort query result <br> examples: <br> sort=originalName_a<br>sort=takeTimestamp_a<br>sort=id_a
filter: '', # String | filter parameter contains list of fields used for filter query result <br> examples: <br> filter=originalname_eq_value<br>filter=taketimestamp_eq_1<br>filter=id_eq_1
offset: '0', # String | offset parameter define page number
limit: '20' # String | limit parameter define page size
}
begin
#Get test run screenshots by name.
result = api_instance.get_test_run_screenshots2(project_id, run_id, name, opts)
p result
rescue BitbarCloudApiClient::ApiError => e
puts "Exception when calling AllEndpointsApi->get_test_run_screenshots2: #{e}"
end
api_instance = BitbarCloudApiClient::AllEndpointsApi.new
user_id = 789 # Integer |
project_id = 789 # Integer |
run_id = 789 # Integer |
tag_id = 789 # Integer |
begin
#Get test run tag.
result = api_instance.get_test_run_tag(user_id, project_id, run_id, tag_id)
p result
rescue BitbarCloudApiClient::ApiError => e
puts "Exception when calling AllEndpointsApi->get_test_run_tag: #{e}"
end
api_instance = BitbarCloudApiClient::AllEndpointsApi.new
project_id = 789 # Integer |
run_id = 789 # Integer |
tag_id = 789 # Integer |
begin
#Get test run tag.
result = api_instance.get_test_run_tag1(project_id, run_id, tag_id)
p result
rescue BitbarCloudApiClient::ApiError => e
puts "Exception when calling AllEndpointsApi->get_test_run_tag1: #{e}"
end
api_instance = BitbarCloudApiClient::AllEndpointsApi.new
run_id = 789 # Integer |
tag_id = 789 # Integer |
opts = {
project_id: 789 # Integer |
}
begin
#Get test run tag.
result = api_instance.get_test_run_tag_with_run(run_id, tag_id, opts)
p result
rescue BitbarCloudApiClient::ApiError => e
puts "Exception when calling AllEndpointsApi->get_test_run_tag_with_run: #{e}"
end
api_instance = BitbarCloudApiClient::AllEndpointsApi.new
user_id = 789 # Integer |
project_id = 789 # Integer |
run_id = 789 # Integer |
opts = {
sort: '', # String | sort parameter contains list of fields used for sort query result <br> examples: <br> sort=testRunId_a<br>sort=name_a<br>sort=id_a
filter: '', # String | filter parameter contains list of fields used for filter query result <br> examples: <br> filter=testrunid_eq_1<br>filter=name_eq_value<br>filter=id_eq_1
offset: '0', # String | offset parameter define page number
limit: '20' # String | limit parameter define page size
}
begin
#Get test run tags.
result = api_instance.get_test_run_tags(user_id, project_id, run_id, opts)
p result
rescue BitbarCloudApiClient::ApiError => e
puts "Exception when calling AllEndpointsApi->get_test_run_tags: #{e}"
end
api_instance = BitbarCloudApiClient::AllEndpointsApi.new
run_id = 789 # Integer |
opts = {
project_id: 789, # Integer |
sort: '', # String | sort parameter contains list of fields used for sort query result <br> examples: <br> sort=testRunId_a<br>sort=name_a<br>sort=id_a
filter: '', # String | filter parameter contains list of fields used for filter query result <br> examples: <br> filter=testrunid_eq_1<br>filter=name_eq_value<br>filter=id_eq_1
offset: '0', # String | offset parameter define page number
limit: '20' # String | limit parameter define page size
}
begin
#Get test run tags.
result = api_instance.get_test_run_tags1(run_id, opts)
p result
rescue BitbarCloudApiClient::ApiError => e
puts "Exception when calling AllEndpointsApi->get_test_run_tags1: #{e}"
end
api_instance = BitbarCloudApiClient::AllEndpointsApi.new
opts = {
sort: '', # String | sort parameter contains list of fields used for sort query result <br> examples: <br> sort=frameworkId_a<br>sort=frameworkName_a<br>sort=deviceCount_a<br>sort=displayName_a<br>sort=executionRatio_a<br>sort=successRatio_a<br>sort=userId_a<br>sort=common_a<br>sort=createTime_a<br>sort=startTime_a<br>sort=id_a<br>sort=state_a<br>sort=projectId_a
filter: '', # String | filter parameter contains list of fields used for filter query result <br> examples: <br> filter=frameworkid_eq_1<br>filter=frameworkname_eq_value<br>filter=displayname_eq_value<br>filter=successratio_eq_1<br>filter=userid_eq_1<br>filter=common_eq_true<br>filter=createtime_eq_1700230364648<br>filter=starttime_eq_1700230364648<br>filter=id_eq_1<br>filter=projectid_eq_1
offset: '0', # String | offset parameter define page number
limit: '20' # String | limit parameter define page size
}
begin
#Get test runs.
result = api_instance.get_test_runs(opts)
p result
rescue BitbarCloudApiClient::ApiError => e
puts "Exception when calling AllEndpointsApi->get_test_runs: #{e}"
end
api_instance = BitbarCloudApiClient::AllEndpointsApi.new
from_time = 789 # Integer |
to_time = 789 # Integer |
opts = {
sort: '', # String | sort parameter contains list of fields used for sort query result <br> examples: <br> sort=country_a<br>sort=organization_a<br>sort=id_a<br>sort=state_a<br>sort=email_a
filter: '', # String | filter parameter contains list of fields used for filter query result <br> examples: <br> filter=country_eq_value<br>filter=organization_eq_value<br>filter=id_eq_1<br>filter=state_eq_value<br>filter=email_eq_value
offset: '0', # String | offset parameter define page number
limit: '20' # String | limit parameter define page size
}
begin
#Get trial statistics.
result = api_instance.get_trial_statistics(from_time, to_time, opts)
p result
rescue BitbarCloudApiClient::ApiError => e
puts "Exception when calling AllEndpointsApi->get_trial_statistics: #{e}"
end
api_instance = BitbarCloudApiClient::AllEndpointsApi.new
user_id = 789 # Integer |
begin
#Get user.
result = api_instance.get_user(user_id)
p result
rescue BitbarCloudApiClient::ApiError => e
puts "Exception when calling AllEndpointsApi->get_user: #{e}"
end
api_instance = BitbarCloudApiClient::AllEndpointsApi.new
user_id = 789 # Integer |
access_group_id = 789 # Integer |
participant_id = 789 # Integer |
begin
#Get access group user.
result = api_instance.get_user1(user_id, access_group_id, participant_id)
p result
rescue BitbarCloudApiClient::ApiError => e
puts "Exception when calling AllEndpointsApi->get_user1: #{e}"
end
api_instance = BitbarCloudApiClient::AllEndpointsApi.new
access_group_id = 789 # Integer |
user_id = 789 # Integer |
begin
#Get access group user.
result = api_instance.get_user2(access_group_id, user_id)
p result
rescue BitbarCloudApiClient::ApiError => e
puts "Exception when calling AllEndpointsApi->get_user2: #{e}"
end
api_instance = BitbarCloudApiClient::AllEndpointsApi.new
user_id = 789 # Integer |
opts = {
sort: '', # String | sort parameter contains list of fields used for sort query result <br> examples: <br> sort=chargeType_a<br>sort=active_a<br>sort=activatedByName_a<br>sort=serviceName_a<br>sort=deactivatedByName_a<br>sort=accountId_a<br>sort=cbtId_a<br>sort=price_a<br>sort=autoRenew_a<br>sort=paymentMethod_a<br>sort=startTime_a<br>sort=_endTime_a<br>sort=id_a
filter: '', # String | filter parameter contains list of fields used for filter query result <br> examples: <br> filter=deactivatereason_eq_initial_failure<br>filter=chargetype_eq_concurrency<br>filter=active_eq_true<br>filter=activatedbyname_eq_value<br>filter=servicename_eq_value<br>filter=deactivatedbyname_eq_value<br>filter=accountid_eq_1<br>filter=cbtid_eq_value<br>filter=price_eq_1<br>filter=autorenew_eq_true<br>filter=paymentmethod_eq_paypal<br>filter=starttime_eq_1700230363766<br>filter=_endtime_eq_1700230363766<br>filter=id_eq_1
offset: '0', # String | offset parameter define page number
limit: '20' # String | limit parameter define page size
}
begin
#Get active services.
result = api_instance.get_user_active_services(user_id, opts)
p result
rescue BitbarCloudApiClient::ApiError => e
puts "Exception when calling AllEndpointsApi->get_user_active_services: #{e}"
end
api_instance = BitbarCloudApiClient::AllEndpointsApi.new
user_id = 789 # Integer |
opts = {
sort: '', # String | sort parameter contains list of fields used for sort query result <br> examples: <br> sort=additionalHoursPrice_a<br>sort=mail_a<br>sort=totalPrice_a<br>sort=startBillingPeriod_a<br>sort=userId_a<br>sort=_endBillingPeriod_a<br>sort=subscriptionEnd_a<br>sort=createTime_a<br>sort=servicePrice_a<br>sort=lastPaymentDate_a<br>sort=subscriptionStart_a<br>sort=additionalHours_a<br>sort=paymentMethod_a<br>sort=id_a<br>sort=additionalHoursPaymentDate_a<br>sort=paymentDate_a<br>sort=plan_a
filter: '', # String | filter parameter contains list of fields used for filter query result <br> examples: <br> filter=additionalhoursprice_eq_1<br>filter=mail_eq_value<br>filter=totalprice_eq_1<br>filter=startbillingperiod_eq_1700230364395<br>filter=userid_eq_1<br>filter=_endbillingperiod_eq_1700230364395<br>filter=subscriptionend_eq_1700230364395<br>filter=createtime_eq_1700230364395<br>filter=serviceprice_eq_1<br>filter=lastpaymentdate_eq_1700230364395<br>filter=paid_eq_true<br>filter=subscriptionstart_eq_1700230364395<br>filter=additionalhours_eq_1<br>filter=paymentmethod_eq_paypal<br>filter=id_eq_1<br>filter=plan_eq_value
offset: '0', # String | offset parameter define page number
limit: '20' # String | limit parameter define page size
}
begin
#Get users billing periods.
result = api_instance.get_user_billing_periods(user_id, opts)
p result
rescue BitbarCloudApiClient::ApiError => e
puts "Exception when calling AllEndpointsApi->get_user_billing_periods: #{e}"
end
api_instance = BitbarCloudApiClient::AllEndpointsApi.new
recovery_key = 'recovery_key_example' # String |
begin
#Get user by recovery key.
result = api_instance.get_user_by_recovery_key(recovery_key)
p result
rescue BitbarCloudApiClient::ApiError => e
puts "Exception when calling AllEndpointsApi->get_user_by_recovery_key: #{e}"
end
api_instance = BitbarCloudApiClient::AllEndpointsApi.new
user_id = 789 # Integer |
device_group_id = 789 # Integer |
begin
#Get device group.
result = api_instance.get_user_device_group(user_id, device_group_id)
p result
rescue BitbarCloudApiClient::ApiError => e
puts "Exception when calling AllEndpointsApi->get_user_device_group: #{e}"
end
api_instance = BitbarCloudApiClient::AllEndpointsApi.new
user_id = 789 # Integer |
opts = {
with_public: false, # BOOLEAN |
sort: '', # String | sort parameter contains list of fields used for sort query result <br> examples: <br> sort=displayName_a<br>sort=name_a<br>sort=osType_a<br>sort=id_a<br>sort=userId_a
filter: '', # String | filter parameter contains list of fields used for filter query result <br> examples: <br> filter=displayname_eq_value<br>filter=name_eq_value<br>filter=ostype_eq_ios<br>filter=id_eq_1<br>filter=userid_eq_1
offset: '0', # String | offset parameter define page number
limit: '20' # String | limit parameter define page size
}
begin
#Get device groups.
result = api_instance.get_user_device_groups(user_id, opts)
p result
rescue BitbarCloudApiClient::ApiError => e
puts "Exception when calling AllEndpointsApi->get_user_device_groups: #{e}"
end
api_instance = BitbarCloudApiClient::AllEndpointsApi.new
user_id = 789 # Integer |
project_id = 789 # Integer |
run_id = 789 # Integer |
device_session_id = 789 # Integer |
opts = {
sort: '', # String | sort parameter contains list of fields used for sort query result <br> examples: <br> sort=originalName_a<br>sort=takeTimestamp_a<br>sort=id_a
filter: '', # String | filter parameter contains list of fields used for filter query result <br> examples: <br> filter=originalname_eq_value<br>filter=taketimestamp_eq_1<br>filter=id_eq_1
offset: '0', # String | offset parameter define page number
limit: '20' # String | limit parameter define page size
}
begin
#Get device session screenshots.
result = api_instance.get_user_device_session_screenshots(user_id, project_id, run_id, device_session_id, opts)
p result
rescue BitbarCloudApiClient::ApiError => e
puts "Exception when calling AllEndpointsApi->get_user_device_session_screenshots: #{e}"
end
api_instance = BitbarCloudApiClient::AllEndpointsApi.new
user_id = 789 # Integer |
project_id = 789 # Integer |
run_id = 789 # Integer |
device_session_id = 789 # Integer |
device_session_step_id = 789 # Integer |
begin
#Get device session step.
result = api_instance.get_user_device_session_step(user_id, project_id, run_id, device_session_id, device_session_step_id)
p result
rescue BitbarCloudApiClient::ApiError => e
puts "Exception when calling AllEndpointsApi->get_user_device_session_step: #{e}"
end
api_instance = BitbarCloudApiClient::AllEndpointsApi.new
user_id = 789 # Integer |
project_id = 789 # Integer |
run_id = 789 # Integer |
device_session_id = 789 # Integer |
begin
#Get device session.
result = api_instance.get_user_device_session_with_users(user_id, project_id, run_id, device_session_id)
p result
rescue BitbarCloudApiClient::ApiError => e
puts "Exception when calling AllEndpointsApi->get_user_device_session_with_users: #{e}"
end
api_instance = BitbarCloudApiClient::AllEndpointsApi.new
user_id = 789 # Integer |
opts = {
for_whole_account: false, # BOOLEAN |
skip_common_project: false, # BOOLEAN |
skip_shared: false, # BOOLEAN |
start_time: 789, # Integer |
sort: '', # String | sort parameter contains list of fields used for sort query result <br> examples: <br> sort=deviceSession.createTime_a<br>sort=displayName_a<br>sort=failedDeviceSessions_a<br>sort=creditsPrice_a<br>sort=osType_a<br>sort=totalDeviceSessions_a<br>sort=deviceSession.userId_a<br>sort=id_a<br>sort=manufacturer_a
filter: '', # String | filter parameter contains list of fields used for filter query result <br> examples: <br> filter=devicesession.createtime_eq_1700230364248<br>filter=common_eq_true<br>filter=displayname_eq_value<br>filter=creditsprice_eq_1<br>filter=ostype_eq_ios<br>filter=devicesession.userid_eq_1<br>filter=id_eq_1<br>filter=manufacturer_eq_value
offset: '0', # String | offset parameter define page number
limit: '20' # String | limit parameter define page size
}
begin
#Get device usage statistics.
result = api_instance.get_user_device_usage_statistics(user_id, opts)
p result
rescue BitbarCloudApiClient::ApiError => e
puts "Exception when calling AllEndpointsApi->get_user_device_usage_statistics: #{e}"
end
api_instance = BitbarCloudApiClient::AllEndpointsApi.new
user_id = 789 # Integer |
file_id = 789 # Integer |
begin
#Get file.
result = api_instance.get_user_file(user_id, file_id)
p result
rescue BitbarCloudApiClient::ApiError => e
puts "Exception when calling AllEndpointsApi->get_user_file: #{e}"
end
api_instance = BitbarCloudApiClient::AllEndpointsApi.new
file_id = 789 # Integer |
begin
#Get file.
result = api_instance.get_user_file1(file_id)
p result
rescue BitbarCloudApiClient::ApiError => e
puts "Exception when calling AllEndpointsApi->get_user_file1: #{e}"
end
api_instance = BitbarCloudApiClient::AllEndpointsApi.new
user_id = 789 # Integer |
opts = {
tag: ['tag_example'], # Array<String> |
sort: '', # String | sort parameter contains list of fields used for sort query result <br> examples: <br> sort=size_a<br>sort=createTime_a<br>sort=name_a<br>sort=inputType_a<br>sort=mimetype_a<br>sort=userEmail_a<br>sort=id_a<br>sort=state_a<br>sort=direction_a
filter: '', # String | filter parameter contains list of fields used for filter query result <br> examples: <br> filter=size_eq_1<br>filter=createtime_eq_1700230364193<br>filter=name_eq_value<br>filter=inputtype_eq_application<br>filter=mimetype_eq_value<br>filter=useremail_eq_value<br>filter=id_eq_1<br>filter=state_eq_preparing<br>filter=direction_eq_input
offset: '0', # String | offset parameter define page number
limit: '20' # String | limit parameter define page size
}
begin
#Get files.
result = api_instance.get_user_files(user_id, opts)
p result
rescue BitbarCloudApiClient::ApiError => e
puts "Exception when calling AllEndpointsApi->get_user_files: #{e}"
end
api_instance = BitbarCloudApiClient::AllEndpointsApi.new
user_id = 789 # Integer |
device_session_id = 789 # Integer |
opts = {
with_properties: true # BOOLEAN |
}
begin
#Get device session.
result = api_instance.get_user_inspector_device_session(user_id, device_session_id, opts)
p result
rescue BitbarCloudApiClient::ApiError => e
puts "Exception when calling AllEndpointsApi->get_user_inspector_device_session: #{e}"
end
api_instance = BitbarCloudApiClient::AllEndpointsApi.new
user_id = 789 # Integer |
device_session_id = 789 # Integer |
connection_id = 789 # Integer |
begin
#Get connection for device session.
result = api_instance.get_user_inspector_device_session_connection(user_id, device_session_id, connection_id)
p result
rescue BitbarCloudApiClient::ApiError => e
puts "Exception when calling AllEndpointsApi->get_user_inspector_device_session_connection: #{e}"
end
api_instance = BitbarCloudApiClient::AllEndpointsApi.new
user_id = 789 # Integer |
opts = {
sort: '', # String | sort parameter contains list of fields used for sort query result <br> examples: <br> sort=expireTime_a<br>sort=closeTime_a<br>sort=activateTime_a<br>sort=privateInstance_a<br>sort=userEmail_a<br>sort=id_a<br>sort=userId_a<br>sort=status_a
filter: '', # String | filter parameter contains list of fields used for filter query result <br> examples: <br> filter=expiretime_eq_1700230365671<br>filter=closetime_eq_1700230365671<br>filter=activatetime_eq_1700230365671<br>filter=privateinstance_eq_true<br>filter=useremail_eq_value<br>filter=id_eq_1<br>filter=userid_eq_1<br>filter=status_eq_value
offset: '0', # String | offset parameter define page number
limit: '20' # String | limit parameter define page size
}
begin
#Get user licenses.
result = api_instance.get_user_licenses(user_id, opts)
p result
rescue BitbarCloudApiClient::ApiError => e
puts "Exception when calling AllEndpointsApi->get_user_licenses: #{e}"
end
api_instance = BitbarCloudApiClient::AllEndpointsApi.new
user_id = 789 # Integer |
id = 789 # Integer |
begin
#Get notification.
result = api_instance.get_user_notification(user_id, id)
p result
rescue BitbarCloudApiClient::ApiError => e
puts "Exception when calling AllEndpointsApi->get_user_notification: #{e}"
end
api_instance = BitbarCloudApiClient::AllEndpointsApi.new
user_id = 789 # Integer |
opts = {
sort: '', # String | sort parameter contains list of fields used for sort query result <br> examples: <br> sort=scope_a<br>sort=channel_a<br>sort=id_a<br>sort=projectId_a<br>sort=userId_a
filter: '', # String | filter parameter contains list of fields used for filter query result <br> examples: <br> filter=scope_eq_all<br>filter=channel_eq_slack<br>filter=id_eq_1<br>filter=projectid_eq_1<br>filter=userid_eq_1
offset: '0', # String | offset parameter define page number
limit: '20' # String | limit parameter define page size
}
begin
#Get notifications.
result = api_instance.get_user_notifications(user_id, opts)
p result
rescue BitbarCloudApiClient::ApiError => e
puts "Exception when calling AllEndpointsApi->get_user_notifications: #{e}"
end
api_instance = BitbarCloudApiClient::AllEndpointsApi.new
user_id = 789 # Integer |
project_id = 789 # Integer |
begin
#Get project.
result = api_instance.get_user_project(user_id, project_id)
p result
rescue BitbarCloudApiClient::ApiError => e
puts "Exception when calling AllEndpointsApi->get_user_project: #{e}"
end
api_instance = BitbarCloudApiClient::AllEndpointsApi.new
user_id = 789 # Integer |
project_id = 789 # Integer |
opts = {
sort: '', # String | sort parameter contains list of fields used for sort query result <br> examples: <br> sort=frameworkId_a<br>sort=frameworkName_a<br>sort=deviceCount_a<br>sort=displayName_a<br>sort=executionRatio_a<br>sort=successRatio_a<br>sort=userId_a<br>sort=common_a<br>sort=createTime_a<br>sort=startTime_a<br>sort=id_a<br>sort=state_a<br>sort=projectId_a
filter: '', # String | filter parameter contains list of fields used for filter query result <br> examples: <br> filter=frameworkid_eq_1<br>filter=frameworkname_eq_value<br>filter=displayname_eq_value<br>filter=successratio_eq_1<br>filter=userid_eq_1<br>filter=common_eq_true<br>filter=createtime_eq_1700230363968<br>filter=starttime_eq_1700230363968<br>filter=id_eq_1<br>filter=projectid_eq_1
offset: '0', # String | offset parameter define page number
limit: '20' # String | limit parameter define page size
}
begin
#Get test runs.
result = api_instance.get_user_project_test_runs(user_id, project_id, opts)
p result
rescue BitbarCloudApiClient::ApiError => e
puts "Exception when calling AllEndpointsApi->get_user_project_test_runs: #{e}"
end
api_instance = BitbarCloudApiClient::AllEndpointsApi.new
user_id = 789 # Integer |
opts = {
for_whole_account: false, # BOOLEAN |
skip_common_project: false, # BOOLEAN |
skip_shared: false, # BOOLEAN |
show_statistics: false, # BOOLEAN |
sort: '', # String | sort parameter contains list of fields used for sort query result <br> examples: <br> sort=archiveTime_a<br>sort=common_a<br>sort=createTime_a<br>sort=name_a<br>sort=osType_a<br>sort=description_a<br>sort=id_a<br>sort=sharedByEmail_a
filter: '', # String | filter parameter contains list of fields used for filter query result <br> examples: <br> filter=archivetime_eq_1700230363889<br>filter=common_eq_true<br>filter=createtime_eq_1700230363889<br>filter=name_eq_value<br>filter=ostype_eq_ios<br>filter=description_eq_value<br>filter=readonly_eq_true<br>filter=id_eq_1<br>filter=sharedbyemail_eq_value
offset: '0', # String | offset parameter define page number
limit: '20' # String | limit parameter define page size
}
begin
#Get projects.
result = api_instance.get_user_projects(user_id, opts)
p result
rescue BitbarCloudApiClient::ApiError => e
puts "Exception when calling AllEndpointsApi->get_user_projects: #{e}"
end
api_instance = BitbarCloudApiClient::AllEndpointsApi.new
user_id = 789 # Integer |
begin
#Get reserved device time.
result = api_instance.get_user_reserved_device_time(user_id)
p result
rescue BitbarCloudApiClient::ApiError => e
puts "Exception when calling AllEndpointsApi->get_user_reserved_device_time: #{e}"
end
api_instance = BitbarCloudApiClient::AllEndpointsApi.new
account_service_id = 789 # Integer |
begin
#Get account service.
result = api_instance.get_user_service(account_service_id)
p result
rescue BitbarCloudApiClient::ApiError => e
puts "Exception when calling AllEndpointsApi->get_user_service: #{e}"
end
api_instance = BitbarCloudApiClient::AllEndpointsApi.new
user_id = 789 # Integer |
opts = {
sort: '', # String | sort parameter contains list of fields used for sort query result <br> examples: <br> sort=chargeType_a<br>sort=active_a<br>sort=activatedByName_a<br>sort=serviceName_a<br>sort=deactivatedByName_a<br>sort=accountId_a<br>sort=cbtId_a<br>sort=price_a<br>sort=autoRenew_a<br>sort=paymentMethod_a<br>sort=startTime_a<br>sort=_endTime_a<br>sort=id_a
filter: '', # String | filter parameter contains list of fields used for filter query result <br> examples: <br> filter=deactivatereason_eq_initial_failure<br>filter=chargetype_eq_concurrency<br>filter=active_eq_true<br>filter=activatedbyname_eq_value<br>filter=servicename_eq_value<br>filter=deactivatedbyname_eq_value<br>filter=accountid_eq_1<br>filter=cbtid_eq_value<br>filter=price_eq_1<br>filter=autorenew_eq_true<br>filter=paymentmethod_eq_paypal<br>filter=starttime_eq_1700230365684<br>filter=_endtime_eq_1700230365684<br>filter=id_eq_1
offset: '0', # String | offset parameter define page number
limit: '20' # String | limit parameter define page size
}
begin
#Get account services.
result = api_instance.get_user_services(user_id, opts)
p result
rescue BitbarCloudApiClient::ApiError => e
puts "Exception when calling AllEndpointsApi->get_user_services: #{e}"
end
api_instance = BitbarCloudApiClient::AllEndpointsApi.new
user_id = 789 # Integer |
opts = {
for_whole_account: false, # BOOLEAN |
skip_common_project: false, # BOOLEAN |
skip_shared: false, # BOOLEAN |
start_time: 789 # Integer |
}
begin
#Get statistics.
result = api_instance.get_user_statistics(user_id, opts)
p result
rescue BitbarCloudApiClient::ApiError => e
puts "Exception when calling AllEndpointsApi->get_user_statistics: #{e}"
end
api_instance = BitbarCloudApiClient::AllEndpointsApi.new
user_id = 789 # Integer |
project_id = 789 # Integer |
run_id = 789 # Integer |
begin
#Get test run.
result = api_instance.get_user_test_run(user_id, project_id, run_id)
p result
rescue BitbarCloudApiClient::ApiError => e
puts "Exception when calling AllEndpointsApi->get_user_test_run: #{e}"
end
api_instance = BitbarCloudApiClient::AllEndpointsApi.new
user_id = 789 # Integer |
opts = {
for_whole_account: false, # BOOLEAN |
skip_common_project: false, # BOOLEAN |
skip_shared: false, # BOOLEAN |
sort: '', # String | sort parameter contains list of fields used for sort query result <br> examples: <br> sort=frameworkId_a<br>sort=frameworkName_a<br>sort=deviceCount_a<br>sort=displayName_a<br>sort=executionRatio_a<br>sort=successRatio_a<br>sort=userId_a<br>sort=common_a<br>sort=createTime_a<br>sort=startTime_a<br>sort=id_a<br>sort=state_a<br>sort=projectId_a
filter: '', # String | filter parameter contains list of fields used for filter query result <br> examples: <br> filter=frameworkid_eq_1<br>filter=frameworkname_eq_value<br>filter=displayname_eq_value<br>filter=successratio_eq_1<br>filter=userid_eq_1<br>filter=common_eq_true<br>filter=createtime_eq_1700230363880<br>filter=starttime_eq_1700230363880<br>filter=id_eq_1<br>filter=projectid_eq_1
offset: '0', # String | offset parameter define page number
limit: '20' # String | limit parameter define page size
}
begin
#Get test runs.
result = api_instance.get_user_test_runs(user_id, opts)
p result
rescue BitbarCloudApiClient::ApiError => e
puts "Exception when calling AllEndpointsApi->get_user_test_runs: #{e}"
end
api_instance = BitbarCloudApiClient::AllEndpointsApi.new
user_id = 789 # Integer |
begin
#Get used device time.
result = api_instance.get_user_used_device_time(user_id)
p result
rescue BitbarCloudApiClient::ApiError => e
puts "Exception when calling AllEndpointsApi->get_user_used_device_time: #{e}"
end
api_instance = BitbarCloudApiClient::AllEndpointsApi.new
opts = {
only_main_users: false, # BOOLEAN |
only_with_disabled_services: false, # BOOLEAN |
with_role: 'with_role_example', # String |
with_roles: false, # BOOLEAN |
with_address: false, # BOOLEAN |
with_user_info: true, # BOOLEAN |
sort: '', # String | sort parameter contains list of fields used for sort query result <br> examples: <br> sort=lastName_a<br>sort=mainUserEmail_a<br>sort=accountId_a<br>sort=firstName_a<br>sort=serviceIds_a<br>sort=mainUserId_a<br>sort=createTime_a<br>sort=deleteTime_a<br>sort=accountServiceIds_a<br>sort=id_a<br>sort=email_a<br>sort=status_a
filter: '', # String | filter parameter contains list of fields used for filter query result <br> examples: <br> filter=lastname_eq_value<br>filter=mainuseremail_eq_value<br>filter=accountid_eq_1<br>filter=firstname_eq_value<br>filter=serviceids_eq_1<br>filter=mainuserid_eq_1<br>filter=createtime_eq_1700230363668<br>filter=deletetime_eq_1700230363668<br>filter=accountserviceids_eq_1<br>filter=ismainuser_eq_true<br>filter=id_eq_1<br>filter=email_eq_value<br>filter=status_eq_inactive
offset: '0', # String | offset parameter define page number
limit: '20' # String | limit parameter define page size
}
begin
#Get users.
result = api_instance.get_users(opts)
p result
rescue BitbarCloudApiClient::ApiError => e
puts "Exception when calling AllEndpointsApi->get_users: #{e}"
end
api_instance = BitbarCloudApiClient::AllEndpointsApi.new
user_id = 789 # Integer |
access_group_id = 789 # Integer |
opts = {
sort: '', # String | sort parameter contains list of fields used for sort query result <br> examples: <br> sort=firstName_a<br>sort=lastName_a<br>sort=id_a<br>sort=email_a
filter: '', # String | filter parameter contains list of fields used for filter query result <br> examples: <br> filter=firstname_eq_value<br>filter=lastname_eq_value<br>filter=accessgroupid_eq_1<br>filter=id_eq_1<br>filter=email_eq_value
offset: '0', # String | offset parameter define page number
limit: '20' # String | limit parameter define page size
}
begin
#Get access group users.
result = api_instance.get_users1(user_id, access_group_id, opts)
p result
rescue BitbarCloudApiClient::ApiError => e
puts "Exception when calling AllEndpointsApi->get_users1: #{e}"
end
api_instance = BitbarCloudApiClient::AllEndpointsApi.new
access_group_id = 789 # Integer |
opts = {
sort: '', # String | sort parameter contains list of fields used for sort query result <br> examples: <br> sort=firstName_a<br>sort=lastName_a<br>sort=id_a<br>sort=email_a
filter: '', # String | filter parameter contains list of fields used for filter query result <br> examples: <br> filter=firstname_eq_value<br>filter=lastname_eq_value<br>filter=accessgroupid_eq_1<br>filter=id_eq_1<br>filter=email_eq_value
offset: '0', # String | offset parameter define page number
limit: '20' # String | limit parameter define page size
}
begin
#Get access group users.
result = api_instance.get_users2(access_group_id, opts)
p result
rescue BitbarCloudApiClient::ApiError => e
puts "Exception when calling AllEndpointsApi->get_users2: #{e}"
end
api_instance = BitbarCloudApiClient::AllEndpointsApi.new
user_id = 789 # Integer |
opts = {
for_whole_account: false, # BOOLEAN |
sort: '', # String | sort parameter contains list of fields used for sort query result <br> examples: <br> sort=createTime_a<br>sort=id_a<br>sort=type_a<br>sort=userName_a
filter: '', # String | filter parameter contains list of fields used for filter query result <br> examples: <br> filter=starttime_eq_1700230364254<br>filter=_endtime_eq_1700230364254<br>filter=id_eq_1<br>filter=username_eq_value<br>filter=userid_eq_1
offset: '0', # String | offset parameter define page number
limit: '20' # String | limit parameter define page size
}
begin
#Get device time history.
result = api_instance.get_users_device_time_history(user_id, opts)
p result
rescue BitbarCloudApiClient::ApiError => e
puts "Exception when calling AllEndpointsApi->get_users_device_time_history: #{e}"
end
api_instance = BitbarCloudApiClient::AllEndpointsApi.new
user_id = 789 # Integer |
opts = {
for_whole_account: false, # BOOLEAN |
sort: '', # String | sort parameter contains list of fields used for sort query result <br> examples: <br> sort=createTime_a<br>sort=id_a<br>sort=type_a<br>sort=userName_a
filter: '', # String | filter parameter contains list of fields used for filter query result <br> examples: <br> filter=starttime_eq_1700230364262<br>filter=_endtime_eq_1700230364262<br>filter=id_eq_1<br>filter=username_eq_value<br>filter=userid_eq_1
offset: '0', # String | offset parameter define page number
limit: '20' # String | limit parameter define page size
}
begin
#Get device time history.
result = api_instance.get_users_device_time_history_summary(user_id, opts)
p result
rescue BitbarCloudApiClient::ApiError => e
puts "Exception when calling AllEndpointsApi->get_users_device_time_history_summary: #{e}"
end
api_instance = BitbarCloudApiClient::AllEndpointsApi.new
user_id = 789 # Integer |
begin
#Get VisualTests enabled status.
result = api_instance.get_visual_test_access(user_id)
p result
rescue BitbarCloudApiClient::ApiError => e
puts "Exception when calling AllEndpointsApi->get_visual_test_access: #{e}"
end
api_instance = BitbarCloudApiClient::AllEndpointsApi.new
user_id = 789 # Integer |
device_session_id = 789 # Integer |
begin
#Retrieve VisualTests images.
result = api_instance.get_visual_test_images(user_id, device_session_id)
p result
rescue BitbarCloudApiClient::ApiError => e
puts "Exception when calling AllEndpointsApi->get_visual_test_images: #{e}"
end
api_instance = BitbarCloudApiClient::AllEndpointsApi.new
user_id = 789 # Integer |
begin
#Load user preferences.
result = api_instance.load_user_preferences(user_id)
p result
rescue BitbarCloudApiClient::ApiError => e
puts "Exception when calling AllEndpointsApi->load_user_preferences: #{e}"
end
api_instance = BitbarCloudApiClient::AllEndpointsApi.new
user_id = 789 # Integer |
begin
#Load ui preferences.
result = api_instance.load_user_ui_preferences(user_id)
p result
rescue BitbarCloudApiClient::ApiError => e
puts "Exception when calling AllEndpointsApi->load_user_ui_preferences: #{e}"
end
api_instance = BitbarCloudApiClient::AllEndpointsApi.new
billing_period_id = 789 # Integer |
begin
#Mark billing period as paid.
result = api_instance.mark_billing_period_as_paid(billing_period_id)
p result
rescue BitbarCloudApiClient::ApiError => e
puts "Exception when calling AllEndpointsApi->mark_billing_period_as_paid: #{e}"
end
api_instance = BitbarCloudApiClient::AllEndpointsApi.new
key = 'key_example' # String |
password = 'password_example' # String |
begin
#Set new password after recovery.
result = api_instance.recover_password(key, password)
p result
rescue BitbarCloudApiClient::ApiError => e
puts "Exception when calling AllEndpointsApi->recover_password: #{e}"
end
api_instance = BitbarCloudApiClient::AllEndpointsApi.new
email = 'email_example' # String |
begin
#Register new user.
api_instance.register(email)
rescue BitbarCloudApiClient::ApiError => e
puts "Exception when calling AllEndpointsApi->register: #{e}"
end
api_instance = BitbarCloudApiClient::AllEndpointsApi.new
user_id = 789 # Integer |
device_session_id = 789 # Integer |
begin
#Release device session.
result = api_instance.release_device_session(user_id, device_session_id)
p result
rescue BitbarCloudApiClient::ApiError => e
puts "Exception when calling AllEndpointsApi->release_device_session: #{e}"
end
api_instance = BitbarCloudApiClient::AllEndpointsApi.new
device_session_id = 789 # Integer |
begin
#Release device session.
result = api_instance.release_device_session1(device_session_id)
p result
rescue BitbarCloudApiClient::ApiError => e
puts "Exception when calling AllEndpointsApi->release_device_session1: #{e}"
end
api_instance = BitbarCloudApiClient::AllEndpointsApi.new
project_id = 789 # Integer |
run_id = 789 # Integer |
opts = {
device_run_ids: [56] # Array<Integer> |
}
begin
#Generate build logs zip.
result = api_instance.request_project_test_run_build_logs(project_id, run_id, opts)
p result
rescue BitbarCloudApiClient::ApiError => e
puts "Exception when calling AllEndpointsApi->request_project_test_run_build_logs: #{e}"
end
api_instance = BitbarCloudApiClient::AllEndpointsApi.new
project_id = 789 # Integer |
run_id = 789 # Integer |
opts = {
device_run_ids: [56] # Array<Integer> |
}
begin
#Generate files zip.
result = api_instance.request_project_test_run_files(project_id, run_id, opts)
p result
rescue BitbarCloudApiClient::ApiError => e
puts "Exception when calling AllEndpointsApi->request_project_test_run_files: #{e}"
end
api_instance = BitbarCloudApiClient::AllEndpointsApi.new
project_id = 789 # Integer |
run_id = 789 # Integer |
opts = {
device_run_ids: [56] # Array<Integer> |
}
begin
#Generate logs zip.
result = api_instance.request_project_test_run_logs(project_id, run_id, opts)
p result
rescue BitbarCloudApiClient::ApiError => e
puts "Exception when calling AllEndpointsApi->request_project_test_run_logs: #{e}"
end
api_instance = BitbarCloudApiClient::AllEndpointsApi.new
project_id = 789 # Integer |
run_id = 789 # Integer |
opts = {
device_run_ids: [56] # Array<Integer> |
}
begin
#Generate performance zip.
result = api_instance.request_project_test_run_performance(project_id, run_id, opts)
p result
rescue BitbarCloudApiClient::ApiError => e
puts "Exception when calling AllEndpointsApi->request_project_test_run_performance: #{e}"
end
api_instance = BitbarCloudApiClient::AllEndpointsApi.new
project_id = 789 # Integer |
run_id = 789 # Integer |
opts = {
device_run_ids: [56] # Array<Integer> |
}
begin
#Generate screenshot zip.
result = api_instance.request_project_test_run_screenshots(project_id, run_id, opts)
p result
rescue BitbarCloudApiClient::ApiError => e
puts "Exception when calling AllEndpointsApi->request_project_test_run_screenshots: #{e}"
end
api_instance = BitbarCloudApiClient::AllEndpointsApi.new
run_id = 789 # Integer |
opts = {
project_id: 789, # Integer |
user_id: 789, # Integer |
device_run_ids: [56] # Array<Integer> |
}
begin
#Generate build logs zip.
result = api_instance.request_test_run_build_logs(run_id, opts)
p result
rescue BitbarCloudApiClient::ApiError => e
puts "Exception when calling AllEndpointsApi->request_test_run_build_logs: #{e}"
end
api_instance = BitbarCloudApiClient::AllEndpointsApi.new
run_id = 789 # Integer |
opts = {
user_id: 789, # Integer |
project_id: 789, # Integer |
device_run_ids: [56] # Array<Integer> |
}
begin
#Generate files zip.
result = api_instance.request_test_run_files(run_id, opts)
p result
rescue BitbarCloudApiClient::ApiError => e
puts "Exception when calling AllEndpointsApi->request_test_run_files: #{e}"
end
api_instance = BitbarCloudApiClient::AllEndpointsApi.new
run_id = 789 # Integer |
opts = {
user_id: 789, # Integer |
project_id: 789, # Integer |
device_run_ids: [56] # Array<Integer> |
}
begin
#Generate logs zip.
result = api_instance.request_test_run_logs(run_id, opts)
p result
rescue BitbarCloudApiClient::ApiError => e
puts "Exception when calling AllEndpointsApi->request_test_run_logs: #{e}"
end
api_instance = BitbarCloudApiClient::AllEndpointsApi.new
run_id = 789 # Integer |
opts = {
project_id: 789, # Integer |
user_id: 789, # Integer |
device_run_ids: [56] # Array<Integer> |
}
begin
#Generate performance zip.
result = api_instance.request_test_run_performance(run_id, opts)
p result
rescue BitbarCloudApiClient::ApiError => e
puts "Exception when calling AllEndpointsApi->request_test_run_performance: #{e}"
end
api_instance = BitbarCloudApiClient::AllEndpointsApi.new
run_id = 789 # Integer |
opts = {
project_id: 789, # Integer |
user_id: 789, # Integer |
device_run_ids: [56] # Array<Integer> |
}
begin
#Generate screenshot zip.
result = api_instance.request_test_run_screenshots(run_id, opts)
p result
rescue BitbarCloudApiClient::ApiError => e
puts "Exception when calling AllEndpointsApi->request_test_run_screenshots: #{e}"
end
api_instance = BitbarCloudApiClient::AllEndpointsApi.new
user_id = 789 # Integer |
project_id = 789 # Integer |
run_id = 789 # Integer |
opts = {
device_run_ids: [56] # Array<Integer> |
}
begin
#Generate files zip.
result = api_instance.request_user_test_run_files(user_id, project_id, run_id, opts)
p result
rescue BitbarCloudApiClient::ApiError => e
puts "Exception when calling AllEndpointsApi->request_user_test_run_files: #{e}"
end
api_instance = BitbarCloudApiClient::AllEndpointsApi.new
user_id = 789 # Integer |
project_id = 789 # Integer |
run_id = 789 # Integer |
opts = {
device_run_ids: [56] # Array<Integer> |
}
begin
#Generate logs zip.
result = api_instance.request_user_test_run_logs(user_id, project_id, run_id, opts)
p result
rescue BitbarCloudApiClient::ApiError => e
puts "Exception when calling AllEndpointsApi->request_user_test_run_logs: #{e}"
end
api_instance = BitbarCloudApiClient::AllEndpointsApi.new
user_id = 789 # Integer |
project_id = 789 # Integer |
run_id = 789 # Integer |
opts = {
device_run_ids: [56] # Array<Integer> |
}
begin
#Generate performance zip.
result = api_instance.request_user_test_run_performance(user_id, project_id, run_id, opts)
p result
rescue BitbarCloudApiClient::ApiError => e
puts "Exception when calling AllEndpointsApi->request_user_test_run_performance: #{e}"
end
api_instance = BitbarCloudApiClient::AllEndpointsApi.new
user_id = 789 # Integer |
project_id = 789 # Integer |
run_id = 789 # Integer |
opts = {
device_run_ids: [56] # Array<Integer> |
}
begin
#Generate screenshot zip.
result = api_instance.request_user_test_run_screenshots(user_id, project_id, run_id, opts)
p result
rescue BitbarCloudApiClient::ApiError => e
puts "Exception when calling AllEndpointsApi->request_user_test_run_screenshots: #{e}"
end
api_instance = BitbarCloudApiClient::AllEndpointsApi.new
user_id = 789 # Integer |
additional_user_id = 789 # Integer |
begin
#Resend activation email to additional user.
result = api_instance.resend_activation_email(user_id, additional_user_id)
p result
rescue BitbarCloudApiClient::ApiError => e
puts "Exception when calling AllEndpointsApi->resend_activation_email: #{e}"
end
api_instance = BitbarCloudApiClient::AllEndpointsApi.new
user_id = 789 # Integer |
begin
#Resend activation email.
result = api_instance.resend_activation_email1(user_id)
p result
rescue BitbarCloudApiClient::ApiError => e
puts "Exception when calling AllEndpointsApi->resend_activation_email1: #{e}"
end
api_instance = BitbarCloudApiClient::AllEndpointsApi.new
id = 789 # Integer |
begin
#Resend email.
result = api_instance.resend_email(id)
p result
rescue BitbarCloudApiClient::ApiError => e
puts "Exception when calling AllEndpointsApi->resend_email: #{e}"
end
api_instance = BitbarCloudApiClient::AllEndpointsApi.new
id = 789 # Integer |
begin
#Resend license.
result = api_instance.resend_license(id)
p result
rescue BitbarCloudApiClient::ApiError => e
puts "Exception when calling AllEndpointsApi->resend_license: #{e}"
end
api_instance = BitbarCloudApiClient::AllEndpointsApi.new
user_id = 789 # Integer |
begin
#Reset api key.
result = api_instance.reset_api_key(user_id)
p result
rescue BitbarCloudApiClient::ApiError => e
puts "Exception when calling AllEndpointsApi->reset_api_key: #{e}"
end
api_instance = BitbarCloudApiClient::AllEndpointsApi.new
user_id = 789 # Integer |
begin
#Restore user requested to be deleted.
result = api_instance.restore_user(user_id)
p result
rescue BitbarCloudApiClient::ApiError => e
puts "Exception when calling AllEndpointsApi->restore_user: #{e}"
end
api_instance = BitbarCloudApiClient::AllEndpointsApi.new
project_id = 789 # Integer |
run_id = 789 # Integer |
device_session_id = 789 # Integer |
begin
#Retry device session.
result = api_instance.retry_device_session(project_id, run_id, device_session_id)
p result
rescue BitbarCloudApiClient::ApiError => e
puts "Exception when calling AllEndpointsApi->retry_device_session: #{e}"
end
api_instance = BitbarCloudApiClient::AllEndpointsApi.new
user_id = 789 # Integer |
project_id = 789 # Integer |
run_id = 789 # Integer |
device_session_id = 789 # Integer |
begin
#Retry device session.
result = api_instance.retry_device_session_with_user(user_id, project_id, run_id, device_session_id)
p result
rescue BitbarCloudApiClient::ApiError => e
puts "Exception when calling AllEndpointsApi->retry_device_session_with_user: #{e}"
end
api_instance = BitbarCloudApiClient::AllEndpointsApi.new
project_id = 789 # Integer |
run_id = 789 # Integer |
opts = {
device_run_ids: [56] # Array<Integer> |
}
begin
#Retry test run or its device sessions.
result = api_instance.retry_project_test_run(project_id, run_id, opts)
p result
rescue BitbarCloudApiClient::ApiError => e
puts "Exception when calling AllEndpointsApi->retry_project_test_run: #{e}"
end
api_instance = BitbarCloudApiClient::AllEndpointsApi.new
run_id = 789 # Integer |
opts = {
device_run_ids: [56] # Array<Integer> |
}
begin
#Retry test run or its device sessions.
result = api_instance.retry_test_run(run_id, opts)
p result
rescue BitbarCloudApiClient::ApiError => e
puts "Exception when calling AllEndpointsApi->retry_test_run: #{e}"
end
api_instance = BitbarCloudApiClient::AllEndpointsApi.new
run_id = 789 # Integer |
opts = {
project_id: 789, # Integer |
device_run_ids: [56] # Array<Integer> |
}
begin
#Retry test run or its device sessions.
result = api_instance.retry_test_run_with_test_run(run_id, opts)
p result
rescue BitbarCloudApiClient::ApiError => e
puts "Exception when calling AllEndpointsApi->retry_test_run_with_test_run: #{e}"
end
api_instance = BitbarCloudApiClient::AllEndpointsApi.new
user_id = 789 # Integer |
project_id = 789 # Integer |
run_id = 789 # Integer |
opts = {
device_run_ids: [56] # Array<Integer> |
}
begin
#Retry test run or its device sessions.
result = api_instance.retry_test_run_with_user(user_id, project_id, run_id, opts)
p result
rescue BitbarCloudApiClient::ApiError => e
puts "Exception when calling AllEndpointsApi->retry_test_run_with_user: #{e}"
end
api_instance = BitbarCloudApiClient::AllEndpointsApi.new
id = 789 # Integer |
begin
#Rollback framework's config.
result = api_instance.rollback_framework_config(id)
p result
rescue BitbarCloudApiClient::ApiError => e
puts "Exception when calling AllEndpointsApi->rollback_framework_config: #{e}"
end
api_instance = BitbarCloudApiClient::AllEndpointsApi.new
body = BitbarCloudApiClient::APITestRunConfig.new # APITestRunConfig |
begin
#Run test run.
result = api_instance.run_test_run(body)
p result
rescue BitbarCloudApiClient::ApiError => e
puts "Exception when calling AllEndpointsApi->run_test_run: #{e}"
end
api_instance = BitbarCloudApiClient::AllEndpointsApi.new
body = BitbarCloudApiClient::APITestRunConfig.new # APITestRunConfig |
user_id = 789 # Integer |
begin
#Run test run.
result = api_instance.run_user_test_run(body, user_id)
p result
rescue BitbarCloudApiClient::ApiError => e
puts "Exception when calling AllEndpointsApi->run_user_test_run: #{e}"
end
api_instance = BitbarCloudApiClient::AllEndpointsApi.new
user_id = 789 # Integer |
project_id = 789 # Integer |
run_id = 789 # Integer |
device_session_id = 789 # Integer |
screenshot_id = 789 # Integer |
opts = {
width: 56, # Integer |
height: 56 # Integer |
}
begin
#Get device session screenshot.
api_instance.serve_screenshot(user_id, project_id, run_id, device_session_id, screenshot_id, opts)
rescue BitbarCloudApiClient::ApiError => e
puts "Exception when calling AllEndpointsApi->serve_screenshot: #{e}"
end
api_instance = BitbarCloudApiClient::AllEndpointsApi.new
run_id = 789 # Integer |
billable = true # BOOLEAN |
begin
#Change billable status.
result = api_instance.set_billable_flag(run_id, billable)
p result
rescue BitbarCloudApiClient::ApiError => e
puts "Exception when calling AllEndpointsApi->set_billable_flag: #{e}"
end
api_instance = BitbarCloudApiClient::AllEndpointsApi.new
device_session_id = 789 # Integer |
billable = true # BOOLEAN |
begin
#Change billable status for device session.
result = api_instance.set_billable_flag1(device_session_id, billable)
p result
rescue BitbarCloudApiClient::ApiError => e
puts "Exception when calling AllEndpointsApi->set_billable_flag1: #{e}"
end
api_instance = BitbarCloudApiClient::AllEndpointsApi.new
enabled = true # BOOLEAN |
opts = {
type: 'type_example' # String |
}
begin
#Turn on/off maintenance mode.
result = api_instance.set_maintenance(enabled, opts)
p result
rescue BitbarCloudApiClient::ApiError => e
puts "Exception when calling AllEndpointsApi->set_maintenance: #{e}"
end
api_instance = BitbarCloudApiClient::AllEndpointsApi.new
run_id = 789 # Integer |
priority = 56 # Integer |
begin
#Change priority.
result = api_instance.set_priority(run_id, priority)
p result
rescue BitbarCloudApiClient::ApiError => e
puts "Exception when calling AllEndpointsApi->set_priority: #{e}"
end
api_instance = BitbarCloudApiClient::AllEndpointsApi.new
user_id = 789 # Integer |
device_group_id = 789 # Integer |
opts = {
access_group_id: 789, # Integer |
email: 'email_example' # String |
}
begin
#Share device group.
result = api_instance.share_device_group(user_id, device_group_id, opts)
p result
rescue BitbarCloudApiClient::ApiError => e
puts "Exception when calling AllEndpointsApi->share_device_group: #{e}"
end
api_instance = BitbarCloudApiClient::AllEndpointsApi.new
device_group_id = 789 # Integer |
opts = {
access_group_id: 789, # Integer |
email: 'email_example' # String |
}
begin
#Share device group.
result = api_instance.share_device_group1(device_group_id, opts)
p result
rescue BitbarCloudApiClient::ApiError => e
puts "Exception when calling AllEndpointsApi->share_device_group1: #{e}"
end
api_instance = BitbarCloudApiClient::AllEndpointsApi.new
user_id = 789 # Integer |
file_id = 789 # Integer |
opts = {
access_group_id: 789, # Integer |
email: 'email_example' # String |
}
begin
#Share file.
result = api_instance.share_file(user_id, file_id, opts)
p result
rescue BitbarCloudApiClient::ApiError => e
puts "Exception when calling AllEndpointsApi->share_file: #{e}"
end
api_instance = BitbarCloudApiClient::AllEndpointsApi.new
file_id = 789 # Integer |
opts = {
access_group_id: 789, # Integer |
email: 'email_example' # String |
}
begin
#Share file.
result = api_instance.share_file1(file_id, opts)
p result
rescue BitbarCloudApiClient::ApiError => e
puts "Exception when calling AllEndpointsApi->share_file1: #{e}"
end
api_instance = BitbarCloudApiClient::AllEndpointsApi.new
user_id = 789 # Integer |
project_id = 789 # Integer |
opts = {
access_group_id: 789, # Integer |
email: 'email_example' # String |
}
begin
#Share project.
result = api_instance.share_project(user_id, project_id, opts)
p result
rescue BitbarCloudApiClient::ApiError => e
puts "Exception when calling AllEndpointsApi->share_project: #{e}"
end
api_instance = BitbarCloudApiClient::AllEndpointsApi.new
project_id = 789 # Integer |
opts = {
access_group_id: 789, # Integer |
email: 'email_example' # String |
}
begin
#Share project.
result = api_instance.share_project1(project_id, opts)
p result
rescue BitbarCloudApiClient::ApiError => e
puts "Exception when calling AllEndpointsApi->share_project1: #{e}"
end
api_instance = BitbarCloudApiClient::AllEndpointsApi.new
body = BitbarCloudApiClient::APIUserPreference.new # APIUserPreference |
user_id = 789 # Integer |
begin
#Store user preferences.
result = api_instance.store_user_preferences(body, user_id)
p result
rescue BitbarCloudApiClient::ApiError => e
puts "Exception when calling AllEndpointsApi->store_user_preferences: #{e}"
end
api_instance = BitbarCloudApiClient::AllEndpointsApi.new
user_id = 789 # Integer |
data = 'data_example' # String |
begin
#Store ui preferences.
result = api_instance.store_user_ui_preferences(user_id, data)
p result
rescue BitbarCloudApiClient::ApiError => e
puts "Exception when calling AllEndpointsApi->store_user_ui_preferences: #{e}"
end
api_instance = BitbarCloudApiClient::AllEndpointsApi.new
user_id = 789 # Integer |
id = 789 # Integer |
begin
#Test notification.
result = api_instance.test_user_notification(user_id, id)
p result
rescue BitbarCloudApiClient::ApiError => e
puts "Exception when calling AllEndpointsApi->test_user_notification: #{e}"
end
api_instance = BitbarCloudApiClient::AllEndpointsApi.new
project_id = 789 # Integer |
begin
#Unarchive project.
api_instance.unarchive_project(project_id)
rescue BitbarCloudApiClient::ApiError => e
puts "Exception when calling AllEndpointsApi->unarchive_project: #{e}"
end
api_instance = BitbarCloudApiClient::AllEndpointsApi.new
user_id = 789 # Integer |
access_group_id = 789 # Integer |
opts = {
scope: 'scope_example', # String |
name: 'name_example' # String |
}
begin
#Update access group.
result = api_instance.update(user_id, access_group_id, opts)
p result
rescue BitbarCloudApiClient::ApiError => e
puts "Exception when calling AllEndpointsApi->update: #{e}"
end
api_instance = BitbarCloudApiClient::AllEndpointsApi.new
access_group_id = 789 # Integer |
opts = {
scope: 'scope_example', # String |
name: 'name_example' # String |
}
begin
#Update access group.
result = api_instance.update1(access_group_id, opts)
p result
rescue BitbarCloudApiClient::ApiError => e
puts "Exception when calling AllEndpointsApi->update1: #{e}"
end
api_instance = BitbarCloudApiClient::AllEndpointsApi.new
body = BitbarCloudApiClient::APIAccountPreference.new # APIAccountPreference |
account_id = 789 # Integer |
begin
#Update account preferences.
result = api_instance.update_account_preferences(body, account_id)
p result
rescue BitbarCloudApiClient::ApiError => e
puts "Exception when calling AllEndpointsApi->update_account_preferences: #{e}"
end
api_instance = BitbarCloudApiClient::AllEndpointsApi.new
account_service_id = 789 # Integer |
begin
#Force update account service subscription price.
result = api_instance.update_account_service_price(account_service_id)
p result
rescue BitbarCloudApiClient::ApiError => e
puts "Exception when calling AllEndpointsApi->update_account_service_price: #{e}"
end
api_instance = BitbarCloudApiClient::AllEndpointsApi.new
group_id = 789 # Integer |
label_id = 789 # Integer |
opts = {
name: 'name_example', # String |
display_name: 'display_name_example' # String |
}
begin
#Update label.
result = api_instance.update_api_label(group_id, label_id, opts)
p result
rescue BitbarCloudApiClient::ApiError => e
puts "Exception when calling AllEndpointsApi->update_api_label: #{e}"
end
api_instance = BitbarCloudApiClient::AllEndpointsApi.new
id = 789 # Integer |
name = 'name_example' # String |
display_name = 'display_name_example' # String |
version = 'version_example' # String |
os_type = 'os_type_example' # String |
opts = {
architecture: 'architecture_example', # String |
install_url: 'install_url_example' # String |
}
begin
#Update browser.
result = api_instance.update_browser(id, name, display_name, version, os_type, opts)
p result
rescue BitbarCloudApiClient::ApiError => e
puts "Exception when calling AllEndpointsApi->update_browser: #{e}"
end
api_instance = BitbarCloudApiClient::AllEndpointsApi.new
id = 789 # Integer |
opts = {
enabled: true, # BOOLEAN |
quiet_down: true, # BOOLEAN |
restart: true, # BOOLEAN |
turn_maintenance: true, # BOOLEAN |
url: 'url_example' # String |
}
begin
#Update cluster.
result = api_instance.update_cluster(id, opts)
p result
rescue BitbarCloudApiClient::ApiError => e
puts "Exception when calling AllEndpointsApi->update_cluster: #{e}"
end
api_instance = BitbarCloudApiClient::AllEndpointsApi.new
device_id = 789 # Integer |
opts = {
release_version: 'release_version_example', # String |
api_level: 56, # Integer |
serial_id: 'serial_id_example', # String |
name: 'name_example', # String |
enabled: true, # BOOLEAN |
unlock_gesture: 'unlock_gesture_example', # String |
init_step: 'init_step_example', # String |
ip_address: 'ip_address_example', # String |
account_id: 789, # Integer |
test_time_limit: 789, # Integer |
dedication_end_time: 789, # Integer |
comment: 'comment_example' # String |
}
begin
#Update device.
result = api_instance.update_device(device_id, opts)
p result
rescue BitbarCloudApiClient::ApiError => e
puts "Exception when calling AllEndpointsApi->update_device: #{e}"
end
api_instance = BitbarCloudApiClient::AllEndpointsApi.new
id = 789 # Integer |
content = 'content_example' # String |
opts = {
enabled: true, # BOOLEAN |
discriminator: 'discriminator_example' # String |
}
begin
#Update device cleanup configuration.
result = api_instance.update_device_cleanup_configuration(id, content, opts)
p result
rescue BitbarCloudApiClient::ApiError => e
puts "Exception when calling AllEndpointsApi->update_device_cleanup_configuration: #{e}"
end
api_instance = BitbarCloudApiClient::AllEndpointsApi.new
device_model_id = 789 # Integer |
opts = {
release_version: 'release_version_example', # String |
api_level: 56, # Integer |
name: 'name_example', # String |
manufacturer: 'manufacturer_example', # String |
enabled: true, # BOOLEAN |
type_id: 789, # Integer |
credits_price: 56 # Integer |
}
begin
#Update device model.
result = api_instance.update_device_model(device_model_id, opts)
p result
rescue BitbarCloudApiClient::ApiError => e
puts "Exception when calling AllEndpointsApi->update_device_model: #{e}"
end
api_instance = BitbarCloudApiClient::AllEndpointsApi.new
device_model_id = 789 # Integer |
opts = {
browser_ids: [56] # Array<Integer> |
}
begin
#Update device model browsers.
result = api_instance.update_device_model_browsers(device_model_id, opts)
p result
rescue BitbarCloudApiClient::ApiError => e
puts "Exception when calling AllEndpointsApi->update_device_model_browsers: #{e}"
end
api_instance = BitbarCloudApiClient::AllEndpointsApi.new
id = 789 # Integer |
opts = {
min_available: 56, # Integer |
max_total: 56 # Integer |
}
begin
#Update device model pool.
result = api_instance.update_device_model_pool(id, opts)
p result
rescue BitbarCloudApiClient::ApiError => e
puts "Exception when calling AllEndpointsApi->update_device_model_pool: #{e}"
end
api_instance = BitbarCloudApiClient::AllEndpointsApi.new
opts = {
body: BitbarCloudApiClient::APIDevicePicker.new, # APIDevicePicker |
sync: false # BOOLEAN |
}
begin
#Update device picker filters.
result = api_instance.update_device_picker(opts)
p result
rescue BitbarCloudApiClient::ApiError => e
puts "Exception when calling AllEndpointsApi->update_device_picker: #{e}"
end
api_instance = BitbarCloudApiClient::AllEndpointsApi.new
user_id = 789 # Integer |
project_id = 789 # Integer |
run_id = 789 # Integer |
device_session_id = 789 # Integer |
opts = {
name: 'name_example', # String |
client_side_id: 'client_side_id_example', # String |
state: 'state_example' # String |
}
begin
#Update device session by external id.
result = api_instance.update_device_session1(user_id, project_id, run_id, device_session_id, opts)
p result
rescue BitbarCloudApiClient::ApiError => e
puts "Exception when calling AllEndpointsApi->update_device_session1: #{e}"
end
api_instance = BitbarCloudApiClient::AllEndpointsApi.new
run_id = 789 # Integer |
device_session_id = 789 # Integer |
opts = {
name: 'name_example', # String |
client_side_id: 'client_side_id_example', # String |
state: 'state_example' # String |
}
begin
#Update device session by external id.
result = api_instance.update_device_session2(run_id, device_session_id, opts)
p result
rescue BitbarCloudApiClient::ApiError => e
puts "Exception when calling AllEndpointsApi->update_device_session2: #{e}"
end
api_instance = BitbarCloudApiClient::AllEndpointsApi.new
project_id = 789 # Integer |
run_id = 789 # Integer |
device_session_id = 789 # Integer |
opts = {
name: 'name_example', # String |
client_side_id: 'client_side_id_example', # String |
state: 'state_example' # String |
}
begin
#Update device session by external id.
result = api_instance.update_device_session3(project_id, run_id, device_session_id, opts)
p result
rescue BitbarCloudApiClient::ApiError => e
puts "Exception when calling AllEndpointsApi->update_device_session3: #{e}"
end
api_instance = BitbarCloudApiClient::AllEndpointsApi.new
device_type_id = 789 # Integer |
image_width = 56 # Integer |
image_height = 56 # Integer |
image_left = 56 # Integer |
image_top = 56 # Integer |
opts = {
frame_extra_width: 56 # Integer |
}
begin
#Update device frame.
result = api_instance.update_device_type(device_type_id, image_width, image_height, image_left, image_top, opts)
p result
rescue BitbarCloudApiClient::ApiError => e
puts "Exception when calling AllEndpointsApi->update_device_type: #{e}"
end
api_instance = BitbarCloudApiClient::AllEndpointsApi.new
user_id = 789 # Integer |
file_id = 789 # Integer |
name = 'name_example' # String |
begin
#Update file name.
result = api_instance.update_file_name(user_id, file_id, name)
p result
rescue BitbarCloudApiClient::ApiError => e
puts "Exception when calling AllEndpointsApi->update_file_name: #{e}"
end
api_instance = BitbarCloudApiClient::AllEndpointsApi.new
file_id = 789 # Integer |
name = 'name_example' # String |
begin
#Update file name.
result = api_instance.update_file_name1(file_id, name)
p result
rescue BitbarCloudApiClient::ApiError => e
puts "Exception when calling AllEndpointsApi->update_file_name1: #{e}"
end
api_instance = BitbarCloudApiClient::AllEndpointsApi.new
file_id = 789 # Integer |
property_id = 789 # Integer |
value = 'value_example' # String |
begin
#Update file property.
result = api_instance.update_file_property(file_id, property_id, value)
p result
rescue BitbarCloudApiClient::ApiError => e
puts "Exception when calling AllEndpointsApi->update_file_property: #{e}"
end
api_instance = BitbarCloudApiClient::AllEndpointsApi.new
id = 789 # Integer |
opts = {
name: 'name_example', # String |
description: 'description_example', # String |
os_type: 'os_type_example', # String |
required_app_extensions: 'required_app_extensions_example', # String |
required_test_extensions: 'required_test_extensions_example', # String |
required_test_file_tags: 'required_test_file_tags_example', # String |
documentation_url: 'documentation_url_example', # String |
for_projects: true, # BOOLEAN |
can_run_from_ui: true, # BOOLEAN |
retryable: true, # BOOLEAN |
skip_queue: true, # BOOLEAN |
skip_older_sdk: true, # BOOLEAN |
type: 'type_example', # String |
label_id: 789, # Integer |
add_label_to_devices: false, # BOOLEAN |
role_ids: [56], # Array<Integer> |
sample_app_id: 789, # Integer |
sample_test_id: 789, # Integer |
icon: 'icon_example' # String |
}
begin
#Update framework.
result = api_instance.update_framework(id, opts)
p result
rescue BitbarCloudApiClient::ApiError => e
puts "Exception when calling AllEndpointsApi->update_framework: #{e}"
end
api_instance = BitbarCloudApiClient::AllEndpointsApi.new
id = 789 # Integer |
content = 'content_example' # String |
begin
#Update framework's config.
result = api_instance.update_framework_config(id, content)
p result
rescue BitbarCloudApiClient::ApiError => e
puts "Exception when calling AllEndpointsApi->update_framework_config: #{e}"
end
api_instance = BitbarCloudApiClient::AllEndpointsApi.new
group_id = 789 # Integer |
opts = {
name: 'name_example', # String |
display_name: 'display_name_example' # String |
}
begin
#Update label group.
result = api_instance.update_label_group(group_id, opts)
p result
rescue BitbarCloudApiClient::ApiError => e
puts "Exception when calling AllEndpointsApi->update_label_group: #{e}"
end
api_instance = BitbarCloudApiClient::AllEndpointsApi.new
project_id = 789 # Integer |
opts = {
name: 'name_example', # String |
description: 'description_example', # String |
common: true, # BOOLEAN |
read_only: true, # BOOLEAN |
archiving_strategy: 'archiving_strategy_example', # String |
archiving_item_count: 56, # Integer |
email: 'email_example' # String |
}
begin
#Update project.
result = api_instance.update_project(project_id, opts)
p result
rescue BitbarCloudApiClient::ApiError => e
puts "Exception when calling AllEndpointsApi->update_project: #{e}"
end
api_instance = BitbarCloudApiClient::AllEndpointsApi.new
project_id = 789 # Integer |
run_id = 789 # Integer |
display_name = 'display_name_example' # String |
begin
#Update test run.
result = api_instance.update_project_test_run(project_id, run_id, display_name)
p result
rescue BitbarCloudApiClient::ApiError => e
puts "Exception when calling AllEndpointsApi->update_project_test_run: #{e}"
end
api_instance = BitbarCloudApiClient::AllEndpointsApi.new
id = 789 # Integer |
opts = {
name: 'name_example', # String |
value: 'value_example', # String |
description: 'description_example', # String |
from_time: 789, # Integer |
to_time: 789, # Integer |
always_valid: true # BOOLEAN |
}
begin
#Update property.
result = api_instance.update_property(id, opts)
p result
rescue BitbarCloudApiClient::ApiError => e
puts "Exception when calling AllEndpointsApi->update_property: #{e}"
end
api_instance = BitbarCloudApiClient::AllEndpointsApi.new
run_id = 789 # Integer |
display_name = 'display_name_example' # String |
opts = {
project_id: 789 # Integer |
}
begin
#Update test run.
result = api_instance.update_test_run(run_id, display_name, opts)
p result
rescue BitbarCloudApiClient::ApiError => e
puts "Exception when calling AllEndpointsApi->update_test_run: #{e}"
end
api_instance = BitbarCloudApiClient::AllEndpointsApi.new
user_id = 789 # Integer |
opts = {
first_name: 'first_name_example', # String |
last_name: 'last_name_example', # String |
locale_country: 'locale_country_example', # String |
time_zone: 'time_zone_example', # String |
email: 'email_example', # String |
code: 'code_example', # String |
state: 'state_example', # String |
city: 'city_example', # String |
address: 'address_example', # String |
phone: 'phone_example', # String |
organization: 'organization_example', # String |
password: 'password_example', # String |
new_password: 'new_password_example', # String |
confirm_password: 'confirm_password_example', # String |
mfa_enabled: true, # BOOLEAN |
mfa_code: 'mfa_code_example' # String |
}
begin
#Update user.
result = api_instance.update_user(user_id, opts)
p result
rescue BitbarCloudApiClient::ApiError => e
puts "Exception when calling AllEndpointsApi->update_user: #{e}"
end
api_instance = BitbarCloudApiClient::AllEndpointsApi.new
user_id = 789 # Integer |
device_group_id = 789 # Integer |
opts = {
name: 'name_example', # String |
display_name: 'display_name_example', # String |
os_type: 'os_type_example' # String |
}
begin
#Update device group.
result = api_instance.update_user_device_group(user_id, device_group_id, opts)
p result
rescue BitbarCloudApiClient::ApiError => e
puts "Exception when calling AllEndpointsApi->update_user_device_group: #{e}"
end
api_instance = BitbarCloudApiClient::AllEndpointsApi.new
device_group_id = 789 # Integer |
opts = {
name: 'name_example', # String |
display_name: 'display_name_example', # String |
os_type: 'os_type_example' # String |
}
begin
#Update device group.
result = api_instance.update_user_device_group1(device_group_id, opts)
p result
rescue BitbarCloudApiClient::ApiError => e
puts "Exception when calling AllEndpointsApi->update_user_device_group1: #{e}"
end
api_instance = BitbarCloudApiClient::AllEndpointsApi.new
user_id = 789 # Integer |
file_id = 789 # Integer |
opts = {
body: BitbarCloudApiClient::FileIdFileBody.new # FileIdFileBody |
}
begin
#Update file content.
result = api_instance.update_user_file(user_id, file_id, opts)
p result
rescue BitbarCloudApiClient::ApiError => e
puts "Exception when calling AllEndpointsApi->update_user_file: #{e}"
end
api_instance = BitbarCloudApiClient::AllEndpointsApi.new
file_id = 789 # Integer |
opts = {
body: BitbarCloudApiClient::FileIdFileBody1.new # FileIdFileBody1 |
}
begin
#Update file content.
result = api_instance.update_user_file1(file_id, opts)
p result
rescue BitbarCloudApiClient::ApiError => e
puts "Exception when calling AllEndpointsApi->update_user_file1: #{e}"
end
api_instance = BitbarCloudApiClient::AllEndpointsApi.new
user_id = 789 # Integer |
id = 789 # Integer |
opts = {
destination: 'destination_example', # String |
scope: 'scope_example' # String |
}
begin
#Update notification.
result = api_instance.update_user_notification(user_id, id, opts)
p result
rescue BitbarCloudApiClient::ApiError => e
puts "Exception when calling AllEndpointsApi->update_user_notification: #{e}"
end
api_instance = BitbarCloudApiClient::AllEndpointsApi.new
user_id = 789 # Integer |
project_id = 789 # Integer |
opts = {
name: 'name_example', # String |
description: 'description_example', # String |
archiving_strategy: 'archiving_strategy_example', # String |
archiving_item_count: 56 # Integer |
}
begin
#Update project.
result = api_instance.update_user_project(user_id, project_id, opts)
p result
rescue BitbarCloudApiClient::ApiError => e
puts "Exception when calling AllEndpointsApi->update_user_project: #{e}"
end
api_instance = BitbarCloudApiClient::AllEndpointsApi.new
user_id = 789 # Integer |
project_id = 789 # Integer |
run_id = 789 # Integer |
display_name = 'display_name_example' # String |
begin
#Update test run.
result = api_instance.update_user_test_run(user_id, project_id, run_id, display_name)
p result
rescue BitbarCloudApiClient::ApiError => e
puts "Exception when calling AllEndpointsApi->update_user_test_run: #{e}"
end
api_instance = BitbarCloudApiClient::AllEndpointsApi.new
user_id = 789 # Integer |
device_session_id = 789 # Integer |
opts = {
name: 'name_example', # String |
client_side_id: 'client_side_id_example', # String |
state: 'state_example' # String |
}
begin
#Update device session by external id.
result = api_instance.update_users_device_session1(user_id, device_session_id, opts)
p result
rescue BitbarCloudApiClient::ApiError => e
puts "Exception when calling AllEndpointsApi->update_users_device_session1: #{e}"
end
api_instance = BitbarCloudApiClient::AllEndpointsApi.new
user_id = 789 # Integer |
opts = {
account_id: 789 # Integer |
}
begin
#Update users main account, switch main user.
result = api_instance.update_users_main_account(user_id, opts)
p result
rescue BitbarCloudApiClient::ApiError => e
puts "Exception when calling AllEndpointsApi->update_users_main_account: #{e}"
end
api_instance = BitbarCloudApiClient::AllEndpointsApi.new
user_id = 789 # Integer |
opts = {
body: BitbarCloudApiClient::UserIdFilesBody.new # UserIdFilesBody |
}
begin
#Upload file.
result = api_instance.upload_file(user_id, opts)
p result
rescue BitbarCloudApiClient::ApiError => e
puts "Exception when calling AllEndpointsApi->upload_file: #{e}"
end
api_instance = BitbarCloudApiClient::AllEndpointsApi.new
opts = {
body: BitbarCloudApiClient::V2FilesBody.new, # V2FilesBody |
global: false # BOOLEAN |
}
begin
#Upload file.
result = api_instance.upload_file1(opts)
p result
rescue BitbarCloudApiClient::ApiError => e
puts "Exception when calling AllEndpointsApi->upload_file1: #{e}"
end
api_instance = BitbarCloudApiClient::AllEndpointsApi.new
opts = {
body: BitbarCloudApiClient::AdminSamplesBody.new # AdminSamplesBody |
}
begin
#Upload sample file.
result = api_instance.upload_file2(opts)
p result
rescue BitbarCloudApiClient::ApiError => e
puts "Exception when calling AllEndpointsApi->upload_file2: #{e}"
end
api_instance = BitbarCloudApiClient::AllEndpointsApi.new
opts = {
body: BitbarCloudApiClient::V2LicenseBody.new # V2LicenseBody |
}
begin
#Upload license to cloud.
result = api_instance.upload_license(opts)
p result
rescue BitbarCloudApiClient::ApiError => e
puts "Exception when calling AllEndpointsApi->upload_license: #{e}"
end
api_instance = BitbarCloudApiClient::AllEndpointsApi.new
body = BitbarCloudApiClient::APITestRunConfig.new # APITestRunConfig |
user_id = 789 # Integer |
opts = {
include_devices: false, # BOOLEAN |
include_device_groups: true, # BOOLEAN |
include_frameworks: true # BOOLEAN |
}
begin
#Validate test run configuration.
result = api_instance.validate_test_run_config(body, user_id, opts)
p result
rescue BitbarCloudApiClient::ApiError => e
puts "Exception when calling AllEndpointsApi->validate_test_run_config: #{e}"
end
api_instance = BitbarCloudApiClient::AllEndpointsApi.new
body = BitbarCloudApiClient::APITestRunConfig.new # APITestRunConfig |
opts = {
include_devices: false, # BOOLEAN |
include_device_groups: true, # BOOLEAN |
include_frameworks: true # BOOLEAN |
}
begin
#Validate test run configuration.
result = api_instance.validate_test_run_config1(body, opts)
p result
rescue BitbarCloudApiClient::ApiError => e
puts "Exception when calling AllEndpointsApi->validate_test_run_config1: #{e}"
end
api_instance = BitbarCloudApiClient::CloudInfoApi.new
begin
#Get enums.
result = api_instance.get_enums
p result
rescue BitbarCloudApiClient::ApiError => e
puts "Exception when calling CloudInfoApi->get_enums: #{e}"
end
api_instance = BitbarCloudApiClient::CloudInfoApi.new
begin
#Get health check.
result = api_instance.get_health_check
p result
rescue BitbarCloudApiClient::ApiError => e
puts "Exception when calling CloudInfoApi->get_health_check: #{e}"
end
api_instance = BitbarCloudApiClient::CloudInfoApi.new
begin
#Get basic cloud info.
result = api_instance.get_status
p result
rescue BitbarCloudApiClient::ApiError => e
puts "Exception when calling CloudInfoApi->get_status: #{e}"
end
api_instance = BitbarCloudApiClient::DeviceGroupsApi.new
user_id = 789 # Integer |
device_group_id = 789 # Integer |
opts = {
device_id: [56], # Array<Integer> |
device_ids: [56] # Array<Integer> |
}
begin
#Add device to device group.
result = api_instance.add_device_to_device_group(user_id, device_group_id, opts)
p result
rescue BitbarCloudApiClient::ApiError => e
puts "Exception when calling DeviceGroupsApi->add_device_to_device_group: #{e}"
end
api_instance = BitbarCloudApiClient::DeviceGroupsApi.new
user_id = 789 # Integer |
device_group_id = 789 # Integer |
selector_ids = [56] # Array<Integer> |
opts = {
sort: '', # String | sort parameter contains list of fields used for sort query result <br> examples: <br> sort=displayName_a<br>sort=name_a<br>sort=osType_a<br>sort=id_a<br>sort=userId_a
filter: '', # String | filter parameter contains list of fields used for filter query result <br> examples: <br> filter=displayname_eq_value<br>filter=name_eq_value<br>filter=ostype_eq_ios<br>filter=id_eq_1<br>filter=userid_eq_1
offset: '0', # String | offset parameter define page number
limit: '20' # String | limit parameter define page size
}
begin
#Add selectors to device group.
result = api_instance.add_selector_to_device_group(user_id, device_group_id, selector_ids, opts)
p result
rescue BitbarCloudApiClient::ApiError => e
puts "Exception when calling DeviceGroupsApi->add_selector_to_device_group: #{e}"
end
api_instance = BitbarCloudApiClient::DeviceGroupsApi.new
user_id = 789 # Integer |
opts = {
name: 'name_example', # String |
display_name: 'display_name_example', # String |
os_type: 'ANDROID', # String |
device_ids: [56], # Array<Integer> |
selector_ids: [56] # Array<Integer> |
}
begin
#Create device group.
result = api_instance.create_user_device_group(user_id, opts)
p result
rescue BitbarCloudApiClient::ApiError => e
puts "Exception when calling DeviceGroupsApi->create_user_device_group: #{e}"
end
api_instance = BitbarCloudApiClient::DeviceGroupsApi.new
user_id = 789 # Integer |
device_group_id = 789 # Integer |
device_id = 789 # Integer |
begin
#Delete device from device group.
api_instance.delete_device_from_device_group(user_id, device_group_id, device_id)
rescue BitbarCloudApiClient::ApiError => e
puts "Exception when calling DeviceGroupsApi->delete_device_from_device_group: #{e}"
end
api_instance = BitbarCloudApiClient::DeviceGroupsApi.new
user_id = 789 # Integer |
device_group_id = 789 # Integer |
selector_id = 789 # Integer |
begin
#Delete selector from device group.
api_instance.delete_selector_from_device_group(user_id, device_group_id, selector_id)
rescue BitbarCloudApiClient::ApiError => e
puts "Exception when calling DeviceGroupsApi->delete_selector_from_device_group: #{e}"
end
api_instance = BitbarCloudApiClient::DeviceGroupsApi.new
user_id = 789 # Integer |
device_group_id = 789 # Integer |
begin
#Delete device group.
api_instance.delete_user_device_group(user_id, device_group_id)
rescue BitbarCloudApiClient::ApiError => e
puts "Exception when calling DeviceGroupsApi->delete_user_device_group: #{e}"
end
api_instance = BitbarCloudApiClient::DeviceGroupsApi.new
user_id = 789 # Integer |
device_group_id = 789 # Integer |
opts = {
with_properties: false, # BOOLEAN |
sort: '', # String | sort parameter contains list of fields used for sort query result <br> examples: <br> sort=accountId_a<br>sort=displayName_a<br>sort=creditsPrice_a<br>sort=osType_a<br>sort=device.archiveTime_a<br>sort=id_a<br>sort=locked_a<br>sort=enabled_a<br>sort=platform_a<br>sort=manufacturer_a
filter: '', # String | filter parameter contains list of fields used for filter query result <br> examples: <br> filter=accountid_eq_1<br>filter=displayname_eq_value<br>filter=creditsprice_eq_1<br>filter=ostype_eq_ios<br>filter=online_eq_true<br>filter=location_eq_value<br>filter=device.archivetime_eq_1700230364388<br>filter=id_eq_1<br>filter=locked_eq_true<br>filter=enabled_eq_true<br>filter=platform_eq_ios<br>filter=manufacturer_eq_value
offset: '0', # String | offset parameter define page number
limit: '20' # String | limit parameter define page size
}
begin
#Get device group devices.
result = api_instance.get_device_group_devices(user_id, device_group_id, opts)
p result
rescue BitbarCloudApiClient::ApiError => e
puts "Exception when calling DeviceGroupsApi->get_device_group_devices: #{e}"
end
api_instance = BitbarCloudApiClient::DeviceGroupsApi.new
user_id = 789 # Integer |
device_group_id = 789 # Integer |
opts = {
sort: '', # String | sort parameter contains list of fields used for sort query result <br> examples: <br> sort=propertyGroupName_a<br>sort=displayName_a<br>sort=name_a<br>sort=propertyGroupId_a<br>sort=id_a<br>sort=labelGroupName_a
filter: '', # String | filter parameter contains list of fields used for filter query result <br> examples: <br> filter=propertygroupname_eq_value<br>filter=displayname_eq_value<br>filter=name_eq_value<br>filter=propertygroupid_eq_1<br>filter=id_eq_1<br>filter=labelgroupname_eq_value
offset: '0', # String | offset parameter define page number
limit: '20' # String | limit parameter define page size
}
begin
#Get device group selectors.
result = api_instance.get_device_group_selectors(user_id, device_group_id, opts)
p result
rescue BitbarCloudApiClient::ApiError => e
puts "Exception when calling DeviceGroupsApi->get_device_group_selectors: #{e}"
end
api_instance = BitbarCloudApiClient::DeviceGroupsApi.new
user_id = 789 # Integer |
device_group_id = 789 # Integer |
begin
#Get device group.
result = api_instance.get_user_device_group(user_id, device_group_id)
p result
rescue BitbarCloudApiClient::ApiError => e
puts "Exception when calling DeviceGroupsApi->get_user_device_group: #{e}"
end
api_instance = BitbarCloudApiClient::DeviceGroupsApi.new
user_id = 789 # Integer |
opts = {
with_public: false, # BOOLEAN |
sort: '', # String | sort parameter contains list of fields used for sort query result <br> examples: <br> sort=displayName_a<br>sort=name_a<br>sort=osType_a<br>sort=id_a<br>sort=userId_a
filter: '', # String | filter parameter contains list of fields used for filter query result <br> examples: <br> filter=displayname_eq_value<br>filter=name_eq_value<br>filter=ostype_eq_ios<br>filter=id_eq_1<br>filter=userid_eq_1
offset: '0', # String | offset parameter define page number
limit: '20' # String | limit parameter define page size
}
begin
#Get device groups.
result = api_instance.get_user_device_groups(user_id, opts)
p result
rescue BitbarCloudApiClient::ApiError => e
puts "Exception when calling DeviceGroupsApi->get_user_device_groups: #{e}"
end
api_instance = BitbarCloudApiClient::DeviceGroupsApi.new
user_id = 789 # Integer |
device_group_id = 789 # Integer |
opts = {
name: 'name_example', # String |
display_name: 'display_name_example', # String |
os_type: 'os_type_example' # String |
}
begin
#Update device group.
result = api_instance.update_user_device_group(user_id, device_group_id, opts)
p result
rescue BitbarCloudApiClient::ApiError => e
puts "Exception when calling DeviceGroupsApi->update_user_device_group: #{e}"
end
api_instance = BitbarCloudApiClient::DevicesApi.new
group_id = 789 # Integer |
label_id = 789 # Integer |
begin
#Get label.
result = api_instance.get_api_label(group_id, label_id)
p result
rescue BitbarCloudApiClient::ApiError => e
puts "Exception when calling DevicesApi->get_api_label: #{e}"
end
api_instance = BitbarCloudApiClient::DevicesApi.new
group_id = 789 # Integer |
begin
#Get label group.
result = api_instance.get_api_label_group(group_id)
p result
rescue BitbarCloudApiClient::ApiError => e
puts "Exception when calling DevicesApi->get_api_label_group: #{e}"
end
api_instance = BitbarCloudApiClient::DevicesApi.new
begin
#Get desktop browser capabilities.
result = api_instance.get_desktop_browser_capabilities
p result
rescue BitbarCloudApiClient::ApiError => e
puts "Exception when calling DevicesApi->get_desktop_browser_capabilities: #{e}"
end
api_instance = BitbarCloudApiClient::DevicesApi.new
device_id = 789 # Integer |
opts = {
with_dedicated: false, # BOOLEAN |
with_disabled: false, # BOOLEAN |
with_browsers: false # BOOLEAN |
}
begin
#Get device.
result = api_instance.get_device(device_id, opts)
p result
rescue BitbarCloudApiClient::ApiError => e
puts "Exception when calling DevicesApi->get_device: #{e}"
end
api_instance = BitbarCloudApiClient::DevicesApi.new
device_id = 789 # Integer |
opts = {
sort: '', # String | sort parameter contains list of fields used for sort query result <br> examples: <br> sort=displayName_a<br>sort=name_a<br>sort=id_a
filter: '', # String | filter parameter contains list of fields used for filter query result <br> examples: <br> filter=displayname_eq_value<br>filter=name_eq_value<br>filter=id_eq_1<br>filter=version_eq_value
offset: '0', # String | offset parameter define page number
limit: '20' # String | limit parameter define page size
}
begin
#Get device browsers.
result = api_instance.get_device_browsers(device_id, opts)
p result
rescue BitbarCloudApiClient::ApiError => e
puts "Exception when calling DevicesApi->get_device_browsers: #{e}"
end
api_instance = BitbarCloudApiClient::DevicesApi.new
opts = {
sort: '', # String | sort parameter contains list of fields used for sort query result <br> examples: <br> sort=id_a
filter: '', # String | filter parameter contains list of fields used for filter query result <br> examples: <br> filter=devicefiltergroup.name_eq_value<br>filter=ostype_eq_ios<br>filter=id_eq_1
offset: '0', # String | offset parameter define page number
limit: '20' # String | limit parameter define page size
}
begin
#Get device properties.
result = api_instance.get_device_picker(opts)
p result
rescue BitbarCloudApiClient::ApiError => e
puts "Exception when calling DevicesApi->get_device_picker: #{e}"
end
api_instance = BitbarCloudApiClient::DevicesApi.new
device_id = 789 # Integer |
opts = {
sort: '', # String | sort parameter contains list of fields used for sort query result <br> examples: <br> sort=propertyGroupName_a<br>sort=displayName_a<br>sort=name_a<br>sort=propertyGroupId_a<br>sort=id_a<br>sort=labelGroupName_a
filter: '', # String | filter parameter contains list of fields used for filter query result <br> examples: <br> filter=propertygroupname_eq_value<br>filter=displayname_eq_value<br>filter=name_eq_value<br>filter=propertygroupid_eq_1<br>filter=id_eq_1<br>filter=labelgroupname_eq_value
offset: '0', # String | offset parameter define page number
limit: '20' # String | limit parameter define page size
}
begin
#Get device properties.
result = api_instance.get_device_properties(device_id, opts)
p result
rescue BitbarCloudApiClient::ApiError => e
puts "Exception when calling DevicesApi->get_device_properties: #{e}"
end
api_instance = BitbarCloudApiClient::DevicesApi.new
opts = {
with_disabled: false, # BOOLEAN |
with_dedicated: false, # BOOLEAN |
with_browsers: false, # BOOLEAN |
with_properties: false, # BOOLEAN |
with_supported_creators: false, # BOOLEAN |
live_testing_only: false, # BOOLEAN |
only_with_browsers: false, # BOOLEAN |
label_ids: [56], # Array<Integer> |
sort: '', # String | sort parameter contains list of fields used for sort query result <br> examples: <br> sort=accountId_a<br>sort=displayName_a<br>sort=creditsPrice_a<br>sort=osType_a<br>sort=device.archiveTime_a<br>sort=id_a<br>sort=locked_a<br>sort=enabled_a<br>sort=platform_a<br>sort=manufacturer_a
filter: '', # String | filter parameter contains list of fields used for filter query result <br> examples: <br> filter=accountid_eq_1<br>filter=displayname_eq_value<br>filter=creditsprice_eq_1<br>filter=ostype_eq_ios<br>filter=online_eq_true<br>filter=location_eq_value<br>filter=device.archivetime_eq_1700230365397<br>filter=id_eq_1<br>filter=locked_eq_true<br>filter=enabled_eq_true<br>filter=platform_eq_ios<br>filter=manufacturer_eq_value
offset: '0', # String | offset parameter define page number
limit: '20' # String | limit parameter define page size
}
begin
#Get devices.
result = api_instance.get_devices(opts)
p result
rescue BitbarCloudApiClient::ApiError => e
puts "Exception when calling DevicesApi->get_devices: #{e}"
end
api_instance = BitbarCloudApiClient::DevicesApi.new
opts = {
sort: '', # String | sort parameter contains list of fields used for sort query result <br> examples: <br> sort=displayName_a<br>sort=name_a<br>sort=id_a
filter: '', # String | filter parameter contains list of fields used for filter query result <br> examples: <br> filter=displayname_eq_value<br>filter=name_eq_value<br>filter=id_eq_1
offset: '0', # String | offset parameter define page number
limit: '20' # String | limit parameter define page size
}
begin
#Get label groups.
result = api_instance.get_label_groups(opts)
p result
rescue BitbarCloudApiClient::ApiError => e
puts "Exception when calling DevicesApi->get_label_groups: #{e}"
end
api_instance = BitbarCloudApiClient::DevicesApi.new
opts = {
sort: '', # String | sort parameter contains list of fields used for sort query result <br> examples: <br> sort=propertyGroupName_a<br>sort=displayName_a<br>sort=name_a<br>sort=propertyGroupId_a<br>sort=id_a<br>sort=labelGroupName_a
filter: '', # String | filter parameter contains list of fields used for filter query result <br> examples: <br> filter=propertygroupname_eq_value<br>filter=displayname_eq_value<br>filter=name_eq_value<br>filter=propertygroupid_eq_1<br>filter=id_eq_1<br>filter=labelgroupname_eq_value
offset: '0', # String | offset parameter define page number
limit: '20' # String | limit parameter define page size
}
begin
#Get labels.
result = api_instance.get_labels(opts)
p result
rescue BitbarCloudApiClient::ApiError => e
puts "Exception when calling DevicesApi->get_labels: #{e}"
end
api_instance = BitbarCloudApiClient::DevicesApi.new
group_id = 789 # Integer |
opts = {
sort: '', # String | sort parameter contains list of fields used for sort query result <br> examples: <br> sort=propertyGroupName_a<br>sort=displayName_a<br>sort=name_a<br>sort=propertyGroupId_a<br>sort=id_a<br>sort=labelGroupName_a
filter: '', # String | filter parameter contains list of fields used for filter query result <br> examples: <br> filter=propertygroupname_eq_value<br>filter=displayname_eq_value<br>filter=name_eq_value<br>filter=propertygroupid_eq_1<br>filter=id_eq_1<br>filter=labelgroupname_eq_value
offset: '0', # String | offset parameter define page number
limit: '20' # String | limit parameter define page size
}
begin
#Get labels.
result = api_instance.get_labels1(group_id, opts)
p result
rescue BitbarCloudApiClient::ApiError => e
puts "Exception when calling DevicesApi->get_labels1: #{e}"
end
api_instance = BitbarCloudApiClient::FilesApi.new
user_id = 789 # Integer |
file_id = 789 # Integer |
begin
#Delete file.
api_instance.delete_file(user_id, file_id)
rescue BitbarCloudApiClient::ApiError => e
puts "Exception when calling FilesApi->delete_file: #{e}"
end
api_instance = BitbarCloudApiClient::FilesApi.new
user_id = 789 # Integer |
file_id = 789 # Integer |
begin
#Download icon of file.
api_instance.download_icon_file(user_id, file_id)
rescue BitbarCloudApiClient::ApiError => e
puts "Exception when calling FilesApi->download_icon_file: #{e}"
end
api_instance = BitbarCloudApiClient::FilesApi.new
user_id = 789 # Integer |
file_id = 789 # Integer |
opts = {
width: 56, # Integer |
height: 56 # Integer |
}
begin
#Download file.
api_instance.download_user_file(user_id, file_id, opts)
rescue BitbarCloudApiClient::ApiError => e
puts "Exception when calling FilesApi->download_user_file: #{e}"
end
api_instance = BitbarCloudApiClient::FilesApi.new
user_id = 789 # Integer |
file_id = 789 # Integer |
opts = {
sort: '', # String | sort parameter contains list of fields used for sort query result <br> examples: <br> sort=name_a<br>sort=id_a
filter: '', # String | filter parameter contains list of fields used for filter query result <br> examples: <br> filter=name_eq_value<br>filter=id_eq_1
offset: '0', # String | offset parameter define page number
limit: '20' # String | limit parameter define page size
}
begin
#Get file tags.
result = api_instance.get_file_tags(user_id, file_id, opts)
p result
rescue BitbarCloudApiClient::ApiError => e
puts "Exception when calling FilesApi->get_file_tags: #{e}"
end
api_instance = BitbarCloudApiClient::FilesApi.new
user_id = 789 # Integer |
file_id = 789 # Integer |
begin
#Get file.
result = api_instance.get_user_file(user_id, file_id)
p result
rescue BitbarCloudApiClient::ApiError => e
puts "Exception when calling FilesApi->get_user_file: #{e}"
end
api_instance = BitbarCloudApiClient::FilesApi.new
user_id = 789 # Integer |
opts = {
tag: ['tag_example'], # Array<String> |
sort: '', # String | sort parameter contains list of fields used for sort query result <br> examples: <br> sort=size_a<br>sort=createTime_a<br>sort=name_a<br>sort=inputType_a<br>sort=mimetype_a<br>sort=userEmail_a<br>sort=id_a<br>sort=state_a<br>sort=direction_a
filter: '', # String | filter parameter contains list of fields used for filter query result <br> examples: <br> filter=size_eq_1<br>filter=createtime_eq_1700230364193<br>filter=name_eq_value<br>filter=inputtype_eq_application<br>filter=mimetype_eq_value<br>filter=useremail_eq_value<br>filter=id_eq_1<br>filter=state_eq_preparing<br>filter=direction_eq_input
offset: '0', # String | offset parameter define page number
limit: '20' # String | limit parameter define page size
}
begin
#Get files.
result = api_instance.get_user_files(user_id, opts)
p result
rescue BitbarCloudApiClient::ApiError => e
puts "Exception when calling FilesApi->get_user_files: #{e}"
end
api_instance = BitbarCloudApiClient::FilesApi.new
user_id = 789 # Integer |
file_id = 789 # Integer |
name = 'name_example' # String |
begin
#Update file name.
result = api_instance.update_file_name(user_id, file_id, name)
p result
rescue BitbarCloudApiClient::ApiError => e
puts "Exception when calling FilesApi->update_file_name: #{e}"
end
api_instance = BitbarCloudApiClient::FilesApi.new
user_id = 789 # Integer |
file_id = 789 # Integer |
opts = {
body: BitbarCloudApiClient::FileIdFileBody.new # FileIdFileBody |
}
begin
#Update file content.
result = api_instance.update_user_file(user_id, file_id, opts)
p result
rescue BitbarCloudApiClient::ApiError => e
puts "Exception when calling FilesApi->update_user_file: #{e}"
end
api_instance = BitbarCloudApiClient::FilesApi.new
user_id = 789 # Integer |
opts = {
body: BitbarCloudApiClient::UserIdFilesBody.new # UserIdFilesBody |
}
begin
#Upload file.
result = api_instance.upload_file(user_id, opts)
p result
rescue BitbarCloudApiClient::ApiError => e
puts "Exception when calling FilesApi->upload_file: #{e}"
end
api_instance = BitbarCloudApiClient::NotificationsApi.new
user_id = 789 # Integer |
destination = 'destination_example' # String |
channel = 'channel_example' # String |
scope = 'scope_example' # String |
opts = {
project_id: 789 # Integer |
}
begin
#Create notification.
result = api_instance.create_user_notification(user_id, destination, channel, scope, opts)
p result
rescue BitbarCloudApiClient::ApiError => e
puts "Exception when calling NotificationsApi->create_user_notification: #{e}"
end
api_instance = BitbarCloudApiClient::NotificationsApi.new
user_id = 789 # Integer |
id = 789 # Integer |
begin
#Delete notification.
api_instance.delete_user_notification_email(user_id, id)
rescue BitbarCloudApiClient::ApiError => e
puts "Exception when calling NotificationsApi->delete_user_notification_email: #{e}"
end
api_instance = BitbarCloudApiClient::NotificationsApi.new
begin
#Get notification channels.
result = api_instance.get_channels
p result
rescue BitbarCloudApiClient::ApiError => e
puts "Exception when calling NotificationsApi->get_channels: #{e}"
end
api_instance = BitbarCloudApiClient::NotificationsApi.new
begin
#Get notification scopes.
result = api_instance.get_scopes
p result
rescue BitbarCloudApiClient::ApiError => e
puts "Exception when calling NotificationsApi->get_scopes: #{e}"
end
api_instance = BitbarCloudApiClient::NotificationsApi.new
user_id = 789 # Integer |
id = 789 # Integer |
begin
#Get notification.
result = api_instance.get_user_notification(user_id, id)
p result
rescue BitbarCloudApiClient::ApiError => e
puts "Exception when calling NotificationsApi->get_user_notification: #{e}"
end
api_instance = BitbarCloudApiClient::NotificationsApi.new
user_id = 789 # Integer |
opts = {
sort: '', # String | sort parameter contains list of fields used for sort query result <br> examples: <br> sort=scope_a<br>sort=channel_a<br>sort=id_a<br>sort=projectId_a<br>sort=userId_a
filter: '', # String | filter parameter contains list of fields used for filter query result <br> examples: <br> filter=scope_eq_all<br>filter=channel_eq_slack<br>filter=id_eq_1<br>filter=projectid_eq_1<br>filter=userid_eq_1
offset: '0', # String | offset parameter define page number
limit: '20' # String | limit parameter define page size
}
begin
#Get notifications.
result = api_instance.get_user_notifications(user_id, opts)
p result
rescue BitbarCloudApiClient::ApiError => e
puts "Exception when calling NotificationsApi->get_user_notifications: #{e}"
end
api_instance = BitbarCloudApiClient::NotificationsApi.new
user_id = 789 # Integer |
id = 789 # Integer |
begin
#Test notification.
result = api_instance.test_user_notification(user_id, id)
p result
rescue BitbarCloudApiClient::ApiError => e
puts "Exception when calling NotificationsApi->test_user_notification: #{e}"
end
api_instance = BitbarCloudApiClient::NotificationsApi.new
user_id = 789 # Integer |
id = 789 # Integer |
opts = {
destination: 'destination_example', # String |
scope: 'scope_example' # String |
}
begin
#Update notification.
result = api_instance.update_user_notification(user_id, id, opts)
p result
rescue BitbarCloudApiClient::ApiError => e
puts "Exception when calling NotificationsApi->update_user_notification: #{e}"
end
api_instance = BitbarCloudApiClient::PaymentsApi.new
user_id = 789 # Integer |
service_id = 789 # Integer |
payment_method = 'payment_method_example' # String |
opts = {
first_name: 'first_name_example', # String |
last_name: 'last_name_example', # String |
email: 'email_example', # String |
phone: 'phone_example', # String |
organization: 'organization_example', # String |
country: 'country_example', # String |
city: 'city_example', # String |
state: 'state_example', # String |
address: 'address_example', # String |
zip: 'zip_example', # String |
card_number: 'card_number_example', # String |
expiration_date: 'expiration_date_example', # String |
cvv: 'cvv_example', # String |
count: 1, # Integer |
stripe_token: 'stripe_token_example' # String |
}
begin
#Buy service.
result = api_instance.buy_service(user_id, service_id, payment_method, opts)
p result
rescue BitbarCloudApiClient::ApiError => e
puts "Exception when calling PaymentsApi->buy_service: #{e}"
end
api_instance = BitbarCloudApiClient::PaymentsApi.new
user_id = 789 # Integer |
account_service_id = 789 # Integer |
begin
#Cancel service subscription.
result = api_instance.cancel_subscription(user_id, account_service_id)
p result
rescue BitbarCloudApiClient::ApiError => e
puts "Exception when calling PaymentsApi->cancel_subscription: #{e}"
end
api_instance = BitbarCloudApiClient::PaymentsApi.new
user_id = 789 # Integer |
account_service_id = 789 # Integer |
opts = {
on_date: 789 # Integer |
}
begin
#Get billing information.
result = api_instance.get_account_service_payment(user_id, account_service_id, opts)
p result
rescue BitbarCloudApiClient::ApiError => e
puts "Exception when calling PaymentsApi->get_account_service_payment: #{e}"
end
api_instance = BitbarCloudApiClient::PaymentsApi.new
user_id = 789 # Integer |
opts = {
sort: '', # String | sort parameter contains list of fields used for sort query result <br> examples: <br> sort=archiveTime_a<br>sort=chargeType_a<br>sort=activateTime_a<br>sort=description_a<br>sort=pricePerHour_a<br>sort=centPrice_a<br>sort=customPlan_a<br>sort=includedHours_a<br>sort=name_a<br>sort=autoRenew_a<br>sort=commonId_a<br>sort=id_a<br>sort=activated_a
filter: '', # String | filter parameter contains list of fields used for filter query result <br> examples: <br> filter=archivetime_eq_1700230363752<br>filter=chargetype_eq_concurrency<br>filter=activatetime_eq_1700230363752<br>filter=description_eq_value<br>filter=priceperhour_eq_1<br>filter=centprice_eq_1<br>filter=customplan_eq_true<br>filter=includedhours_eq_1<br>filter=name_eq_value<br>filter=autorenew_eq_true<br>filter=commonid_eq_value<br>filter=id_eq_1<br>filter=activated_eq_true
offset: '0', # String | offset parameter define page number
limit: '20' # String | limit parameter define page size
}
begin
#Get available services.
result = api_instance.get_available_services(user_id, opts)
p result
rescue BitbarCloudApiClient::ApiError => e
puts "Exception when calling PaymentsApi->get_available_services: #{e}"
end
api_instance = BitbarCloudApiClient::PaymentsApi.new
opts = {
sort: '', # String | sort parameter contains list of fields used for sort query result <br> examples: <br> sort=archiveTime_a<br>sort=chargeType_a<br>sort=activateTime_a<br>sort=description_a<br>sort=pricePerHour_a<br>sort=centPrice_a<br>sort=customPlan_a<br>sort=includedHours_a<br>sort=name_a<br>sort=autoRenew_a<br>sort=commonId_a<br>sort=id_a<br>sort=activated_a
filter: '', # String | filter parameter contains list of fields used for filter query result <br> examples: <br> filter=archivetime_eq_1700230364570<br>filter=chargetype_eq_concurrency<br>filter=activatetime_eq_1700230364571<br>filter=description_eq_value<br>filter=priceperhour_eq_1<br>filter=centprice_eq_1<br>filter=customplan_eq_true<br>filter=includedhours_eq_1<br>filter=name_eq_value<br>filter=autorenew_eq_true<br>filter=commonid_eq_value<br>filter=id_eq_1<br>filter=activated_eq_true
offset: '0', # String | offset parameter define page number
limit: '20' # String | limit parameter define page size
}
begin
#Get available services.
result = api_instance.get_available_services1(opts)
p result
rescue BitbarCloudApiClient::ApiError => e
puts "Exception when calling PaymentsApi->get_available_services1: #{e}"
end
api_instance = BitbarCloudApiClient::PaymentsApi.new
user_id = 789 # Integer |
billing_period_id = 789 # Integer |
begin
#Get billing period.
result = api_instance.get_billing_period(user_id, billing_period_id)
p result
rescue BitbarCloudApiClient::ApiError => e
puts "Exception when calling PaymentsApi->get_billing_period: #{e}"
end
api_instance = BitbarCloudApiClient::PaymentsApi.new
user_id = 789 # Integer |
billing_period_id = 789 # Integer |
begin
#Get purchased service receipt.
api_instance.get_receipt(user_id, billing_period_id)
rescue BitbarCloudApiClient::ApiError => e
puts "Exception when calling PaymentsApi->get_receipt: #{e}"
end
api_instance = BitbarCloudApiClient::PaymentsApi.new
user_id = 789 # Integer |
opts = {
sort: '', # String | sort parameter contains list of fields used for sort query result <br> examples: <br> sort=chargeType_a<br>sort=active_a<br>sort=activatedByName_a<br>sort=serviceName_a<br>sort=deactivatedByName_a<br>sort=accountId_a<br>sort=cbtId_a<br>sort=price_a<br>sort=autoRenew_a<br>sort=paymentMethod_a<br>sort=startTime_a<br>sort=_endTime_a<br>sort=id_a
filter: '', # String | filter parameter contains list of fields used for filter query result <br> examples: <br> filter=deactivatereason_eq_initial_failure<br>filter=chargetype_eq_concurrency<br>filter=active_eq_true<br>filter=activatedbyname_eq_value<br>filter=servicename_eq_value<br>filter=deactivatedbyname_eq_value<br>filter=accountid_eq_1<br>filter=cbtid_eq_value<br>filter=price_eq_1<br>filter=autorenew_eq_true<br>filter=paymentmethod_eq_paypal<br>filter=starttime_eq_1700230363766<br>filter=_endtime_eq_1700230363766<br>filter=id_eq_1
offset: '0', # String | offset parameter define page number
limit: '20' # String | limit parameter define page size
}
begin
#Get active services.
result = api_instance.get_user_active_services(user_id, opts)
p result
rescue BitbarCloudApiClient::ApiError => e
puts "Exception when calling PaymentsApi->get_user_active_services: #{e}"
end
api_instance = BitbarCloudApiClient::PaymentsApi.new
user_id = 789 # Integer |
opts = {
sort: '', # String | sort parameter contains list of fields used for sort query result <br> examples: <br> sort=additionalHoursPrice_a<br>sort=mail_a<br>sort=totalPrice_a<br>sort=startBillingPeriod_a<br>sort=userId_a<br>sort=_endBillingPeriod_a<br>sort=subscriptionEnd_a<br>sort=createTime_a<br>sort=servicePrice_a<br>sort=lastPaymentDate_a<br>sort=subscriptionStart_a<br>sort=additionalHours_a<br>sort=paymentMethod_a<br>sort=id_a<br>sort=additionalHoursPaymentDate_a<br>sort=paymentDate_a<br>sort=plan_a
filter: '', # String | filter parameter contains list of fields used for filter query result <br> examples: <br> filter=additionalhoursprice_eq_1<br>filter=mail_eq_value<br>filter=totalprice_eq_1<br>filter=startbillingperiod_eq_1700230364395<br>filter=userid_eq_1<br>filter=_endbillingperiod_eq_1700230364395<br>filter=subscriptionend_eq_1700230364395<br>filter=createtime_eq_1700230364395<br>filter=serviceprice_eq_1<br>filter=lastpaymentdate_eq_1700230364395<br>filter=paid_eq_true<br>filter=subscriptionstart_eq_1700230364395<br>filter=additionalhours_eq_1<br>filter=paymentmethod_eq_paypal<br>filter=id_eq_1<br>filter=plan_eq_value
offset: '0', # String | offset parameter define page number
limit: '20' # String | limit parameter define page size
}
begin
#Get users billing periods.
result = api_instance.get_user_billing_periods(user_id, opts)
p result
rescue BitbarCloudApiClient::ApiError => e
puts "Exception when calling PaymentsApi->get_user_billing_periods: #{e}"
end
api_instance = BitbarCloudApiClient::ProjectsApi.new
user_id = 789 # Integer |
opts = {
name: 'name_example' # String |
}
begin
#Create project.
result = api_instance.create_my_project(user_id, opts)
p result
rescue BitbarCloudApiClient::ApiError => e
puts "Exception when calling ProjectsApi->create_my_project: #{e}"
end
api_instance = BitbarCloudApiClient::ProjectsApi.new
user_id = 789 # Integer |
project_id = 789 # Integer |
begin
#Delete project.
api_instance.delete_user_project(user_id, project_id)
rescue BitbarCloudApiClient::ApiError => e
puts "Exception when calling ProjectsApi->delete_user_project: #{e}"
end
api_instance = BitbarCloudApiClient::ProjectsApi.new
user_id = 789 # Integer |
project_id = 789 # Integer |
begin
#Get project.
result = api_instance.get_user_project(user_id, project_id)
p result
rescue BitbarCloudApiClient::ApiError => e
puts "Exception when calling ProjectsApi->get_user_project: #{e}"
end
api_instance = BitbarCloudApiClient::ProjectsApi.new
user_id = 789 # Integer |
opts = {
for_whole_account: false, # BOOLEAN |
skip_common_project: false, # BOOLEAN |
skip_shared: false, # BOOLEAN |
show_statistics: false, # BOOLEAN |
sort: '', # String | sort parameter contains list of fields used for sort query result <br> examples: <br> sort=archiveTime_a<br>sort=common_a<br>sort=createTime_a<br>sort=name_a<br>sort=osType_a<br>sort=description_a<br>sort=id_a<br>sort=sharedByEmail_a
filter: '', # String | filter parameter contains list of fields used for filter query result <br> examples: <br> filter=archivetime_eq_1700230363889<br>filter=common_eq_true<br>filter=createtime_eq_1700230363889<br>filter=name_eq_value<br>filter=ostype_eq_ios<br>filter=description_eq_value<br>filter=readonly_eq_true<br>filter=id_eq_1<br>filter=sharedbyemail_eq_value
offset: '0', # String | offset parameter define page number
limit: '20' # String | limit parameter define page size
}
begin
#Get projects.
result = api_instance.get_user_projects(user_id, opts)
p result
rescue BitbarCloudApiClient::ApiError => e
puts "Exception when calling ProjectsApi->get_user_projects: #{e}"
end
api_instance = BitbarCloudApiClient::ProjectsApi.new
user_id = 789 # Integer |
project_id = 789 # Integer |
opts = {
name: 'name_example', # String |
description: 'description_example', # String |
archiving_strategy: 'archiving_strategy_example', # String |
archiving_item_count: 56 # Integer |
}
begin
#Update project.
result = api_instance.update_user_project(user_id, project_id, opts)
p result
rescue BitbarCloudApiClient::ApiError => e
puts "Exception when calling ProjectsApi->update_user_project: #{e}"
end
api_instance = BitbarCloudApiClient::RunningTestsApi.new
user_id = 789 # Integer |
device_session_id = 789 # Integer |
host = 'host_example' # String |
port = 56 # Integer |
type = 'type_example' # String |
opts = {
password: 'password_example' # String |
}
begin
#Create connection for device session.
result = api_instance.create_device_session_connection(user_id, device_session_id, host, port, type, opts)
p result
rescue BitbarCloudApiClient::ApiError => e
puts "Exception when calling RunningTestsApi->create_device_session_connection: #{e}"
end
api_instance = BitbarCloudApiClient::RunningTestsApi.new
user_id = 789 # Integer |
opts = {
body: BitbarCloudApiClient::APIDeviceSessionConfig.new, # APIDeviceSessionConfig |
device_model_id: 789, # Integer |
type: 'type_example', # String |
browser_name: 'browser_name_example', # String |
browser_version: 'browser_version_example', # String |
screen_resolution: 'screen_resolution_example', # String |
url: 'url_example' # String |
}
begin
#Create device session.
result = api_instance.create_inspector_device_session(user_id, opts)
p result
rescue BitbarCloudApiClient::ApiError => e
puts "Exception when calling RunningTestsApi->create_inspector_device_session: #{e}"
end
api_instance = BitbarCloudApiClient::RunningTestsApi.new
body = BitbarCloudApiClient::APIVisualTestAccess.new # APIVisualTestAccess |
user_id = 789 # Integer |
begin
#Create or update VisualTests access.
result = api_instance.create_or_update_visual_test_access(body, user_id)
p result
rescue BitbarCloudApiClient::ApiError => e
puts "Exception when calling RunningTestsApi->create_or_update_visual_test_access: #{e}"
end
api_instance = BitbarCloudApiClient::RunningTestsApi.new
user_id = 789 # Integer |
tunnel_id = 'tunnel_id_example' # String |
begin
#Delete users tunnel.
api_instance.delete(user_id, tunnel_id)
rescue BitbarCloudApiClient::ApiError => e
puts "Exception when calling RunningTestsApi->delete: #{e}"
end
api_instance = BitbarCloudApiClient::RunningTestsApi.new
user_id = 789 # Integer |
opts = {
active: true # BOOLEAN |
}
begin
#Get users tunnels.
result = api_instance.get(user_id, opts)
p result
rescue BitbarCloudApiClient::ApiError => e
puts "Exception when calling RunningTestsApi->get: #{e}"
end
api_instance = BitbarCloudApiClient::RunningTestsApi.new
user_id = 789 # Integer |
opts = {
sort: '', # String | sort parameter contains list of fields used for sort query result <br> examples: <br> sort=canRunFromUI_a<br>sort=retryable_a<br>sort=skipQueue_a<br>sort=forProjects_a<br>sort=description_a<br>sort=mainUserEmail_a<br>sort=type_a<br>sort=accountId_a<br>sort=labelId_a<br>sort=createTime_a<br>sort=jobConfigId_a<br>sort=name_a<br>sort=osType_a<br>sort=id_a<br>sort=labelName_a<br>sort=secured_a<br>sort=skipOlderSdk_a
filter: '', # String | filter parameter contains list of fields used for filter query result <br> examples: <br> filter=canrunfromui_eq_true<br>filter=retryable_eq_true<br>filter=skipqueue_eq_true<br>filter=forprojects_eq_true<br>filter=description_eq_value<br>filter=mainuseremail_eq_value<br>filter=type_eq_value<br>filter=accountid_eq_1<br>filter=labelid_eq_1<br>filter=createtime_eq_1700230364439<br>filter=jobconfigid_eq_1<br>filter=name_eq_value<br>filter=ostype_eq_ios<br>filter=id_eq_1<br>filter=labelname_eq_value<br>filter=secured_eq_true<br>filter=skipoldersdk_eq_true
offset: '0', # String | offset parameter define page number
limit: '20' # String | limit parameter define page size
}
begin
#Get available frameworks.
result = api_instance.get_available_frameworks(user_id, opts)
p result
rescue BitbarCloudApiClient::ApiError => e
puts "Exception when calling RunningTestsApi->get_available_frameworks: #{e}"
end
api_instance = BitbarCloudApiClient::RunningTestsApi.new
user_id = 789 # Integer |
device_session_id = 789 # Integer |
opts = {
sort: '', # String | sort parameter contains list of fields used for sort query result <br> examples: <br> sort=path_a<br>sort=password_a<br>sort=urlSchema_a<br>sort=deviceSessionId_a<br>sort=createTime_a<br>sort=port_a<br>sort=host_a<br>sort=_endTime_a<br>sort=id_a<br>sort=type_a
filter: '', # String | filter parameter contains list of fields used for filter query result <br> examples: <br> filter=path_eq_value<br>filter=password_eq_value<br>filter=urlschema_eq_value<br>filter=devicesessionid_eq_1<br>filter=createtime_eq_1700230364360<br>filter=port_eq_1<br>filter=host_eq_value<br>filter=_endtime_eq_1700230364360<br>filter=id_eq_1<br>filter=type_eq_value
offset: '0', # String | offset parameter define page number
limit: '20' # String | limit parameter define page size
}
begin
#Get connections for device session.
result = api_instance.get_device_session_connections(user_id, device_session_id, opts)
p result
rescue BitbarCloudApiClient::ApiError => e
puts "Exception when calling RunningTestsApi->get_device_session_connections: #{e}"
end
api_instance = BitbarCloudApiClient::RunningTestsApi.new
user_id = 789 # Integer |
device_session_id = 789 # Integer |
connection_id = 789 # Integer |
begin
#Get connection for device session.
result = api_instance.get_user_inspector_device_session_connection(user_id, device_session_id, connection_id)
p result
rescue BitbarCloudApiClient::ApiError => e
puts "Exception when calling RunningTestsApi->get_user_inspector_device_session_connection: #{e}"
end
api_instance = BitbarCloudApiClient::RunningTestsApi.new
user_id = 789 # Integer |
begin
#Get VisualTests enabled status.
result = api_instance.get_visual_test_access(user_id)
p result
rescue BitbarCloudApiClient::ApiError => e
puts "Exception when calling RunningTestsApi->get_visual_test_access: #{e}"
end
api_instance = BitbarCloudApiClient::RunningTestsApi.new
body = BitbarCloudApiClient::APITestRunConfig.new # APITestRunConfig |
user_id = 789 # Integer |
begin
#Run test run.
result = api_instance.run_user_test_run(body, user_id)
p result
rescue BitbarCloudApiClient::ApiError => e
puts "Exception when calling RunningTestsApi->run_user_test_run: #{e}"
end
api_instance = BitbarCloudApiClient::RunningTestsApi.new
body = BitbarCloudApiClient::APITestRunConfig.new # APITestRunConfig |
user_id = 789 # Integer |
opts = {
include_devices: false, # BOOLEAN |
include_device_groups: true, # BOOLEAN |
include_frameworks: true # BOOLEAN |
}
begin
#Validate test run configuration.
result = api_instance.validate_test_run_config(body, user_id, opts)
p result
rescue BitbarCloudApiClient::ApiError => e
puts "Exception when calling RunningTestsApi->validate_test_run_config: #{e}"
end
api_instance = BitbarCloudApiClient::SharingApi.new
user_id = 789 # Integer |
access_group_id = 789 # Integer |
email = 'email_example' # String |
begin
#Add user to access group.
result = api_instance.add_user(user_id, access_group_id, email)
p result
rescue BitbarCloudApiClient::ApiError => e
puts "Exception when calling SharingApi->add_user: #{e}"
end
api_instance = BitbarCloudApiClient::SharingApi.new
user_id = 789 # Integer |
name = 'name_example' # String |
opts = {
scope: 'USER' # String |
}
begin
#Create access group.
result = api_instance.create(user_id, name, opts)
p result
rescue BitbarCloudApiClient::ApiError => e
puts "Exception when calling SharingApi->create: #{e}"
end
api_instance = BitbarCloudApiClient::SharingApi.new
user_id = 789 # Integer |
access_group_id = 789 # Integer |
begin
#Delete access group.
api_instance.delete1(user_id, access_group_id)
rescue BitbarCloudApiClient::ApiError => e
puts "Exception when calling SharingApi->delete1: #{e}"
end
api_instance = BitbarCloudApiClient::SharingApi.new
user_id = 789 # Integer |
access_group_id = 789 # Integer |
resource_id = 789 # Integer |
begin
#Delete access group resource.
api_instance.delete_resource(user_id, access_group_id, resource_id)
rescue BitbarCloudApiClient::ApiError => e
puts "Exception when calling SharingApi->delete_resource: #{e}"
end
api_instance = BitbarCloudApiClient::SharingApi.new
user_id = 789 # Integer |
access_group_id = 789 # Integer |
participant_id = 789 # Integer |
begin
#Delete access group user.
api_instance.delete_user1(user_id, access_group_id, participant_id)
rescue BitbarCloudApiClient::ApiError => e
puts "Exception when calling SharingApi->delete_user1: #{e}"
end
api_instance = BitbarCloudApiClient::SharingApi.new
user_id = 789 # Integer |
access_group_id = 789 # Integer |
begin
#Get access group.
result = api_instance.get1(user_id, access_group_id)
p result
rescue BitbarCloudApiClient::ApiError => e
puts "Exception when calling SharingApi->get1: #{e}"
end
api_instance = BitbarCloudApiClient::SharingApi.new
user_id = 789 # Integer |
opts = {
sort: '', # String | sort parameter contains list of fields used for sort query result <br> examples: <br> sort=scope_a<br>sort=name_a<br>sort=userEmail_a<br>sort=id_a<br>sort=userId_a
filter: '', # String | filter parameter contains list of fields used for filter query result <br> examples: <br> filter=scope_eq_user<br>filter=name_eq_value<br>filter=useremail_eq_value<br>filter=id_eq_1<br>filter=userid_eq_1
offset: '0', # String | offset parameter define page number
limit: '20' # String | limit parameter define page size
}
begin
#Get access groups.
result = api_instance.get_list(user_id, opts)
p result
rescue BitbarCloudApiClient::ApiError => e
puts "Exception when calling SharingApi->get_list: #{e}"
end
api_instance = BitbarCloudApiClient::SharingApi.new
user_id = 789 # Integer |
access_group_id = 789 # Integer |
resource_id = 789 # Integer |
begin
#Get access group resource.
result = api_instance.get_resource(user_id, access_group_id, resource_id)
p result
rescue BitbarCloudApiClient::ApiError => e
puts "Exception when calling SharingApi->get_resource: #{e}"
end
api_instance = BitbarCloudApiClient::SharingApi.new
user_id = 789 # Integer |
access_group_id = 789 # Integer |
opts = {
sort: '', # String | sort parameter contains list of fields used for sort query result <br> examples: <br> sort=resourceId_a<br>sort=name_a<br>sort=id_a<br>sort=type_a
filter: '', # String | filter parameter contains list of fields used for filter query result <br> examples: <br> filter=resourceid_eq_1<br>filter=accessgroupid_eq_1<br>filter=name_eq_value<br>filter=id_eq_1<br>filter=type_eq_device_group
offset: '0', # String | offset parameter define page number
limit: '20' # String | limit parameter define page size
}
begin
#Get access group resources.
result = api_instance.get_resources(user_id, access_group_id, opts)
p result
rescue BitbarCloudApiClient::ApiError => e
puts "Exception when calling SharingApi->get_resources: #{e}"
end
api_instance = BitbarCloudApiClient::SharingApi.new
user_id = 789 # Integer |
access_group_id = 789 # Integer |
participant_id = 789 # Integer |
begin
#Get access group user.
result = api_instance.get_user1(user_id, access_group_id, participant_id)
p result
rescue BitbarCloudApiClient::ApiError => e
puts "Exception when calling SharingApi->get_user1: #{e}"
end
api_instance = BitbarCloudApiClient::SharingApi.new
user_id = 789 # Integer |
access_group_id = 789 # Integer |
opts = {
sort: '', # String | sort parameter contains list of fields used for sort query result <br> examples: <br> sort=firstName_a<br>sort=lastName_a<br>sort=id_a<br>sort=email_a
filter: '', # String | filter parameter contains list of fields used for filter query result <br> examples: <br> filter=firstname_eq_value<br>filter=lastname_eq_value<br>filter=accessgroupid_eq_1<br>filter=id_eq_1<br>filter=email_eq_value
offset: '0', # String | offset parameter define page number
limit: '20' # String | limit parameter define page size
}
begin
#Get access group users.
result = api_instance.get_users1(user_id, access_group_id, opts)
p result
rescue BitbarCloudApiClient::ApiError => e
puts "Exception when calling SharingApi->get_users1: #{e}"
end
api_instance = BitbarCloudApiClient::SharingApi.new
user_id = 789 # Integer |
device_group_id = 789 # Integer |
opts = {
access_group_id: 789, # Integer |
email: 'email_example' # String |
}
begin
#Share device group.
result = api_instance.share_device_group(user_id, device_group_id, opts)
p result
rescue BitbarCloudApiClient::ApiError => e
puts "Exception when calling SharingApi->share_device_group: #{e}"
end
api_instance = BitbarCloudApiClient::SharingApi.new
user_id = 789 # Integer |
file_id = 789 # Integer |
opts = {
access_group_id: 789, # Integer |
email: 'email_example' # String |
}
begin
#Share file.
result = api_instance.share_file(user_id, file_id, opts)
p result
rescue BitbarCloudApiClient::ApiError => e
puts "Exception when calling SharingApi->share_file: #{e}"
end
api_instance = BitbarCloudApiClient::SharingApi.new
user_id = 789 # Integer |
project_id = 789 # Integer |
opts = {
access_group_id: 789, # Integer |
email: 'email_example' # String |
}
begin
#Share project.
result = api_instance.share_project(user_id, project_id, opts)
p result
rescue BitbarCloudApiClient::ApiError => e
puts "Exception when calling SharingApi->share_project: #{e}"
end
api_instance = BitbarCloudApiClient::SharingApi.new
user_id = 789 # Integer |
access_group_id = 789 # Integer |
opts = {
scope: 'scope_example', # String |
name: 'name_example' # String |
}
begin
#Update access group.
result = api_instance.update(user_id, access_group_id, opts)
p result
rescue BitbarCloudApiClient::ApiError => e
puts "Exception when calling SharingApi->update: #{e}"
end
api_instance = BitbarCloudApiClient::TestResultsApi.new
user_id = 789 # Integer |
project_id = 789 # Integer |
run_id = 789 # Integer |
device_session_id = 789 # Integer |
begin
#Abort device session.
result = api_instance.abort_device_session(user_id, project_id, run_id, device_session_id)
p result
rescue BitbarCloudApiClient::ApiError => e
puts "Exception when calling TestResultsApi->abort_device_session: #{e}"
end
api_instance = BitbarCloudApiClient::TestResultsApi.new
user_id = 789 # Integer |
project_id = 789 # Integer |
run_id = 789 # Integer |
begin
#Abort test run and receive partial results.
result = api_instance.abort_user_test_run(user_id, project_id, run_id)
p result
rescue BitbarCloudApiClient::ApiError => e
puts "Exception when calling TestResultsApi->abort_user_test_run: #{e}"
end
api_instance = BitbarCloudApiClient::TestResultsApi.new
user_id = 789 # Integer |
project_id = 789 # Integer |
run_id = 789 # Integer |
device_session_id = 789 # Integer |
name = 'name_example' # String |
opts = {
body: BitbarCloudApiClient::OutputfilesetFilesBody.new, # OutputfilesetFilesBody |
tag: 'tag_example' # String |
}
begin
#Add file to device session.
result = api_instance.add_file(user_id, project_id, run_id, device_session_id, name, opts)
p result
rescue BitbarCloudApiClient::ApiError => e
puts "Exception when calling TestResultsApi->add_file: #{e}"
end
api_instance = BitbarCloudApiClient::TestResultsApi.new
user_id = 789 # Integer |
device_session_id = 789 # Integer |
name = 'name_example' # String |
opts = {
body: BitbarCloudApiClient::OutputfilesetFilesBody1.new, # OutputfilesetFilesBody1 |
tag: 'tag_example' # String |
}
begin
#Add file to device session.
result = api_instance.add_file1(user_id, device_session_id, name, opts)
p result
rescue BitbarCloudApiClient::ApiError => e
puts "Exception when calling TestResultsApi->add_file1: #{e}"
end
api_instance = BitbarCloudApiClient::TestResultsApi.new
run_id = 789 # Integer |
device_session_id = 789 # Integer |
name = 'name_example' # String |
opts = {
body: BitbarCloudApiClient::OutputfilesetFilesBody2.new, # OutputfilesetFilesBody2 |
tag: 'tag_example' # String |
}
begin
#Add file to device session.
result = api_instance.add_file2(run_id, device_session_id, name, opts)
p result
rescue BitbarCloudApiClient::ApiError => e
puts "Exception when calling TestResultsApi->add_file2: #{e}"
end
api_instance = BitbarCloudApiClient::TestResultsApi.new
project_id = 789 # Integer |
run_id = 789 # Integer |
device_session_id = 789 # Integer |
name = 'name_example' # String |
opts = {
body: BitbarCloudApiClient::OutputfilesetFilesBody3.new, # OutputfilesetFilesBody3 |
tag: 'tag_example' # String |
}
begin
#Add file to device session.
result = api_instance.add_file3(project_id, run_id, device_session_id, name, opts)
p result
rescue BitbarCloudApiClient::ApiError => e
puts "Exception when calling TestResultsApi->add_file3: #{e}"
end
api_instance = BitbarCloudApiClient::TestResultsApi.new
user_id = 789 # Integer |
project_id = 789 # Integer |
run_id = 789 # Integer |
name = 'name_example' # String |
begin
#Add tag to test run.
result = api_instance.add_test_run_tag(user_id, project_id, run_id, name)
p result
rescue BitbarCloudApiClient::ApiError => e
puts "Exception when calling TestResultsApi->add_test_run_tag: #{e}"
end
api_instance = BitbarCloudApiClient::TestResultsApi.new
user_id = 789 # Integer |
device_session_id = 789 # Integer |
file_id = 789 # Integer |
begin
#Delete file from device session.
api_instance.delete_file1(user_id, device_session_id, file_id)
rescue BitbarCloudApiClient::ApiError => e
puts "Exception when calling TestResultsApi->delete_file1: #{e}"
end
api_instance = BitbarCloudApiClient::TestResultsApi.new
user_id = 789 # Integer |
project_id = 789 # Integer |
run_id = 789 # Integer |
tag_id = 789 # Integer |
begin
#Delete test run tag.
api_instance.delete_test_run_tag(user_id, project_id, run_id, tag_id)
rescue BitbarCloudApiClient::ApiError => e
puts "Exception when calling TestResultsApi->delete_test_run_tag: #{e}"
end
api_instance = BitbarCloudApiClient::TestResultsApi.new
user_id = 789 # Integer |
project_id = 789 # Integer |
run_id = 789 # Integer |
begin
#Delete test run.
api_instance.delete_user_test_run(user_id, project_id, run_id)
rescue BitbarCloudApiClient::ApiError => e
puts "Exception when calling TestResultsApi->delete_user_test_run: #{e}"
end
api_instance = BitbarCloudApiClient::TestResultsApi.new
user_id = 789 # Integer |
device_session_id = 789 # Integer |
begin
#Get device session output files.zip.
api_instance.download_output_files_zip(user_id, device_session_id)
rescue BitbarCloudApiClient::ApiError => e
puts "Exception when calling TestResultsApi->download_output_files_zip: #{e}"
end
api_instance = BitbarCloudApiClient::TestResultsApi.new
user_id = 789 # Integer |
project_id = 789 # Integer |
run_id = 789 # Integer |
device_session_id = 789 # Integer |
begin
#Get device session output files.zip.
api_instance.download_test_run_output_files_zip(user_id, project_id, run_id, device_session_id)
rescue BitbarCloudApiClient::ApiError => e
puts "Exception when calling TestResultsApi->download_test_run_output_files_zip: #{e}"
end
api_instance = BitbarCloudApiClient::TestResultsApi.new
user_id = 789 # Integer |
project_id = 789 # Integer |
run_id = 789 # Integer |
opts = {
sort: '', # String | sort parameter contains list of fields used for sort query result <br> examples: <br> sort=finishTimeMS_a<br>sort=deviceSessionId_a<br>sort=testRunId_a<br>sort=startTimeMS_a<br>sort=id_a
filter: '', # String | filter parameter contains list of fields used for filter query result <br> examples: <br> filter=finishtimems_eq_1<br>filter=devicesessionid_eq_1<br>filter=testrunid_eq_1<br>filter=starttimems_eq_1<br>filter=id_eq_1
offset: '0', # String | offset parameter define page number
limit: '20' # String | limit parameter define page size
}
begin
#Get device session steps of all device sessions in run.
result = api_instance.get_all_test_run_device_session_steps(user_id, project_id, run_id, opts)
p result
rescue BitbarCloudApiClient::ApiError => e
puts "Exception when calling TestResultsApi->get_all_test_run_device_session_steps: #{e}"
end
api_instance = BitbarCloudApiClient::TestResultsApi.new
user_id = 789 # Integer |
project_id = 789 # Integer |
run_id = 789 # Integer |
device_session_id = 789 # Integer |
begin
#Get current device session step.
result = api_instance.get_current_device_session_step(user_id, project_id, run_id, device_session_id)
p result
rescue BitbarCloudApiClient::ApiError => e
puts "Exception when calling TestResultsApi->get_current_device_session_step: #{e}"
end
api_instance = BitbarCloudApiClient::TestResultsApi.new
user_id = 789 # Integer |
project_id = 789 # Integer |
run_id = 789 # Integer |
device_session_id = 789 # Integer |
begin
#Get device session commands.
result = api_instance.get_device_session_commands(user_id, project_id, run_id, device_session_id)
p result
rescue BitbarCloudApiClient::ApiError => e
puts "Exception when calling TestResultsApi->get_device_session_commands: #{e}"
end
api_instance = BitbarCloudApiClient::TestResultsApi.new
user_id = 789 # Integer |
project_id = 789 # Integer |
run_id = 789 # Integer |
device_session_id = 789 # Integer |
opts = {
sort: '', # String | sort parameter contains list of fields used for sort query result <br> examples: <br> sort=finishTimeMS_a<br>sort=deviceSessionId_a<br>sort=testRunId_a<br>sort=startTimeMS_a<br>sort=id_a
filter: '', # String | filter parameter contains list of fields used for filter query result <br> examples: <br> filter=finishtimems_eq_1<br>filter=devicesessionid_eq_1<br>filter=testrunid_eq_1<br>filter=starttimems_eq_1<br>filter=id_eq_1
offset: '0', # String | offset parameter define page number
limit: '20' # String | limit parameter define page size
}
begin
#Get device session steps.
result = api_instance.get_device_session_steps(user_id, project_id, run_id, device_session_id, opts)
p result
rescue BitbarCloudApiClient::ApiError => e
puts "Exception when calling TestResultsApi->get_device_session_steps: #{e}"
end
api_instance = BitbarCloudApiClient::TestResultsApi.new
user_id = 789 # Integer |
project_id = 789 # Integer |
run_id = 789 # Integer |
device_session_id = 789 # Integer |
begin
#Get device session steps.
result = api_instance.get_device_session_test_case_runs(user_id, project_id, run_id, device_session_id)
p result
rescue BitbarCloudApiClient::ApiError => e
puts "Exception when calling TestResultsApi->get_device_session_test_case_runs: #{e}"
end
api_instance = BitbarCloudApiClient::TestResultsApi.new
user_id = 789 # Integer |
project_id = 789 # Integer |
run_id = 789 # Integer |
opts = {
sort: '', # String | sort parameter contains list of fields used for sort query result <br> examples: <br> sort=isExcluded_a<br>sort=testRunId_a<br>sort=clientSideId_a<br>sort=externalId_a<br>sort=successRatio_a<br>sort=device.id_a<br>sort=retryState_a<br>sort=type_a<br>sort=userId_a<br>sort=duration_a<br>sort=timeLimit_a<br>sort=createTime_a<br>sort=biometricInstrumentation_a<br>sort=startTime_a<br>sort=userEmail_a<br>sort=_endTime_a<br>sort=id_a<br>sort=state_a<br>sort=device.displayName_a<br>sort=projectName_a<br>sort=projectId_a<br>sort=testRunName_a
filter: '', # String | filter parameter contains list of fields used for filter query result <br> examples: <br> filter=testrunid_eq_1<br>filter=clientsideid_eq_value<br>filter=externalid_eq_value<br>filter=successratio_eq_1<br>filter=device.id_eq_1<br>filter=retrystate_eq_none<br>filter=type_eq_automatic<br>filter=userid_eq_1<br>filter=duration_eq_1<br>filter=timelimit_eq_1<br>filter=createtime_eq_1700230364086<br>filter=biometricinstrumentation_eq_true<br>filter=starttime_eq_1700230364086<br>filter=useremail_eq_value<br>filter=_endtime_eq_1700230364086<br>filter=id_eq_1<br>filter=state_eq_aborted<br>filter=device.displayname_eq_value<br>filter=projectname_eq_value<br>filter=projectid_eq_1<br>filter=testrunname_eq_null
offset: '0', # String | offset parameter define page number
limit: '20' # String | limit parameter define page size
}
begin
#Get device sessions.
result = api_instance.get_device_sessions(user_id, project_id, run_id, opts)
p result
rescue BitbarCloudApiClient::ApiError => e
puts "Exception when calling TestResultsApi->get_device_sessions: #{e}"
end
api_instance = BitbarCloudApiClient::TestResultsApi.new
user_id = 789 # Integer |
project_id = 789 # Integer |
run_id = 789 # Integer |
device_session_id = 789 # Integer |
opts = {
tag: ['tag_example'], # Array<String> |
sort: '', # String | sort parameter contains list of fields used for sort query result <br> examples: <br> sort=size_a<br>sort=createTime_a<br>sort=name_a<br>sort=inputType_a<br>sort=mimetype_a<br>sort=userEmail_a<br>sort=id_a<br>sort=state_a<br>sort=direction_a
filter: '', # String | filter parameter contains list of fields used for filter query result <br> examples: <br> filter=size_eq_1<br>filter=createtime_eq_1700230364167<br>filter=name_eq_value<br>filter=inputtype_eq_application<br>filter=mimetype_eq_value<br>filter=useremail_eq_value<br>filter=id_eq_1<br>filter=state_eq_preparing<br>filter=direction_eq_input
offset: '0', # String | offset parameter define page number
limit: '20' # String | limit parameter define page size
}
begin
#Get device session output files.
result = api_instance.get_files_for_device_session_by_tag(user_id, project_id, run_id, device_session_id, opts)
p result
rescue BitbarCloudApiClient::ApiError => e
puts "Exception when calling TestResultsApi->get_files_for_device_session_by_tag: #{e}"
end
api_instance = BitbarCloudApiClient::TestResultsApi.new
user_id = 789 # Integer |
opts = {
with_properties: true, # BOOLEAN |
sort: '', # String | sort parameter contains list of fields used for sort query result <br> examples: <br> sort=isExcluded_a<br>sort=testRunId_a<br>sort=clientSideId_a<br>sort=externalId_a<br>sort=successRatio_a<br>sort=device.id_a<br>sort=retryState_a<br>sort=type_a<br>sort=userId_a<br>sort=duration_a<br>sort=timeLimit_a<br>sort=createTime_a<br>sort=biometricInstrumentation_a<br>sort=startTime_a<br>sort=userEmail_a<br>sort=_endTime_a<br>sort=id_a<br>sort=state_a<br>sort=device.displayName_a<br>sort=projectName_a<br>sort=projectId_a<br>sort=testRunName_a
filter: '', # String | filter parameter contains list of fields used for filter query result <br> examples: <br> filter=testrunid_eq_1<br>filter=clientsideid_eq_value<br>filter=externalid_eq_value<br>filter=successratio_eq_1<br>filter=device.id_eq_1<br>filter=retrystate_eq_none<br>filter=type_eq_automatic<br>filter=userid_eq_1<br>filter=duration_eq_1<br>filter=timelimit_eq_1<br>filter=createtime_eq_1700230364288<br>filter=biometricinstrumentation_eq_true<br>filter=starttime_eq_1700230364288<br>filter=useremail_eq_value<br>filter=_endtime_eq_1700230364288<br>filter=id_eq_1<br>filter=state_eq_aborted<br>filter=device.displayname_eq_value<br>filter=projectname_eq_value<br>filter=projectid_eq_1<br>filter=testrunname_eq_null
offset: '0', # String | offset parameter define page number
limit: '20' # String | limit parameter define page size
}
begin
#Get device sessions.
result = api_instance.get_inspector_device_sessions(user_id, opts)
p result
rescue BitbarCloudApiClient::ApiError => e
puts "Exception when calling TestResultsApi->get_inspector_device_sessions: #{e}"
end
api_instance = BitbarCloudApiClient::TestResultsApi.new
user_id = 789 # Integer |
device_session_id = 789 # Integer |
opts = {
tag: ['tag_example'], # Array<String> |
sort: '', # String | sort parameter contains list of fields used for sort query result <br> examples: <br> sort=size_a<br>sort=createTime_a<br>sort=name_a<br>sort=inputType_a<br>sort=mimetype_a<br>sort=userEmail_a<br>sort=id_a<br>sort=state_a<br>sort=direction_a
filter: '', # String | filter parameter contains list of fields used for filter query result <br> examples: <br> filter=size_eq_1<br>filter=createtime_eq_1700230364352<br>filter=name_eq_value<br>filter=inputtype_eq_application<br>filter=mimetype_eq_value<br>filter=useremail_eq_value<br>filter=id_eq_1<br>filter=state_eq_preparing<br>filter=direction_eq_input
offset: '0', # String | offset parameter define page number
limit: '20' # String | limit parameter define page size
}
begin
#Get files for device session.
result = api_instance.get_output_files(user_id, device_session_id, opts)
p result
rescue BitbarCloudApiClient::ApiError => e
puts "Exception when calling TestResultsApi->get_output_files: #{e}"
end
api_instance = BitbarCloudApiClient::TestResultsApi.new
user_id = 789 # Integer |
project_id = 789 # Integer |
run_id = 789 # Integer |
begin
#Get screenshot names.
result = api_instance.get_screenshot_names(user_id, project_id, run_id)
p result
rescue BitbarCloudApiClient::ApiError => e
puts "Exception when calling TestResultsApi->get_screenshot_names: #{e}"
end
api_instance = BitbarCloudApiClient::TestResultsApi.new
user_id = 789 # Integer |
project_id = 789 # Integer |
run_id = 789 # Integer |
begin
#Get test run data availability.
result = api_instance.get_test_run_data_availability_with_user(user_id, project_id, run_id)
p result
rescue BitbarCloudApiClient::ApiError => e
puts "Exception when calling TestResultsApi->get_test_run_data_availability_with_user: #{e}"
end
api_instance = BitbarCloudApiClient::TestResultsApi.new
user_id = 789 # Integer |
project_id = 789 # Integer |
run_id = 789 # Integer |
name = 'name_example' # String |
opts = {
sort: '', # String | sort parameter contains list of fields used for sort query result <br> examples: <br> sort=originalName_a<br>sort=takeTimestamp_a<br>sort=id_a
filter: '', # String | filter parameter contains list of fields used for filter query result <br> examples: <br> filter=originalname_eq_value<br>filter=taketimestamp_eq_1<br>filter=id_eq_1
offset: '0', # String | offset parameter define page number
limit: '20' # String | limit parameter define page size
}
begin
#Get test run screenshots by name.
result = api_instance.get_test_run_screenshots(user_id, project_id, run_id, name, opts)
p result
rescue BitbarCloudApiClient::ApiError => e
puts "Exception when calling TestResultsApi->get_test_run_screenshots: #{e}"
end
api_instance = BitbarCloudApiClient::TestResultsApi.new
user_id = 789 # Integer |
project_id = 789 # Integer |
run_id = 789 # Integer |
tag_id = 789 # Integer |
begin
#Get test run tag.
result = api_instance.get_test_run_tag(user_id, project_id, run_id, tag_id)
p result
rescue BitbarCloudApiClient::ApiError => e
puts "Exception when calling TestResultsApi->get_test_run_tag: #{e}"
end
api_instance = BitbarCloudApiClient::TestResultsApi.new
user_id = 789 # Integer |
project_id = 789 # Integer |
run_id = 789 # Integer |
opts = {
sort: '', # String | sort parameter contains list of fields used for sort query result <br> examples: <br> sort=testRunId_a<br>sort=name_a<br>sort=id_a
filter: '', # String | filter parameter contains list of fields used for filter query result <br> examples: <br> filter=testrunid_eq_1<br>filter=name_eq_value<br>filter=id_eq_1
offset: '0', # String | offset parameter define page number
limit: '20' # String | limit parameter define page size
}
begin
#Get test run tags.
result = api_instance.get_test_run_tags(user_id, project_id, run_id, opts)
p result
rescue BitbarCloudApiClient::ApiError => e
puts "Exception when calling TestResultsApi->get_test_run_tags: #{e}"
end
api_instance = BitbarCloudApiClient::TestResultsApi.new
user_id = 789 # Integer |
project_id = 789 # Integer |
run_id = 789 # Integer |
device_session_id = 789 # Integer |
opts = {
sort: '', # String | sort parameter contains list of fields used for sort query result <br> examples: <br> sort=originalName_a<br>sort=takeTimestamp_a<br>sort=id_a
filter: '', # String | filter parameter contains list of fields used for filter query result <br> examples: <br> filter=originalname_eq_value<br>filter=taketimestamp_eq_1<br>filter=id_eq_1
offset: '0', # String | offset parameter define page number
limit: '20' # String | limit parameter define page size
}
begin
#Get device session screenshots.
result = api_instance.get_user_device_session_screenshots(user_id, project_id, run_id, device_session_id, opts)
p result
rescue BitbarCloudApiClient::ApiError => e
puts "Exception when calling TestResultsApi->get_user_device_session_screenshots: #{e}"
end
api_instance = BitbarCloudApiClient::TestResultsApi.new
user_id = 789 # Integer |
project_id = 789 # Integer |
run_id = 789 # Integer |
device_session_id = 789 # Integer |
device_session_step_id = 789 # Integer |
begin
#Get device session step.
result = api_instance.get_user_device_session_step(user_id, project_id, run_id, device_session_id, device_session_step_id)
p result
rescue BitbarCloudApiClient::ApiError => e
puts "Exception when calling TestResultsApi->get_user_device_session_step: #{e}"
end
api_instance = BitbarCloudApiClient::TestResultsApi.new
user_id = 789 # Integer |
project_id = 789 # Integer |
run_id = 789 # Integer |
device_session_id = 789 # Integer |
begin
#Get device session.
result = api_instance.get_user_device_session_with_users(user_id, project_id, run_id, device_session_id)
p result
rescue BitbarCloudApiClient::ApiError => e
puts "Exception when calling TestResultsApi->get_user_device_session_with_users: #{e}"
end
api_instance = BitbarCloudApiClient::TestResultsApi.new
user_id = 789 # Integer |
device_session_id = 789 # Integer |
opts = {
with_properties: true # BOOLEAN |
}
begin
#Get device session.
result = api_instance.get_user_inspector_device_session(user_id, device_session_id, opts)
p result
rescue BitbarCloudApiClient::ApiError => e
puts "Exception when calling TestResultsApi->get_user_inspector_device_session: #{e}"
end
api_instance = BitbarCloudApiClient::TestResultsApi.new
user_id = 789 # Integer |
project_id = 789 # Integer |
opts = {
sort: '', # String | sort parameter contains list of fields used for sort query result <br> examples: <br> sort=frameworkId_a<br>sort=frameworkName_a<br>sort=deviceCount_a<br>sort=displayName_a<br>sort=executionRatio_a<br>sort=successRatio_a<br>sort=userId_a<br>sort=common_a<br>sort=createTime_a<br>sort=startTime_a<br>sort=id_a<br>sort=state_a<br>sort=projectId_a
filter: '', # String | filter parameter contains list of fields used for filter query result <br> examples: <br> filter=frameworkid_eq_1<br>filter=frameworkname_eq_value<br>filter=displayname_eq_value<br>filter=successratio_eq_1<br>filter=userid_eq_1<br>filter=common_eq_true<br>filter=createtime_eq_1700230363968<br>filter=starttime_eq_1700230363968<br>filter=id_eq_1<br>filter=projectid_eq_1
offset: '0', # String | offset parameter define page number
limit: '20' # String | limit parameter define page size
}
begin
#Get test runs.
result = api_instance.get_user_project_test_runs(user_id, project_id, opts)
p result
rescue BitbarCloudApiClient::ApiError => e
puts "Exception when calling TestResultsApi->get_user_project_test_runs: #{e}"
end
api_instance = BitbarCloudApiClient::TestResultsApi.new
user_id = 789 # Integer |
project_id = 789 # Integer |
run_id = 789 # Integer |
begin
#Get test run.
result = api_instance.get_user_test_run(user_id, project_id, run_id)
p result
rescue BitbarCloudApiClient::ApiError => e
puts "Exception when calling TestResultsApi->get_user_test_run: #{e}"
end
api_instance = BitbarCloudApiClient::TestResultsApi.new
user_id = 789 # Integer |
opts = {
for_whole_account: false, # BOOLEAN |
skip_common_project: false, # BOOLEAN |
skip_shared: false, # BOOLEAN |
sort: '', # String | sort parameter contains list of fields used for sort query result <br> examples: <br> sort=frameworkId_a<br>sort=frameworkName_a<br>sort=deviceCount_a<br>sort=displayName_a<br>sort=executionRatio_a<br>sort=successRatio_a<br>sort=userId_a<br>sort=common_a<br>sort=createTime_a<br>sort=startTime_a<br>sort=id_a<br>sort=state_a<br>sort=projectId_a
filter: '', # String | filter parameter contains list of fields used for filter query result <br> examples: <br> filter=frameworkid_eq_1<br>filter=frameworkname_eq_value<br>filter=displayname_eq_value<br>filter=successratio_eq_1<br>filter=userid_eq_1<br>filter=common_eq_true<br>filter=createtime_eq_1700230363880<br>filter=starttime_eq_1700230363880<br>filter=id_eq_1<br>filter=projectid_eq_1
offset: '0', # String | offset parameter define page number
limit: '20' # String | limit parameter define page size
}
begin
#Get test runs.
result = api_instance.get_user_test_runs(user_id, opts)
p result
rescue BitbarCloudApiClient::ApiError => e
puts "Exception when calling TestResultsApi->get_user_test_runs: #{e}"
end
api_instance = BitbarCloudApiClient::TestResultsApi.new
user_id = 789 # Integer |
device_session_id = 789 # Integer |
begin
#Retrieve VisualTests images.
result = api_instance.get_visual_test_images(user_id, device_session_id)
p result
rescue BitbarCloudApiClient::ApiError => e
puts "Exception when calling TestResultsApi->get_visual_test_images: #{e}"
end
api_instance = BitbarCloudApiClient::TestResultsApi.new
user_id = 789 # Integer |
device_session_id = 789 # Integer |
begin
#Release device session.
result = api_instance.release_device_session(user_id, device_session_id)
p result
rescue BitbarCloudApiClient::ApiError => e
puts "Exception when calling TestResultsApi->release_device_session: #{e}"
end
api_instance = BitbarCloudApiClient::TestResultsApi.new
user_id = 789 # Integer |
project_id = 789 # Integer |
run_id = 789 # Integer |
opts = {
device_run_ids: [56] # Array<Integer> |
}
begin
#Generate files zip.
result = api_instance.request_user_test_run_files(user_id, project_id, run_id, opts)
p result
rescue BitbarCloudApiClient::ApiError => e
puts "Exception when calling TestResultsApi->request_user_test_run_files: #{e}"
end
api_instance = BitbarCloudApiClient::TestResultsApi.new
user_id = 789 # Integer |
project_id = 789 # Integer |
run_id = 789 # Integer |
opts = {
device_run_ids: [56] # Array<Integer> |
}
begin
#Generate logs zip.
result = api_instance.request_user_test_run_logs(user_id, project_id, run_id, opts)
p result
rescue BitbarCloudApiClient::ApiError => e
puts "Exception when calling TestResultsApi->request_user_test_run_logs: #{e}"
end
api_instance = BitbarCloudApiClient::TestResultsApi.new
user_id = 789 # Integer |
project_id = 789 # Integer |
run_id = 789 # Integer |
opts = {
device_run_ids: [56] # Array<Integer> |
}
begin
#Generate performance zip.
result = api_instance.request_user_test_run_performance(user_id, project_id, run_id, opts)
p result
rescue BitbarCloudApiClient::ApiError => e
puts "Exception when calling TestResultsApi->request_user_test_run_performance: #{e}"
end
api_instance = BitbarCloudApiClient::TestResultsApi.new
user_id = 789 # Integer |
project_id = 789 # Integer |
run_id = 789 # Integer |
opts = {
device_run_ids: [56] # Array<Integer> |
}
begin
#Generate screenshot zip.
result = api_instance.request_user_test_run_screenshots(user_id, project_id, run_id, opts)
p result
rescue BitbarCloudApiClient::ApiError => e
puts "Exception when calling TestResultsApi->request_user_test_run_screenshots: #{e}"
end
api_instance = BitbarCloudApiClient::TestResultsApi.new
user_id = 789 # Integer |
project_id = 789 # Integer |
run_id = 789 # Integer |
device_session_id = 789 # Integer |
begin
#Retry device session.
result = api_instance.retry_device_session_with_user(user_id, project_id, run_id, device_session_id)
p result
rescue BitbarCloudApiClient::ApiError => e
puts "Exception when calling TestResultsApi->retry_device_session_with_user: #{e}"
end
api_instance = BitbarCloudApiClient::TestResultsApi.new
user_id = 789 # Integer |
project_id = 789 # Integer |
run_id = 789 # Integer |
opts = {
device_run_ids: [56] # Array<Integer> |
}
begin
#Retry test run or its device sessions.
result = api_instance.retry_test_run_with_user(user_id, project_id, run_id, opts)
p result
rescue BitbarCloudApiClient::ApiError => e
puts "Exception when calling TestResultsApi->retry_test_run_with_user: #{e}"
end
api_instance = BitbarCloudApiClient::TestResultsApi.new
user_id = 789 # Integer |
project_id = 789 # Integer |
run_id = 789 # Integer |
device_session_id = 789 # Integer |
screenshot_id = 789 # Integer |
opts = {
width: 56, # Integer |
height: 56 # Integer |
}
begin
#Get device session screenshot.
api_instance.serve_screenshot(user_id, project_id, run_id, device_session_id, screenshot_id, opts)
rescue BitbarCloudApiClient::ApiError => e
puts "Exception when calling TestResultsApi->serve_screenshot: #{e}"
end
api_instance = BitbarCloudApiClient::TestResultsApi.new
user_id = 789 # Integer |
project_id = 789 # Integer |
run_id = 789 # Integer |
device_session_id = 789 # Integer |
opts = {
name: 'name_example', # String |
client_side_id: 'client_side_id_example', # String |
state: 'state_example' # String |
}
begin
#Update device session by external id.
result = api_instance.update_device_session1(user_id, project_id, run_id, device_session_id, opts)
p result
rescue BitbarCloudApiClient::ApiError => e
puts "Exception when calling TestResultsApi->update_device_session1: #{e}"
end
api_instance = BitbarCloudApiClient::TestResultsApi.new
user_id = 789 # Integer |
project_id = 789 # Integer |
run_id = 789 # Integer |
display_name = 'display_name_example' # String |
begin
#Update test run.
result = api_instance.update_user_test_run(user_id, project_id, run_id, display_name)
p result
rescue BitbarCloudApiClient::ApiError => e
puts "Exception when calling TestResultsApi->update_user_test_run: #{e}"
end
api_instance = BitbarCloudApiClient::TestResultsApi.new
user_id = 789 # Integer |
device_session_id = 789 # Integer |
opts = {
name: 'name_example', # String |
client_side_id: 'client_side_id_example', # String |
state: 'state_example' # String |
}
begin
#Update device session by external id.
result = api_instance.update_users_device_session1(user_id, device_session_id, opts)
p result
rescue BitbarCloudApiClient::ApiError => e
puts "Exception when calling TestResultsApi->update_users_device_session1: #{e}"
end
api_instance = BitbarCloudApiClient::UsageAndStatisticsApi.new
user_id = 789 # Integer |
opts = {
for_whole_account: false, # BOOLEAN |
skip_common_project: false, # BOOLEAN |
skip_shared: false, # BOOLEAN |
mode: 'DEVICE_NAME', # String |
sort: '', # String | sort parameter contains list of fields used for sort query result <br> examples: <br> sort=failedRatio_a<br>sort=passedTests_a<br>sort=releaseVersion_a<br>sort=failedTests_a<br>sort=passedRatio_a<br>sort=deviceName_a<br>sort=usageCount_a<br>sort=totalTests_a<br>sort=failedDevices_a<br>sort=osType_a<br>sort=usageMillis_a<br>sort=id_a<br>sort=projectId_a
filter: '', # String | filter parameter contains list of fields used for filter query result <br> examples: <br> filter=releaseversion_eq_value<br>filter=testrunid_eq_1<br>filter=devicename_eq_value<br>filter=common_eq_true<br>filter=createtime_eq_1700230364268<br>filter=ostype_eq_ios<br>filter=id_eq_1<br>filter=projectid_eq_1
offset: '0', # String | offset parameter define page number
limit: '20' # String | limit parameter define page size
}
begin
#Get device statistics.
result = api_instance.get_device_statistics(user_id, opts)
p result
rescue BitbarCloudApiClient::ApiError => e
puts "Exception when calling UsageAndStatisticsApi->get_device_statistics: #{e}"
end
api_instance = BitbarCloudApiClient::UsageAndStatisticsApi.new
opts = {
skip_common_project: false, # BOOLEAN |
mode: 'DEVICE_NAME', # String |
sort: '', # String | sort parameter contains list of fields used for sort query result <br> examples: <br> sort=failedRatio_a<br>sort=passedTests_a<br>sort=releaseVersion_a<br>sort=failedTests_a<br>sort=passedRatio_a<br>sort=deviceName_a<br>sort=usageCount_a<br>sort=totalTests_a<br>sort=failedDevices_a<br>sort=osType_a<br>sort=usageMillis_a<br>sort=id_a<br>sort=projectId_a
filter: '', # String | filter parameter contains list of fields used for filter query result <br> examples: <br> filter=releaseversion_eq_value<br>filter=testrunid_eq_1<br>filter=devicename_eq_value<br>filter=common_eq_true<br>filter=createtime_eq_1700230365460<br>filter=ostype_eq_ios<br>filter=id_eq_1<br>filter=projectid_eq_1
offset: '0', # String | offset parameter define page number
limit: '20' # String | limit parameter define page size
}
begin
#Get device statistics.
result = api_instance.get_device_statistics1(opts)
p result
rescue BitbarCloudApiClient::ApiError => e
puts "Exception when calling UsageAndStatisticsApi->get_device_statistics1: #{e}"
end
api_instance = BitbarCloudApiClient::UsageAndStatisticsApi.new
user_id = 789 # Integer |
opts = {
for_whole_account: false, # BOOLEAN |
skip_common_project: false, # BOOLEAN |
skip_shared: false, # BOOLEAN |
start_time: 789, # Integer |
sort: '', # String | sort parameter contains list of fields used for sort query result <br> examples: <br> sort=deviceSession.createTime_a<br>sort=displayName_a<br>sort=failedDeviceSessions_a<br>sort=creditsPrice_a<br>sort=osType_a<br>sort=totalDeviceSessions_a<br>sort=deviceSession.userId_a<br>sort=id_a<br>sort=manufacturer_a
filter: '', # String | filter parameter contains list of fields used for filter query result <br> examples: <br> filter=devicesession.createtime_eq_1700230364248<br>filter=common_eq_true<br>filter=displayname_eq_value<br>filter=creditsprice_eq_1<br>filter=ostype_eq_ios<br>filter=devicesession.userid_eq_1<br>filter=id_eq_1<br>filter=manufacturer_eq_value
offset: '0', # String | offset parameter define page number
limit: '20' # String | limit parameter define page size
}
begin
#Get device usage statistics.
result = api_instance.get_user_device_usage_statistics(user_id, opts)
p result
rescue BitbarCloudApiClient::ApiError => e
puts "Exception when calling UsageAndStatisticsApi->get_user_device_usage_statistics: #{e}"
end
api_instance = BitbarCloudApiClient::UsageAndStatisticsApi.new
user_id = 789 # Integer |
begin
#Get reserved device time.
result = api_instance.get_user_reserved_device_time(user_id)
p result
rescue BitbarCloudApiClient::ApiError => e
puts "Exception when calling UsageAndStatisticsApi->get_user_reserved_device_time: #{e}"
end
api_instance = BitbarCloudApiClient::UsageAndStatisticsApi.new
user_id = 789 # Integer |
opts = {
for_whole_account: false, # BOOLEAN |
skip_common_project: false, # BOOLEAN |
skip_shared: false, # BOOLEAN |
start_time: 789 # Integer |
}
begin
#Get statistics.
result = api_instance.get_user_statistics(user_id, opts)
p result
rescue BitbarCloudApiClient::ApiError => e
puts "Exception when calling UsageAndStatisticsApi->get_user_statistics: #{e}"
end
api_instance = BitbarCloudApiClient::UsageAndStatisticsApi.new
user_id = 789 # Integer |
begin
#Get used device time.
result = api_instance.get_user_used_device_time(user_id)
p result
rescue BitbarCloudApiClient::ApiError => e
puts "Exception when calling UsageAndStatisticsApi->get_user_used_device_time: #{e}"
end
api_instance = BitbarCloudApiClient::UsageAndStatisticsApi.new
user_id = 789 # Integer |
opts = {
for_whole_account: false, # BOOLEAN |
sort: '', # String | sort parameter contains list of fields used for sort query result <br> examples: <br> sort=createTime_a<br>sort=id_a<br>sort=type_a<br>sort=userName_a
filter: '', # String | filter parameter contains list of fields used for filter query result <br> examples: <br> filter=starttime_eq_1700230364254<br>filter=_endtime_eq_1700230364254<br>filter=id_eq_1<br>filter=username_eq_value<br>filter=userid_eq_1
offset: '0', # String | offset parameter define page number
limit: '20' # String | limit parameter define page size
}
begin
#Get device time history.
result = api_instance.get_users_device_time_history(user_id, opts)
p result
rescue BitbarCloudApiClient::ApiError => e
puts "Exception when calling UsageAndStatisticsApi->get_users_device_time_history: #{e}"
end
api_instance = BitbarCloudApiClient::UsageAndStatisticsApi.new
user_id = 789 # Integer |
opts = {
for_whole_account: false, # BOOLEAN |
sort: '', # String | sort parameter contains list of fields used for sort query result <br> examples: <br> sort=createTime_a<br>sort=id_a<br>sort=type_a<br>sort=userName_a
filter: '', # String | filter parameter contains list of fields used for filter query result <br> examples: <br> filter=starttime_eq_1700230364262<br>filter=_endtime_eq_1700230364262<br>filter=id_eq_1<br>filter=username_eq_value<br>filter=userid_eq_1
offset: '0', # String | offset parameter define page number
limit: '20' # String | limit parameter define page size
}
begin
#Get device time history.
result = api_instance.get_users_device_time_history_summary(user_id, opts)
p result
rescue BitbarCloudApiClient::ApiError => e
puts "Exception when calling UsageAndStatisticsApi->get_users_device_time_history_summary: #{e}"
end
api_instance = BitbarCloudApiClient::UsersApi.new
email = 'email_example' # String |
key = 'key_example' # String |
password = 'password_example' # String |
opts = {
first_name: 'first_name_example', # String |
last_name: 'last_name_example', # String |
phone: 'phone_example', # String |
organization: 'organization_example', # String |
country: 'country_example', # String |
city: 'city_example', # String |
state: 'state_example', # String |
address: 'address_example', # String |
zip: 'zip_example' # String |
}
begin
#Activate user after registration.
result = api_instance.activate(email, key, password, opts)
p result
rescue BitbarCloudApiClient::ApiError => e
puts "Exception when calling UsersApi->activate: #{e}"
end
api_instance = BitbarCloudApiClient::UsersApi.new
user_id = 789 # Integer |
email = 'email_example' # String |
begin
#Add additional user.
result = api_instance.add_additional_user(user_id, email)
p result
rescue BitbarCloudApiClient::ApiError => e
puts "Exception when calling UsersApi->add_additional_user: #{e}"
end
api_instance = BitbarCloudApiClient::UsersApi.new
user_id = 789 # Integer |
content = 'content_example' # String |
opts = {
body: BitbarCloudApiClient::UserIdFeedbackBody.new # UserIdFeedbackBody |
}
begin
#Create feedback email.
api_instance.create_feedback_form_email(user_id, content, opts)
rescue BitbarCloudApiClient::ApiError => e
puts "Exception when calling UsersApi->create_feedback_form_email: #{e}"
end
api_instance = BitbarCloudApiClient::UsersApi.new
user_id = 789 # Integer |
password = 'password_example' # String |
begin
#Delete user.
result = api_instance.delete_user(user_id, password)
p result
rescue BitbarCloudApiClient::ApiError => e
puts "Exception when calling UsersApi->delete_user: #{e}"
end
api_instance = BitbarCloudApiClient::UsersApi.new
user_id = 789 # Integer |
additional_user_id = 789 # Integer |
begin
#Disable additional user.
result = api_instance.disable_additional_user(user_id, additional_user_id)
p result
rescue BitbarCloudApiClient::ApiError => e
puts "Exception when calling UsersApi->disable_additional_user: #{e}"
end
api_instance = BitbarCloudApiClient::UsersApi.new
user_id = 789 # Integer |
additional_user_id = 789 # Integer |
begin
#Enable additional user.
result = api_instance.enable_additional_user(user_id, additional_user_id)
p result
rescue BitbarCloudApiClient::ApiError => e
puts "Exception when calling UsersApi->enable_additional_user: #{e}"
end
api_instance = BitbarCloudApiClient::UsersApi.new
email = 'email_example' # String |
begin
#Generate recovery key.
result = api_instance.generate_recovery_key_for_user(email)
p result
rescue BitbarCloudApiClient::ApiError => e
puts "Exception when calling UsersApi->generate_recovery_key_for_user: #{e}"
end
api_instance = BitbarCloudApiClient::UsersApi.new
user_id = 789 # Integer |
begin
#Get account.
result = api_instance.get_account(user_id)
p result
rescue BitbarCloudApiClient::ApiError => e
puts "Exception when calling UsersApi->get_account: #{e}"
end
api_instance = BitbarCloudApiClient::UsersApi.new
account_id = 789 # Integer |
begin
#Get account concurrency status.
result = api_instance.get_account_concurrency_status(account_id)
p result
rescue BitbarCloudApiClient::ApiError => e
puts "Exception when calling UsersApi->get_account_concurrency_status: #{e}"
end
api_instance = BitbarCloudApiClient::UsersApi.new
user_id = 789 # Integer |
opts = {
sort: '', # String | sort parameter contains list of fields used for sort query result <br> examples: <br> sort=lastName_a<br>sort=mainUserEmail_a<br>sort=accountId_a<br>sort=firstName_a<br>sort=serviceIds_a<br>sort=mainUserId_a<br>sort=createTime_a<br>sort=deleteTime_a<br>sort=accountServiceIds_a<br>sort=id_a<br>sort=email_a<br>sort=status_a
filter: '', # String | filter parameter contains list of fields used for filter query result <br> examples: <br> filter=lastname_eq_value<br>filter=mainuseremail_eq_value<br>filter=accountid_eq_1<br>filter=firstname_eq_value<br>filter=serviceids_eq_1<br>filter=mainuserid_eq_1<br>filter=createtime_eq_1700230364459<br>filter=deletetime_eq_1700230364459<br>filter=accountserviceids_eq_1<br>filter=ismainuser_eq_true<br>filter=id_eq_1<br>filter=email_eq_value<br>filter=status_eq_inactive
offset: '0', # String | offset parameter define page number
limit: '20' # String | limit parameter define page size
}
begin
#Get additional users.
result = api_instance.get_additional_users(user_id, opts)
p result
rescue BitbarCloudApiClient::ApiError => e
puts "Exception when calling UsersApi->get_additional_users: #{e}"
end
api_instance = BitbarCloudApiClient::UsersApi.new
user_id = 789 # Integer |
begin
#Get user.
result = api_instance.get_user(user_id)
p result
rescue BitbarCloudApiClient::ApiError => e
puts "Exception when calling UsersApi->get_user: #{e}"
end
api_instance = BitbarCloudApiClient::UsersApi.new
recovery_key = 'recovery_key_example' # String |
begin
#Get user by recovery key.
result = api_instance.get_user_by_recovery_key(recovery_key)
p result
rescue BitbarCloudApiClient::ApiError => e
puts "Exception when calling UsersApi->get_user_by_recovery_key: #{e}"
end
api_instance = BitbarCloudApiClient::UsersApi.new
user_id = 789 # Integer |
begin
#Load user preferences.
result = api_instance.load_user_preferences(user_id)
p result
rescue BitbarCloudApiClient::ApiError => e
puts "Exception when calling UsersApi->load_user_preferences: #{e}"
end
api_instance = BitbarCloudApiClient::UsersApi.new
user_id = 789 # Integer |
begin
#Load ui preferences.
result = api_instance.load_user_ui_preferences(user_id)
p result
rescue BitbarCloudApiClient::ApiError => e
puts "Exception when calling UsersApi->load_user_ui_preferences: #{e}"
end
api_instance = BitbarCloudApiClient::UsersApi.new
key = 'key_example' # String |
password = 'password_example' # String |
begin
#Set new password after recovery.
result = api_instance.recover_password(key, password)
p result
rescue BitbarCloudApiClient::ApiError => e
puts "Exception when calling UsersApi->recover_password: #{e}"
end
api_instance = BitbarCloudApiClient::UsersApi.new
email = 'email_example' # String |
begin
#Register new user.
api_instance.register(email)
rescue BitbarCloudApiClient::ApiError => e
puts "Exception when calling UsersApi->register: #{e}"
end
api_instance = BitbarCloudApiClient::UsersApi.new
user_id = 789 # Integer |
begin
#Reset api key.
result = api_instance.reset_api_key(user_id)
p result
rescue BitbarCloudApiClient::ApiError => e
puts "Exception when calling UsersApi->reset_api_key: #{e}"
end
api_instance = BitbarCloudApiClient::UsersApi.new
user_id = 789 # Integer |
begin
#Restore user requested to be deleted.
result = api_instance.restore_user(user_id)
p result
rescue BitbarCloudApiClient::ApiError => e
puts "Exception when calling UsersApi->restore_user: #{e}"
end
api_instance = BitbarCloudApiClient::UsersApi.new
body = BitbarCloudApiClient::APIUserPreference.new # APIUserPreference |
user_id = 789 # Integer |
begin
#Store user preferences.
result = api_instance.store_user_preferences(body, user_id)
p result
rescue BitbarCloudApiClient::ApiError => e
puts "Exception when calling UsersApi->store_user_preferences: #{e}"
end
api_instance = BitbarCloudApiClient::UsersApi.new
user_id = 789 # Integer |
data = 'data_example' # String |
begin
#Store ui preferences.
result = api_instance.store_user_ui_preferences(user_id, data)
p result
rescue BitbarCloudApiClient::ApiError => e
puts "Exception when calling UsersApi->store_user_ui_preferences: #{e}"
end
api_instance = BitbarCloudApiClient::UsersApi.new
user_id = 789 # Integer |
opts = {
first_name: 'first_name_example', # String |
last_name: 'last_name_example', # String |
locale_country: 'locale_country_example', # String |
time_zone: 'time_zone_example', # String |
email: 'email_example', # String |
code: 'code_example', # String |
state: 'state_example', # String |
city: 'city_example', # String |
address: 'address_example', # String |
phone: 'phone_example', # String |
organization: 'organization_example', # String |
password: 'password_example', # String |
new_password: 'new_password_example', # String |
confirm_password: 'confirm_password_example', # String |
mfa_enabled: true, # BOOLEAN |
mfa_code: 'mfa_code_example' # String |
}
begin
#Update user.
result = api_instance.update_user(user_id, opts)
p result
rescue BitbarCloudApiClient::ApiError => e
puts "Exception when calling UsersApi->update_user: #{e}"
end
Usage of FilterBuilder:
```ruby
f = BitbarCloudApiClient::FilterBuilder.new
f.contains('name', 'something')
f.after('createTime', Time.now.to_i - 3600)
api_instance.some_method_using_get({ :filter => f.to_s })
All URIs are relative to https://cloud.bitbar.com/cloud
Class | Method | HTTP request | Description |
---|---|---|---|
BitbarCloudApiClient::AdminApi | abort_device_session1 | POST /api/v2/projects/{projectId}/runs/{runId}/device-sessions/{deviceSessionId}/abort | Abort device session. |
BitbarCloudApiClient::AdminApi | abort_project_test_run | POST /api/v2/projects/{projectId}/runs/{runId}/abort | Abort test run and receive partial results. |
BitbarCloudApiClient::AdminApi | abort_test_run | POST /api/v2/runs/{runId}/abort | Abort test run and receive partial results. |
BitbarCloudApiClient::AdminApi | abort_test_run1 | POST /api/v2/admin/runs/{runId}/abort | Abort test run and receive partial results. |
BitbarCloudApiClient::AdminApi | activate_license | POST /api/v2/admin/licenses/{id}/activate | Activate license. |
BitbarCloudApiClient::AdminApi | activate_service | POST /api/v2/admin/services/{serviceId}/activate | Activate service. |
BitbarCloudApiClient::AdminApi | activate_user_service | POST /api/v2/admin/account-services/{accountServiceId}/activate | Activate account service. |
BitbarCloudApiClient::AdminApi | add_device_cleanup_configuration | POST /api/v2/admin/devices/{deviceId}/cleanup-configuration | Add device specific cleanup configuration. |
BitbarCloudApiClient::AdminApi | add_device_label | POST /api/v2/admin/devices/{deviceId}/labels | Add label to device. |
BitbarCloudApiClient::AdminApi | add_device_label1 | POST /api/v2/admin/devices/{deviceId}/properties | Add label to device. |
BitbarCloudApiClient::AdminApi | add_device_model_criteria | POST /api/v2/admin/device-model-criteria | Create device model criterion. |
BitbarCloudApiClient::AdminApi | add_device_session_output_file | POST /api/v2/device-sessions/{deviceSessionId}/output-file-set/files | Add file to device session. |
BitbarCloudApiClient::AdminApi | add_device_to_device_group1 | POST /api/v2/device-groups/{deviceGroupId}/devices | Add device to device group. |
BitbarCloudApiClient::AdminApi | add_project_test_run_tag | POST /api/v2/projects/{projectId}/runs/{runId}/tags | Add tag to test run. |
BitbarCloudApiClient::AdminApi | add_role_to_account | POST /api/v2/admin/users/{userId}/account/roles | Add account role. |
BitbarCloudApiClient::AdminApi | add_selector_to_device_group1 | POST /api/v2/device-groups/{deviceGroupId}/selectors | Add selectors to device group. |
BitbarCloudApiClient::AdminApi | add_service_to_user | POST /api/v2/admin/users/{userId}/account-services | Add service to user. |
BitbarCloudApiClient::AdminApi | add_test_run_tag1 | POST /api/v2/runs/{runId}/tags | Add tag to test run. |
BitbarCloudApiClient::AdminApi | add_user1 | POST /api/v2/access-groups/{accessGroupId}/users | Add user to access group. |
BitbarCloudApiClient::AdminApi | archive_service | DELETE /api/v2/admin/services/{serviceId} | Archive service. |
BitbarCloudApiClient::AdminApi | ban_application | POST /api/v2/properties/app-bans | Create property banning application. |
BitbarCloudApiClient::AdminApi | ban_email_domain | POST /api/v2/properties/email-bans | Create property banning email domain. |
BitbarCloudApiClient::AdminApi | blink | POST /api/v2/admin/devices/{deviceId}/blink | Start blinking device screen. |
BitbarCloudApiClient::AdminApi | change_service_price | POST /api/v2/admin/services/{serviceId}/change-price | Update service price. |
BitbarCloudApiClient::AdminApi | create1 | POST /api/v2/access-groups | Create access group. |
BitbarCloudApiClient::AdminApi | create_browser | POST /api/v2/admin/browsers | Create browser. |
BitbarCloudApiClient::AdminApi | create_device_cleanup_configuration | POST /api/v2/admin/devices/cleanup-configurations | Create device cleanup configuration. |
BitbarCloudApiClient::AdminApi | create_device_session_connection1 | POST /api/v2/device-sessions/{deviceSessionId}/connections | Create connection for device session. |
BitbarCloudApiClient::AdminApi | create_file_property | POST /api/v2/files/{fileId}/properties | Create file property. |
BitbarCloudApiClient::AdminApi | create_framework | POST /api/v2/admin/frameworks | Create framework. |
BitbarCloudApiClient::AdminApi | create_label | POST /api/v2/label-groups/{groupId}/labels | Add label to label group. |
BitbarCloudApiClient::AdminApi | create_label_group | POST /api/v2/label-groups | Create label group. |
BitbarCloudApiClient::AdminApi | create_license | POST /api/v2/admin/licenses | Create license. |
BitbarCloudApiClient::AdminApi | create_property | POST /api/v2/properties | Create property. |
BitbarCloudApiClient::AdminApi | create_service | POST /api/v2/admin/services | Create or update the service. |
BitbarCloudApiClient::AdminApi | create_user | POST /api/v2/admin/users | Create user. |
BitbarCloudApiClient::AdminApi | deactivate_license | POST /api/v2/admin/licenses/{id}/deactivate | Deactivate license. |
BitbarCloudApiClient::AdminApi | deactivate_user_service | POST /api/v2/admin/account-services/{accountServiceId}/deactivate | Deactivate account service. |
BitbarCloudApiClient::AdminApi | delete2 | DELETE /api/v2/access-groups/{accessGroupId} | Delete access group. |
BitbarCloudApiClient::AdminApi | delete_browser | DELETE /api/v2/admin/browsers/{id} | Delete browser. |
BitbarCloudApiClient::AdminApi | delete_cluster | DELETE /api/v2/clusters/{id} | Delete cluster. |
BitbarCloudApiClient::AdminApi | delete_device | DELETE /api/v2/admin/devices/{deviceId} | Delete device. |
BitbarCloudApiClient::AdminApi | delete_device_cleanup_configuration | DELETE /api/v2/admin/devices/{deviceId}/cleanup-configuration | Delete device specific cleanup configuration. |
BitbarCloudApiClient::AdminApi | delete_device_from_device_group1 | DELETE /api/v2/device-groups/{deviceGroupId}/devices/{deviceModelId} | Delete device from device group. |
BitbarCloudApiClient::AdminApi | delete_device_group | DELETE /api/v2/device-groups/{deviceGroupId} | Delete device group. |
BitbarCloudApiClient::AdminApi | delete_device_label | DELETE /api/v2/admin/devices/{deviceId}/properties/{labelId} | Delete label from device. |
BitbarCloudApiClient::AdminApi | delete_device_label1 | DELETE /api/v2/admin/devices/{deviceId}/labels/{labelId} | Delete label from device. |
BitbarCloudApiClient::AdminApi | delete_device_model_criteria | DELETE /api/v2/admin/device-model-criteria/{id} | Delete device model criterion. |
BitbarCloudApiClient::AdminApi | delete_devices_from_device_group | DELETE /api/v2/users/{userId}/device-groups/{deviceGroupId}/devices | Delete devices from device group. |
BitbarCloudApiClient::AdminApi | delete_devices_from_device_group1 | DELETE /api/v2/device-groups/{deviceGroupId}/devices | Delete devices from device group. |
BitbarCloudApiClient::AdminApi | delete_file2 | DELETE /api/v2/files/{fileId} | Delete file. |
BitbarCloudApiClient::AdminApi | delete_file3 | DELETE /api/v2/device-sessions/{deviceSessionId}/output-file-set/files/{fileId} | Delete file from device session. |
BitbarCloudApiClient::AdminApi | delete_file4 | DELETE /api/v2/admin/samples/{fileId} | Delete sample file. |
BitbarCloudApiClient::AdminApi | delete_file_property | DELETE /api/v2/files/{fileId}/properties/{propertyId} | Delete file property. |
BitbarCloudApiClient::AdminApi | delete_framework | DELETE /api/v2/admin/frameworks/{id} | Delete framework. |
BitbarCloudApiClient::AdminApi | delete_label | DELETE /api/v2/label-groups/{groupId}/labels/{labelId} | Delete label. |
BitbarCloudApiClient::AdminApi | delete_label_group | DELETE /api/v2/label-groups/{groupId} | Delete label group. |
BitbarCloudApiClient::AdminApi | delete_license | DELETE /api/v2/admin/licenses/{id} | Delete license. |
BitbarCloudApiClient::AdminApi | delete_project | DELETE /api/v2/projects/{projectId} | Delete project. |
BitbarCloudApiClient::AdminApi | delete_project_test_run | DELETE /api/v2/projects/{projectId}/runs/{runId} | Delete test run. |
BitbarCloudApiClient::AdminApi | delete_property | DELETE /api/v2/properties/{id} | Delete property. |
BitbarCloudApiClient::AdminApi | delete_resource1 | DELETE /api/v2/access-groups/{accessGroupId}/resources/{resourceId} | Delete access group resource. |
BitbarCloudApiClient::AdminApi | delete_role_from_account | DELETE /api/v2/admin/users/{userId}/account/roles/{accountRoleId} | Delete account role. |
BitbarCloudApiClient::AdminApi | delete_selector_from_device_group1 | DELETE /api/v2/device-groups/{deviceGroupId}/selectors/{selectorId} | Delete selector from device group. |
BitbarCloudApiClient::AdminApi | delete_selectors_from_device_group | DELETE /api/v2/users/{userId}/device-groups/{deviceGroupId}/selectors | Delete selectors from device group. |
BitbarCloudApiClient::AdminApi | delete_selectors_from_device_group1 | DELETE /api/v2/device-groups/{deviceGroupId}/selectors | Delete selectors from device group. |
BitbarCloudApiClient::AdminApi | delete_test_run | DELETE /api/v2/runs/{runId} | Delete test run. |
BitbarCloudApiClient::AdminApi | delete_test_run1 | DELETE /api/v2/admin/runs/{runId} | Delete test run. |
BitbarCloudApiClient::AdminApi | delete_test_run_tag1 | DELETE /api/v2/runs/{runId}/tags/{tagId} | Delete test run tag. |
BitbarCloudApiClient::AdminApi | delete_test_run_tag_with_project | DELETE /api/v2/projects/{projectId}/runs/{runId}/tags/{tagId} | Delete test run tag. |
BitbarCloudApiClient::AdminApi | delete_user2 | DELETE /api/v2/access-groups/{accessGroupId}/users/{userId} | Delete access group user. |
BitbarCloudApiClient::AdminApi | delete_user_test_runs | DELETE /api/v2/users/{userId}/runs | Delete all user test runs. |
BitbarCloudApiClient::AdminApi | disable_user | DELETE /api/v2/admin/users/{userId}/disable | Disable user. |
BitbarCloudApiClient::AdminApi | download_icon_file1 | GET /api/v2/files/{fileId}/icon | Download icon of file. |
BitbarCloudApiClient::AdminApi | download_license | GET /api/v2/admin/licenses/{id}/download | Get license. |
BitbarCloudApiClient::AdminApi | download_output_files_zip1 | GET /api/v2/device-sessions/{deviceSessionId}/output-file-set/files.zip | Get device session output files.zip. |
BitbarCloudApiClient::AdminApi | download_test_run_output_files_zip1 | GET /api/v2/runs/{runId}/device-sessions/{deviceSessionId}/output-file-set/files.zip | Get device session output files.zip. |
BitbarCloudApiClient::AdminApi | download_test_run_output_files_zip2 | GET /api/v2/projects/{projectId}/runs/{runId}/device-sessions/{deviceSessionId}/output-file-set/files.zip | Get device session output files.zip. |
BitbarCloudApiClient::AdminApi | download_user_file1 | GET /api/v2/files/{fileId}/file | Download file. |
BitbarCloudApiClient::AdminApi | enable_user | POST /api/v2/admin/users/{userId}/enable | Enable user. |
BitbarCloudApiClient::AdminApi | get2 | GET /api/v2/access-groups/{accessGroupId} | Get access group. |
BitbarCloudApiClient::AdminApi | get_account1 | GET /api/v2/admin/accounts/{accountId} | Get account. |
BitbarCloudApiClient::AdminApi | get_account_list | GET /api/v2/admin/accounts | Get accounts. |
BitbarCloudApiClient::AdminApi | get_account_preferences | GET /api/v2/accounts/{accountId}/preferences | Get account preferences. |
BitbarCloudApiClient::AdminApi | get_account_roles | GET /api/v2/admin/users/{userId}/account/roles | Get account roles. |
BitbarCloudApiClient::AdminApi | get_account_services | GET /api/v2/admin/account-services | Get account services. |
BitbarCloudApiClient::AdminApi | get_activities | GET /api/v2/admin/activities | Get activities. |
BitbarCloudApiClient::AdminApi | get_admin_device | GET /api/v2/admin/devices/{deviceId} | Get device. |
BitbarCloudApiClient::AdminApi | get_admin_test_runs | GET /api/v2/admin/statistics/device-sessions | Get device session statistics. |
BitbarCloudApiClient::AdminApi | get_admin_test_runs1 | GET /api/v2/admin/runs | Get test runs. |
BitbarCloudApiClient::AdminApi | get_all_billing_periods | GET /api/v2/admin/billing-periods | Get billing periods. |
BitbarCloudApiClient::AdminApi | get_all_test_run_device_session_steps1 | GET /api/v2/runs/{runId}/steps | Get device session steps of all device sessions in run. |
BitbarCloudApiClient::AdminApi | get_all_test_run_device_session_steps2 | GET /api/v2/projects/{projectId}/runs/{runId}/steps | Get device session s |