test/vcr/cassettes/token/get_first_token.yml in access-2.2.0 vs test/vcr/cassettes/token/get_first_token.yml in access-2.3.0.pre.rc1
- old
+ new
@@ -6,30 +6,28 @@
body:
encoding: US-ASCII
string: ''
headers:
Access-Token:
- - ACCESS_TOKEN
+ - "<ACCESS_TOKEN>"
Content-Type:
- application/json
Accept:
- application/json
response:
status:
code: 200
message: OK
headers:
Server:
- - nginx/1.8.0
+ - nginx/1.12.2
Date:
- - Mon, 22 Feb 2016 20:16:57 GMT
+ - Sun, 01 Jul 2018 04:23:54 GMT
Content-Type:
- application/json
Transfer-Encoding:
- chunked
- Connection:
- - keep-alive
X-Frame-Options:
- SAMEORIGIN
X-Xss-Protection:
- 1; mode=block
X-Content-Type-Options:
@@ -40,47 +38,51 @@
- GET
Access-Control-Allow-Headers:
- Origin, X-Requested-With, Content-Type, Accept, Authorization, Access-Token
Access-Control-Max-Age:
- '1728000'
+ X-Ratelimit-Limit:
+ - '10000'
+ X-Ratelimit-Remaining:
+ - '9938'
Etag:
- - '"8ad5faac2f01b1880e45c5ac956880f7"'
+ - '"4fb7d5e49ac6268118cc89e652c9ffd0"'
Cache-Control:
- max-age=0, private, must-revalidate
X-Request-Id:
- - 1b1f9bd3-98aa-4da2-858b-fb643c90f606
+ - c9a17b67-9e6b-481a-a195-9a951659c370
X-Runtime:
- - '0.014174'
+ - '0.011423'
body:
encoding: UTF-8
string: |-
{
"info": {
- "total_results": 1092,
+ "total_results": 1020,
"results_per_page": 1,
"current_page": 1,
- "total_pages": 1092
+ "total_pages": 1020
},
"oauth_tokens": [
{
- "application_id": 3960,
- "token": "1f4cfbfec58ce429ac089dea6502473d380e8a32b6960eac40b118b8a9964da3",
+ "application_id": 4319,
+ "token": "963b7a5007f6710dfdce6c73e8da948bb16d576189769be791fbaee4c3d94414",
"expires_in": null,
"revoked_at": null,
- "created_at": "2016-02-16T13:34:42.793-07:00",
- "oauth_access_token_id": 3995,
- "application_name": "RWS API - RBI_MCID (pcid:200278)",
- "application_owner_id": 279477590,
+ "created_at": "2018-06-29T15:47:18.916-06:00",
+ "oauth_access_token_id": 4372,
+ "application_name": "Underground Travel Club (pcid:200623)",
+ "application_owner_id": 308748412,
"application_owner_type": "Program",
- "program_id": 279477590,
- "program_name": "RWS API - RBI_MCID",
- "program_customer_identifier": "200278",
- "program_start_dts": "2016-02-16T06:30:18.392-07:00",
- "program_end_dts": "2019-02-16T06:30:18.392-07:00",
- "organization_id": 160,
- "organization_name": "Access Development",
- "organization_customer_identifier": "160",
+ "program_id": 308748412,
+ "program_name": "Underground Travel Club",
+ "program_customer_identifier": "200623",
+ "program_start_dts": "2018-06-29T09:48:06.752-06:00",
+ "program_end_dts": "2021-06-29T09:48:06.752-06:00",
+ "organization_id": 2002441,
+ "organization_name": "Travel",
+ "organization_customer_identifier": "2002441",
"filter_id": null,
"filter_name": null,
"filter": null,
"program_filter_id": null,
"domains": [
@@ -88,34 +90,56 @@
],
"application_scopes": [
"internal"
],
"help_phone_number": "1-800-331-8867",
- "program_info_id": 279477590,
+ "program_info_id": 3948,
"default_distance": 25,
"force_update": false,
"color_theme": {
"name": "default",
"primary": "#2c3e50",
- "primary-light": "#3e5871",
+ "primary-light": "#3E5871",
"accent": "#3498db",
- "accent-light": "#5faee3"
+ "contrast": "#5FAEE3"
},
"email_opt_out": false,
+ "offsite_registration_url": null,
+ "provisioning_method": null,
+ "shared_secret": null,
+ "shopping_cart_enabled": true,
+ "pcid_registration_enabled": null,
"mobile_logo": null,
"mobile_teaser": null,
"member_key_label": "Member ID",
"member_key_hint_label": null,
- "indexed_at": "2016-02-16T20:29:32.163Z",
+ "domain_id": null,
+ "subdomain": null,
+ "ios_identifier": null,
+ "android_identifier": null,
+ "domain_name": null,
+ "mobile_app_id": null,
+ "google_app_url": null,
+ "apple_app_url": null,
+ "app_name": null,
+ "mobile_registration_strategy": null,
+ "mobile_v3": null,
+ "enable_mobile_app": null,
+ "promote_mobile_app": null,
+ "program_links": [
+
+ ],
+ "program_properties": null,
+ "indexed_at": "2018-06-29T21:48:36.429Z",
"token_status": "valid",
"links": {
- "show_oauth_token": "http://token-stage.adcrws.com/v1/tokens/1f4cfbfec58ce429ac089dea6502473d380e8a32b6960eac40b118b8a9964da3"
+ "show_oauth_token": "http://token-stage.adcrws.com/v1/tokens/963b7a5007f6710dfdce6c73e8da948bb16d576189769be791fbaee4c3d94414"
}
}
],
"links": {
"next_page": "https://token-stage.adcrws.com/v1/tokens?page=2&per_page=1"
}
}
http_version:
- recorded_at: Mon, 22 Feb 2016 20:16:59 GMT
-recorded_with: VCR 3.0.1
+ recorded_at: Sun, 01 Jul 2018 04:23:54 GMT
+recorded_with: VCR 4.0.0