brightbox-cli 1.1.0 → 1.2.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.travis.yml +1 -0
- data/CHANGELOG.md +18 -0
- data/Gemfile.lock +18 -19
- data/bin/_brightbox-bash-completer +42 -0
- data/brightbox-cli.gemspec +5 -5
- data/lib/brightbox-cli/accounts.rb +1 -3
- data/lib/brightbox-cli/api.rb +27 -8
- data/lib/brightbox-cli/cloud_ips.rb +11 -15
- data/lib/brightbox-cli/collaborating_account.rb +23 -26
- data/lib/brightbox-cli/collaboration.rb +1 -1
- data/lib/brightbox-cli/commands/{accounts-accept-invite.rb → accounts/accept-invite.rb} +2 -3
- data/lib/brightbox-cli/commands/{accounts-default.rb → accounts/default.rb} +1 -3
- data/lib/brightbox-cli/commands/{accounts-list.rb → accounts/list.rb} +1 -1
- data/lib/brightbox-cli/commands/{accounts-remove.rb → accounts/remove.rb} +1 -2
- data/lib/brightbox-cli/commands/{accounts-reset-ftp-password.rb → accounts/reset-ftp-password.rb} +10 -5
- data/lib/brightbox-cli/commands/{accounts-show.rb → accounts/show.rb} +14 -6
- data/lib/brightbox-cli/commands/{cloudips-create.rb → cloudips/create.rb} +4 -4
- data/lib/brightbox-cli/commands/{cloudips-destroy.rb → cloudips/destroy.rb} +1 -1
- data/lib/brightbox-cli/commands/{cloudips-list.rb → cloudips/list.rb} +2 -10
- data/lib/brightbox-cli/commands/{cloudips-map.rb → cloudips/map.rb} +2 -8
- data/lib/brightbox-cli/commands/{cloudips-show.rb → cloudips/show.rb} +13 -3
- data/lib/brightbox-cli/commands/{cloudips-unmap.rb → cloudips/unmap.rb} +1 -1
- data/lib/brightbox-cli/commands/{cloudips-update.rb → cloudips/update.rb} +5 -6
- data/lib/brightbox-cli/commands/collaborations.rb +3 -9
- data/lib/brightbox-cli/commands/{config-client-add.rb → config/client-add.rb} +2 -2
- data/lib/brightbox-cli/commands/{config-client-default.rb → config/client-default.rb} +1 -1
- data/lib/brightbox-cli/commands/{config-client-list.rb → config/client-list.rb} +3 -3
- data/lib/brightbox-cli/commands/{config-client-remove.rb → config/client-remove.rb} +4 -1
- data/lib/brightbox-cli/commands/{config-user-add.rb → config/user-add.rb} +1 -1
- data/lib/brightbox-cli/commands/{firewall-policies-apply.rb → firewall/policies-apply.rb} +3 -4
- data/lib/brightbox-cli/commands/{firewall-policies-create.rb → firewall/policies-create.rb} +3 -4
- data/lib/brightbox-cli/commands/{firewall-policies-destroy.rb → firewall/policies-destroy.rb} +2 -3
- data/lib/brightbox-cli/commands/{firewall-policies-list.rb → firewall/policies-list.rb} +2 -9
- data/lib/brightbox-cli/commands/{firewall-policies-remove.rb → firewall/policies-remove.rb} +2 -3
- data/lib/brightbox-cli/commands/{firewall-policies-show.rb → firewall/policies-show.rb} +11 -3
- data/lib/brightbox-cli/commands/{firewall-policies-update.rb → firewall/policies-update.rb} +3 -3
- data/lib/brightbox-cli/commands/{firewall-rules-create.rb → firewall/rules-create.rb} +4 -4
- data/lib/brightbox-cli/commands/{firewall-rules-destroy.rb → firewall/rules-destroy.rb} +2 -4
- data/lib/brightbox-cli/commands/{firewall-rules-list.rb → firewall/rules-list.rb} +2 -2
- data/lib/brightbox-cli/commands/{firewall-rules-show.rb → firewall/rules-show.rb} +10 -4
- data/lib/brightbox-cli/commands/{firewall-rules-update.rb → firewall/rules-update.rb} +3 -3
- data/lib/brightbox-cli/commands/{groups-add-server.rb → groups/add-server.rb} +2 -2
- data/lib/brightbox-cli/commands/{groups-create.rb → groups/create.rb} +3 -3
- data/lib/brightbox-cli/commands/{groups-destroy.rb → groups/destroy.rb} +2 -2
- data/lib/brightbox-cli/commands/groups/list.rb +14 -0
- data/lib/brightbox-cli/commands/{groups-move_servers.rb → groups/move_servers.rb} +1 -2
- data/lib/brightbox-cli/commands/{groups-remove-servers.rb → groups/remove-servers.rb} +1 -1
- data/lib/brightbox-cli/commands/{groups-show.rb → groups/show.rb} +1 -1
- data/lib/brightbox-cli/commands/{groups-update.rb → groups/update.rb} +5 -10
- data/lib/brightbox-cli/commands/{images-destroy.rb → images/destroy.rb} +2 -2
- data/lib/brightbox-cli/commands/{images-list.rb → images/list.rb} +2 -10
- data/lib/brightbox-cli/commands/{images-register.rb → images/register.rb} +6 -6
- data/lib/brightbox-cli/commands/{images-show.rb → images/show.rb} +2 -11
- data/lib/brightbox-cli/commands/{images-update.rb → images/update.rb} +8 -8
- data/lib/brightbox-cli/commands/{lbs-add-nodes.rb → lbs/add-nodes.rb} +2 -2
- data/lib/brightbox-cli/commands/{lbs-create.rb → lbs/create.rb} +16 -10
- data/lib/brightbox-cli/commands/{lbs-destroy.rb → lbs/destroy.rb} +1 -1
- data/lib/brightbox-cli/commands/{lbs-list.rb → lbs/list.rb} +2 -10
- data/lib/brightbox-cli/commands/{lbs-remove-nodes.rb → lbs/remove-nodes.rb} +2 -2
- data/lib/brightbox-cli/commands/{lbs-show.rb → lbs/show.rb} +4 -7
- data/lib/brightbox-cli/commands/{lbs-update.rb → lbs/update.rb} +16 -10
- data/lib/brightbox-cli/commands/{servers-activate-console.rb → servers/activate-console.rb} +3 -3
- data/lib/brightbox-cli/commands/{servers-create.rb → servers/create.rb} +4 -4
- data/lib/brightbox-cli/commands/{servers-destroy.rb → servers/destroy.rb} +2 -2
- data/lib/brightbox-cli/commands/{servers-list.rb → servers/list.rb} +7 -8
- data/lib/brightbox-cli/commands/{servers-show.rb → servers/show.rb} +1 -6
- data/lib/brightbox-cli/commands/{servers-shutdown.rb → servers/shutdown.rb} +1 -1
- data/lib/brightbox-cli/commands/{servers-snapshot.rb → servers/snapshot.rb} +1 -1
- data/lib/brightbox-cli/commands/{servers-start.rb → servers/start.rb} +1 -1
- data/lib/brightbox-cli/commands/{servers-stop.rb → servers/stop.rb} +1 -1
- data/lib/brightbox-cli/commands/{servers-update.rb → servers/update.rb} +2 -2
- data/lib/brightbox-cli/commands/sql/instances_create.rb +66 -0
- data/lib/brightbox-cli/commands/sql/instances_destroy.rb +28 -0
- data/lib/brightbox-cli/commands/sql/instances_list.rb +27 -0
- data/lib/brightbox-cli/commands/sql/instances_reset_password.rb +33 -0
- data/lib/brightbox-cli/commands/sql/instances_show.rb +26 -0
- data/lib/brightbox-cli/commands/sql/instances_snapshot.rb +25 -0
- data/lib/brightbox-cli/commands/sql/instances_update.rb +45 -0
- data/lib/brightbox-cli/commands/sql/snapshots_destroy.rb +31 -0
- data/lib/brightbox-cli/commands/sql/snapshots_list.rb +25 -0
- data/lib/brightbox-cli/commands/sql/snapshots_show.rb +26 -0
- data/lib/brightbox-cli/commands/sql/snapshots_update.rb +37 -0
- data/lib/brightbox-cli/commands/sql/types.rb +53 -0
- data/lib/brightbox-cli/commands/types.rb +1 -1
- data/lib/brightbox-cli/commands/users/list.rb +17 -0
- data/lib/brightbox-cli/commands/{users-show.rb → users/show.rb} +5 -13
- data/lib/brightbox-cli/commands/{users-update.rb → users/update.rb} +3 -3
- data/lib/brightbox-cli/config.rb +4 -7
- data/lib/brightbox-cli/config/accounts.rb +3 -6
- data/lib/brightbox-cli/config/api_client.rb +12 -4
- data/lib/brightbox-cli/config/authentication_tokens.rb +8 -14
- data/lib/brightbox-cli/config/clients.rb +6 -7
- data/lib/brightbox-cli/config/section_name_deduplicator.rb +4 -5
- data/lib/brightbox-cli/config/sections.rb +7 -10
- data/lib/brightbox-cli/config/user_application.rb +15 -7
- data/lib/brightbox-cli/connection_manager.rb +1 -2
- data/lib/brightbox-cli/database_server.rb +100 -0
- data/lib/brightbox-cli/database_snapshot.rb +36 -0
- data/lib/brightbox-cli/database_type.rb +44 -0
- data/lib/brightbox-cli/detailed_server.rb +8 -7
- data/lib/brightbox-cli/error_parser.rb +8 -4
- data/lib/brightbox-cli/firewall_rule.rb +5 -5
- data/lib/brightbox-cli/firewall_rules.rb +2 -3
- data/lib/brightbox-cli/gli_global_hooks.rb +7 -7
- data/lib/brightbox-cli/images.rb +13 -14
- data/lib/brightbox-cli/legacy/args_adjuster.rb +5 -6
- data/lib/brightbox-cli/load_balancers.rb +10 -13
- data/lib/brightbox-cli/logging.rb +3 -3
- data/lib/brightbox-cli/nilable_hash.rb +1 -1
- data/lib/brightbox-cli/ruby_core_ext.rb +1 -2
- data/lib/brightbox-cli/server_groups.rb +5 -5
- data/lib/brightbox-cli/servers.rb +9 -9
- data/lib/brightbox-cli/tables.rb +24 -25
- data/lib/brightbox-cli/types.rb +6 -5
- data/lib/brightbox-cli/user_collaboration.rb +2 -3
- data/lib/brightbox-cli/users.rb +3 -3
- data/lib/brightbox-cli/version.rb +1 -1
- data/lib/brightbox_cli.rb +10 -2
- data/locales/en.yml +205 -0
- data/spec/cassettes/Brightbox_Account/_all/when_connected_using_an_application/returns_a_collection_of_Accounts.yml +10 -10
- data/spec/cassettes/Brightbox_Account/_all/when_connected_using_an_application/returns_resources_on_the_same_connection.yml +4 -4
- data/spec/cassettes/Brightbox_Account/_all/when_connected_using_an_client/returns_a_collection_of_Accounts.yml +8 -8
- data/spec/cassettes/Brightbox_Account/_all/when_connected_using_an_client/returns_resources_on_the_same_connection.yml +4 -4
- data/spec/cassettes/Brightbox_BBConfig/_add_section/when_first_and_only_client/saves_changes_to_the_config_file.yml +4 -4
- data/spec/cassettes/Brightbox_BBConfig/_add_section/when_first_and_only_client/saves_the_default_account.yml +4 -4
- data/spec/cassettes/Brightbox_BBConfig/_add_section/when_first_and_only_client/saves_the_new_client_as_the_default.yml +4 -4
- data/spec/cassettes/Brightbox_BBConfig/_find_or_set_default_account/when_client_is_not_authenticated/does_not_raise_an_error.yml +176 -176
- data/spec/cassettes/Brightbox_BBConfig/_find_or_set_default_account/when_client_may_access_one_account/updates_the_setting.yml +176 -176
- data/spec/cassettes/Brightbox_BBConfig/_renew_tokens/when_config_in_use_is_not_the_default/uses_correct_credentials.yml +2 -2
- data/spec/cassettes/Brightbox_BBConfig/_renew_tokens/when_using_a_user_app_with_a_cached_refresh_token/caches_the_new_tokens.yml +2 -2
- data/spec/cassettes/Brightbox_BBConfig/_renew_tokens/when_using_a_user_app_with_an_expired_refresh_token/caches_the_new_tokens.yml +4 -4
- data/spec/cassettes/Brightbox_BBConfig/_renew_tokens/when_using_a_user_app_with_no_tokens/caches_the_new_tokens.yml +2 -2
- data/spec/cassettes/Brightbox_BBConfig/_renew_tokens/when_using_a_user_app_with_no_tokens/prompts_user_to_retry_command.yml +2 -2
- data/spec/cassettes/Brightbox_BBConfig/_renew_tokens/when_using_an_API_client_with_no_tokens/caches_a_new_access_token.yml +2 -2
- data/spec/cassettes/Brightbox_CloudIP/_find_all_/when_a_Cloud_IP_exists/returns_a_suitable.yml +28 -28
- data/spec/cassettes/Brightbox_FirewallPolicy/_apply_to/should_apply_firewall_policy.yml +24 -24
- data/spec/cassettes/Brightbox_FirewallPolicy/_create/should_create_firewall_policy.yml +24 -24
- data/spec/cassettes/Brightbox_FirewallPolicy/_destroy/should_destroy_firewall_policy.yml +28 -28
- data/spec/cassettes/Brightbox_FirewallPolicy/_find_all_/when_a_policy_exists/should_list_firewall_policy.yml +24 -24
- data/spec/cassettes/Brightbox_FirewallPolicy/_find_or_call/when_a_policy_exists/should_show_firewall_policy.yml +20 -20
- data/spec/cassettes/Brightbox_FirewallRule/_create/when_policy_exists/creates_the_rule_successfully.yml +24 -24
- data/spec/cassettes/Brightbox_FirewallRule/_destroy/when_rule_exists/destroys_a_rule.yml +20 -20
- data/spec/cassettes/Brightbox_FirewallRule/_find/when_rule_exists/can_display_the_result.yml +24 -24
- data/spec/cassettes/Brightbox_FirewallRule/_from_policy/when_policy_exists_with_a_rule/lists_all_rules.yml +32 -32
- data/spec/cassettes/Brightbox_Server/_destroy/when_server_exists/should_work.yml +20 -20
- data/spec/cassettes/Brightbox_Server/_find_all_/when_a_server_exists/should_print_server_list.yml +28 -28
- data/spec/cassettes/Brightbox_Server/_show/when_server_exists/shows_detailed_attributes_of_a_server.yml +32 -32
- data/spec/cassettes/Brightbox_Server/_shutdown/should_work.yml +32 -32
- data/spec/cassettes/Brightbox_Server/_start/should_work.yml +44 -44
- data/spec/cassettes/Brightbox_Server/_stop/should_work.yml +32 -32
- data/spec/cassettes/Brightbox_Server/_update/when_passing_new_group_membership/should_update_with_group.yml +40 -40
- data/spec/cassettes/Brightbox_ServerGroup/_find_all_/when_a_group_exists/list_server_groups.yml +24 -24
- data/spec/cassettes/Firewall_policies/update/when_the_policy_does_not_exist/prints_error_to_STDERR.yml +6 -6
- data/spec/cassettes/brightbox_accounts/list/_when_access_token_expired_/does_not_report_invalid_token_errors.yml +18 -18
- data/spec/cassettes/brightbox_accounts/list/_when_both_tokens_expired_/does_not_report_invalid_token_errors.yml +18 -18
- data/spec/cassettes/brightbox_accounts/list/_when_invalid_tokens_/does_not_report_invalid_token_errors.yml +18 -18
- data/spec/cassettes/brightbox_accounts/list/_when_no_tokens_/does_not_report_invalid_token_errors.yml +16 -16
- data/spec/cassettes/brightbox_accounts/list/_when_no_tokens_/reports_they_were_updated.yml +14 -14
- data/spec/cassettes/brightbox_accounts/list/_when_no_tokens_and_password_incorrect_/does_not_report_invalid_token_errors.yml +14 -14
- data/spec/cassettes/brightbox_accounts/list/_when_no_tokens_and_password_incorrect_/reports_unable_to_authenticate.yml +12 -12
- data/spec/cassettes/brightbox_accounts/list/does_not_error.yml +6 -6
- data/spec/cassettes/brightbox_cloudips/map/when_destination_is_a_server_ID/passes_the_interface_identifier_to_the_API.yml +542 -0
- data/spec/cassettes/brightbox_cloudips/map/when_destination_is_another_value/passes_the_identifier_to_the_API.yml +317 -0
- data/spec/cassettes/brightbox_config/client_add/when_adding_a_new_client/does_not_error.yml +154 -154
- data/spec/cassettes/brightbox_config/client_add/when_adding_a_new_client/sets_up_the_config.yml +154 -154
- data/spec/cassettes/brightbox_config/client_add/when_new_client_is_first_and_only_client/does_not_change_the_default_client.yml +154 -154
- data/spec/cassettes/brightbox_config/client_add/when_new_client_is_first_and_only_client/does_not_error.yml +154 -154
- data/spec/cassettes/brightbox_config/client_add/when_new_client_is_first_and_only_client/sets_this_as_the_default_client.yml +154 -154
- data/spec/cassettes/brightbox_config/client_add/when_new_client_is_first_and_only_client/sets_up_the_config.yml +154 -154
- data/spec/cassettes/brightbox_config/user_add/when_NO_config_file_on_disk/sets_up_the_config.yml +10 -10
- data/spec/cassettes/brightbox_config/user_add/when_a_default_client_is_already_set/does_not_change_the_default_client.yml +4 -4
- data/spec/cassettes/brightbox_config/user_add/when_application_details_in_config/does_not_error.yml +4 -4
- data/spec/cassettes/brightbox_config/user_add/when_application_details_in_config/sets_up_the_config.yml +4 -4
- data/spec/cassettes/brightbox_config/user_add/when_application_has_access_only_one_active_account/display_an_warning_about_preselected_default.yml +4 -4
- data/spec/cassettes/brightbox_config/user_add/when_application_has_access_only_one_active_account/does_not_error.yml +4 -4
- data/spec/cassettes/brightbox_config/user_add/when_application_has_access_only_one_active_account/selects_the_active_account_for_the_default.yml +4 -4
- data/spec/cassettes/brightbox_config/user_add/when_application_has_access_only_one_active_account/sets_up_the_config.yml +4 -4
- data/spec/cassettes/brightbox_config/user_add/when_application_has_access_to_multiple_accounts/display_an_warning_about_preselected_default.yml +4 -4
- data/spec/cassettes/brightbox_config/user_add/when_application_has_access_to_multiple_accounts/does_not_error.yml +4 -4
- data/spec/cassettes/brightbox_config/user_add/when_application_has_access_to_multiple_accounts/sets_up_the_config.yml +4 -4
- data/spec/cassettes/brightbox_config/user_add/when_new_client_is_first_and_only_client/does_not_error.yml +4 -4
- data/spec/cassettes/brightbox_config/user_add/when_new_client_is_first_and_only_client/does_not_prompt_to_rerun_the_command.yml +4 -4
- data/spec/cassettes/brightbox_config/user_add/when_new_client_is_first_and_only_client/requests_access_tokens.yml +4 -4
- data/spec/cassettes/brightbox_config/user_add/when_new_client_is_first_and_only_client/sets_this_as_the_default_client.yml +4 -4
- data/spec/cassettes/brightbox_config/user_add/when_new_client_is_first_and_only_client/sets_up_the_config.yml +10 -10
- data/spec/cassettes/brightbox_config/user_add/when_passing_in_required_arguments/does_not_error.yml +4 -4
- data/spec/cassettes/brightbox_config/user_add/when_passing_in_required_arguments/does_not_prompt_to_rerun_the_command.yml +4 -4
- data/spec/cassettes/brightbox_config/user_add/when_passing_in_required_arguments/requests_access_tokens.yml +4 -4
- data/spec/cassettes/brightbox_config/user_add/when_passing_in_required_arguments/sets_up_the_config.yml +6 -6
- data/spec/cassettes/brightbox_config/user_add/when_passing_in_required_arguments_and_api_url/does_not_error.yml +4 -4
- data/spec/cassettes/brightbox_config/user_add/when_passing_in_required_arguments_and_api_url/requests_access_tokens.yml +4 -4
- data/spec/cassettes/brightbox_config/user_add/when_passing_in_required_arguments_and_api_url/sets_up_the_config.yml +4 -4
- data/spec/cassettes/brightbox_database-servers/create/--allow-access_10_0_0_0/correctly_sends_API_parameters.yml +93 -0
- data/spec/cassettes/brightbox_database-servers/create/--allow-access_srv-12345_grp-12345/correctly_sends_API_parameters.yml +93 -0
- data/spec/cassettes/brightbox_database-servers/create/--engine_mysql/correctly_sends_API_parameters.yml +93 -0
- data/spec/cassettes/brightbox_database-servers/create/--engine_mysql_--engine-version_5_6/correctly_sends_API_parameters.yml +93 -0
- data/spec/cassettes/brightbox_database-servers/create/without_arguments/reports_the_new_admin_password.yml +93 -0
- data/spec/cassettes/brightbox_database-servers/create/without_arguments/reports_the_new_admin_username.yml +93 -0
- data/spec/cassettes/brightbox_database-servers/snapshot/when_database_server_active/correctly_sends_API_parameters.yml +181 -0
- data/spec/cassettes/brightbox_database-servers/snapshot/when_database_server_can_not_be_snapshotted/reports_an_error_to_the_user.yml +91 -0
- data/spec/cassettes/brightbox_database-snapshots/list/when_resources_are_available/does_not_output_to_stderr.yml +93 -0
- data/spec/cassettes/brightbox_database-snapshots/list/when_resources_are_available/outputs_table_details_to_stdout.yml +93 -0
- data/spec/cassettes/brightbox_database-snapshots/show/when_resource_exists/does_not_output_to_stderr.yml +93 -0
- data/spec/commands/accounts/list_spec.rb +1 -1
- data/spec/commands/cloudips/map_spec.rb +23 -4
- data/spec/commands/config/user_add_spec.rb +1 -1
- data/spec/commands/sql/instances/create_spec.rb +69 -0
- data/spec/commands/sql/instances/snapshot_spec.rb +36 -0
- data/spec/commands/sql/snapshots/list_spec.rb +29 -0
- data/spec/commands/sql/snapshots/show_spec.rb +29 -0
- data/spec/commands/sql/types/list_spec.rb +18 -0
- data/spec/spec_helper.rb +1 -3
- data/spec/support/vcr.rb +1 -1
- data/spec/unit/brightbox/api/conn_spec.rb +1 -1
- data/spec/unit/brightbox/bb_config/add_section_spec.rb +1 -1
- data/spec/unit/brightbox/bb_config/renew_tokens_spec.rb +1 -1
- data/spec/unit/brightbox/database_server_spec.rb +9 -0
- data/spec/unit/brightbox/database_snapshot_spec.rb +9 -0
- data/spec/unit/brightbox/database_type_spec.rb +9 -0
- data/spec/unit/brightbox/firewall_policy/create_spec.rb +1 -1
- data/spec/unit/brightbox/firewall_policy/destroy_spec.rb +1 -1
- data/spec/unit/brightbox/firewall_rule/create_spec.rb +1 -1
- data/spec/unit/brightbox/firewall_rule/destroy_spec.rb +1 -1
- data/spec/unit/brightbox/firewall_rule/find_spec.rb +1 -1
- data/spec/unit/brightbox/firewall_rule/from_policy_spec.rb +1 -1
- data/spec/unit/brightbox/server/destroy_spec.rb +1 -1
- data/spec/unit/brightbox/server/find_or_call_spec.rb +1 -1
- data/spec/unit/brightbox/server/shutdown_spec.rb +1 -1
- data/spec/unit/brightbox/server/start_spec.rb +1 -1
- data/spec/unit/brightbox/server/stop_spec.rb +1 -1
- data/spec/unit/brightbox/server/update_spec.rb +1 -1
- data/spec/unit/brightbox/server_group/find_spec.rb +1 -1
- data/spec/unit/brightbox/user_collaboration/get_for_account_spec.rb +3 -3
- metadata +160 -115
- data/lib/brightbox-cli/commands/groups-list.rb +0 -21
- data/lib/brightbox-cli/commands/users-list.rb +0 -25
@@ -16,7 +16,7 @@ http_interactions:
|
|
16
16
|
response:
|
17
17
|
status:
|
18
18
|
code: 200
|
19
|
-
message:
|
19
|
+
message:
|
20
20
|
headers:
|
21
21
|
X-Frame-Options:
|
22
22
|
- sameorigin
|
@@ -43,7 +43,7 @@ http_interactions:
|
|
43
43
|
body:
|
44
44
|
encoding: UTF-8
|
45
45
|
string: '{"access_token":"63a4f6dbf53263e7468d3084ae9c50ecdcdf1714","expires_in":7200}'
|
46
|
-
http_version:
|
46
|
+
http_version:
|
47
47
|
recorded_at: Tue, 27 Aug 2013 16:12:38 GMT
|
48
48
|
- request:
|
49
49
|
method: get
|
@@ -61,7 +61,7 @@ http_interactions:
|
|
61
61
|
response:
|
62
62
|
status:
|
63
63
|
code: 200
|
64
|
-
message:
|
64
|
+
message:
|
65
65
|
headers:
|
66
66
|
Content-Type:
|
67
67
|
- application/json; charset=utf-8
|
@@ -86,7 +86,7 @@ http_interactions:
|
|
86
86
|
new servers are added to this group unless specified otherwise.","created_at":"2013-08-27T15:47:00Z","default":true},{"id":"grp-12345","resource_type":"server_group","url":"https://api.gb1.brightbox.com/1.0/server_groups/grp-12345","name":"test","description":null,"created_at":"2013-08-27T15:54:53Z","default":false},{"id":"grp-12345","resource_type":"server_group","url":"https://api.gb1.brightbox.com/1.0/server_groups/grp-12345","name":"test","description":null,"created_at":"2013-08-27T16:12:22Z","default":false}],"firewall_policies":[{"id":"fwp-12345","resource_type":"firewall_policy","url":"https://api.gb1.brightbox.com/1.0/firewall_policies/fwp-12345","default":true,"name":"default","created_at":"2013-08-27T15:47:00Z","description":"Applied
|
87
87
|
to the default server group."},{"id":"fwp-12345","resource_type":"firewall_policy","url":"https://api.gb1.brightbox.com/1.0/firewall_policies/fwp-12345","default":false,"name":"rspec_firewall_policy_apply","created_at":"2013-08-27T15:54:12Z","description":null},{"id":"fwp-12345","resource_type":"firewall_policy","url":"https://api.gb1.brightbox.com/1.0/firewall_policies/fwp-12345","default":false,"name":"rspec_firewall_policy","created_at":"2013-08-27T15:54:13Z","description":null},{"id":"fwp-12345","resource_type":"firewall_policy","url":"https://api.gb1.brightbox.com/1.0/firewall_policies/fwp-12345","default":false,"name":null,"created_at":"2013-08-27T15:54:20Z","description":null},{"id":"fwp-12345","resource_type":"firewall_policy","url":"https://api.gb1.brightbox.com/1.0/firewall_policies/fwp-12345","default":false,"name":null,"created_at":"2013-08-27T15:54:21Z","description":null},{"id":"fwp-12345","resource_type":"firewall_policy","url":"https://api.gb1.brightbox.com/1.0/firewall_policies/fwp-12345","default":false,"name":"rspec_firewall_policy","created_at":"2013-08-27T15:56:46Z","description":null},{"id":"fwp-12345","resource_type":"firewall_policy","url":"https://api.gb1.brightbox.com/1.0/firewall_policies/fwp-12345","default":false,"name":"rspec_firewall_policy","created_at":"2013-08-27T16:06:22Z","description":null}],"owner":{"id":"usr-12345","resource_type":"user","url":"https://api.gb1.brightbox.com/1.0/users/usr-12345","name":"Teresa
|
88
88
|
Ullrich","email_address":"jason.null@brightbox.com"},"users":[],"zones":[{"id":"zon-12345","resource_type":"zone","url":"https://api.gb1.brightbox.com/1.0/zones/zon-12345","handle":"gb1-a"},{"id":"zon-12345","resource_type":"zone","url":"https://api.gb1.brightbox.com/1.0/zones/zon-12345","handle":"gb1-b"}]}]'
|
89
|
-
http_version:
|
89
|
+
http_version:
|
90
90
|
recorded_at: Tue, 27 Aug 2013 16:12:38 GMT
|
91
91
|
- request:
|
92
92
|
method: get
|
@@ -104,7 +104,7 @@ http_interactions:
|
|
104
104
|
response:
|
105
105
|
status:
|
106
106
|
code: 200
|
107
|
-
message:
|
107
|
+
message:
|
108
108
|
headers:
|
109
109
|
Content-Type:
|
110
110
|
- application/json; charset=utf-8
|
@@ -129,7 +129,7 @@ http_interactions:
|
|
129
129
|
new servers are added to this group unless specified otherwise.","created_at":"2013-08-27T15:47:00Z","default":true},{"id":"grp-12345","resource_type":"server_group","url":"https://api.gb1.brightbox.com/1.0/server_groups/grp-12345","name":"test","description":null,"created_at":"2013-08-27T15:54:53Z","default":false},{"id":"grp-12345","resource_type":"server_group","url":"https://api.gb1.brightbox.com/1.0/server_groups/grp-12345","name":"test","description":null,"created_at":"2013-08-27T16:12:22Z","default":false}],"firewall_policies":[{"id":"fwp-12345","resource_type":"firewall_policy","url":"https://api.gb1.brightbox.com/1.0/firewall_policies/fwp-12345","default":true,"name":"default","created_at":"2013-08-27T15:47:00Z","description":"Applied
|
130
130
|
to the default server group."},{"id":"fwp-12345","resource_type":"firewall_policy","url":"https://api.gb1.brightbox.com/1.0/firewall_policies/fwp-12345","default":false,"name":"rspec_firewall_policy_apply","created_at":"2013-08-27T15:54:12Z","description":null},{"id":"fwp-12345","resource_type":"firewall_policy","url":"https://api.gb1.brightbox.com/1.0/firewall_policies/fwp-12345","default":false,"name":"rspec_firewall_policy","created_at":"2013-08-27T15:54:13Z","description":null},{"id":"fwp-12345","resource_type":"firewall_policy","url":"https://api.gb1.brightbox.com/1.0/firewall_policies/fwp-12345","default":false,"name":null,"created_at":"2013-08-27T15:54:20Z","description":null},{"id":"fwp-12345","resource_type":"firewall_policy","url":"https://api.gb1.brightbox.com/1.0/firewall_policies/fwp-12345","default":false,"name":null,"created_at":"2013-08-27T15:54:21Z","description":null},{"id":"fwp-12345","resource_type":"firewall_policy","url":"https://api.gb1.brightbox.com/1.0/firewall_policies/fwp-12345","default":false,"name":"rspec_firewall_policy","created_at":"2013-08-27T15:56:46Z","description":null},{"id":"fwp-12345","resource_type":"firewall_policy","url":"https://api.gb1.brightbox.com/1.0/firewall_policies/fwp-12345","default":false,"name":"rspec_firewall_policy","created_at":"2013-08-27T16:06:22Z","description":null}],"owner":{"id":"usr-12345","resource_type":"user","url":"https://api.gb1.brightbox.com/1.0/users/usr-12345","name":"Teresa
|
131
131
|
Ullrich","email_address":"jason.null@brightbox.com"},"users":[],"zones":[{"id":"zon-12345","resource_type":"zone","url":"https://api.gb1.brightbox.com/1.0/zones/zon-12345","handle":"gb1-a"},{"id":"zon-12345","resource_type":"zone","url":"https://api.gb1.brightbox.com/1.0/zones/zon-12345","handle":"gb1-b"}]}]'
|
132
|
-
http_version:
|
132
|
+
http_version:
|
133
133
|
recorded_at: Tue, 27 Aug 2013 16:12:38 GMT
|
134
134
|
- request:
|
135
135
|
method: post
|
@@ -147,7 +147,7 @@ http_interactions:
|
|
147
147
|
response:
|
148
148
|
status:
|
149
149
|
code: 400
|
150
|
-
message:
|
150
|
+
message:
|
151
151
|
headers:
|
152
152
|
X-Frame-Options:
|
153
153
|
- sameorigin
|
@@ -173,7 +173,7 @@ http_interactions:
|
|
173
173
|
encoding: UTF-8
|
174
174
|
string: '{"error":"unauthorized_client","error_description":"The authenticated
|
175
175
|
client is not authorized to use the access grant type provided."}'
|
176
|
-
http_version:
|
176
|
+
http_version:
|
177
177
|
recorded_at: Tue, 27 Aug 2013 17:09:42 GMT
|
178
178
|
- request:
|
179
179
|
method: post
|
@@ -191,7 +191,7 @@ http_interactions:
|
|
191
191
|
response:
|
192
192
|
status:
|
193
193
|
code: 400
|
194
|
-
message:
|
194
|
+
message:
|
195
195
|
headers:
|
196
196
|
X-Frame-Options:
|
197
197
|
- sameorigin
|
@@ -217,6 +217,6 @@ http_interactions:
|
|
217
217
|
encoding: UTF-8
|
218
218
|
string: '{"error":"unauthorized_client","error_description":"The authenticated
|
219
219
|
client is not authorized to use the access grant type provided."}'
|
220
|
-
http_version:
|
220
|
+
http_version:
|
221
221
|
recorded_at: Tue, 27 Aug 2013 17:09:42 GMT
|
222
222
|
recorded_with: VCR 2.5.0
|
@@ -16,7 +16,7 @@ http_interactions:
|
|
16
16
|
response:
|
17
17
|
status:
|
18
18
|
code: 200
|
19
|
-
message:
|
19
|
+
message:
|
20
20
|
headers:
|
21
21
|
Content-Type:
|
22
22
|
- application/json; charset=utf-8
|
@@ -41,7 +41,7 @@ http_interactions:
|
|
41
41
|
new servers are added to this group unless specified otherwise.","created_at":"2013-08-27T15:47:00Z","default":true},{"id":"grp-12345","resource_type":"server_group","url":"https://api.gb1.brightbox.com/1.0/server_groups/grp-12345","name":"test","description":null,"created_at":"2013-08-27T15:54:53Z","default":false},{"id":"grp-12345","resource_type":"server_group","url":"https://api.gb1.brightbox.com/1.0/server_groups/grp-12345","name":"test","description":null,"created_at":"2013-08-27T16:12:22Z","default":false}],"firewall_policies":[{"id":"fwp-12345","resource_type":"firewall_policy","url":"https://api.gb1.brightbox.com/1.0/firewall_policies/fwp-12345","default":true,"name":"default","created_at":"2013-08-27T15:47:00Z","description":"Applied
|
42
42
|
to the default server group."},{"id":"fwp-12345","resource_type":"firewall_policy","url":"https://api.gb1.brightbox.com/1.0/firewall_policies/fwp-12345","default":false,"name":"rspec_firewall_policy_apply","created_at":"2013-08-27T15:54:12Z","description":null},{"id":"fwp-12345","resource_type":"firewall_policy","url":"https://api.gb1.brightbox.com/1.0/firewall_policies/fwp-12345","default":false,"name":"rspec_firewall_policy","created_at":"2013-08-27T15:54:13Z","description":null},{"id":"fwp-12345","resource_type":"firewall_policy","url":"https://api.gb1.brightbox.com/1.0/firewall_policies/fwp-12345","default":false,"name":null,"created_at":"2013-08-27T15:54:20Z","description":null},{"id":"fwp-12345","resource_type":"firewall_policy","url":"https://api.gb1.brightbox.com/1.0/firewall_policies/fwp-12345","default":false,"name":null,"created_at":"2013-08-27T15:54:21Z","description":null},{"id":"fwp-12345","resource_type":"firewall_policy","url":"https://api.gb1.brightbox.com/1.0/firewall_policies/fwp-12345","default":false,"name":"rspec_firewall_policy","created_at":"2013-08-27T15:56:46Z","description":null},{"id":"fwp-12345","resource_type":"firewall_policy","url":"https://api.gb1.brightbox.com/1.0/firewall_policies/fwp-12345","default":false,"name":"rspec_firewall_policy","created_at":"2013-08-27T16:06:22Z","description":null}],"owner":{"id":"usr-12345","resource_type":"user","url":"https://api.gb1.brightbox.com/1.0/users/usr-12345","name":"Teresa
|
43
43
|
Ullrich","email_address":"jason.null@brightbox.com"},"users":[],"zones":[{"id":"zon-12345","resource_type":"zone","url":"https://api.gb1.brightbox.com/1.0/zones/zon-12345","handle":"gb1-a"},{"id":"zon-12345","resource_type":"zone","url":"https://api.gb1.brightbox.com/1.0/zones/zon-12345","handle":"gb1-b"}]}]'
|
44
|
-
http_version:
|
44
|
+
http_version:
|
45
45
|
recorded_at: Tue, 27 Aug 2013 16:12:39 GMT
|
46
46
|
- request:
|
47
47
|
method: post
|
@@ -59,7 +59,7 @@ http_interactions:
|
|
59
59
|
response:
|
60
60
|
status:
|
61
61
|
code: 400
|
62
|
-
message:
|
62
|
+
message:
|
63
63
|
headers:
|
64
64
|
X-Frame-Options:
|
65
65
|
- sameorigin
|
@@ -85,6 +85,6 @@ http_interactions:
|
|
85
85
|
encoding: UTF-8
|
86
86
|
string: '{"error":"unauthorized_client","error_description":"The authenticated
|
87
87
|
client is not authorized to use the access grant type provided."}'
|
88
|
-
http_version:
|
88
|
+
http_version:
|
89
89
|
recorded_at: Tue, 27 Aug 2013 17:09:42 GMT
|
90
90
|
recorded_with: VCR 2.5.0
|
@@ -16,7 +16,7 @@ http_interactions:
|
|
16
16
|
response:
|
17
17
|
status:
|
18
18
|
code: 200
|
19
|
-
message:
|
19
|
+
message:
|
20
20
|
headers:
|
21
21
|
Content-Type:
|
22
22
|
- application/json; charset=utf-8
|
@@ -43,7 +43,7 @@ http_interactions:
|
|
43
43
|
new servers are added to this group unless specified otherwise.","created_at":"2013-08-27T15:47:00Z","default":true},{"id":"grp-12345","resource_type":"server_group","url":"https://api.gb1.brightbox.com/1.0/server_groups/grp-12345","name":"test","description":null,"created_at":"2013-08-27T15:54:53Z","default":false},{"id":"grp-12345","resource_type":"server_group","url":"https://api.gb1.brightbox.com/1.0/server_groups/grp-12345","name":"test","description":null,"created_at":"2013-08-27T16:12:22Z","default":false}],"firewall_policies":[{"id":"fwp-12345","resource_type":"firewall_policy","url":"https://api.gb1.brightbox.com/1.0/firewall_policies/fwp-12345","default":true,"name":"default","created_at":"2013-08-27T15:47:00Z","description":"Applied
|
44
44
|
to the default server group."},{"id":"fwp-12345","resource_type":"firewall_policy","url":"https://api.gb1.brightbox.com/1.0/firewall_policies/fwp-12345","default":false,"name":"rspec_firewall_policy_apply","created_at":"2013-08-27T15:54:12Z","description":null},{"id":"fwp-12345","resource_type":"firewall_policy","url":"https://api.gb1.brightbox.com/1.0/firewall_policies/fwp-12345","default":false,"name":"rspec_firewall_policy","created_at":"2013-08-27T15:54:13Z","description":null},{"id":"fwp-12345","resource_type":"firewall_policy","url":"https://api.gb1.brightbox.com/1.0/firewall_policies/fwp-12345","default":false,"name":null,"created_at":"2013-08-27T15:54:20Z","description":null},{"id":"fwp-12345","resource_type":"firewall_policy","url":"https://api.gb1.brightbox.com/1.0/firewall_policies/fwp-12345","default":false,"name":null,"created_at":"2013-08-27T15:54:21Z","description":null},{"id":"fwp-12345","resource_type":"firewall_policy","url":"https://api.gb1.brightbox.com/1.0/firewall_policies/fwp-12345","default":false,"name":"rspec_firewall_policy","created_at":"2013-08-27T15:56:46Z","description":null},{"id":"fwp-12345","resource_type":"firewall_policy","url":"https://api.gb1.brightbox.com/1.0/firewall_policies/fwp-12345","default":false,"name":"rspec_firewall_policy","created_at":"2013-08-27T16:06:22Z","description":null}],"owner":{"id":"usr-12345","resource_type":"user","url":"https://api.gb1.brightbox.com/1.0/users/usr-12345","name":"Teresa
|
45
45
|
Ullrich","email_address":"jason.null@brightbox.com"},"users":[],"zones":[{"id":"zon-12345","resource_type":"zone","url":"https://api.gb1.brightbox.com/1.0/zones/zon-12345","handle":"gb1-a"},{"id":"zon-12345","resource_type":"zone","url":"https://api.gb1.brightbox.com/1.0/zones/zon-12345","handle":"gb1-b"}]}'
|
46
|
-
http_version:
|
46
|
+
http_version:
|
47
47
|
recorded_at: Tue, 27 Aug 2013 16:12:39 GMT
|
48
48
|
- request:
|
49
49
|
method: get
|
@@ -61,7 +61,7 @@ http_interactions:
|
|
61
61
|
response:
|
62
62
|
status:
|
63
63
|
code: 200
|
64
|
-
message:
|
64
|
+
message:
|
65
65
|
headers:
|
66
66
|
Content-Type:
|
67
67
|
- application/json; charset=utf-8
|
@@ -88,7 +88,7 @@ http_interactions:
|
|
88
88
|
new servers are added to this group unless specified otherwise.","created_at":"2013-08-27T15:47:00Z","default":true},{"id":"grp-12345","resource_type":"server_group","url":"https://api.gb1.brightbox.com/1.0/server_groups/grp-12345","name":"test","description":null,"created_at":"2013-08-27T15:54:53Z","default":false},{"id":"grp-12345","resource_type":"server_group","url":"https://api.gb1.brightbox.com/1.0/server_groups/grp-12345","name":"test","description":null,"created_at":"2013-08-27T16:12:22Z","default":false}],"firewall_policies":[{"id":"fwp-12345","resource_type":"firewall_policy","url":"https://api.gb1.brightbox.com/1.0/firewall_policies/fwp-12345","default":true,"name":"default","created_at":"2013-08-27T15:47:00Z","description":"Applied
|
89
89
|
to the default server group."},{"id":"fwp-12345","resource_type":"firewall_policy","url":"https://api.gb1.brightbox.com/1.0/firewall_policies/fwp-12345","default":false,"name":"rspec_firewall_policy_apply","created_at":"2013-08-27T15:54:12Z","description":null},{"id":"fwp-12345","resource_type":"firewall_policy","url":"https://api.gb1.brightbox.com/1.0/firewall_policies/fwp-12345","default":false,"name":"rspec_firewall_policy","created_at":"2013-08-27T15:54:13Z","description":null},{"id":"fwp-12345","resource_type":"firewall_policy","url":"https://api.gb1.brightbox.com/1.0/firewall_policies/fwp-12345","default":false,"name":null,"created_at":"2013-08-27T15:54:20Z","description":null},{"id":"fwp-12345","resource_type":"firewall_policy","url":"https://api.gb1.brightbox.com/1.0/firewall_policies/fwp-12345","default":false,"name":null,"created_at":"2013-08-27T15:54:21Z","description":null},{"id":"fwp-12345","resource_type":"firewall_policy","url":"https://api.gb1.brightbox.com/1.0/firewall_policies/fwp-12345","default":false,"name":"rspec_firewall_policy","created_at":"2013-08-27T15:56:46Z","description":null},{"id":"fwp-12345","resource_type":"firewall_policy","url":"https://api.gb1.brightbox.com/1.0/firewall_policies/fwp-12345","default":false,"name":"rspec_firewall_policy","created_at":"2013-08-27T16:06:22Z","description":null}],"owner":{"id":"usr-12345","resource_type":"user","url":"https://api.gb1.brightbox.com/1.0/users/usr-12345","name":"Teresa
|
90
90
|
Ullrich","email_address":"jason.null@brightbox.com"},"users":[],"zones":[{"id":"zon-12345","resource_type":"zone","url":"https://api.gb1.brightbox.com/1.0/zones/zon-12345","handle":"gb1-a"},{"id":"zon-12345","resource_type":"zone","url":"https://api.gb1.brightbox.com/1.0/zones/zon-12345","handle":"gb1-b"}]}'
|
91
|
-
http_version:
|
91
|
+
http_version:
|
92
92
|
recorded_at: Tue, 27 Aug 2013 16:12:39 GMT
|
93
93
|
- request:
|
94
94
|
method: post
|
@@ -106,7 +106,7 @@ http_interactions:
|
|
106
106
|
response:
|
107
107
|
status:
|
108
108
|
code: 400
|
109
|
-
message:
|
109
|
+
message:
|
110
110
|
headers:
|
111
111
|
X-Frame-Options:
|
112
112
|
- sameorigin
|
@@ -132,7 +132,7 @@ http_interactions:
|
|
132
132
|
encoding: UTF-8
|
133
133
|
string: '{"error":"unauthorized_client","error_description":"The authenticated
|
134
134
|
client is not authorized to use the access grant type provided."}'
|
135
|
-
http_version:
|
135
|
+
http_version:
|
136
136
|
recorded_at: Tue, 27 Aug 2013 17:09:43 GMT
|
137
137
|
- request:
|
138
138
|
method: post
|
@@ -150,7 +150,7 @@ http_interactions:
|
|
150
150
|
response:
|
151
151
|
status:
|
152
152
|
code: 400
|
153
|
-
message:
|
153
|
+
message:
|
154
154
|
headers:
|
155
155
|
X-Frame-Options:
|
156
156
|
- sameorigin
|
@@ -176,6 +176,6 @@ http_interactions:
|
|
176
176
|
encoding: UTF-8
|
177
177
|
string: '{"error":"unauthorized_client","error_description":"The authenticated
|
178
178
|
client is not authorized to use the access grant type provided."}'
|
179
|
-
http_version:
|
179
|
+
http_version:
|
180
180
|
recorded_at: Tue, 27 Aug 2013 17:09:43 GMT
|
181
181
|
recorded_with: VCR 2.5.0
|
@@ -16,7 +16,7 @@ http_interactions:
|
|
16
16
|
response:
|
17
17
|
status:
|
18
18
|
code: 200
|
19
|
-
message:
|
19
|
+
message:
|
20
20
|
headers:
|
21
21
|
Content-Type:
|
22
22
|
- application/json; charset=utf-8
|
@@ -43,7 +43,7 @@ http_interactions:
|
|
43
43
|
new servers are added to this group unless specified otherwise.","created_at":"2013-08-27T15:47:00Z","default":true},{"id":"grp-12345","resource_type":"server_group","url":"https://api.gb1.brightbox.com/1.0/server_groups/grp-12345","name":"test","description":null,"created_at":"2013-08-27T15:54:53Z","default":false},{"id":"grp-12345","resource_type":"server_group","url":"https://api.gb1.brightbox.com/1.0/server_groups/grp-12345","name":"test","description":null,"created_at":"2013-08-27T16:12:22Z","default":false}],"firewall_policies":[{"id":"fwp-12345","resource_type":"firewall_policy","url":"https://api.gb1.brightbox.com/1.0/firewall_policies/fwp-12345","default":true,"name":"default","created_at":"2013-08-27T15:47:00Z","description":"Applied
|
44
44
|
to the default server group."},{"id":"fwp-12345","resource_type":"firewall_policy","url":"https://api.gb1.brightbox.com/1.0/firewall_policies/fwp-12345","default":false,"name":"rspec_firewall_policy_apply","created_at":"2013-08-27T15:54:12Z","description":null},{"id":"fwp-12345","resource_type":"firewall_policy","url":"https://api.gb1.brightbox.com/1.0/firewall_policies/fwp-12345","default":false,"name":"rspec_firewall_policy","created_at":"2013-08-27T15:54:13Z","description":null},{"id":"fwp-12345","resource_type":"firewall_policy","url":"https://api.gb1.brightbox.com/1.0/firewall_policies/fwp-12345","default":false,"name":null,"created_at":"2013-08-27T15:54:20Z","description":null},{"id":"fwp-12345","resource_type":"firewall_policy","url":"https://api.gb1.brightbox.com/1.0/firewall_policies/fwp-12345","default":false,"name":null,"created_at":"2013-08-27T15:54:21Z","description":null},{"id":"fwp-12345","resource_type":"firewall_policy","url":"https://api.gb1.brightbox.com/1.0/firewall_policies/fwp-12345","default":false,"name":"rspec_firewall_policy","created_at":"2013-08-27T15:56:46Z","description":null},{"id":"fwp-12345","resource_type":"firewall_policy","url":"https://api.gb1.brightbox.com/1.0/firewall_policies/fwp-12345","default":false,"name":"rspec_firewall_policy","created_at":"2013-08-27T16:06:22Z","description":null}],"owner":{"id":"usr-12345","resource_type":"user","url":"https://api.gb1.brightbox.com/1.0/users/usr-12345","name":"Teresa
|
45
45
|
Ullrich","email_address":"jason.null@brightbox.com"},"users":[],"zones":[{"id":"zon-12345","resource_type":"zone","url":"https://api.gb1.brightbox.com/1.0/zones/zon-12345","handle":"gb1-a"},{"id":"zon-12345","resource_type":"zone","url":"https://api.gb1.brightbox.com/1.0/zones/zon-12345","handle":"gb1-b"}]}'
|
46
|
-
http_version:
|
46
|
+
http_version:
|
47
47
|
recorded_at: Tue, 27 Aug 2013 16:12:39 GMT
|
48
48
|
- request:
|
49
49
|
method: post
|
@@ -61,7 +61,7 @@ http_interactions:
|
|
61
61
|
response:
|
62
62
|
status:
|
63
63
|
code: 400
|
64
|
-
message:
|
64
|
+
message:
|
65
65
|
headers:
|
66
66
|
X-Frame-Options:
|
67
67
|
- sameorigin
|
@@ -87,6 +87,6 @@ http_interactions:
|
|
87
87
|
encoding: UTF-8
|
88
88
|
string: '{"error":"unauthorized_client","error_description":"The authenticated
|
89
89
|
client is not authorized to use the access grant type provided."}'
|
90
|
-
http_version:
|
90
|
+
http_version:
|
91
91
|
recorded_at: Tue, 27 Aug 2013 17:09:43 GMT
|
92
92
|
recorded_with: VCR 2.5.0
|
@@ -16,7 +16,7 @@ http_interactions:
|
|
16
16
|
response:
|
17
17
|
status:
|
18
18
|
code: 200
|
19
|
-
message:
|
19
|
+
message:
|
20
20
|
headers:
|
21
21
|
X-Frame-Options:
|
22
22
|
- sameorigin
|
@@ -43,7 +43,7 @@ http_interactions:
|
|
43
43
|
body:
|
44
44
|
encoding: UTF-8
|
45
45
|
string: '{"access_token":"1c71f1f2496e9f39bb2c576a02308f316dcc0640","expires_in":7200,"refresh_token":"5caae2e2ab3a716becf9a39fc94eef83c70684c5"}'
|
46
|
-
http_version:
|
46
|
+
http_version:
|
47
47
|
recorded_at: Tue, 17 Sep 2013 17:09:50 GMT
|
48
48
|
- request:
|
49
49
|
method: get
|
@@ -61,7 +61,7 @@ http_interactions:
|
|
61
61
|
response:
|
62
62
|
status:
|
63
63
|
code: 200
|
64
|
-
message:
|
64
|
+
message:
|
65
65
|
headers:
|
66
66
|
Content-Type:
|
67
67
|
- application/json; charset=utf-8
|
@@ -85,6 +85,6 @@ http_interactions:
|
|
85
85
|
new servers are added to this group unless specified otherwise.","created_at":"2013-09-17T08:44:16Z","default":true}],"firewall_policies":[{"id":"fwp-12345","resource_type":"firewall_policy","url":"https://api.gb1.brightbox.com/1.0/firewall_policies/fwp-12345","default":true,"name":"default","created_at":"2013-09-17T08:44:16Z","description":"Applied
|
86
86
|
to the default server group."}],"owner":{"id":"usr-12345","resource_type":"user","url":"https://api.gb1.brightbox.com/1.0/users/usr-12345","name":"Kobe
|
87
87
|
Swaniawski Sr.","email_address":"jason.null@brightbox.com"},"users":[],"zones":[{"id":"zon-12345","resource_type":"zone","url":"https://api.gb1.brightbox.com/1.0/zones/zon-12345","handle":"gb1-a"},{"id":"zon-12345","resource_type":"zone","url":"https://api.gb1.brightbox.com/1.0/zones/zon-12345","handle":"gb1-b"}]}]'
|
88
|
-
http_version:
|
88
|
+
http_version:
|
89
89
|
recorded_at: Tue, 17 Sep 2013 17:09:50 GMT
|
90
90
|
recorded_with: VCR 2.5.0
|
@@ -16,7 +16,7 @@ http_interactions:
|
|
16
16
|
response:
|
17
17
|
status:
|
18
18
|
code: 200
|
19
|
-
message:
|
19
|
+
message:
|
20
20
|
headers:
|
21
21
|
X-Frame-Options:
|
22
22
|
- sameorigin
|
@@ -43,7 +43,7 @@ http_interactions:
|
|
43
43
|
body:
|
44
44
|
encoding: UTF-8
|
45
45
|
string: '{"access_token":"63149b6bfb36e26337779b579b31b3fcebb2821a","expires_in":7200,"refresh_token":"190536319775a57dd1e7409e452c8148edfb14c6"}'
|
46
|
-
http_version:
|
46
|
+
http_version:
|
47
47
|
recorded_at: Tue, 17 Sep 2013 17:09:51 GMT
|
48
48
|
- request:
|
49
49
|
method: get
|
@@ -61,7 +61,7 @@ http_interactions:
|
|
61
61
|
response:
|
62
62
|
status:
|
63
63
|
code: 200
|
64
|
-
message:
|
64
|
+
message:
|
65
65
|
headers:
|
66
66
|
Content-Type:
|
67
67
|
- application/json; charset=utf-8
|
@@ -85,6 +85,6 @@ http_interactions:
|
|
85
85
|
new servers are added to this group unless specified otherwise.","created_at":"2013-09-17T08:44:16Z","default":true}],"firewall_policies":[{"id":"fwp-12345","resource_type":"firewall_policy","url":"https://api.gb1.brightbox.com/1.0/firewall_policies/fwp-12345","default":true,"name":"default","created_at":"2013-09-17T08:44:16Z","description":"Applied
|
86
86
|
to the default server group."}],"owner":{"id":"usr-12345","resource_type":"user","url":"https://api.gb1.brightbox.com/1.0/users/usr-12345","name":"Kobe
|
87
87
|
Swaniawski Sr.","email_address":"jason.null@brightbox.com"},"users":[],"zones":[{"id":"zon-12345","resource_type":"zone","url":"https://api.gb1.brightbox.com/1.0/zones/zon-12345","handle":"gb1-a"},{"id":"zon-12345","resource_type":"zone","url":"https://api.gb1.brightbox.com/1.0/zones/zon-12345","handle":"gb1-b"}]}]'
|
88
|
-
http_version:
|
88
|
+
http_version:
|
89
89
|
recorded_at: Tue, 17 Sep 2013 17:09:51 GMT
|
90
90
|
recorded_with: VCR 2.5.0
|
@@ -16,7 +16,7 @@ http_interactions:
|
|
16
16
|
response:
|
17
17
|
status:
|
18
18
|
code: 200
|
19
|
-
message:
|
19
|
+
message:
|
20
20
|
headers:
|
21
21
|
X-Frame-Options:
|
22
22
|
- sameorigin
|
@@ -43,7 +43,7 @@ http_interactions:
|
|
43
43
|
body:
|
44
44
|
encoding: UTF-8
|
45
45
|
string: '{"access_token":"62efcf9adae4374763e5b2d2b85c045131e4b9df","expires_in":7200,"refresh_token":"69e5722c579fedd68afc614cd4b4766ae35033cf"}'
|
46
|
-
http_version:
|
46
|
+
http_version:
|
47
47
|
recorded_at: Tue, 17 Sep 2013 17:09:51 GMT
|
48
48
|
- request:
|
49
49
|
method: get
|
@@ -61,7 +61,7 @@ http_interactions:
|
|
61
61
|
response:
|
62
62
|
status:
|
63
63
|
code: 200
|
64
|
-
message:
|
64
|
+
message:
|
65
65
|
headers:
|
66
66
|
Content-Type:
|
67
67
|
- application/json; charset=utf-8
|
@@ -85,6 +85,6 @@ http_interactions:
|
|
85
85
|
new servers are added to this group unless specified otherwise.","created_at":"2013-09-17T08:44:16Z","default":true}],"firewall_policies":[{"id":"fwp-12345","resource_type":"firewall_policy","url":"https://api.gb1.brightbox.com/1.0/firewall_policies/fwp-12345","default":true,"name":"default","created_at":"2013-09-17T08:44:16Z","description":"Applied
|
86
86
|
to the default server group."}],"owner":{"id":"usr-12345","resource_type":"user","url":"https://api.gb1.brightbox.com/1.0/users/usr-12345","name":"Kobe
|
87
87
|
Swaniawski Sr.","email_address":"jason.null@brightbox.com"},"users":[],"zones":[{"id":"zon-12345","resource_type":"zone","url":"https://api.gb1.brightbox.com/1.0/zones/zon-12345","handle":"gb1-a"},{"id":"zon-12345","resource_type":"zone","url":"https://api.gb1.brightbox.com/1.0/zones/zon-12345","handle":"gb1-b"}]}]'
|
88
|
-
http_version:
|
88
|
+
http_version:
|
89
89
|
recorded_at: Tue, 17 Sep 2013 17:09:51 GMT
|
90
90
|
recorded_with: VCR 2.5.0
|
@@ -1,327 +1,327 @@
|
|
1
|
-
---
|
1
|
+
---
|
2
2
|
recorded_with: VCR 2.5.0
|
3
|
-
http_interactions:
|
4
|
-
- request:
|
3
|
+
http_interactions:
|
4
|
+
- request:
|
5
5
|
method: get
|
6
6
|
uri: http://api.brightbox.dev/1.0/account
|
7
|
-
body:
|
7
|
+
body:
|
8
8
|
string: ""
|
9
|
-
headers:
|
10
|
-
User-Agent:
|
9
|
+
headers:
|
10
|
+
User-Agent:
|
11
11
|
- fog/1.15.0
|
12
|
-
Content-Type:
|
12
|
+
Content-Type:
|
13
13
|
- application/json
|
14
|
-
Authorization:
|
14
|
+
Authorization:
|
15
15
|
- OAuth 63a4f6dbf53263e7468d3084ae9c50ecdcdf1714
|
16
|
-
response:
|
17
|
-
status:
|
16
|
+
response:
|
17
|
+
status:
|
18
18
|
code: 200
|
19
|
-
message:
|
20
|
-
headers:
|
21
|
-
Date:
|
19
|
+
message:
|
20
|
+
headers:
|
21
|
+
Date:
|
22
22
|
- Tue, 27 Aug 2013 16:12:40 GMT
|
23
|
-
X-UA-Compatible:
|
23
|
+
X-UA-Compatible:
|
24
24
|
- IE=Edge
|
25
|
-
X-Request-Id:
|
25
|
+
X-Request-Id:
|
26
26
|
- 3559d2a32b1602c924006b99f01346ec
|
27
|
-
Content-Type:
|
27
|
+
Content-Type:
|
28
28
|
- application/json; charset=utf-8
|
29
|
-
X-Runtime:
|
29
|
+
X-Runtime:
|
30
30
|
- "0.112986"
|
31
|
-
ETag:
|
31
|
+
ETag:
|
32
32
|
- "\"1e11c0b6a848197a2fc399e1a9ebb662\""
|
33
|
-
Connection:
|
33
|
+
Connection:
|
34
34
|
- close
|
35
|
-
Cache-Control:
|
35
|
+
Cache-Control:
|
36
36
|
- max-age=0, private, must-revalidate
|
37
|
-
body:
|
37
|
+
body:
|
38
38
|
string: "{\"id\":\"acc-12345\",\"resource_type\":\"account\",\"url\":\"https://api.gb1.brightbox.com/1.0/accounts/acc-12345\",\"name\":\"Avkruvviumpksysor\",\"status\":\"active\",\"address_1\":\"Israel Flats\",\"address_2\":\"\",\"city\":\"Clarkmouth\",\"county\":\"\",\"postcode\":\"97088-3817\",\"country_code\":\"GB\",\"country_name\":\"United Kingdom\",\"vat_registration_number\":\"\",\"telephone_number\":\"+445722683970\",\"telephone_verified\":false,\"verified_telephone\":null,\"verified_at\":null,\"verified_ip\":null,\"created_at\":\"2013-08-27T15:47:00Z\",\"ram_limit\":32768,\"ram_used\":15360,\"cloud_ips_limit\":20,\"cloud_ips_used\":1,\"load_balancers_limit\":5,\"load_balancers_used\":0,\"valid_credit_card\":false,\"library_ftp_host\":\"ftp.library.gb1.brightbox.com\",\"library_ftp_user\":\"acc-12345\",\"library_ftp_password\":null,\"clients\":[{\"id\":\"cli-12345\",\"resource_type\":\"api_client\",\"url\":\"https://api.gb1.brightbox.com/1.0/api_clients/cli-12345\",\"name\":null,\"description\":null,\"revoked_at\":null}],\"images\":[],\"servers\":[{\"id\":\"srv-12345\",\"resource_type\":\"server\",\"url\":\"https://api.gb1.brightbox.com/1.0/servers/srv-12345\",\"name\":\"wow\",\"status\":\"active\",\"hostname\":\"srv-12345\",\"fqdn\":\"srv-12345.gb1.brightbox.com\",\"created_at\":\"2013-08-27T15:54:24Z\",\"started_at\":\"2013-08-27T15:54:27Z\",\"deleted_at\":null},{\"id\":\"srv-12345\",\"resource_type\":\"server\",\"url\":\"https://api.gb1.brightbox.com/1.0/servers/srv-12345\",\"name\":\"medium servers\",\"status\":\"active\",\"hostname\":\"srv-12345\",\"fqdn\":\"srv-12345.gb1.brightbox.com\",\"created_at\":\"2013-08-27T15:54:26Z\",\"started_at\":\"2013-08-27T15:54:29Z\",\"deleted_at\":null},{\"id\":\"srv-12345\",\"resource_type\":\"server\",\"url\":\"https://api.gb1.brightbox.com/1.0/servers/srv-12345\",\"name\":\"\",\"status\":\"deleted\",\"hostname\":\"srv-12345\",\"fqdn\":\"srv-12345.gb1.brightbox.com\",\"created_at\":\"2013-08-27T15:54:30Z\",\"started_at\":\"2013-08-27T15:54:32Z\",\"deleted_at\":\"2013-08-27T15:54:35Z\"},{\"id\":\"srv-12345\",\"resource_type\":\"server\",\"url\":\"https://api.gb1.brightbox.com/1.0/servers/srv-12345\",\"name\":\"rspec_server_shutdown\",\"status\":\"active\",\"hostname\":\"srv-12345\",\"fqdn\":\"srv-12345.gb1.brightbox.com\",\"created_at\":\"2013-08-27T15:54:36Z\",\"started_at\":\"2013-08-27T15:54:38Z\",\"deleted_at\":null},{\"id\":\"srv-12345\",\"resource_type\":\"server\",\"url\":\"https://api.gb1.brightbox.com/1.0/servers/srv-12345\",\"name\":\"rspec_server_start\",\"status\":\"active\",\"hostname\":\"srv-12345\",\"fqdn\":\"srv-12345.gb1.brightbox.com\",\"created_at\":\"2013-08-27T15:54:41Z\",\"started_at\":\"2013-08-27T15:54:47Z\",\"deleted_at\":null},{\"id\":\"srv-12345\",\"resource_type\":\"server\",\"url\":\"https://api.gb1.brightbox.com/1.0/servers/srv-12345\",\"name\":\"rspec_server_stop\",\"status\":\"inactive\",\"hostname\":\"srv-12345\",\"fqdn\":\"srv-12345.gb1.brightbox.com\",\"created_at\":\"2013-08-27T15:54:48Z\",\"started_at\":\"2013-08-27T15:54:51Z\",\"deleted_at\":null},{\"id\":\"srv-12345\",\"resource_type\":\"server\",\"url\":\"https://api.gb1.brightbox.com/1.0/servers/srv-12345\",\"name\":\"\",\"status\":\"deleted\",\"hostname\":\"srv-12345\",\"fqdn\":\"srv-12345.gb1.brightbox.com\",\"created_at\":\"2013-08-27T15:54:52Z\",\"started_at\":\"2013-08-27T15:54:55Z\",\"deleted_at\":\"2013-08-27T15:54:58Z\"},{\"id\":\"srv-12345\",\"resource_type\":\"server\",\"url\":\"https://api.gb1.brightbox.com/1.0/servers/srv-12345\",\"name\":\"\",\"status\":\"deleted\",\"hostname\":\"srv-12345\",\"fqdn\":\"srv-12345.gb1.brightbox.com\",\"created_at\":\"2013-08-27T16:12:22Z\",\"started_at\":\"2013-08-27T16:12:25Z\",\"deleted_at\":\"2013-08-27T16:12:27Z\"}],\"load_balancers\":[],\"cloud_ips\":[{\"id\":\"cip-12345\",\"resource_type\":\"cloud_ip\",\"url\":\"https://api.gb1.brightbox.com/1.0/cloud_ips/cip-12345\",\"status\":\"unmapped\",\"public_ip\":\"217.16.230.132\",\"reverse_dns\":\"cip-12345-16-230-132.gb1.brightbox.com\",\"name\":null}],\"server_groups\":[{\"id\":\"grp-12345\",\"resource_type\":\"server_group\",\"url\":\"https://api.gb1.brightbox.com/1.0/server_groups/grp-12345\",\"name\":\"default\",\"description\":\"All new servers are added to this group unless specified otherwise.\",\"created_at\":\"2013-08-27T15:47:00Z\",\"default\":true},{\"id\":\"grp-12345\",\"resource_type\":\"server_group\",\"url\":\"https://api.gb1.brightbox.com/1.0/server_groups/grp-12345\",\"name\":\"test\",\"description\":null,\"created_at\":\"2013-08-27T15:54:53Z\",\"default\":false},{\"id\":\"grp-12345\",\"resource_type\":\"server_group\",\"url\":\"https://api.gb1.brightbox.com/1.0/server_groups/grp-12345\",\"name\":\"test\",\"description\":null,\"created_at\":\"2013-08-27T16:12:22Z\",\"default\":false}],\"firewall_policies\":[{\"id\":\"fwp-12345\",\"resource_type\":\"firewall_policy\",\"url\":\"https://api.gb1.brightbox.com/1.0/firewall_policies/fwp-12345\",\"default\":true,\"name\":\"default\",\"created_at\":\"2013-08-27T15:47:00Z\",\"description\":\"Applied to the default server group.\"},{\"id\":\"fwp-12345\",\"resource_type\":\"firewall_policy\",\"url\":\"https://api.gb1.brightbox.com/1.0/firewall_policies/fwp-12345\",\"default\":false,\"name\":\"rspec_firewall_policy_apply\",\"created_at\":\"2013-08-27T15:54:12Z\",\"description\":null},{\"id\":\"fwp-12345\",\"resource_type\":\"firewall_policy\",\"url\":\"https://api.gb1.brightbox.com/1.0/firewall_policies/fwp-12345\",\"default\":false,\"name\":\"rspec_firewall_policy\",\"created_at\":\"2013-08-27T15:54:13Z\",\"description\":null},{\"id\":\"fwp-12345\",\"resource_type\":\"firewall_policy\",\"url\":\"https://api.gb1.brightbox.com/1.0/firewall_policies/fwp-12345\",\"default\":false,\"name\":null,\"created_at\":\"2013-08-27T15:54:20Z\",\"description\":null},{\"id\":\"fwp-12345\",\"resource_type\":\"firewall_policy\",\"url\":\"https://api.gb1.brightbox.com/1.0/firewall_policies/fwp-12345\",\"default\":false,\"name\":null,\"created_at\":\"2013-08-27T15:54:21Z\",\"description\":null},{\"id\":\"fwp-12345\",\"resource_type\":\"firewall_policy\",\"url\":\"https://api.gb1.brightbox.com/1.0/firewall_policies/fwp-12345\",\"default\":false,\"name\":\"rspec_firewall_policy\",\"created_at\":\"2013-08-27T15:56:46Z\",\"description\":null},{\"id\":\"fwp-12345\",\"resource_type\":\"firewall_policy\",\"url\":\"https://api.gb1.brightbox.com/1.0/firewall_policies/fwp-12345\",\"default\":false,\"name\":\"rspec_firewall_policy\",\"created_at\":\"2013-08-27T16:06:22Z\",\"description\":null}],\"owner\":{\"id\":\"usr-12345\",\"resource_type\":\"user\",\"url\":\"https://api.gb1.brightbox.com/1.0/users/usr-12345\",\"name\":\"Teresa Ullrich\",\"email_address\":\"jason.null@brightbox.com\"},\"users\":[],\"zones\":[{\"id\":\"zon-12345\",\"resource_type\":\"zone\",\"url\":\"https://api.gb1.brightbox.com/1.0/zones/zon-12345\",\"handle\":\"gb1-a\"},{\"id\":\"zon-12345\",\"resource_type\":\"zone\",\"url\":\"https://api.gb1.brightbox.com/1.0/zones/zon-12345\",\"handle\":\"gb1-b\"}]}"
|
39
|
-
http_version:
|
39
|
+
http_version:
|
40
40
|
recorded_at: Tue, 27 Aug 2013 16:12:40 GMT
|
41
|
-
- request:
|
41
|
+
- request:
|
42
42
|
method: post
|
43
43
|
uri: http://api.brightbox.dev/token
|
44
|
-
body:
|
44
|
+
body:
|
45
45
|
string: "{\"grant_type\":\"none\",\"client_id\":\"app-12345\"}"
|
46
|
-
headers:
|
47
|
-
User-Agent:
|
46
|
+
headers:
|
47
|
+
User-Agent:
|
48
48
|
- fog/1.15.0
|
49
|
-
Content-Type:
|
49
|
+
Content-Type:
|
50
50
|
- application/json
|
51
|
-
Authorization:
|
51
|
+
Authorization:
|
52
52
|
- Basic YXBwLTEyMzQ1Om1vY2J1aXBiaWFhNms2Yw==
|
53
|
-
response:
|
54
|
-
status:
|
53
|
+
response:
|
54
|
+
status:
|
55
55
|
code: 400
|
56
|
-
message:
|
57
|
-
headers:
|
58
|
-
X-Frame-Options:
|
56
|
+
message:
|
57
|
+
headers:
|
58
|
+
X-Frame-Options:
|
59
59
|
- sameorigin
|
60
|
-
Date:
|
60
|
+
Date:
|
61
61
|
- Tue, 27 Aug 2013 17:09:58 GMT
|
62
|
-
X-UA-Compatible:
|
62
|
+
X-UA-Compatible:
|
63
63
|
- IE=Edge
|
64
|
-
X-Request-Id:
|
64
|
+
X-Request-Id:
|
65
65
|
- 5627584df95d146b2bb2ced0800e150f
|
66
|
-
Content-Type:
|
66
|
+
Content-Type:
|
67
67
|
- application/json;charset=utf-8
|
68
|
-
X-Runtime:
|
68
|
+
X-Runtime:
|
69
69
|
- "0.164418"
|
70
|
-
Content-Length:
|
70
|
+
Content-Length:
|
71
71
|
- "135"
|
72
|
-
X-XSS-Protection:
|
72
|
+
X-XSS-Protection:
|
73
73
|
- 1; mode=block
|
74
|
-
Connection:
|
74
|
+
Connection:
|
75
75
|
- keep-alive
|
76
|
-
Cache-Control:
|
76
|
+
Cache-Control:
|
77
77
|
- no-store
|
78
|
-
body:
|
78
|
+
body:
|
79
79
|
string: "{\"error\":\"unauthorized_client\",\"error_description\":\"The authenticated client is not authorized to use the access grant type provided.\"}"
|
80
|
-
http_version:
|
80
|
+
http_version:
|
81
81
|
recorded_at: Tue, 27 Aug 2013 17:09:58 GMT
|
82
|
-
- request:
|
82
|
+
- request:
|
83
83
|
method: post
|
84
84
|
uri: http://api.brightbox.dev/token
|
85
|
-
body:
|
85
|
+
body:
|
86
86
|
string: "{\"grant_type\":\"none\",\"client_id\":\"cli-12345\"}"
|
87
|
-
headers:
|
88
|
-
User-Agent:
|
87
|
+
headers:
|
88
|
+
User-Agent:
|
89
89
|
- fog/1.15.0
|
90
|
-
Content-Type:
|
90
|
+
Content-Type:
|
91
91
|
- application/json
|
92
|
-
Authorization:
|
92
|
+
Authorization:
|
93
93
|
- Basic Y2xpLTEyMzQ1OnF5Nnh4bnZ5NG8wdGd2NQ==
|
94
|
-
response:
|
95
|
-
status:
|
94
|
+
response:
|
95
|
+
status:
|
96
96
|
code: 200
|
97
|
-
message:
|
98
|
-
headers:
|
99
|
-
X-Frame-Options:
|
97
|
+
message:
|
98
|
+
headers:
|
99
|
+
X-Frame-Options:
|
100
100
|
- sameorigin
|
101
|
-
Date:
|
101
|
+
Date:
|
102
102
|
- Wed, 28 Aug 2013 16:09:15 GMT
|
103
|
-
X-UA-Compatible:
|
103
|
+
X-UA-Compatible:
|
104
104
|
- IE=Edge
|
105
|
-
X-Request-Id:
|
105
|
+
X-Request-Id:
|
106
106
|
- 883cdc1160997eadd5304f5099be8d12
|
107
|
-
Content-Type:
|
107
|
+
Content-Type:
|
108
108
|
- application/json;charset=utf-8
|
109
|
-
X-Runtime:
|
109
|
+
X-Runtime:
|
110
110
|
- "0.115046"
|
111
|
-
Content-Length:
|
111
|
+
Content-Length:
|
112
112
|
- "77"
|
113
|
-
ETag:
|
113
|
+
ETag:
|
114
114
|
- "\"a21b70a5da1c9a20548666fb6aacfb52\""
|
115
|
-
X-XSS-Protection:
|
115
|
+
X-XSS-Protection:
|
116
116
|
- 1; mode=block
|
117
|
-
Connection:
|
117
|
+
Connection:
|
118
118
|
- keep-alive
|
119
|
-
Cache-Control:
|
119
|
+
Cache-Control:
|
120
120
|
- no-store
|
121
|
-
body:
|
121
|
+
body:
|
122
122
|
string: "{\"access_token\":\"ab6038ff8f5838ec20c6fa5e7b43a78f0e3a459a\",\"expires_in\":7200}"
|
123
|
-
http_version:
|
123
|
+
http_version:
|
124
124
|
recorded_at: Wed, 28 Aug 2013 16:09:15 GMT
|
125
|
-
- request:
|
125
|
+
- request:
|
126
126
|
method: get
|
127
127
|
uri: http://api.brightbox.dev/1.0/accounts
|
128
|
-
body:
|
128
|
+
body:
|
129
129
|
string: ""
|
130
|
-
headers:
|
131
|
-
User-Agent:
|
130
|
+
headers:
|
131
|
+
User-Agent:
|
132
132
|
- fog/1.15.0
|
133
|
-
Content-Type:
|
133
|
+
Content-Type:
|
134
134
|
- application/json
|
135
|
-
Authorization:
|
135
|
+
Authorization:
|
136
136
|
- OAuth ab6038ff8f5838ec20c6fa5e7b43a78f0e3a459a
|
137
|
-
response:
|
138
|
-
status:
|
137
|
+
response:
|
138
|
+
status:
|
139
139
|
code: 401
|
140
|
-
message:
|
141
|
-
headers:
|
142
|
-
Date:
|
140
|
+
message:
|
141
|
+
headers:
|
142
|
+
Date:
|
143
143
|
- Tue, 17 Sep 2013 17:07:41 GMT
|
144
|
-
X-UA-Compatible:
|
144
|
+
X-UA-Compatible:
|
145
145
|
- IE=Edge
|
146
|
-
X-Request-Id:
|
146
|
+
X-Request-Id:
|
147
147
|
- fabf5734397aa5e3db0eb5acc5d916b4
|
148
|
-
Content-Type:
|
148
|
+
Content-Type:
|
149
149
|
- application/json; charset=utf-8
|
150
|
-
X-Runtime:
|
150
|
+
X-Runtime:
|
151
151
|
- "0.019969"
|
152
|
-
WWW-Authenticate:
|
152
|
+
WWW-Authenticate:
|
153
153
|
- OAuth error="invalid_token"
|
154
|
-
Connection:
|
154
|
+
Connection:
|
155
155
|
- close
|
156
|
-
Cache-Control:
|
156
|
+
Cache-Control:
|
157
157
|
- no-cache
|
158
|
-
body:
|
158
|
+
body:
|
159
159
|
string: "{\"error\":\"invalid_token\",\"error_description\":\"The OAuth token can not be found\"}"
|
160
|
-
http_version:
|
160
|
+
http_version:
|
161
161
|
recorded_at: Tue, 17 Sep 2013 17:07:41 GMT
|
162
|
-
- request:
|
162
|
+
- request:
|
163
163
|
method: post
|
164
164
|
uri: http://api.brightbox.dev/token
|
165
|
-
body:
|
165
|
+
body:
|
166
166
|
string: "{\"grant_type\":\"none\",\"client_id\":\"cli-12345\"}"
|
167
|
-
headers:
|
168
|
-
User-Agent:
|
167
|
+
headers:
|
168
|
+
User-Agent:
|
169
169
|
- fog/1.15.0
|
170
|
-
Content-Type:
|
170
|
+
Content-Type:
|
171
171
|
- application/json
|
172
|
-
Authorization:
|
172
|
+
Authorization:
|
173
173
|
- Basic Y2xpLTEyMzQ1Ondyb25nX3Bhc3N3b3Jk
|
174
|
-
response:
|
175
|
-
status:
|
174
|
+
response:
|
175
|
+
status:
|
176
176
|
code: 401
|
177
|
-
message:
|
178
|
-
headers:
|
179
|
-
X-Frame-Options:
|
177
|
+
message:
|
178
|
+
headers:
|
179
|
+
X-Frame-Options:
|
180
180
|
- sameorigin
|
181
|
-
Date:
|
181
|
+
Date:
|
182
182
|
- Tue, 17 Sep 2013 17:07:41 GMT
|
183
|
-
X-UA-Compatible:
|
183
|
+
X-UA-Compatible:
|
184
184
|
- IE=Edge
|
185
|
-
X-Request-Id:
|
185
|
+
X-Request-Id:
|
186
186
|
- c21c187949d13bec541a7eb4a2238b36
|
187
|
-
Content-Type:
|
187
|
+
Content-Type:
|
188
188
|
- application/json;charset=utf-8
|
189
|
-
X-Runtime:
|
189
|
+
X-Runtime:
|
190
190
|
- "0.103984"
|
191
|
-
Content-Length:
|
191
|
+
Content-Length:
|
192
192
|
- "26"
|
193
|
-
X-XSS-Protection:
|
193
|
+
X-XSS-Protection:
|
194
194
|
- 1; mode=block
|
195
|
-
WWW-Authenticate:
|
195
|
+
WWW-Authenticate:
|
196
196
|
- Basic realm="api.gb1.brightbox.com"
|
197
|
-
Connection:
|
197
|
+
Connection:
|
198
198
|
- keep-alive
|
199
|
-
Cache-Control:
|
199
|
+
Cache-Control:
|
200
200
|
- no-store
|
201
|
-
body:
|
201
|
+
body:
|
202
202
|
string: "{\"error\":\"invalid_client\"}"
|
203
|
-
http_version:
|
203
|
+
http_version:
|
204
204
|
recorded_at: Tue, 17 Sep 2013 17:07:41 GMT
|
205
|
-
- request:
|
205
|
+
- request:
|
206
206
|
method: get
|
207
207
|
uri: http://api.brightbox.dev/1.0/accounts
|
208
|
-
body:
|
208
|
+
body:
|
209
209
|
string: ""
|
210
|
-
headers:
|
211
|
-
User-Agent:
|
210
|
+
headers:
|
211
|
+
User-Agent:
|
212
212
|
- fog/1.15.0
|
213
|
-
Content-Type:
|
213
|
+
Content-Type:
|
214
214
|
- application/json
|
215
|
-
Authorization:
|
215
|
+
Authorization:
|
216
216
|
- "OAuth "
|
217
|
-
response:
|
218
|
-
status:
|
217
|
+
response:
|
218
|
+
status:
|
219
219
|
code: 401
|
220
|
-
message:
|
221
|
-
headers:
|
222
|
-
Date:
|
220
|
+
message:
|
221
|
+
headers:
|
222
|
+
Date:
|
223
223
|
- Tue, 17 Sep 2013 17:07:41 GMT
|
224
|
-
X-UA-Compatible:
|
224
|
+
X-UA-Compatible:
|
225
225
|
- IE=Edge
|
226
|
-
X-Request-Id:
|
226
|
+
X-Request-Id:
|
227
227
|
- 52754bc5b89e3922e3f0c8a40aac2f21
|
228
|
-
Content-Type:
|
228
|
+
Content-Type:
|
229
229
|
- application/json; charset=utf-8
|
230
|
-
X-Runtime:
|
230
|
+
X-Runtime:
|
231
231
|
- "0.017566"
|
232
|
-
WWW-Authenticate:
|
232
|
+
WWW-Authenticate:
|
233
233
|
- OAuth error="invalid_token"
|
234
|
-
Connection:
|
234
|
+
Connection:
|
235
235
|
- close
|
236
|
-
Cache-Control:
|
236
|
+
Cache-Control:
|
237
237
|
- no-cache
|
238
|
-
body:
|
238
|
+
body:
|
239
239
|
string: "{\"error\":\"invalid_token\",\"error_description\":\"The OAuth token can not be found\"}"
|
240
|
-
http_version:
|
240
|
+
http_version:
|
241
241
|
recorded_at: Tue, 17 Sep 2013 17:07:41 GMT
|
242
|
-
- request:
|
242
|
+
- request:
|
243
243
|
method: post
|
244
244
|
uri: http://api.brightbox.dev/token
|
245
|
-
body:
|
245
|
+
body:
|
246
246
|
string: "{\"client_id\":\"cli-12345\",\"grant_type\":\"none\"}"
|
247
|
-
headers:
|
248
|
-
User-Agent:
|
247
|
+
headers:
|
248
|
+
User-Agent:
|
249
249
|
- fog/1.15.0
|
250
|
-
Content-Type:
|
250
|
+
Content-Type:
|
251
251
|
- application/json
|
252
|
-
Authorization:
|
252
|
+
Authorization:
|
253
253
|
- Basic Y2xpLTEyMzQ1Ondyb25nX3Bhc3N3b3Jk
|
254
|
-
response:
|
255
|
-
status:
|
254
|
+
response:
|
255
|
+
status:
|
256
256
|
code: 401
|
257
|
-
message:
|
258
|
-
headers:
|
259
|
-
X-Frame-Options:
|
257
|
+
message:
|
258
|
+
headers:
|
259
|
+
X-Frame-Options:
|
260
260
|
- sameorigin
|
261
|
-
Date:
|
261
|
+
Date:
|
262
262
|
- Fri, 27 Sep 2013 15:26:10 GMT
|
263
|
-
X-UA-Compatible:
|
263
|
+
X-UA-Compatible:
|
264
264
|
- IE=Edge
|
265
|
-
X-Request-Id:
|
265
|
+
X-Request-Id:
|
266
266
|
- fbb0fcb6f0941048b39f84f83b7ea9db
|
267
|
-
Content-Type:
|
267
|
+
Content-Type:
|
268
268
|
- application/json;charset=utf-8
|
269
|
-
X-Runtime:
|
269
|
+
X-Runtime:
|
270
270
|
- "0.103444"
|
271
|
-
Content-Length:
|
271
|
+
Content-Length:
|
272
272
|
- "26"
|
273
|
-
X-XSS-Protection:
|
273
|
+
X-XSS-Protection:
|
274
274
|
- 1; mode=block
|
275
|
-
WWW-Authenticate:
|
275
|
+
WWW-Authenticate:
|
276
276
|
- Basic realm="api.gb1.brightbox.com"
|
277
|
-
Connection:
|
277
|
+
Connection:
|
278
278
|
- keep-alive
|
279
|
-
Cache-Control:
|
279
|
+
Cache-Control:
|
280
280
|
- no-store
|
281
|
-
body:
|
281
|
+
body:
|
282
282
|
string: "{\"error\":\"invalid_client\"}"
|
283
|
-
http_version:
|
283
|
+
http_version:
|
284
284
|
recorded_at: Fri, 27 Sep 2013 15:26:10 GMT
|
285
|
-
- request:
|
285
|
+
- request:
|
286
286
|
method: post
|
287
287
|
uri: http://api.brightbox.dev/token
|
288
|
-
body:
|
288
|
+
body:
|
289
289
|
string: "{\"client_id\":\"cli-12345\",\"grant_type\":\"none\"}"
|
290
|
-
headers:
|
291
|
-
User-Agent:
|
290
|
+
headers:
|
291
|
+
User-Agent:
|
292
292
|
- fog/1.15.0
|
293
|
-
Content-Type:
|
293
|
+
Content-Type:
|
294
294
|
- application/json
|
295
|
-
Authorization:
|
295
|
+
Authorization:
|
296
296
|
- Basic Y2xpLTEyMzQ1Ondyb25nX3Bhc3N3b3Jk
|
297
|
-
response:
|
298
|
-
status:
|
297
|
+
response:
|
298
|
+
status:
|
299
299
|
code: 401
|
300
|
-
message:
|
301
|
-
headers:
|
302
|
-
X-Frame-Options:
|
300
|
+
message:
|
301
|
+
headers:
|
302
|
+
X-Frame-Options:
|
303
303
|
- sameorigin
|
304
|
-
Date:
|
304
|
+
Date:
|
305
305
|
- Fri, 27 Sep 2013 15:26:10 GMT
|
306
|
-
X-UA-Compatible:
|
306
|
+
X-UA-Compatible:
|
307
307
|
- IE=Edge
|
308
|
-
X-Request-Id:
|
308
|
+
X-Request-Id:
|
309
309
|
- f8814ba0125e85f0f6537467dcf70697
|
310
|
-
Content-Type:
|
310
|
+
Content-Type:
|
311
311
|
- application/json;charset=utf-8
|
312
|
-
X-Runtime:
|
312
|
+
X-Runtime:
|
313
313
|
- "0.121936"
|
314
|
-
Content-Length:
|
314
|
+
Content-Length:
|
315
315
|
- "26"
|
316
|
-
X-XSS-Protection:
|
316
|
+
X-XSS-Protection:
|
317
317
|
- 1; mode=block
|
318
|
-
WWW-Authenticate:
|
318
|
+
WWW-Authenticate:
|
319
319
|
- Basic realm="api.gb1.brightbox.com"
|
320
|
-
Connection:
|
320
|
+
Connection:
|
321
321
|
- keep-alive
|
322
|
-
Cache-Control:
|
322
|
+
Cache-Control:
|
323
323
|
- no-store
|
324
|
-
body:
|
324
|
+
body:
|
325
325
|
string: "{\"error\":\"invalid_client\"}"
|
326
|
-
http_version:
|
326
|
+
http_version:
|
327
327
|
recorded_at: Fri, 27 Sep 2013 15:26:10 GMT
|