ruby-trello 2.2.0 → 3.1.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +63 -10
- data/lib/trello/action.rb +31 -23
- data/lib/trello/association_builder/has_many.rb +17 -0
- data/lib/trello/association_builder/has_one.rb +16 -0
- data/lib/trello/association_fetcher/has_many/fetch.rb +47 -0
- data/lib/trello/association_fetcher/has_many/params.rb +56 -0
- data/lib/trello/association_fetcher/has_many.rb +26 -0
- data/lib/trello/association_fetcher/has_one/fetch.rb +49 -0
- data/lib/trello/association_fetcher/has_one/params.rb +36 -0
- data/lib/trello/association_fetcher/has_one.rb +25 -0
- data/lib/trello/association_infer_tool.rb +13 -0
- data/lib/trello/association_proxy.rb +1 -1
- data/lib/trello/attachment.rb +40 -27
- data/lib/trello/basic_data.rb +103 -49
- data/lib/trello/board.rb +88 -102
- data/lib/trello/card.rb +49 -198
- data/lib/trello/checklist.rb +17 -71
- data/lib/trello/comment.rb +39 -26
- data/lib/trello/cover_image.rb +20 -0
- data/lib/trello/custom_field.rb +31 -67
- data/lib/trello/custom_field_item.rb +37 -39
- data/lib/trello/custom_field_option.rb +40 -13
- data/lib/trello/item.rb +27 -16
- data/lib/trello/item_state.rb +7 -15
- data/lib/trello/json_utils.rb +1 -1
- data/lib/trello/label.rb +15 -85
- data/lib/trello/label_name.rb +22 -25
- data/lib/trello/list.rb +31 -44
- data/lib/trello/member.rb +77 -32
- data/lib/trello/notification.rb +27 -20
- data/lib/trello/organization.rb +53 -25
- data/lib/trello/plugin_datum.rb +11 -16
- data/lib/trello/schema/attribute/base.rb +79 -0
- data/lib/trello/schema/attribute/board_pref.rb +45 -0
- data/lib/trello/schema/attribute/custom_field_display.rb +45 -0
- data/lib/trello/schema/attribute/default.rb +45 -0
- data/lib/trello/schema/attribute_builder.rb +42 -0
- data/lib/trello/schema/attribute_registration.rb +47 -0
- data/lib/trello/schema/serializer/default.rb +17 -0
- data/lib/trello/schema/serializer/labels.rb +23 -0
- data/lib/trello/schema/serializer/time.rb +25 -0
- data/lib/trello/schema/serializer/webhooks.rb +25 -0
- data/lib/trello/schema.rb +31 -0
- data/lib/trello/token.rb +15 -12
- data/lib/trello/webhook.rb +18 -71
- data/lib/trello.rb +57 -39
- data/spec/action_spec.rb +2 -3
- data/spec/board_spec.rb +43 -103
- data/spec/card_spec.rb +143 -66
- data/spec/cassettes/action_find_with_id_and_get_all_fields.yml +104 -0
- data/spec/cassettes/board_find_with_id_and_get_all_fields.yml +96 -0
- data/spec/cassettes/board_find_with_id_and_get_specific_fields.yml +96 -0
- data/spec/cassettes/can_add_a_file_from_url_on_a_card.yml +189 -0
- data/spec/cassettes/can_add_a_file_on_a_card.yml +200 -0
- data/spec/cassettes/can_add_a_member_to_a_board.yml +191 -0
- data/spec/cassettes/can_add_a_member_to_a_card.yml +190 -0
- data/spec/cassettes/can_add_label_on_a_card.yml +281 -0
- data/spec/cassettes/can_arvhice_all_cards_of_list.yml +397 -0
- data/spec/cassettes/can_close_bong_a_card.yml +189 -0
- data/spec/cassettes/can_get_actions.yml +196 -0
- data/spec/cassettes/can_get_actions_of_board.yml +188 -0
- data/spec/cassettes/can_get_actions_of_list.yml +202 -0
- data/spec/cassettes/can_get_actions_of_members.yml +199 -0
- data/spec/cassettes/can_get_actions_of_organization.yml +201 -0
- data/spec/cassettes/can_get_attachments.yml +187 -0
- data/spec/cassettes/can_get_boards_of_custom_field.yml +198 -0
- data/spec/cassettes/can_get_boards_of_label.yml +197 -0
- data/spec/cassettes/can_get_boards_of_organization.yml +207 -0
- data/spec/cassettes/can_get_cards_of_board.yml +193 -0
- data/spec/cassettes/can_get_cards_of_list.yml +201 -0
- data/spec/cassettes/can_get_cards_of_member.yml +204 -0
- data/spec/cassettes/can_get_checklists_of_board.yml +187 -0
- data/spec/cassettes/can_get_comments.yml +193 -0
- data/spec/cassettes/can_get_comments_board.yml +109 -0
- data/spec/cassettes/can_get_comments_card.yml +111 -0
- data/spec/cassettes/can_get_comments_list.yml +109 -0
- data/spec/cassettes/can_get_custom_field_options_of_custom_field.yml +197 -0
- data/spec/cassettes/can_get_custom_fields_of_board.yml +187 -0
- data/spec/cassettes/can_get_label_names_of_board.yml +187 -0
- data/spec/cassettes/can_get_labels_of_board.yml +187 -0
- data/spec/cassettes/can_get_lists_of_board.yml +187 -0
- data/spec/cassettes/can_get_members_of_board.yml +188 -0
- data/spec/cassettes/can_get_members_of_organization.yml +200 -0
- data/spec/cassettes/can_get_notifications_of_member.yml +199 -0
- data/spec/cassettes/can_get_organization_of_board.yml +189 -0
- data/spec/cassettes/can_get_organizations_of_member.yml +203 -0
- data/spec/cassettes/can_get_plugin_data_of_board.yml +187 -0
- data/spec/cassettes/can_move_a_card_to_another_board_with_specific_list.yml +373 -0
- data/spec/cassettes/can_move_a_card_to_another_board_without_specific_list.yml +281 -0
- data/spec/cassettes/can_move_a_card_to_another_list.yml +281 -0
- data/spec/cassettes/can_move_all_cards_to_another_list.yml +886 -0
- data/spec/cassettes/can_remove_a_member_from_a_card.yml +185 -0
- data/spec/cassettes/can_remove_an_attachment_on_a_card.yml +277 -0
- data/spec/cassettes/can_remove_an_upvote_on_a_card.yml +465 -0
- data/spec/cassettes/can_remove_label_on_a_card.yml +279 -0
- data/spec/cassettes/can_success_add_comment_to_a_card.yml +196 -0
- data/spec/cassettes/can_success_copy_checklist_to_a_card.yml +281 -0
- data/spec/cassettes/can_success_copy_checklist_to_a_card_without_name_pos.yml +281 -0
- data/spec/cassettes/can_success_create_a_board.yml +98 -0
- data/spec/cassettes/can_success_create_a_board_with_full_parameters.yml +97 -0
- data/spec/cassettes/can_success_create_a_board_without_clone_from_other.yml +98 -0
- data/spec/cassettes/can_success_create_a_card.yml +99 -0
- data/spec/cassettes/can_success_create_a_card_when_due_is_datetime.yml +98 -0
- data/spec/cassettes/can_success_create_a_card_when_due_is_time.yml +98 -0
- data/spec/cassettes/can_success_create_a_checklist.yml +102 -0
- data/spec/cassettes/can_success_create_a_custom_field.yml +102 -0
- data/spec/cassettes/can_success_create_a_custom_field_option.yml +102 -0
- data/spec/cassettes/can_success_create_a_label.yml +102 -0
- data/spec/cassettes/can_success_create_a_list.yml +102 -0
- data/spec/cassettes/can_success_create_a_list_with_full_parameters.yml +102 -0
- data/spec/cassettes/can_success_create_a_organization.yml +104 -0
- data/spec/cassettes/can_success_create_a_webhook.yml +102 -0
- data/spec/cassettes/can_success_create_new_checklist_to_a_card.yml +189 -0
- data/spec/cassettes/can_success_delete_a_custom_field_option.yml +389 -0
- data/spec/cassettes/can_success_delete_card.yml +185 -0
- data/spec/cassettes/can_success_delete_checklist.yml +284 -0
- data/spec/cassettes/can_success_get_card_of_board_by_card_id.yml +188 -0
- data/spec/cassettes/can_success_remove_member_from_board.yml +186 -0
- data/spec/cassettes/can_success_return_all_boards_of_current_user.yml +195 -0
- data/spec/cassettes/can_success_upate_a_board.yml +191 -0
- data/spec/cassettes/can_success_upate_a_card.yml +189 -0
- data/spec/cassettes/can_success_upate_a_list.yml +296 -0
- data/spec/cassettes/can_success_update_bong_a_board.yml +283 -0
- data/spec/cassettes/can_success_update_bong_a_board_with_specific_fields.yml +284 -0
- data/spec/cassettes/can_success_update_bong_a_card.yml +191 -0
- data/spec/cassettes/can_success_update_bong_a_checklist_with_specific_fields.yml +296 -0
- data/spec/cassettes/can_success_update_bong_a_custom_field.yml +200 -0
- data/spec/cassettes/can_success_update_bong_a_label.yml +200 -0
- data/spec/cassettes/can_success_update_bong_a_list.yml +199 -0
- data/spec/cassettes/can_success_update_bong_a_list_with_specific_fields.yml +296 -0
- data/spec/cassettes/can_success_update_bong_a_organization.yml +203 -0
- data/spec/cassettes/can_success_update_bong_a_webhook.yml +296 -0
- data/spec/cassettes/can_upvote_on_a_card.yml +469 -0
- data/spec/cassettes/card_find_with_id_and_get_all_fields.yml +95 -0
- data/spec/cassettes/card_find_with_id_and_get_specific_fields.yml +96 -0
- data/spec/cassettes/checklist_can_add_an_item.yml +296 -0
- data/spec/cassettes/checklist_can_update_the_item_state.yml +296 -0
- data/spec/cassettes/checklist_find_with_id_and_get_all_fields.yml +100 -0
- data/spec/cassettes/comment_delete.yml +331 -0
- data/spec/cassettes/comment_find_with_id.yml +116 -0
- data/spec/cassettes/custom_field_find_with_id_and_get_all_fields.yml +100 -0
- data/spec/cassettes/custom_field_find_with_id_and_get_specific_fields.yml +100 -0
- data/spec/cassettes/custom_field_item_save_1.yml +97 -0
- data/spec/cassettes/custom_field_item_save_2.yml +281 -0
- data/spec/cassettes/custom_field_option_find_with_id.yml +100 -0
- data/spec/cassettes/get_board_of_card.yml +187 -0
- data/spec/cassettes/get_board_of_list.yml +197 -0
- data/spec/cassettes/get_boards_of_member.yml +207 -0
- data/spec/cassettes/get_check_item_states_of_card.yml +188 -0
- data/spec/cassettes/get_checklists_of_card.yml +187 -0
- data/spec/cassettes/get_cover_image_of_card.yml +187 -0
- data/spec/cassettes/get_custom_field_items_of_card.yml +187 -0
- data/spec/cassettes/get_list_of_card.yml +188 -0
- data/spec/cassettes/get_lists.yml +187 -0
- data/spec/cassettes/get_members_of_card.yml +189 -0
- data/spec/cassettes/get_plugin_data_of_card.yml +187 -0
- data/spec/cassettes/get_voters_of_card.yml +188 -0
- data/spec/cassettes/label_delete.yml +285 -0
- data/spec/cassettes/label_find_with_id.yml +100 -0
- data/spec/cassettes/list_find_with_id_and_get_all_fields.yml +100 -0
- data/spec/cassettes/list_find_with_id_and_get_specific_fields.yml +100 -0
- data/spec/cassettes/member_find_with_id_and_get_all_fields.yml +101 -0
- data/spec/cassettes/member_find_with_id_and_get_specific_fields.yml +100 -0
- data/spec/cassettes/notification_find_with_id.yml +103 -0
- data/spec/cassettes/organization_find_with_id_and_get_all_fields.yml +102 -0
- data/spec/cassettes/organization_find_with_id_and_get_specific_fields.yml +100 -0
- data/spec/cassettes/remove_upvote_on_a_card_when_have_not_voted.yml +366 -0
- data/spec/cassettes/revote_on_a_card.yml +464 -0
- data/spec/cassettes/token_find_with_token_string.yml +100 -0
- data/spec/cassettes/webhook_delete.yml +286 -0
- data/spec/cassettes/webhook_find_with_id.yml +100 -0
- data/spec/checklist_spec.rb +27 -43
- data/spec/custom_field_item_spec.rb +74 -0
- data/spec/custom_field_option_spec.rb +2 -2
- data/spec/custom_field_spec.rb +98 -10
- data/spec/integration/action/find_spec.rb +23 -0
- data/spec/integration/basic_data/many_spec.rb +127 -0
- data/spec/integration/basic_data/one_spec.rb +84 -0
- data/spec/integration/basic_data/schema_spec.rb +156 -0
- data/spec/integration/board/add_member_spec.rb +21 -0
- data/spec/integration/board/all_spec.rb +20 -0
- data/spec/integration/board/associations/actions_spec.rb +18 -0
- data/spec/integration/board/associations/cards_spec.rb +18 -0
- data/spec/integration/board/associations/checklists_spec.rb +18 -0
- data/spec/integration/board/associations/custom_fields_spec.rb +18 -0
- data/spec/integration/board/associations/label_names_spec.rb +17 -0
- data/spec/integration/board/associations/labels_spec.rb +18 -0
- data/spec/integration/board/associations/lists_spec.rb +18 -0
- data/spec/integration/board/associations/members_spec.rb +18 -0
- data/spec/integration/board/associations/organization_spec.rb +19 -0
- data/spec/integration/board/associations/plugin_data_spec.rb +18 -0
- data/spec/integration/board/create_spec.rb +95 -0
- data/spec/integration/board/find_card_spec.rb +18 -0
- data/spec/integration/board/find_spec.rb +42 -0
- data/spec/integration/board/remove_member_spec.rb +21 -0
- data/spec/integration/board/save_spec.rb +37 -0
- data/spec/integration/board/update!_spec.rb +62 -0
- data/spec/integration/board_lists_spec.rb +21 -0
- data/spec/integration/card/add_and_remove_attachment_spec.rb +45 -0
- data/spec/integration/card/add_and_remove_label_spec.rb +35 -0
- data/spec/integration/card/add_checklist_spec.rb +32 -0
- data/spec/integration/card/add_comment_spec.rb +19 -0
- data/spec/integration/card/add_memeber_spec.rb +19 -0
- data/spec/integration/card/associations/actions_spec.rb +17 -0
- data/spec/integration/card/associations/attachments_spec.rb +18 -0
- data/spec/integration/card/associations/board_spec.rb +17 -0
- data/spec/integration/card/associations/check_item_states_spec.rb +17 -0
- data/spec/integration/card/associations/checklists_spec.rb +18 -0
- data/spec/integration/card/associations/comments_spec.rb +19 -0
- data/spec/integration/card/associations/cover_image_spec.rb +18 -0
- data/spec/integration/card/associations/custom_field_items_spec.rb +18 -0
- data/spec/integration/card/associations/list_spec.rb +16 -0
- data/spec/integration/card/associations/members_spec.rb +18 -0
- data/spec/integration/card/associations/plugin_data_spec.rb +18 -0
- data/spec/integration/card/associations/voters_spec.rb +17 -0
- data/spec/integration/card/close!_spec.rb +16 -0
- data/spec/integration/card/create_new_check_list_spec.rb +19 -0
- data/spec/integration/card/create_spec.rb +84 -0
- data/spec/integration/card/delete_spec.rb +16 -0
- data/spec/integration/card/find_spec.rb +67 -0
- data/spec/integration/card/move_to_board_spec.rb +36 -0
- data/spec/integration/card/move_to_list_spec.rb +20 -0
- data/spec/integration/card/remove_member_spec.rb +19 -0
- data/spec/integration/card/save_spec.rb +61 -0
- data/spec/integration/card/update!_spec.rb +53 -0
- data/spec/integration/card/vote_spec.rb +50 -0
- data/spec/integration/checklist/add_item_spec.rb +20 -0
- data/spec/integration/checklist/create_spec.rb +23 -0
- data/spec/integration/checklist/delete_spec.rb +17 -0
- data/spec/integration/checklist/find_spec.rb +22 -0
- data/spec/integration/checklist/update!_spec.rb +21 -0
- data/spec/integration/checklist/update_item_state_spec.rb +20 -0
- data/spec/integration/comment/association/board_spec.rb +17 -0
- data/spec/integration/comment/association/card_spec.rb +17 -0
- data/spec/integration/comment/association/list_spec.rb +17 -0
- data/spec/integration/comment/delete_spec.rb +20 -0
- data/spec/integration/comment/find_spec.rb +17 -0
- data/spec/integration/custom_field/association/board_spec.rb +18 -0
- data/spec/integration/custom_field/association/custom_field_options_spec.rb +18 -0
- data/spec/integration/custom_field/create_spec.rb +29 -0
- data/spec/integration/custom_field/find_spec.rb +41 -0
- data/spec/integration/custom_field/update!_spec.rb +25 -0
- data/spec/integration/custom_field_item_spec.rb +47 -0
- data/spec/integration/custom_field_option/create_spec.rb +23 -0
- data/spec/integration/custom_field_option/delete_spec.rb +19 -0
- data/spec/integration/custom_field_option/find_spec.rb +21 -0
- data/spec/integration/label/association/board_spec.rb +18 -0
- data/spec/integration/label/create_spec.rb +23 -0
- data/spec/integration/label/delete_spec.rb +21 -0
- data/spec/integration/label/find_spec.rb +20 -0
- data/spec/integration/label/update!_spec.rb +25 -0
- data/spec/integration/list/archive_all_cards_spec.rb +20 -0
- data/spec/integration/list/associations/actions_spec.rb +18 -0
- data/spec/integration/list/associations/board_spec.rb +18 -0
- data/spec/integration/list/associations/cards_spec.rb +18 -0
- data/spec/integration/list/create_spec.rb +44 -0
- data/spec/integration/list/find_spec.rb +37 -0
- data/spec/integration/list/move_all_cards_spec.rb +31 -0
- data/spec/integration/list/save_spec.rb +40 -0
- data/spec/integration/list/update!_spec.rb +43 -0
- data/spec/integration/member/associations/actions_spec.rb +17 -0
- data/spec/integration/member/associations/boards_spec.rb +18 -0
- data/spec/integration/member/associations/cards_spec.rb +18 -0
- data/spec/integration/member/associations/notifications_spec.rb +18 -0
- data/spec/integration/member/associations/organizations_spec.rb +18 -0
- data/spec/integration/member/find_spec.rb +39 -0
- data/spec/integration/member/update!_spec.rb +18 -0
- data/spec/integration/notification/find_spec.rb +27 -0
- data/spec/integration/organization/associations/actions_spec.rb +18 -0
- data/spec/integration/organization/associations/boards_spec.rb +18 -0
- data/spec/integration/organization/associations/members_spec.rb +18 -0
- data/spec/integration/organization/create_spec.rb +23 -0
- data/spec/integration/organization/find_spec.rb +37 -0
- data/spec/integration/organization/update!_spec.rb +28 -0
- data/spec/integration/token/find_spec.rb +24 -0
- data/spec/integration/webhook/create_spec.rb +27 -0
- data/spec/integration/webhook/delete_spec.rb +21 -0
- data/spec/integration/webhook/find_spec.rb +22 -0
- data/spec/integration/webhook/update!_spec.rb +24 -0
- data/spec/item_spec.rb +2 -2
- data/spec/label_spec.rb +105 -28
- data/spec/list_spec.rb +32 -14
- data/spec/notification_spec.rb +3 -3
- data/spec/organization_spec.rb +6 -5
- data/spec/spec_helper.rb +70 -37
- data/spec/token_spec.rb +10 -11
- data/spec/unit/trello/association_builder/has_many_spec.rb +36 -0
- data/spec/unit/trello/association_builder/has_one_spec.rb +36 -0
- data/spec/unit/trello/association_fetcher/has_many/fetch_spec.rb +38 -0
- data/spec/unit/trello/association_fetcher/has_many/params_spec.rb +107 -0
- data/spec/unit/trello/association_fetcher/has_many_spec.rb +50 -0
- data/spec/unit/trello/association_fetcher/has_one/fetch_spec.rb +51 -0
- data/spec/unit/trello/association_fetcher/has_one/params_spec.rb +81 -0
- data/spec/unit/trello/association_fetcher/has_one_spec.rb +49 -0
- data/spec/unit/trello/association_infer_tool_spec.rb +41 -0
- data/spec/unit/trello/basic_data_spec.rb +113 -0
- data/spec/unit/trello/board/new_spec.rb +370 -0
- data/spec/unit/trello/board/save_spec.rb +49 -0
- data/spec/unit/trello/board/update_fields_spec.rb +129 -0
- data/spec/unit/trello/board/update_spec.rb +197 -0
- data/spec/unit/trello/card_spec.rb +103 -0
- data/spec/unit/trello/member/new_spec.rb +62 -0
- data/spec/unit/trello/member/update_fields_spec.rb +80 -0
- data/spec/unit/trello/schema/attribute/base_spec.rb +349 -0
- data/spec/unit/trello/schema/attribute/board_pref_spec.rb +208 -0
- data/spec/unit/trello/schema/attribute/default_spec.rb +236 -0
- data/spec/unit/trello/schema/attribute_builder_spec.rb +55 -0
- data/spec/unit/trello/schema/attribute_registration_spec.rb +59 -0
- data/spec/unit/trello/schema/serializer/default_spec.rb +19 -0
- data/spec/unit/trello/schema/serializer/time_spec.rb +39 -0
- data/spec/unit/trello/schema_spec.rb +25 -0
- data/spec/webhook_spec.rb +23 -7
- metadata +556 -33
@@ -0,0 +1,199 @@
|
|
1
|
+
---
|
2
|
+
http_interactions:
|
3
|
+
- request:
|
4
|
+
method: get
|
5
|
+
uri: https://api.trello.com/1/members/hoppertest?key=DEVELOPER_PUBLIC_KEY&token=MEMBER_TOKEN
|
6
|
+
body:
|
7
|
+
encoding: US-ASCII
|
8
|
+
string: ''
|
9
|
+
headers:
|
10
|
+
Accept:
|
11
|
+
- "*/*"
|
12
|
+
User-Agent:
|
13
|
+
- rest-client/2.1.0 (linux-gnu x86_64) ruby/2.6.6p146
|
14
|
+
Accept-Encoding:
|
15
|
+
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
16
|
+
Host:
|
17
|
+
- api.trello.com
|
18
|
+
response:
|
19
|
+
status:
|
20
|
+
code: 200
|
21
|
+
message: OK
|
22
|
+
headers:
|
23
|
+
X-Dns-Prefetch-Control:
|
24
|
+
- 'off'
|
25
|
+
X-Frame-Options:
|
26
|
+
- DENY
|
27
|
+
X-Download-Options:
|
28
|
+
- noopen
|
29
|
+
Referrer-Policy:
|
30
|
+
- strict-origin-when-cross-origin
|
31
|
+
Surrogate-Control:
|
32
|
+
- no-store
|
33
|
+
Cache-Control:
|
34
|
+
- max-age=0, must-revalidate, no-cache, no-store
|
35
|
+
Pragma:
|
36
|
+
- no-cache
|
37
|
+
Expires:
|
38
|
+
- Thu, 01 Jan 1970 00:00:00
|
39
|
+
X-Trello-Version:
|
40
|
+
- 1.2192.0
|
41
|
+
X-Trello-Environment:
|
42
|
+
- Production
|
43
|
+
Set-Cookie:
|
44
|
+
- dsc=set_cookie_dsc; Path=/; Expires=Sun, 23 Aug 2020 13:43:12 GMT; Secure
|
45
|
+
Access-Control-Allow-Origin:
|
46
|
+
- "*"
|
47
|
+
Access-Control-Allow-Methods:
|
48
|
+
- GET, PUT, POST, DELETE
|
49
|
+
Access-Control-Allow-Headers:
|
50
|
+
- Authorization, Accept, Content-Type
|
51
|
+
Access-Control-Expose-Headers:
|
52
|
+
- x-rate-limit-api-key-interval-ms, x-rate-limit-api-key-max, x-rate-limit-api-key-remaining,
|
53
|
+
x-rate-limit-api-token-interval-ms, x-rate-limit-api-token-max, x-rate-limit-api-token-remaining
|
54
|
+
X-Rate-Limit-Api-Key-Interval-Ms:
|
55
|
+
- '10000'
|
56
|
+
X-Rate-Limit-Api-Key-Max:
|
57
|
+
- '300'
|
58
|
+
X-Rate-Limit-Api-Key-Remaining:
|
59
|
+
- '299'
|
60
|
+
X-Rate-Limit-Api-Token-Interval-Ms:
|
61
|
+
- '10000'
|
62
|
+
X-Rate-Limit-Api-Token-Max:
|
63
|
+
- '100'
|
64
|
+
X-Rate-Limit-Api-Token-Remaining:
|
65
|
+
- '99'
|
66
|
+
X-Rate-Limit-Member-Interval-Ms:
|
67
|
+
- '10000'
|
68
|
+
X-Rate-Limit-Member-Max:
|
69
|
+
- '200'
|
70
|
+
X-Rate-Limit-Member-Remaining:
|
71
|
+
- '199'
|
72
|
+
X-Server-Time:
|
73
|
+
- '1597930992069'
|
74
|
+
Content-Type:
|
75
|
+
- application/json; charset=utf-8
|
76
|
+
Date:
|
77
|
+
- Thu, 20 Aug 2020 13:43:11 GMT
|
78
|
+
X-Envoy-Upstream-Service-Time:
|
79
|
+
- '89'
|
80
|
+
Expect-Ct:
|
81
|
+
- report-uri="https://web-security-reports.services.atlassian.com/expect-ct-report/trello-edge",
|
82
|
+
max-age=86400
|
83
|
+
X-Logging-Id:
|
84
|
+
- 7a01fdce-4547-49f0-9059-3b05dad7c9ba
|
85
|
+
Strict-Transport-Security:
|
86
|
+
- max-age=63072000; preload
|
87
|
+
X-Content-Type-Options:
|
88
|
+
- nosniff
|
89
|
+
X-Xss-Protection:
|
90
|
+
- 1; mode=block
|
91
|
+
Server:
|
92
|
+
- globaledge-envoy
|
93
|
+
Transfer-Encoding:
|
94
|
+
- chunked
|
95
|
+
body:
|
96
|
+
encoding: ASCII-8BIT
|
97
|
+
string: '{"id":"5e679b808e6e8828784b30e1","bio":"ab","bioData":{"emoji":{}},"confirmed":true,"memberType":"normal","username":"hoppertest","aaId":"5e679b1f84dcfc0cf391264e","activityBlocked":false,"avatarHash":null,"avatarUrl":null,"fullName":"Hopper
|
98
|
+
Test","idEnterprise":null,"idEnterprisesDeactivated":[],"idMemberReferrer":null,"idPremOrgsAdmin":[],"initials":"HT","nonPublic":{},"nonPublicAvailable":true,"products":[],"url":"https://trello.com/hoppertest","status":"disconnected","aaBlockSyncUntil":null,"aaEmail":null,"aaEnrolledDate":null,"avatarSource":"none","credentialsRemovedCount":0,"domainClaimed":null,"email":"jx4554+test@gmail.com","gravatarHash":"18853624ee4456423b9dbeb0c30559c5","idBoards":["5e679be40c407034b479459c","5e70f5bed3f34a49e2f11409","5e93ba403f1ab3603ba81a09","5e93ba98614ac22d22f085c4","5e94eaf386374970d06e4c89","5e94ee7357ac8a3edc2b2145","5e94f5ded016b22c2437c13c","5ec7e46414a49e3f65847c27","5ee65e305081b1306530df45","5ee65e31325f0d0a10726e6e","5ee65f5fa64d6f2a7aee514c"],"idOrganizations":["5e93ba154634282b6df23bcc","5eb427016b5a464a74803f1c"],"idEnterprisesAdmin":[],"loginTypes":["atlassian"],"marketingOptIn":{"optedIn":true,"date":"2020-03-10T13:52:08.829Z"},"messagesDismissed":[{"_id":"5e93ba17f0caa581d8856a95","name":"team-join-cta-banner-5e93ba154634282b6df23bcc","count":1,"lastDismissed":"2020-04-13T01:02:15.807Z"},{"_id":"5eb4270e982a411bcc25991e","name":"team-join-cta-banner-5eb427016b5a464a74803f1c","count":1,"lastDismissed":"2020-05-07T15:19:42.837Z"}],"oneTimeMessagesDismissed":["create-first-board","close-menu-of-first-board","board-background-prompt","team-template-picker-5e93ba154634282b6df23bcc","your-items-on-home","ad-bc-prompt-upgrade-board-more-collection"],"prefs":{"privacy":{"fullName":"public","avatar":"public"},"sendSummaries":true,"minutesBetweenSummaries":60,"minutesBeforeDeadlineToNotify":1440,"colorBlind":false,"locale":"en-US"},"trophies":[],"uploadedAvatarHash":null,"uploadedAvatarUrl":null,"premiumFeatures":[],"isAaMastered":true,"siftDecision":null,"ixUpdate":"481","limits":{"boards":{"totalPerMember":{"status":"ok","disableAt":4500,"warnAt":4050}},"orgs":{"totalPerMember":{"status":"ok","disableAt":850,"warnAt":765}}}}'
|
99
|
+
http_version: null
|
100
|
+
recorded_at: Thu, 20 Aug 2020 13:43:12 GMT
|
101
|
+
- request:
|
102
|
+
method: get
|
103
|
+
uri: https://api.trello.com/1/members/5e679b808e6e8828784b30e1/notifications?key=DEVELOPER_PUBLIC_KEY&token=MEMBER_TOKEN
|
104
|
+
body:
|
105
|
+
encoding: US-ASCII
|
106
|
+
string: ''
|
107
|
+
headers:
|
108
|
+
Accept:
|
109
|
+
- "*/*"
|
110
|
+
User-Agent:
|
111
|
+
- rest-client/2.1.0 (linux-gnu x86_64) ruby/2.6.6p146
|
112
|
+
Accept-Encoding:
|
113
|
+
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
114
|
+
Host:
|
115
|
+
- api.trello.com
|
116
|
+
response:
|
117
|
+
status:
|
118
|
+
code: 200
|
119
|
+
message: OK
|
120
|
+
headers:
|
121
|
+
X-Dns-Prefetch-Control:
|
122
|
+
- 'off'
|
123
|
+
X-Frame-Options:
|
124
|
+
- DENY
|
125
|
+
X-Download-Options:
|
126
|
+
- noopen
|
127
|
+
Referrer-Policy:
|
128
|
+
- strict-origin-when-cross-origin
|
129
|
+
Surrogate-Control:
|
130
|
+
- no-store
|
131
|
+
Cache-Control:
|
132
|
+
- max-age=0, must-revalidate, no-cache, no-store
|
133
|
+
Pragma:
|
134
|
+
- no-cache
|
135
|
+
Expires:
|
136
|
+
- Thu, 01 Jan 1970 00:00:00
|
137
|
+
X-Trello-Version:
|
138
|
+
- 1.2192.0
|
139
|
+
X-Trello-Environment:
|
140
|
+
- Production
|
141
|
+
Set-Cookie:
|
142
|
+
- dsc=set_cookie_dsc; Path=/; Expires=Sun, 23 Aug 2020 13:43:12 GMT; Secure
|
143
|
+
Access-Control-Allow-Origin:
|
144
|
+
- "*"
|
145
|
+
Access-Control-Allow-Methods:
|
146
|
+
- GET, PUT, POST, DELETE
|
147
|
+
Access-Control-Allow-Headers:
|
148
|
+
- Authorization, Accept, Content-Type
|
149
|
+
Access-Control-Expose-Headers:
|
150
|
+
- x-rate-limit-api-key-interval-ms, x-rate-limit-api-key-max, x-rate-limit-api-key-remaining,
|
151
|
+
x-rate-limit-api-token-interval-ms, x-rate-limit-api-token-max, x-rate-limit-api-token-remaining
|
152
|
+
X-Rate-Limit-Api-Key-Interval-Ms:
|
153
|
+
- '10000'
|
154
|
+
X-Rate-Limit-Api-Key-Max:
|
155
|
+
- '300'
|
156
|
+
X-Rate-Limit-Api-Key-Remaining:
|
157
|
+
- '298'
|
158
|
+
X-Rate-Limit-Api-Token-Interval-Ms:
|
159
|
+
- '10000'
|
160
|
+
X-Rate-Limit-Api-Token-Max:
|
161
|
+
- '100'
|
162
|
+
X-Rate-Limit-Api-Token-Remaining:
|
163
|
+
- '98'
|
164
|
+
X-Rate-Limit-Member-Interval-Ms:
|
165
|
+
- '10000'
|
166
|
+
X-Rate-Limit-Member-Max:
|
167
|
+
- '200'
|
168
|
+
X-Rate-Limit-Member-Remaining:
|
169
|
+
- '198'
|
170
|
+
X-Server-Time:
|
171
|
+
- '1597930992718'
|
172
|
+
Content-Type:
|
173
|
+
- application/json; charset=utf-8
|
174
|
+
Date:
|
175
|
+
- Thu, 20 Aug 2020 13:43:12 GMT
|
176
|
+
X-Envoy-Upstream-Service-Time:
|
177
|
+
- '114'
|
178
|
+
Expect-Ct:
|
179
|
+
- report-uri="https://web-security-reports.services.atlassian.com/expect-ct-report/trello-edge",
|
180
|
+
max-age=86400
|
181
|
+
X-Logging-Id:
|
182
|
+
- 7a01fdce-4547-49f0-9059-3b05dad7c9ba
|
183
|
+
Strict-Transport-Security:
|
184
|
+
- max-age=63072000; preload
|
185
|
+
X-Content-Type-Options:
|
186
|
+
- nosniff
|
187
|
+
X-Xss-Protection:
|
188
|
+
- 1; mode=block
|
189
|
+
Server:
|
190
|
+
- globaledge-envoy
|
191
|
+
Transfer-Encoding:
|
192
|
+
- chunked
|
193
|
+
body:
|
194
|
+
encoding: ASCII-8BIT
|
195
|
+
string: !binary |-
|
196
|
+
W3siaWQiOiI1ZjI1YmY3NDBhNzdkOTc3ZTI2Mjc2OWQiLCJ0eXBlIjoiY29tbWVudENhcmQiLCJkYXRlIjoiMjAyMC0wOC0wMVQxOToxNjowMi4wMDBaIiwiZGF0YSI6eyJib2FyZCI6eyJpZCI6IjUzMzRhZTU5NzRmMjQyN2MzNGQ3ZmJjNyIsIm5hbWUiOiJTdGFydCBIZXJlIiwic2hvcnRMaW5rIjoiWGNOU3N0QkoifSwiY2FyZCI6eyJpZCI6IjUzMzc1OWM0YjFjZTI5OGY2NDIwZDA4OSIsIm5hbWUiOiJDbGljayBoZXJlIGFuZCBhc2sgYSBxdWVzdGlvbiIsImlkU2hvcnQiOjEsInNob3J0TGluayI6ImVkZmRrZEExIn0sInRleHQiOiJJIHRoaW5rIHRoZXJl4oCZcyBhIHNlYXJjaCBiYXIgYXQgdGhlIHRvcC4gWW91IGp1c3Qgd3JpdGUgaXQgaW4gdGhlcmUuIEFsdGhvdWdoIHdoZW4gSSB0cmllZCBpdCBkaWRu4oCZdCBkbyBhIHZlcnkgZ29vZCBqb2Igb2YgZmluZGluZyBldmVyeXRoaW5nLiAtLSBcbkxhdXJlbCBTaW1vblxubXNsYXVyZWxzaW1vbkBnbWFpbC5jb21cbjYwOSA2MTAtNzA5OSJ9LCJpZE1lbWJlckNyZWF0b3IiOiI1MDQxMmFkNjA5MDliNmU2NWQxMzdjYTEiLCJpZEFjdGlvbiI6IjVmMjViZjczMGE3N2Q5NzdlMjYyNzY3ZiIsImlzUmVhY3RhYmxlIjp0cnVlLCJ1bnJlYWQiOmZhbHNlLCJkYXRlUmVhZCI6IjIwMjAtMDgtMjBUMDE6MTc6MzEuMTk2WiIsInJlYWN0aW9ucyI6W10sIm1lbWJlckNyZWF0b3IiOnsiaWQiOiI1MDQxMmFkNjA5MDliNmU2NWQxMzdjYTEiLCJ1c2VybmFtZSI6ImxhdXJlbHNpbW9uIiwiYWN0aXZpdHlCbG9ja2VkIjpmYWxzZSwiYXZhdGFySGFzaCI6bnVsbCwiYXZhdGFyVXJsIjpudWxsLCJmdWxsTmFtZSI6IkxhdXJlbCBTaW1vbiIsImlkTWVtYmVyUmVmZXJyZXIiOm51bGwsImluaXRpYWxzIjoiTFMiLCJub25QdWJsaWMiOnt9LCJub25QdWJsaWNBdmFpbGFibGUiOmZhbHNlfX0seyJpZCI6IjVmMjU5ZmU4Yzk4NzkyMmY2NDI3MTAxYSIsInR5cGUiOiJjb21tZW50Q2FyZCIsImRhdGUiOiIyMDIwLTA4LTAxVDE3OjAxOjI4LjUxMFoiLCJkYXRhIjp7ImJvYXJkIjp7ImlkIjoiNTMzNGFlNTk3NGYyNDI3YzM0ZDdmYmM3IiwibmFtZSI6IlN0YXJ0IEhlcmUiLCJzaG9ydExpbmsiOiJYY05Tc3RCSiJ9LCJjYXJkIjp7ImlkIjoiNTMzNzU5YzRiMWNlMjk4ZjY0MjBkMDg5IiwibmFtZSI6IkNsaWNrIGhlcmUgYW5kIGFzayBhIHF1ZXN0aW9uIiwiaWRTaG9ydCI6MSwic2hvcnRMaW5rIjoiZWRmZGtkQTEifSwidGV4dCI6IkhpIGFsbC4gVHJ5aW5nIHRvIGZpZ3VyZSBvdXQgdG8gaG93IGZpbHRlciBieSBsYWJlbC4gSSBkb250JyBzZWUgYSBmaWx0ZXIgZnVuY3Rpb24gYW55d2hlcmUgb24gbXkgcGFnZSB0aG91Z2guIChub3QgaW4gdGhlIG1lbnUsIGFuZCBub3QgbmV4dCB0byB0aGUgc2VhcmNoIGJhcikuIFNpbXBsZSBxdWVzdGlvbiAtLSBidXQgd2hlcmUgaXMgdGhlIGZpbHRlcj8gSXMgaXQgbm90IGF2YWlsYWJsZSBpbiB0aGUgZnJlZSB2ZXJzaW9uPyJ9LCJpZE1lbWJlckNyZWF0b3IiOiI1ZjI0NWQwODIzZjFhMjRlYzMxOWRiNmUiLCJpZEFjdGlvbiI6IjVmMjU5ZmU4Yzk4NzkyMmY2NDI3MGZmYyIsImlzUmVhY3RhYmxlIjp0cnVlLCJ1bnJlYWQiOmZhbHNlLCJkYXRlUmVhZCI6IjIwMjAtMDgtMjBUMDE6MTc6MzEuMTk2WiIsInJlYWN0aW9ucyI6W10sIm1lbWJlckNyZWF0b3IiOnsiaWQiOiI1ZjI0NWQwODIzZjFhMjRlYzMxOWRiNmUiLCJ1c2VybmFtZSI6Im1hcmluYWdsYXptYW4xIiwiYWN0aXZpdHlCbG9ja2VkIjpmYWxzZSwiYXZhdGFySGFzaCI6bnVsbCwiYXZhdGFyVXJsIjpudWxsLCJmdWxsTmFtZSI6Ik1hcmluYSBHbGF6bWFuIiwiaWRNZW1iZXJSZWZlcnJlciI6bnVsbCwiaW5pdGlhbHMiOiJNRyIsIm5vblB1YmxpYyI6e30sIm5vblB1YmxpY0F2YWlsYWJsZSI6dHJ1ZX19XQ==
|
197
|
+
http_version: null
|
198
|
+
recorded_at: Thu, 20 Aug 2020 13:43:12 GMT
|
199
|
+
recorded_with: VCR 5.1.0
|
@@ -0,0 +1,189 @@
|
|
1
|
+
---
|
2
|
+
http_interactions:
|
3
|
+
- request:
|
4
|
+
method: get
|
5
|
+
uri: https://api.trello.com/1/boards/5e93ba98614ac22d22f085c4?key=DEVELOPER_PUBLIC_KEY&token=MEMBER_TOKEN
|
6
|
+
body:
|
7
|
+
encoding: US-ASCII
|
8
|
+
string: ''
|
9
|
+
headers:
|
10
|
+
Accept:
|
11
|
+
- "*/*"
|
12
|
+
User-Agent:
|
13
|
+
- rest-client/2.1.0 (linux-gnu x86_64) ruby/2.6.6p146
|
14
|
+
Accept-Encoding:
|
15
|
+
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
16
|
+
Host:
|
17
|
+
- api.trello.com
|
18
|
+
response:
|
19
|
+
status:
|
20
|
+
code: 200
|
21
|
+
message: OK
|
22
|
+
headers:
|
23
|
+
X-Dns-Prefetch-Control:
|
24
|
+
- 'off'
|
25
|
+
X-Frame-Options:
|
26
|
+
- DENY
|
27
|
+
Strict-Transport-Security:
|
28
|
+
- max-age=15552000; includeSubDomains
|
29
|
+
X-Download-Options:
|
30
|
+
- noopen
|
31
|
+
X-Content-Type-Options:
|
32
|
+
- nosniff
|
33
|
+
Referrer-Policy:
|
34
|
+
- strict-origin-when-cross-origin
|
35
|
+
X-Xss-Protection:
|
36
|
+
- 1; mode=block
|
37
|
+
Surrogate-Control:
|
38
|
+
- no-store
|
39
|
+
X-Trello-Version:
|
40
|
+
- 1.2092.0
|
41
|
+
X-Trello-Environment:
|
42
|
+
- Production
|
43
|
+
Access-Control-Allow-Origin:
|
44
|
+
- "*"
|
45
|
+
Access-Control-Allow-Methods:
|
46
|
+
- GET, PUT, POST, DELETE
|
47
|
+
Access-Control-Allow-Headers:
|
48
|
+
- Authorization, Accept, Content-Type
|
49
|
+
Access-Control-Expose-Headers:
|
50
|
+
- x-rate-limit-api-key-interval-ms, x-rate-limit-api-key-max, x-rate-limit-api-key-remaining,
|
51
|
+
x-rate-limit-api-token-interval-ms, x-rate-limit-api-token-max, x-rate-limit-api-token-remaining
|
52
|
+
X-Rate-Limit-Api-Token-Interval-Ms:
|
53
|
+
- '10000'
|
54
|
+
X-Rate-Limit-Api-Token-Max:
|
55
|
+
- '100'
|
56
|
+
X-Rate-Limit-Api-Token-Remaining:
|
57
|
+
- '99'
|
58
|
+
X-Rate-Limit-Api-Key-Interval-Ms:
|
59
|
+
- '10000'
|
60
|
+
X-Rate-Limit-Api-Key-Max:
|
61
|
+
- '300'
|
62
|
+
X-Rate-Limit-Api-Key-Remaining:
|
63
|
+
- '299'
|
64
|
+
X-Rate-Limit-Member-Interval-Ms:
|
65
|
+
- '10000'
|
66
|
+
X-Rate-Limit-Member-Max:
|
67
|
+
- '200'
|
68
|
+
X-Rate-Limit-Member-Remaining:
|
69
|
+
- '199'
|
70
|
+
X-Server-Time:
|
71
|
+
- '1589731254295'
|
72
|
+
Content-Type:
|
73
|
+
- application/json; charset=utf-8
|
74
|
+
Vary:
|
75
|
+
- Accept-Encoding
|
76
|
+
Expires:
|
77
|
+
- Sun, 17 May 2020 16:00:54 GMT
|
78
|
+
Cache-Control:
|
79
|
+
- max-age=0, no-cache, no-store
|
80
|
+
Pragma:
|
81
|
+
- no-cache
|
82
|
+
Date:
|
83
|
+
- Sun, 17 May 2020 16:00:54 GMT
|
84
|
+
Content-Length:
|
85
|
+
- '2783'
|
86
|
+
Connection:
|
87
|
+
- keep-alive
|
88
|
+
Set-Cookie:
|
89
|
+
- dsc=set_cookie_dsc; Path=/; Expires=Wed, 20 May 2020 16:00:54 GMT; Secure
|
90
|
+
body:
|
91
|
+
encoding: UTF-8
|
92
|
+
string: '{"id":"5e93ba98614ac22d22f085c4","name":"IT 2","desc":"","descData":null,"closed":false,"idOrganization":"5e93ba154634282b6df23bcc","idEnterprise":null,"pinned":false,"url":"https://trello.com/b/y1TF9GTa/it-2","shortUrl":"https://trello.com/b/y1TF9GTa","labelNames":{"green":"","yellow":"","orange":"","red":"","purple":"","blue":"","sky":"","lime":"","pink":"","black":""},"prefs":{"permissionLevel":"org","hideVotes":false,"voting":"disabled","comments":"members","invitations":"members","selfJoin":true,"cardCovers":true,"isTemplate":false,"cardAging":"regular","calendarFeedEnabled":false,"background":"5e9093e2134e6987494c7ca8","backgroundImage":"https://trello-backgrounds.s3.amazonaws.com/SharedBackground/original/2300ad88b61e46629c4063e0095bf986/photo-1586462175816-c0e709898f01","backgroundImageScaled":[{"width":140,"height":93,"url":"https://trello-backgrounds.s3.amazonaws.com/SharedBackground/140x93/08d5092270be6b5bb40247b7a7f5a924/photo-1586462175816-c0e709898f01.jpg"},{"width":256,"height":171,"url":"https://trello-backgrounds.s3.amazonaws.com/SharedBackground/256x171/08d5092270be6b5bb40247b7a7f5a924/photo-1586462175816-c0e709898f01.jpg"},{"width":480,"height":320,"url":"https://trello-backgrounds.s3.amazonaws.com/SharedBackground/480x320/08d5092270be6b5bb40247b7a7f5a924/photo-1586462175816-c0e709898f01.jpg"},{"width":960,"height":640,"url":"https://trello-backgrounds.s3.amazonaws.com/SharedBackground/960x640/08d5092270be6b5bb40247b7a7f5a924/photo-1586462175816-c0e709898f01.jpg"},{"width":1024,"height":683,"url":"https://trello-backgrounds.s3.amazonaws.com/SharedBackground/1024x683/08d5092270be6b5bb40247b7a7f5a924/photo-1586462175816-c0e709898f01.jpg"},{"width":2048,"height":1366,"url":"https://trello-backgrounds.s3.amazonaws.com/SharedBackground/2048x1366/08d5092270be6b5bb40247b7a7f5a924/photo-1586462175816-c0e709898f01.jpg"},{"width":1280,"height":854,"url":"https://trello-backgrounds.s3.amazonaws.com/SharedBackground/1280x854/08d5092270be6b5bb40247b7a7f5a924/photo-1586462175816-c0e709898f01.jpg"},{"width":1920,"height":1280,"url":"https://trello-backgrounds.s3.amazonaws.com/SharedBackground/1920x1280/08d5092270be6b5bb40247b7a7f5a924/photo-1586462175816-c0e709898f01.jpg"},{"width":2400,"height":1600,"url":"https://trello-backgrounds.s3.amazonaws.com/SharedBackground/2400x1600/08d5092270be6b5bb40247b7a7f5a924/photo-1586462175816-c0e709898f01.jpg"},{"width":2560,"height":1707,"url":"https://trello-backgrounds.s3.amazonaws.com/SharedBackground/original/2300ad88b61e46629c4063e0095bf986/photo-1586462175816-c0e709898f01"}],"backgroundTile":false,"backgroundBrightness":"light","backgroundBottomColor":"#92d3ca","backgroundTopColor":"#d9e3eb","canBePublic":true,"canBeEnterprise":true,"canBeOrg":true,"canBePrivate":true,"canInvite":true}}'
|
93
|
+
http_version: null
|
94
|
+
recorded_at: Sun, 17 May 2020 16:00:54 GMT
|
95
|
+
- request:
|
96
|
+
method: get
|
97
|
+
uri: https://api.trello.com/1/organizations/5e93ba154634282b6df23bcc?key=DEVELOPER_PUBLIC_KEY&token=MEMBER_TOKEN
|
98
|
+
body:
|
99
|
+
encoding: US-ASCII
|
100
|
+
string: ''
|
101
|
+
headers:
|
102
|
+
Accept:
|
103
|
+
- "*/*"
|
104
|
+
User-Agent:
|
105
|
+
- rest-client/2.1.0 (linux-gnu x86_64) ruby/2.6.6p146
|
106
|
+
Accept-Encoding:
|
107
|
+
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
108
|
+
Host:
|
109
|
+
- api.trello.com
|
110
|
+
response:
|
111
|
+
status:
|
112
|
+
code: 200
|
113
|
+
message: OK
|
114
|
+
headers:
|
115
|
+
X-Dns-Prefetch-Control:
|
116
|
+
- 'off'
|
117
|
+
X-Frame-Options:
|
118
|
+
- DENY
|
119
|
+
Strict-Transport-Security:
|
120
|
+
- max-age=15552000; includeSubDomains
|
121
|
+
X-Download-Options:
|
122
|
+
- noopen
|
123
|
+
X-Content-Type-Options:
|
124
|
+
- nosniff
|
125
|
+
Referrer-Policy:
|
126
|
+
- strict-origin-when-cross-origin
|
127
|
+
X-Xss-Protection:
|
128
|
+
- 1; mode=block
|
129
|
+
Surrogate-Control:
|
130
|
+
- no-store
|
131
|
+
X-Trello-Version:
|
132
|
+
- 1.2092.0
|
133
|
+
X-Trello-Environment:
|
134
|
+
- Production
|
135
|
+
Access-Control-Allow-Origin:
|
136
|
+
- "*"
|
137
|
+
Access-Control-Allow-Methods:
|
138
|
+
- GET, PUT, POST, DELETE
|
139
|
+
Access-Control-Allow-Headers:
|
140
|
+
- Authorization, Accept, Content-Type
|
141
|
+
Access-Control-Expose-Headers:
|
142
|
+
- x-rate-limit-api-key-interval-ms, x-rate-limit-api-key-max, x-rate-limit-api-key-remaining,
|
143
|
+
x-rate-limit-api-token-interval-ms, x-rate-limit-api-token-max, x-rate-limit-api-token-remaining
|
144
|
+
X-Rate-Limit-Api-Token-Interval-Ms:
|
145
|
+
- '10000'
|
146
|
+
X-Rate-Limit-Api-Token-Max:
|
147
|
+
- '100'
|
148
|
+
X-Rate-Limit-Api-Token-Remaining:
|
149
|
+
- '98'
|
150
|
+
X-Rate-Limit-Api-Key-Interval-Ms:
|
151
|
+
- '10000'
|
152
|
+
X-Rate-Limit-Api-Key-Max:
|
153
|
+
- '300'
|
154
|
+
X-Rate-Limit-Api-Key-Remaining:
|
155
|
+
- '298'
|
156
|
+
X-Rate-Limit-Member-Interval-Ms:
|
157
|
+
- '10000'
|
158
|
+
X-Rate-Limit-Member-Max:
|
159
|
+
- '200'
|
160
|
+
X-Rate-Limit-Member-Remaining:
|
161
|
+
- '198'
|
162
|
+
X-Server-Time:
|
163
|
+
- '1589731255087'
|
164
|
+
Content-Type:
|
165
|
+
- application/json; charset=utf-8
|
166
|
+
Vary:
|
167
|
+
- Accept-Encoding
|
168
|
+
Expires:
|
169
|
+
- Sun, 17 May 2020 16:00:55 GMT
|
170
|
+
Cache-Control:
|
171
|
+
- max-age=0, no-cache, no-store
|
172
|
+
Pragma:
|
173
|
+
- no-cache
|
174
|
+
Date:
|
175
|
+
- Sun, 17 May 2020 16:00:55 GMT
|
176
|
+
Content-Length:
|
177
|
+
- '310'
|
178
|
+
Connection:
|
179
|
+
- keep-alive
|
180
|
+
Set-Cookie:
|
181
|
+
- dsc=set_cookie_dsc; Path=/; Expires=Wed, 20 May 2020 16:00:55 GMT; Secure
|
182
|
+
body:
|
183
|
+
encoding: UTF-8
|
184
|
+
string: '{"id":"5e93ba154634282b6df23bcc","name":"integrationtest11","displayName":"Integration
|
185
|
+
Test 1","descData":null,"website":null,"teamType":"engineering-it","desc":"This
|
186
|
+
is a team for doing integration tests","url":"https://trello.com/integrationtest11","logoHash":null,"logoUrl":null,"products":[],"powerUps":[]}'
|
187
|
+
http_version: null
|
188
|
+
recorded_at: Sun, 17 May 2020 16:00:55 GMT
|
189
|
+
recorded_with: VCR 5.1.0
|
@@ -0,0 +1,203 @@
|
|
1
|
+
---
|
2
|
+
http_interactions:
|
3
|
+
- request:
|
4
|
+
method: get
|
5
|
+
uri: https://api.trello.com/1/members/hoppertest?key=DEVELOPER_PUBLIC_KEY&token=MEMBER_TOKEN
|
6
|
+
body:
|
7
|
+
encoding: US-ASCII
|
8
|
+
string: ''
|
9
|
+
headers:
|
10
|
+
Accept:
|
11
|
+
- "*/*"
|
12
|
+
User-Agent:
|
13
|
+
- rest-client/2.1.0 (linux-gnu x86_64) ruby/2.6.6p146
|
14
|
+
Accept-Encoding:
|
15
|
+
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
16
|
+
Host:
|
17
|
+
- api.trello.com
|
18
|
+
response:
|
19
|
+
status:
|
20
|
+
code: 200
|
21
|
+
message: OK
|
22
|
+
headers:
|
23
|
+
X-Dns-Prefetch-Control:
|
24
|
+
- 'off'
|
25
|
+
X-Frame-Options:
|
26
|
+
- DENY
|
27
|
+
X-Download-Options:
|
28
|
+
- noopen
|
29
|
+
Referrer-Policy:
|
30
|
+
- strict-origin-when-cross-origin
|
31
|
+
Surrogate-Control:
|
32
|
+
- no-store
|
33
|
+
Cache-Control:
|
34
|
+
- max-age=0, must-revalidate, no-cache, no-store
|
35
|
+
Pragma:
|
36
|
+
- no-cache
|
37
|
+
Expires:
|
38
|
+
- Thu, 01 Jan 1970 00:00:00
|
39
|
+
X-Trello-Version:
|
40
|
+
- 1.2192.0
|
41
|
+
X-Trello-Environment:
|
42
|
+
- Production
|
43
|
+
Set-Cookie:
|
44
|
+
- dsc=set_cookie_dsc; Path=/; Expires=Sun, 23 Aug 2020 13:41:20 GMT; Secure
|
45
|
+
Access-Control-Allow-Origin:
|
46
|
+
- "*"
|
47
|
+
Access-Control-Allow-Methods:
|
48
|
+
- GET, PUT, POST, DELETE
|
49
|
+
Access-Control-Allow-Headers:
|
50
|
+
- Authorization, Accept, Content-Type
|
51
|
+
Access-Control-Expose-Headers:
|
52
|
+
- x-rate-limit-api-key-interval-ms, x-rate-limit-api-key-max, x-rate-limit-api-key-remaining,
|
53
|
+
x-rate-limit-api-token-interval-ms, x-rate-limit-api-token-max, x-rate-limit-api-token-remaining
|
54
|
+
X-Rate-Limit-Api-Key-Interval-Ms:
|
55
|
+
- '10000'
|
56
|
+
X-Rate-Limit-Api-Key-Max:
|
57
|
+
- '300'
|
58
|
+
X-Rate-Limit-Api-Key-Remaining:
|
59
|
+
- '299'
|
60
|
+
X-Rate-Limit-Api-Token-Interval-Ms:
|
61
|
+
- '10000'
|
62
|
+
X-Rate-Limit-Api-Token-Max:
|
63
|
+
- '100'
|
64
|
+
X-Rate-Limit-Api-Token-Remaining:
|
65
|
+
- '99'
|
66
|
+
X-Rate-Limit-Member-Interval-Ms:
|
67
|
+
- '10000'
|
68
|
+
X-Rate-Limit-Member-Max:
|
69
|
+
- '200'
|
70
|
+
X-Rate-Limit-Member-Remaining:
|
71
|
+
- '199'
|
72
|
+
X-Server-Time:
|
73
|
+
- '1597930880266'
|
74
|
+
Content-Type:
|
75
|
+
- application/json; charset=utf-8
|
76
|
+
Date:
|
77
|
+
- Thu, 20 Aug 2020 13:41:19 GMT
|
78
|
+
X-Envoy-Upstream-Service-Time:
|
79
|
+
- '93'
|
80
|
+
Expect-Ct:
|
81
|
+
- report-uri="https://web-security-reports.services.atlassian.com/expect-ct-report/trello-edge",
|
82
|
+
max-age=86400
|
83
|
+
X-Logging-Id:
|
84
|
+
- 7a01fdce-4547-49f0-9059-3b05dad7c9ba
|
85
|
+
Strict-Transport-Security:
|
86
|
+
- max-age=63072000; preload
|
87
|
+
X-Content-Type-Options:
|
88
|
+
- nosniff
|
89
|
+
X-Xss-Protection:
|
90
|
+
- 1; mode=block
|
91
|
+
Server:
|
92
|
+
- globaledge-envoy
|
93
|
+
Transfer-Encoding:
|
94
|
+
- chunked
|
95
|
+
body:
|
96
|
+
encoding: ASCII-8BIT
|
97
|
+
string: '{"id":"5e679b808e6e8828784b30e1","bio":"ab","bioData":{"emoji":{}},"confirmed":true,"memberType":"normal","username":"hoppertest","aaId":"5e679b1f84dcfc0cf391264e","activityBlocked":false,"avatarHash":null,"avatarUrl":null,"fullName":"Hopper
|
98
|
+
Test","idEnterprise":null,"idEnterprisesDeactivated":[],"idMemberReferrer":null,"idPremOrgsAdmin":[],"initials":"HT","nonPublic":{},"nonPublicAvailable":true,"products":[],"url":"https://trello.com/hoppertest","status":"disconnected","aaBlockSyncUntil":null,"aaEmail":null,"aaEnrolledDate":null,"avatarSource":"none","credentialsRemovedCount":0,"domainClaimed":null,"email":"jx4554+test@gmail.com","gravatarHash":"18853624ee4456423b9dbeb0c30559c5","idBoards":["5e679be40c407034b479459c","5e70f5bed3f34a49e2f11409","5e93ba403f1ab3603ba81a09","5e93ba98614ac22d22f085c4","5e94eaf386374970d06e4c89","5e94ee7357ac8a3edc2b2145","5e94f5ded016b22c2437c13c","5ec7e46414a49e3f65847c27","5ee65e305081b1306530df45","5ee65e31325f0d0a10726e6e","5ee65f5fa64d6f2a7aee514c"],"idOrganizations":["5e93ba154634282b6df23bcc","5eb427016b5a464a74803f1c"],"idEnterprisesAdmin":[],"loginTypes":["atlassian"],"marketingOptIn":{"optedIn":true,"date":"2020-03-10T13:52:08.829Z"},"messagesDismissed":[{"_id":"5e93ba17f0caa581d8856a95","name":"team-join-cta-banner-5e93ba154634282b6df23bcc","count":1,"lastDismissed":"2020-04-13T01:02:15.807Z"},{"_id":"5eb4270e982a411bcc25991e","name":"team-join-cta-banner-5eb427016b5a464a74803f1c","count":1,"lastDismissed":"2020-05-07T15:19:42.837Z"}],"oneTimeMessagesDismissed":["create-first-board","close-menu-of-first-board","board-background-prompt","team-template-picker-5e93ba154634282b6df23bcc","your-items-on-home","ad-bc-prompt-upgrade-board-more-collection"],"prefs":{"privacy":{"fullName":"public","avatar":"public"},"sendSummaries":true,"minutesBetweenSummaries":60,"minutesBeforeDeadlineToNotify":1440,"colorBlind":false,"locale":"en-US"},"trophies":[],"uploadedAvatarHash":null,"uploadedAvatarUrl":null,"premiumFeatures":[],"isAaMastered":true,"siftDecision":null,"ixUpdate":"481","limits":{"boards":{"totalPerMember":{"status":"ok","disableAt":4500,"warnAt":4050}},"orgs":{"totalPerMember":{"status":"ok","disableAt":850,"warnAt":765}}}}'
|
99
|
+
http_version: null
|
100
|
+
recorded_at: Thu, 20 Aug 2020 13:41:20 GMT
|
101
|
+
- request:
|
102
|
+
method: get
|
103
|
+
uri: https://api.trello.com/1/members/5e679b808e6e8828784b30e1/organizations?filter=all&key=DEVELOPER_PUBLIC_KEY&token=MEMBER_TOKEN
|
104
|
+
body:
|
105
|
+
encoding: US-ASCII
|
106
|
+
string: ''
|
107
|
+
headers:
|
108
|
+
Accept:
|
109
|
+
- "*/*"
|
110
|
+
User-Agent:
|
111
|
+
- rest-client/2.1.0 (linux-gnu x86_64) ruby/2.6.6p146
|
112
|
+
Accept-Encoding:
|
113
|
+
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
114
|
+
Host:
|
115
|
+
- api.trello.com
|
116
|
+
response:
|
117
|
+
status:
|
118
|
+
code: 200
|
119
|
+
message: OK
|
120
|
+
headers:
|
121
|
+
X-Dns-Prefetch-Control:
|
122
|
+
- 'off'
|
123
|
+
X-Frame-Options:
|
124
|
+
- DENY
|
125
|
+
X-Download-Options:
|
126
|
+
- noopen
|
127
|
+
Referrer-Policy:
|
128
|
+
- strict-origin-when-cross-origin
|
129
|
+
Surrogate-Control:
|
130
|
+
- no-store
|
131
|
+
Cache-Control:
|
132
|
+
- max-age=0, must-revalidate, no-cache, no-store
|
133
|
+
Pragma:
|
134
|
+
- no-cache
|
135
|
+
Expires:
|
136
|
+
- Thu, 01 Jan 1970 00:00:00
|
137
|
+
X-Trello-Version:
|
138
|
+
- 1.2192.0
|
139
|
+
X-Trello-Environment:
|
140
|
+
- Production
|
141
|
+
Set-Cookie:
|
142
|
+
- dsc=set_cookie_dsc; Path=/; Expires=Sun, 23 Aug 2020 13:41:21 GMT; Secure
|
143
|
+
Access-Control-Allow-Origin:
|
144
|
+
- "*"
|
145
|
+
Access-Control-Allow-Methods:
|
146
|
+
- GET, PUT, POST, DELETE
|
147
|
+
Access-Control-Allow-Headers:
|
148
|
+
- Authorization, Accept, Content-Type
|
149
|
+
Access-Control-Expose-Headers:
|
150
|
+
- x-rate-limit-api-key-interval-ms, x-rate-limit-api-key-max, x-rate-limit-api-key-remaining,
|
151
|
+
x-rate-limit-api-token-interval-ms, x-rate-limit-api-token-max, x-rate-limit-api-token-remaining
|
152
|
+
X-Rate-Limit-Api-Key-Interval-Ms:
|
153
|
+
- '10000'
|
154
|
+
X-Rate-Limit-Api-Key-Max:
|
155
|
+
- '300'
|
156
|
+
X-Rate-Limit-Api-Key-Remaining:
|
157
|
+
- '298'
|
158
|
+
X-Rate-Limit-Api-Token-Interval-Ms:
|
159
|
+
- '10000'
|
160
|
+
X-Rate-Limit-Api-Token-Max:
|
161
|
+
- '100'
|
162
|
+
X-Rate-Limit-Api-Token-Remaining:
|
163
|
+
- '98'
|
164
|
+
X-Rate-Limit-Member-Interval-Ms:
|
165
|
+
- '10000'
|
166
|
+
X-Rate-Limit-Member-Max:
|
167
|
+
- '200'
|
168
|
+
X-Rate-Limit-Member-Remaining:
|
169
|
+
- '198'
|
170
|
+
X-Server-Time:
|
171
|
+
- '1597930881268'
|
172
|
+
X-Trello-Actual-Fastget-Path:
|
173
|
+
- slow
|
174
|
+
Content-Type:
|
175
|
+
- application/json; charset=utf-8
|
176
|
+
Date:
|
177
|
+
- Thu, 20 Aug 2020 13:41:20 GMT
|
178
|
+
X-Envoy-Upstream-Service-Time:
|
179
|
+
- '130'
|
180
|
+
Expect-Ct:
|
181
|
+
- report-uri="https://web-security-reports.services.atlassian.com/expect-ct-report/trello-edge",
|
182
|
+
max-age=86400
|
183
|
+
X-Logging-Id:
|
184
|
+
- 7a01fdce-4547-49f0-9059-3b05dad7c9ba
|
185
|
+
Strict-Transport-Security:
|
186
|
+
- max-age=63072000; preload
|
187
|
+
X-Content-Type-Options:
|
188
|
+
- nosniff
|
189
|
+
X-Xss-Protection:
|
190
|
+
- 1; mode=block
|
191
|
+
Server:
|
192
|
+
- globaledge-envoy
|
193
|
+
Transfer-Encoding:
|
194
|
+
- chunked
|
195
|
+
body:
|
196
|
+
encoding: ASCII-8BIT
|
197
|
+
string: '[{"id":"5e93ba154634282b6df23bcc","name":"integrationtest11","displayName":"Integration
|
198
|
+
Test 1","descData":null,"website":null,"promotions":[],"enterpriseJoinRequest":{},"allAdminsEnabled":true,"teamType":"engineering-it","desc":"This
|
199
|
+
is a team for doing integration tests","idMemberCreator":"5e679b808e6e8828784b30e1","invited":false,"invitations":[],"prefs":{"permissionLevel":"private","orgInviteRestrict":[],"boardInviteRestrict":"any","externalMembersDisabled":false,"associatedDomain":null,"googleAppsVersion":1,"boardVisibilityRestrict":{"private":"org","org":"org","enterprise":"org","public":"org"},"boardDeleteRestrict":{"private":"org","org":"org","enterprise":"org","public":"org"},"attachmentRestrictions":null},"powerUps":[],"products":[],"url":"https://trello.com/integrationtest11","logoHash":null,"logoUrl":null,"premiumFeatures":[],"idEnterprise":null,"availableLicenseCount":null,"maximumLicenseCount":null,"ixUpdate":"111","limits":{"orgs":{"totalMembersPerOrg":{"status":"ok","disableAt":4000,"warnAt":3600},"freeBoardsPerOrg":{"status":"warn","disableAt":10,"warnAt":3,"count":7}}},"billableMemberCount":1,"activeBillableMemberCount":1,"memberships":[{"id":"5e93ba154634282b6df23bcd","idMember":"5e679b808e6e8828784b30e1","memberType":"admin","unconfirmed":false,"deactivated":false}],"billableCollaboratorCount":0,"idBoards":["5e93ba98614ac22d22f085c4","5e94eaf386374970d06e4c89","5e94ee7357ac8a3edc2b2145","5e94f5ded016b22c2437c13c","5ee65e305081b1306530df45","5ee65e31325f0d0a10726e6e","5ee65f5fa64d6f2a7aee514c"]},{"id":"5eb427016b5a464a74803f1c","name":"integrationtest21","displayName":"Integration
|
200
|
+
Test 2","descData":null,"website":null,"promotions":[],"enterpriseJoinRequest":{},"allAdminsEnabled":true,"teamType":"engineering-it","desc":"","idMemberCreator":"5e679b808e6e8828784b30e1","invited":false,"invitations":[],"prefs":{"permissionLevel":"private","orgInviteRestrict":[],"boardInviteRestrict":"any","externalMembersDisabled":false,"associatedDomain":null,"googleAppsVersion":1,"boardVisibilityRestrict":{"private":"org","org":"org","enterprise":"org","public":"org"},"boardDeleteRestrict":{"private":"org","org":"org","enterprise":"org","public":"org"},"attachmentRestrictions":null},"powerUps":[],"products":[],"url":"https://trello.com/integrationtest21","logoHash":null,"logoUrl":null,"premiumFeatures":[],"idEnterprise":null,"availableLicenseCount":null,"maximumLicenseCount":null,"ixUpdate":"7","limits":{"orgs":{"totalMembersPerOrg":{"status":"ok","disableAt":4000,"warnAt":3600},"freeBoardsPerOrg":{"status":"ok","disableAt":10,"warnAt":3}}},"billableMemberCount":1,"activeBillableMemberCount":1,"billableCollaboratorCount":0,"memberships":[{"id":"5eb427016b5a464a74803f1d","idMember":"5e679b808e6e8828784b30e1","memberType":"admin","unconfirmed":false,"deactivated":false}],"idBoards":["5e93ba403f1ab3603ba81a09"]}]'
|
201
|
+
http_version: null
|
202
|
+
recorded_at: Thu, 20 Aug 2020 13:41:21 GMT
|
203
|
+
recorded_with: VCR 5.1.0
|