jirafe 0.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/.autotest +5 -0
- data/.gitignore +23 -0
- data/.rbenv-version +1 -0
- data/.rspec +2 -0
- data/.travis.yml +11 -0
- data/Gemfile +8 -0
- data/LICENSE +13 -0
- data/README.md +104 -0
- data/Rakefile +27 -0
- data/fixtures/responses/application_get_with_cloud_token.yml +40 -0
- data/fixtures/responses/application_get_with_invalid_token.yml +41 -0
- data/fixtures/responses/application_get_with_master_token.yml +784 -0
- data/fixtures/responses/application_get_with_reporting_token.yml +38 -0
- data/fixtures/responses/application_post_with_app_token.yml +38 -0
- data/fixtures/responses/application_post_with_cloud_token.yml +76 -0
- data/fixtures/responses/application_post_with_invalid_token.yml +79 -0
- data/fixtures/responses/application_post_with_master_token.yml +784 -0
- data/fixtures/responses/application_post_with_master_token_blank_name.yml +79 -0
- data/fixtures/responses/application_post_with_master_token_dupe_name.yml +76 -0
- data/fixtures/responses/application_post_with_master_token_no_name.yml +79 -0
- data/fixtures/responses/application_post_with_reporting_token.yml +76 -0
- data/fixtures/responses/application_put_with_cloud_token.yml +68 -0
- data/fixtures/responses/application_put_with_invalid_token.yml +145 -0
- data/fixtures/responses/application_put_with_master_token.yml +68 -0
- data/fixtures/responses/application_put_with_reporting_token.yml +68 -0
- data/fixtures/responses/application_sites_get_with_master_token.yml +38 -0
- data/fixtures/responses/callback_event_post_event.yml +2000 -0
- data/fixtures/responses/callback_event_post_event_fetch_token.yml +1473 -0
- data/fixtures/responses/jirafe_resource_get_status_url.yml +38 -0
- data/fixtures/responses/jirafe_resource_get_status_url_with_query_param.yml +38 -0
- data/fixtures/responses/site_abandon_rate_get_with_master_token.yml +49 -0
- data/fixtures/responses/site_abandoned_average_ordervalue_get_with_master_token.yml +49 -0
- data/fixtures/responses/site_abandoned_carts_get_with_master_token.yml +49 -0
- data/fixtures/responses/site_abandoned_revenue_get_with_master_token.yml +49 -0
- data/fixtures/responses/site_average_order_value_get_with_master_token.yml +49 -0
- data/fixtures/responses/site_bounces_rate_get_with_master_token.yml +49 -0
- data/fixtures/responses/site_cart_segmentation_get_with_master_token.yml +38 -0
- data/fixtures/responses/site_conversion_rate_get_with_master_token.yml +49 -0
- data/fixtures/responses/site_conversions_get_with_master_token.yml +49 -0
- data/fixtures/responses/site_customers_get_with_master_token.yml +49 -0
- data/fixtures/responses/site_dashboard_get_with_master_token.yml +60 -0
- data/fixtures/responses/site_get_with_master_token.yml +73 -0
- data/fixtures/responses/site_keywords_get_with_master_token.yml +38 -0
- data/fixtures/responses/site_orders_status_get_with_master_token.yml +38 -0
- data/fixtures/responses/site_origins_get_with_master_token.yml +38 -0
- data/fixtures/responses/site_period_data_get_with_master_token.yml +38 -0
- data/fixtures/responses/site_post_with_app_token.yml +727 -0
- data/fixtures/responses/site_post_with_master_token.yml +1569 -0
- data/fixtures/responses/site_products_get_with_master_token.yml +38 -0
- data/fixtures/responses/site_referers_get_with_master_token.yml +38 -0
- data/fixtures/responses/site_revenues_average_get_with_master_token.yml +49 -0
- data/fixtures/responses/site_revenues_get_with_master_token.yml +49 -0
- data/fixtures/responses/site_segments_carts_get_with_admin_token.yml +108 -0
- data/fixtures/responses/site_segments_sales_get_with_admin_token.yml +143 -0
- data/fixtures/responses/site_total_carts_get_with_master_token.yml +49 -0
- data/fixtures/responses/site_translations__get_with_master_token.yml +155 -0
- data/fixtures/responses/site_translations_de_get_with_master_token.yml +156 -0
- data/fixtures/responses/site_translations_es_get_with_master_token.yml +155 -0
- data/fixtures/responses/site_translations_fr_get_with_master_token.yml +178 -0
- data/fixtures/responses/site_translations_german_get_with_master_token.yml +156 -0
- data/fixtures/responses/site_translations_get_with_master_token.yml +865 -0
- data/fixtures/responses/site_translations_xx_get_with_master_token.yml +155 -0
- data/fixtures/responses/site_visits_get_with_master_token.yml +49 -0
- data/fixtures/responses/status_get.yml +38 -0
- data/fixtures/responses/status_get_500.yml +31 -0
- data/fixtures/responses/test.yml +7364 -0
- data/fixtures/responses/version_get.yml +38 -0
- data/jirafe.gemspec +29 -0
- data/lib/jirafe.rb +64 -0
- data/lib/jirafe/callback/event.rb +57 -0
- data/lib/jirafe/callback/events/order.rb +48 -0
- data/lib/jirafe/callback/events/refund.rb +32 -0
- data/lib/jirafe/callback/jirafe_callback.rb +50 -0
- data/lib/jirafe/configuration.rb +47 -0
- data/lib/jirafe/error.rb +57 -0
- data/lib/jirafe/resource/application.rb +18 -0
- data/lib/jirafe/resource/jirafe_resource.rb +188 -0
- data/lib/jirafe/resource/site.rb +21 -0
- data/lib/jirafe/resource/sites/abandon_rate.rb +16 -0
- data/lib/jirafe/resource/sites/abandoned_average_order_value.rb +17 -0
- data/lib/jirafe/resource/sites/abandoned_carts.rb +16 -0
- data/lib/jirafe/resource/sites/abandoned_revenue.rb +16 -0
- data/lib/jirafe/resource/sites/average_order_value.rb +16 -0
- data/lib/jirafe/resource/sites/bounces_rate.rb +16 -0
- data/lib/jirafe/resource/sites/cart_segmentation.rb +11 -0
- data/lib/jirafe/resource/sites/conversion_rate.rb +16 -0
- data/lib/jirafe/resource/sites/conversions.rb +17 -0
- data/lib/jirafe/resource/sites/customers.rb +16 -0
- data/lib/jirafe/resource/sites/dashboard.rb +27 -0
- data/lib/jirafe/resource/sites/keywords.rb +11 -0
- data/lib/jirafe/resource/sites/orders_status.rb +15 -0
- data/lib/jirafe/resource/sites/origins.rb +11 -0
- data/lib/jirafe/resource/sites/period_data.rb +16 -0
- data/lib/jirafe/resource/sites/products.rb +12 -0
- data/lib/jirafe/resource/sites/referers.rb +12 -0
- data/lib/jirafe/resource/sites/revenues.rb +16 -0
- data/lib/jirafe/resource/sites/revenues_average.rb +16 -0
- data/lib/jirafe/resource/sites/segments_carts.rb +14 -0
- data/lib/jirafe/resource/sites/segments_sales.rb +14 -0
- data/lib/jirafe/resource/sites/total_carts.rb +16 -0
- data/lib/jirafe/resource/sites/translations.rb +18 -0
- data/lib/jirafe/resource/sites/visitors_interest.rb +14 -0
- data/lib/jirafe/resource/sites/visits.rb +16 -0
- data/lib/jirafe/resource/status.rb +19 -0
- data/lib/jirafe/resource/sync_service.rb +1 -0
- data/lib/jirafe/resource/time_series.rb +29 -0
- data/lib/jirafe/resource/user.rb +32 -0
- data/lib/jirafe/resource/version.rb +9 -0
- data/spec/jirafe/callback/event_spec.rb +85 -0
- data/spec/jirafe/configuration_spec.rb +150 -0
- data/spec/jirafe/jirafe_spec.rb +23 -0
- data/spec/jirafe/resource/application_spec.rb +220 -0
- data/spec/jirafe/resource/jirafe_resource_spec.rb +188 -0
- data/spec/jirafe/resource/site_spec.rb +61 -0
- data/spec/jirafe/resource/sites/abandon_rate_spec.rb +11 -0
- data/spec/jirafe/resource/sites/abandoned_average_order_value_spec.rb +11 -0
- data/spec/jirafe/resource/sites/abandoned_carts_spec.rb +11 -0
- data/spec/jirafe/resource/sites/abandoned_revenue_spec.rb +11 -0
- data/spec/jirafe/resource/sites/average_order_value_spec.rb +11 -0
- data/spec/jirafe/resource/sites/bounces_rate_spec.rb +11 -0
- data/spec/jirafe/resource/sites/cart_segmentation_spec.rb +11 -0
- data/spec/jirafe/resource/sites/conversion_rate_spec.rb +11 -0
- data/spec/jirafe/resource/sites/conversions_spec.rb +11 -0
- data/spec/jirafe/resource/sites/customers_spec.rb +11 -0
- data/spec/jirafe/resource/sites/dashboard_spec.rb +29 -0
- data/spec/jirafe/resource/sites/keywords_spec.rb +11 -0
- data/spec/jirafe/resource/sites/orders_status_spec.rb +34 -0
- data/spec/jirafe/resource/sites/origins_spec.rb +11 -0
- data/spec/jirafe/resource/sites/period_data_spec.rb +22 -0
- data/spec/jirafe/resource/sites/products_spec.rb +11 -0
- data/spec/jirafe/resource/sites/referers_spec.rb +11 -0
- data/spec/jirafe/resource/sites/revenues_average_spec.rb +11 -0
- data/spec/jirafe/resource/sites/revenues_spec.rb +11 -0
- data/spec/jirafe/resource/sites/segments_carts_spec.rb +29 -0
- data/spec/jirafe/resource/sites/segments_sales_spec.rb +29 -0
- data/spec/jirafe/resource/sites/total_carts_spec.rb +11 -0
- data/spec/jirafe/resource/sites/translations_spec.rb +76 -0
- data/spec/jirafe/resource/sites/visitors_interest_spec.rb +8 -0
- data/spec/jirafe/resource/sites/visits_spec.rb +11 -0
- data/spec/jirafe/resource/status_spec.rb +31 -0
- data/spec/jirafe/resource/version_spec.rb +15 -0
- data/spec/spec_helper.rb +58 -0
- data/spec/support/callback_server.rb +11 -0
- data/spec/support/response_helper.rb +31 -0
- data/spec/support/shared_examples/empty_resource.rb +17 -0
- data/spec/support/shared_examples/time_series.rb +31 -0
- data/spec/test_configuration.rb +15 -0
- metadata +360 -0
@@ -0,0 +1,49 @@
|
|
1
|
+
---
|
2
|
+
http_interactions:
|
3
|
+
- request:
|
4
|
+
method: get
|
5
|
+
uri: http://api.jirafe.dev/v1/applications/1/sites/1/conversions?token=user_master_token
|
6
|
+
body:
|
7
|
+
encoding: US-ASCII
|
8
|
+
string: ''
|
9
|
+
headers: {}
|
10
|
+
response:
|
11
|
+
status:
|
12
|
+
code: 200
|
13
|
+
message: OK
|
14
|
+
headers:
|
15
|
+
Server:
|
16
|
+
- nginx/1.2.2
|
17
|
+
Content-Type:
|
18
|
+
- application/json
|
19
|
+
Transfer-Encoding:
|
20
|
+
- chunked
|
21
|
+
Connection:
|
22
|
+
- keep-alive
|
23
|
+
Keep-Alive:
|
24
|
+
- timeout=10
|
25
|
+
X-Powered-By:
|
26
|
+
- PHP/5.3.15
|
27
|
+
Cache-Control:
|
28
|
+
- no-cache
|
29
|
+
Date:
|
30
|
+
- Wed, 05 Sep 2012 19:49:50 GMT
|
31
|
+
X-Debug-Token:
|
32
|
+
- 5047acde17ef0
|
33
|
+
body:
|
34
|
+
encoding: US-ASCII
|
35
|
+
string: ! '{"observe":[{"hour":"2012-09-05 00:00:00","orders":0},{"hour":"2012-09-05
|
36
|
+
01:00:00","orders":0},{"hour":"2012-09-05 02:00:00","orders":0},{"hour":"2012-09-05
|
37
|
+
03:00:00","orders":0},{"hour":"2012-09-05 04:00:00","orders":0},{"hour":"2012-09-05
|
38
|
+
05:00:00","orders":0},{"hour":"2012-09-05 06:00:00","orders":0},{"hour":"2012-09-05
|
39
|
+
07:00:00","orders":0},{"hour":"2012-09-05 08:00:00","orders":0},{"hour":"2012-09-05
|
40
|
+
09:00:00","orders":0},{"hour":"2012-09-05 10:00:00","orders":0},{"hour":"2012-09-05
|
41
|
+
11:00:00","orders":0},{"hour":"2012-09-05 12:00:00","orders":0},{"hour":"2012-09-05
|
42
|
+
13:00:00","orders":0},{"hour":"2012-09-05 14:00:00","orders":0},{"hour":"2012-09-05
|
43
|
+
15:00:00","orders":0},{"hour":"2012-09-05 16:00:00","orders":0},{"hour":"2012-09-05
|
44
|
+
17:00:00","orders":0},{"hour":"2012-09-05 18:00:00","orders":0},{"hour":"2012-09-05
|
45
|
+
19:00:00","orders":0},{"hour":"2012-09-05 20:00:00","orders":0},{"hour":"2012-09-05
|
46
|
+
21:00:00","orders":0}]}'
|
47
|
+
http_version:
|
48
|
+
recorded_at: Wed, 05 Sep 2012 19:49:50 GMT
|
49
|
+
recorded_with: VCR 2.2.4
|
@@ -0,0 +1,49 @@
|
|
1
|
+
---
|
2
|
+
http_interactions:
|
3
|
+
- request:
|
4
|
+
method: get
|
5
|
+
uri: http://api.jirafe.dev/v1/applications/1/sites/1/customers?token=user_master_token
|
6
|
+
body:
|
7
|
+
encoding: US-ASCII
|
8
|
+
string: ''
|
9
|
+
headers: {}
|
10
|
+
response:
|
11
|
+
status:
|
12
|
+
code: 200
|
13
|
+
message: OK
|
14
|
+
headers:
|
15
|
+
Server:
|
16
|
+
- nginx/1.2.2
|
17
|
+
Content-Type:
|
18
|
+
- application/json
|
19
|
+
Transfer-Encoding:
|
20
|
+
- chunked
|
21
|
+
Connection:
|
22
|
+
- keep-alive
|
23
|
+
Keep-Alive:
|
24
|
+
- timeout=10
|
25
|
+
X-Powered-By:
|
26
|
+
- PHP/5.3.15
|
27
|
+
Cache-Control:
|
28
|
+
- no-cache
|
29
|
+
Date:
|
30
|
+
- Wed, 05 Sep 2012 19:49:50 GMT
|
31
|
+
X-Debug-Token:
|
32
|
+
- 5047acde87d5c
|
33
|
+
body:
|
34
|
+
encoding: US-ASCII
|
35
|
+
string: ! '{"observe":[{"hour":"2012-09-05 00:00:00","customers":0,"customers_returning":0},{"hour":"2012-09-05
|
36
|
+
01:00:00","customers":0,"customers_returning":0},{"hour":"2012-09-05 02:00:00","customers":0,"customers_returning":0},{"hour":"2012-09-05
|
37
|
+
03:00:00","customers":0,"customers_returning":0},{"hour":"2012-09-05 04:00:00","customers":0,"customers_returning":0},{"hour":"2012-09-05
|
38
|
+
05:00:00","customers":0,"customers_returning":0},{"hour":"2012-09-05 06:00:00","customers":0,"customers_returning":0},{"hour":"2012-09-05
|
39
|
+
07:00:00","customers":0,"customers_returning":0},{"hour":"2012-09-05 08:00:00","customers":0,"customers_returning":0},{"hour":"2012-09-05
|
40
|
+
09:00:00","customers":0,"customers_returning":0},{"hour":"2012-09-05 10:00:00","customers":0,"customers_returning":0},{"hour":"2012-09-05
|
41
|
+
11:00:00","customers":0,"customers_returning":0},{"hour":"2012-09-05 12:00:00","customers":0,"customers_returning":0},{"hour":"2012-09-05
|
42
|
+
13:00:00","customers":0,"customers_returning":0},{"hour":"2012-09-05 14:00:00","customers":0,"customers_returning":0},{"hour":"2012-09-05
|
43
|
+
15:00:00","customers":0,"customers_returning":0},{"hour":"2012-09-05 16:00:00","customers":0,"customers_returning":0},{"hour":"2012-09-05
|
44
|
+
17:00:00","customers":0,"customers_returning":0},{"hour":"2012-09-05 18:00:00","customers":0,"customers_returning":0},{"hour":"2012-09-05
|
45
|
+
19:00:00","customers":0,"customers_returning":0},{"hour":"2012-09-05 20:00:00","customers":0,"customers_returning":0},{"hour":"2012-09-05
|
46
|
+
21:00:00","customers":0,"customers_returning":0}]}'
|
47
|
+
http_version:
|
48
|
+
recorded_at: Wed, 05 Sep 2012 19:49:50 GMT
|
49
|
+
recorded_with: VCR 2.2.4
|
@@ -0,0 +1,60 @@
|
|
1
|
+
---
|
2
|
+
http_interactions:
|
3
|
+
- request:
|
4
|
+
method: get
|
5
|
+
uri: http://api.jirafe.dev/v1/applications/1/sites/1/dashboard/freebird?token=user_master_token
|
6
|
+
body:
|
7
|
+
encoding: US-ASCII
|
8
|
+
string: ''
|
9
|
+
headers: {}
|
10
|
+
response:
|
11
|
+
status:
|
12
|
+
code: 200
|
13
|
+
message: OK
|
14
|
+
headers:
|
15
|
+
Server:
|
16
|
+
- nginx/1.2.2
|
17
|
+
Content-Type:
|
18
|
+
- application/json
|
19
|
+
Transfer-Encoding:
|
20
|
+
- chunked
|
21
|
+
Connection:
|
22
|
+
- keep-alive
|
23
|
+
Keep-Alive:
|
24
|
+
- timeout=10
|
25
|
+
X-Powered-By:
|
26
|
+
- PHP/5.3.15
|
27
|
+
Cache-Control:
|
28
|
+
- no-cache
|
29
|
+
Date:
|
30
|
+
- Wed, 05 Sep 2012 19:49:50 GMT
|
31
|
+
X-Debug-Token:
|
32
|
+
- 5047acdecb723
|
33
|
+
body:
|
34
|
+
encoding: US-ASCII
|
35
|
+
string: ! '{"observe":{"sales":{"visits":0,"pageviews":0,"orders":0,"revenue":0,"aov":0,"conv_rate":0,"rpv":0,"rpm":0},"visits":{"visits":0,"bounced":0,"interested":0,"engaged":0,"ready_to_buy":0,"customers":0},"carts":{"tot_carts":0,"ab_carts":0,"ab_revenue":0,"ab_aov":0,"ab_rate":0},"customers":{"customers":0,"customers_returning":0},"referrer":[],"keyword":[],"origin":[],"product":[],"category":[],"abandoned_product":[],"abandoned_category":[],"metrics":{"customer":[{"hour":"2012-09-05
|
36
|
+
00:00:00","customers":0,"customers_returning":0},{"hour":"2012-09-05 01:00:00","customers":0,"customers_returning":0},{"hour":"2012-09-05
|
37
|
+
02:00:00","customers":0,"customers_returning":0},{"hour":"2012-09-05 03:00:00","customers":0,"customers_returning":0},{"hour":"2012-09-05
|
38
|
+
04:00:00","customers":0,"customers_returning":0},{"hour":"2012-09-05 05:00:00","customers":0,"customers_returning":0},{"hour":"2012-09-05
|
39
|
+
06:00:00","customers":0,"customers_returning":0},{"hour":"2012-09-05 07:00:00","customers":0,"customers_returning":0},{"hour":"2012-09-05
|
40
|
+
08:00:00","customers":0,"customers_returning":0},{"hour":"2012-09-05 09:00:00","customers":0,"customers_returning":0},{"hour":"2012-09-05
|
41
|
+
10:00:00","customers":0,"customers_returning":0},{"hour":"2012-09-05 11:00:00","customers":0,"customers_returning":0},{"hour":"2012-09-05
|
42
|
+
12:00:00","customers":0,"customers_returning":0},{"hour":"2012-09-05 13:00:00","customers":0,"customers_returning":0},{"hour":"2012-09-05
|
43
|
+
14:00:00","customers":0,"customers_returning":0},{"hour":"2012-09-05 15:00:00","customers":0,"customers_returning":0},{"hour":"2012-09-05
|
44
|
+
16:00:00","customers":0,"customers_returning":0},{"hour":"2012-09-05 17:00:00","customers":0,"customers_returning":0},{"hour":"2012-09-05
|
45
|
+
18:00:00","customers":0,"customers_returning":0},{"hour":"2012-09-05 19:00:00","customers":0,"customers_returning":0},{"hour":"2012-09-05
|
46
|
+
20:00:00","customers":0,"customers_returning":0},{"hour":"2012-09-05 21:00:00","customers":0,"customers_returning":0}],"abandoned_cart":[{"hour":"2012-09-05
|
47
|
+
00:00:00","ab_carts":0},{"hour":"2012-09-05 01:00:00","ab_carts":0},{"hour":"2012-09-05
|
48
|
+
02:00:00","ab_carts":0},{"hour":"2012-09-05 03:00:00","ab_carts":0},{"hour":"2012-09-05
|
49
|
+
04:00:00","ab_carts":0},{"hour":"2012-09-05 05:00:00","ab_carts":0},{"hour":"2012-09-05
|
50
|
+
06:00:00","ab_carts":0},{"hour":"2012-09-05 07:00:00","ab_carts":0},{"hour":"2012-09-05
|
51
|
+
08:00:00","ab_carts":0},{"hour":"2012-09-05 09:00:00","ab_carts":0},{"hour":"2012-09-05
|
52
|
+
10:00:00","ab_carts":0},{"hour":"2012-09-05 11:00:00","ab_carts":0},{"hour":"2012-09-05
|
53
|
+
12:00:00","ab_carts":0},{"hour":"2012-09-05 13:00:00","ab_carts":0},{"hour":"2012-09-05
|
54
|
+
14:00:00","ab_carts":0},{"hour":"2012-09-05 15:00:00","ab_carts":0},{"hour":"2012-09-05
|
55
|
+
16:00:00","ab_carts":0},{"hour":"2012-09-05 17:00:00","ab_carts":0},{"hour":"2012-09-05
|
56
|
+
18:00:00","ab_carts":0},{"hour":"2012-09-05 19:00:00","ab_carts":0},{"hour":"2012-09-05
|
57
|
+
20:00:00","ab_carts":0},{"hour":"2012-09-05 21:00:00","ab_carts":0}]}},"tracked_customers":79}'
|
58
|
+
http_version:
|
59
|
+
recorded_at: Wed, 05 Sep 2012 19:49:50 GMT
|
60
|
+
recorded_with: VCR 2.2.4
|
@@ -0,0 +1,73 @@
|
|
1
|
+
---
|
2
|
+
http_interactions:
|
3
|
+
- request:
|
4
|
+
method: get
|
5
|
+
uri: http://api.jirafe.dev/v1/applications/1/sites/1?token=user_master_token
|
6
|
+
body:
|
7
|
+
encoding: US-ASCII
|
8
|
+
string: ''
|
9
|
+
headers: {}
|
10
|
+
response:
|
11
|
+
status:
|
12
|
+
code: 200
|
13
|
+
message: OK
|
14
|
+
headers:
|
15
|
+
Server:
|
16
|
+
- nginx/1.2.2
|
17
|
+
Content-Type:
|
18
|
+
- application/json
|
19
|
+
Transfer-Encoding:
|
20
|
+
- chunked
|
21
|
+
Connection:
|
22
|
+
- keep-alive
|
23
|
+
Keep-Alive:
|
24
|
+
- timeout=10
|
25
|
+
X-Powered-By:
|
26
|
+
- PHP/5.3.15
|
27
|
+
Cache-Control:
|
28
|
+
- no-cache
|
29
|
+
Date:
|
30
|
+
- Wed, 05 Sep 2012 19:49:45 GMT
|
31
|
+
X-Debug-Token:
|
32
|
+
- 5047acd97e0da
|
33
|
+
body:
|
34
|
+
encoding: US-ASCII
|
35
|
+
string: ! '{"site_id":1,"app_id":1,"description":"Test Site","url":"http:\/\/jirafe.com","timezone":"Europe\/Paris","currency":"EUR","external_id":"","store_api_url":null,"store_cart_url":null,"timezone_diff":7200}'
|
36
|
+
http_version:
|
37
|
+
recorded_at: Wed, 05 Sep 2012 19:49:45 GMT
|
38
|
+
- request:
|
39
|
+
method: get
|
40
|
+
uri: http://api.jirafe.dev/v1/applications/1/sites?token=user_master_token
|
41
|
+
body:
|
42
|
+
encoding: US-ASCII
|
43
|
+
string: ''
|
44
|
+
headers: {}
|
45
|
+
response:
|
46
|
+
status:
|
47
|
+
code: 200
|
48
|
+
message: OK
|
49
|
+
headers:
|
50
|
+
Server:
|
51
|
+
- nginx/1.2.2
|
52
|
+
Content-Type:
|
53
|
+
- application/json
|
54
|
+
Transfer-Encoding:
|
55
|
+
- chunked
|
56
|
+
Connection:
|
57
|
+
- keep-alive
|
58
|
+
Keep-Alive:
|
59
|
+
- timeout=10
|
60
|
+
X-Powered-By:
|
61
|
+
- PHP/5.3.15
|
62
|
+
Cache-Control:
|
63
|
+
- no-cache
|
64
|
+
Date:
|
65
|
+
- Wed, 05 Sep 2012 19:49:45 GMT
|
66
|
+
X-Debug-Token:
|
67
|
+
- 5047acd99f773
|
68
|
+
body:
|
69
|
+
encoding: US-ASCII
|
70
|
+
string: ! '[{"site_id":1,"app_id":1,"description":"Test Site","url":"http:\/\/jirafe.com","timezone":"Europe\/Paris","currency":"EUR","external_id":"","store_api_url":"http:\/\/localhost:3333\/test_callbacks","store_cart_url":null,"timezone_diff":7200}]'
|
71
|
+
http_version:
|
72
|
+
recorded_at: Wed, 05 Sep 2012 19:49:45 GMT
|
73
|
+
recorded_with: VCR 2.2.4
|
@@ -0,0 +1,38 @@
|
|
1
|
+
---
|
2
|
+
http_interactions:
|
3
|
+
- request:
|
4
|
+
method: get
|
5
|
+
uri: http://api.jirafe.dev/v1/applications/1/sites/1/keywords?token=user_master_token
|
6
|
+
body:
|
7
|
+
encoding: US-ASCII
|
8
|
+
string: ''
|
9
|
+
headers: {}
|
10
|
+
response:
|
11
|
+
status:
|
12
|
+
code: 200
|
13
|
+
message: OK
|
14
|
+
headers:
|
15
|
+
Server:
|
16
|
+
- nginx/1.2.2
|
17
|
+
Content-Type:
|
18
|
+
- application/json
|
19
|
+
Transfer-Encoding:
|
20
|
+
- chunked
|
21
|
+
Connection:
|
22
|
+
- keep-alive
|
23
|
+
Keep-Alive:
|
24
|
+
- timeout=10
|
25
|
+
X-Powered-By:
|
26
|
+
- PHP/5.3.15
|
27
|
+
Cache-Control:
|
28
|
+
- no-cache
|
29
|
+
Date:
|
30
|
+
- Wed, 05 Sep 2012 19:49:50 GMT
|
31
|
+
X-Debug-Token:
|
32
|
+
- 5047acdedfd77
|
33
|
+
body:
|
34
|
+
encoding: US-ASCII
|
35
|
+
string: ! '[]'
|
36
|
+
http_version:
|
37
|
+
recorded_at: Wed, 05 Sep 2012 19:49:50 GMT
|
38
|
+
recorded_with: VCR 2.2.4
|
@@ -0,0 +1,38 @@
|
|
1
|
+
---
|
2
|
+
http_interactions:
|
3
|
+
- request:
|
4
|
+
method: get
|
5
|
+
uri: http://api.jirafe.dev/v1/applications/1/sites/1/orders/status?token=user_master_token
|
6
|
+
body:
|
7
|
+
encoding: US-ASCII
|
8
|
+
string: ''
|
9
|
+
headers: {}
|
10
|
+
response:
|
11
|
+
status:
|
12
|
+
code: 200
|
13
|
+
message: OK
|
14
|
+
headers:
|
15
|
+
Server:
|
16
|
+
- nginx/1.2.2
|
17
|
+
Content-Type:
|
18
|
+
- application/json
|
19
|
+
Transfer-Encoding:
|
20
|
+
- chunked
|
21
|
+
Connection:
|
22
|
+
- keep-alive
|
23
|
+
Keep-Alive:
|
24
|
+
- timeout=10
|
25
|
+
X-Powered-By:
|
26
|
+
- PHP/5.3.15
|
27
|
+
Cache-Control:
|
28
|
+
- no-cache
|
29
|
+
Date:
|
30
|
+
- Wed, 05 Sep 2012 19:49:51 GMT
|
31
|
+
X-Debug-Token:
|
32
|
+
- 5047acdf1fd78
|
33
|
+
body:
|
34
|
+
encoding: US-ASCII
|
35
|
+
string: ! '{"ok":1,"version":0,"errors":""}'
|
36
|
+
http_version:
|
37
|
+
recorded_at: Wed, 05 Sep 2012 19:49:51 GMT
|
38
|
+
recorded_with: VCR 2.2.4
|
@@ -0,0 +1,38 @@
|
|
1
|
+
---
|
2
|
+
http_interactions:
|
3
|
+
- request:
|
4
|
+
method: get
|
5
|
+
uri: http://api.jirafe.dev/v1/applications/1/sites/1/origins?token=user_master_token
|
6
|
+
body:
|
7
|
+
encoding: US-ASCII
|
8
|
+
string: ''
|
9
|
+
headers: {}
|
10
|
+
response:
|
11
|
+
status:
|
12
|
+
code: 200
|
13
|
+
message: OK
|
14
|
+
headers:
|
15
|
+
Server:
|
16
|
+
- nginx/1.2.2
|
17
|
+
Content-Type:
|
18
|
+
- application/json
|
19
|
+
Transfer-Encoding:
|
20
|
+
- chunked
|
21
|
+
Connection:
|
22
|
+
- keep-alive
|
23
|
+
Keep-Alive:
|
24
|
+
- timeout=10
|
25
|
+
X-Powered-By:
|
26
|
+
- PHP/5.3.15
|
27
|
+
Cache-Control:
|
28
|
+
- no-cache
|
29
|
+
Date:
|
30
|
+
- Wed, 05 Sep 2012 19:49:51 GMT
|
31
|
+
X-Debug-Token:
|
32
|
+
- 5047acdf32d07
|
33
|
+
body:
|
34
|
+
encoding: US-ASCII
|
35
|
+
string: ! '[]'
|
36
|
+
http_version:
|
37
|
+
recorded_at: Wed, 05 Sep 2012 19:49:51 GMT
|
38
|
+
recorded_with: VCR 2.2.4
|
@@ -0,0 +1,38 @@
|
|
1
|
+
---
|
2
|
+
http_interactions:
|
3
|
+
- request:
|
4
|
+
method: get
|
5
|
+
uri: http://api.jirafe.dev/v1/applications/1/sites/1/period/data?token=user_master_token
|
6
|
+
body:
|
7
|
+
encoding: US-ASCII
|
8
|
+
string: ''
|
9
|
+
headers: {}
|
10
|
+
response:
|
11
|
+
status:
|
12
|
+
code: 200
|
13
|
+
message: OK
|
14
|
+
headers:
|
15
|
+
Server:
|
16
|
+
- nginx/1.2.2
|
17
|
+
Content-Type:
|
18
|
+
- application/json
|
19
|
+
Transfer-Encoding:
|
20
|
+
- chunked
|
21
|
+
Connection:
|
22
|
+
- keep-alive
|
23
|
+
Keep-Alive:
|
24
|
+
- timeout=10
|
25
|
+
X-Powered-By:
|
26
|
+
- PHP/5.3.15
|
27
|
+
Cache-Control:
|
28
|
+
- no-cache
|
29
|
+
Date:
|
30
|
+
- Wed, 05 Sep 2012 19:49:51 GMT
|
31
|
+
X-Debug-Token:
|
32
|
+
- 5047acdf4a67a
|
33
|
+
body:
|
34
|
+
encoding: US-ASCII
|
35
|
+
string: ! '{"observe":{"sales":{"visits":0,"pageviews":0,"orders":0,"revenue":0,"aov":0,"conv_rate":0,"rpv":0,"rpm":0},"visits":{"visits":0,"bounced":0,"interested":0,"engaged":0,"ready_to_buy":0,"customers":0},"carts":{"tot_carts":0,"ab_carts":0,"ab_revenue":0,"ab_aov":0,"ab_rate":0}}}'
|
36
|
+
http_version:
|
37
|
+
recorded_at: Wed, 05 Sep 2012 19:49:51 GMT
|
38
|
+
recorded_with: VCR 2.2.4
|
@@ -0,0 +1,727 @@
|
|
1
|
+
---
|
2
|
+
http_interactions:
|
3
|
+
- request:
|
4
|
+
method: post
|
5
|
+
uri: http://api.jirafe.dev/v1/applications/169/sites?token=secret_token
|
6
|
+
body:
|
7
|
+
encoding: US-ASCII
|
8
|
+
string: description=my%20new%20site&store_api_url=
|
9
|
+
headers: {}
|
10
|
+
response:
|
11
|
+
status:
|
12
|
+
code: 403
|
13
|
+
message: Forbidden
|
14
|
+
headers:
|
15
|
+
Server:
|
16
|
+
- nginx/1.2.2
|
17
|
+
Content-Type:
|
18
|
+
- text/html; charset=UTF-8
|
19
|
+
Transfer-Encoding:
|
20
|
+
- chunked
|
21
|
+
Connection:
|
22
|
+
- keep-alive
|
23
|
+
Keep-Alive:
|
24
|
+
- timeout=10
|
25
|
+
X-Powered-By:
|
26
|
+
- PHP/5.3.15
|
27
|
+
Cache-Control:
|
28
|
+
- no-cache
|
29
|
+
Date:
|
30
|
+
- Wed, 05 Sep 2012 19:06:50 GMT
|
31
|
+
X-Debug-Token:
|
32
|
+
- 5047a2ca15e54
|
33
|
+
body:
|
34
|
+
encoding: US-ASCII
|
35
|
+
string: ! '{"error":{"code":403,"message":"Access denied."}}
|
36
|
+
|
37
|
+
'
|
38
|
+
http_version:
|
39
|
+
recorded_at: Wed, 05 Sep 2012 19:06:50 GMT
|
40
|
+
- request:
|
41
|
+
method: post
|
42
|
+
uri: http://api.jirafe.dev/v1/applications/170/sites?token=secret_token
|
43
|
+
body:
|
44
|
+
encoding: US-ASCII
|
45
|
+
string: description=my%20new%20site&store_api_url=
|
46
|
+
headers: {}
|
47
|
+
response:
|
48
|
+
status:
|
49
|
+
code: 403
|
50
|
+
message: Forbidden
|
51
|
+
headers:
|
52
|
+
Server:
|
53
|
+
- nginx/1.2.2
|
54
|
+
Content-Type:
|
55
|
+
- text/html; charset=UTF-8
|
56
|
+
Transfer-Encoding:
|
57
|
+
- chunked
|
58
|
+
Connection:
|
59
|
+
- keep-alive
|
60
|
+
Keep-Alive:
|
61
|
+
- timeout=10
|
62
|
+
X-Powered-By:
|
63
|
+
- PHP/5.3.15
|
64
|
+
Cache-Control:
|
65
|
+
- no-cache
|
66
|
+
Date:
|
67
|
+
- Wed, 05 Sep 2012 19:06:50 GMT
|
68
|
+
X-Debug-Token:
|
69
|
+
- 5047a2ca364e5
|
70
|
+
body:
|
71
|
+
encoding: US-ASCII
|
72
|
+
string: ! '{"error":{"code":403,"message":"Access denied."}}
|
73
|
+
|
74
|
+
'
|
75
|
+
http_version:
|
76
|
+
recorded_at: Wed, 05 Sep 2012 19:06:50 GMT
|
77
|
+
- request:
|
78
|
+
method: post
|
79
|
+
uri: http://api.jirafe.dev/v1/applications/171/sites?token=secret_token
|
80
|
+
body:
|
81
|
+
encoding: US-ASCII
|
82
|
+
string: description=my%20new%20site&store_api_url=
|
83
|
+
headers: {}
|
84
|
+
response:
|
85
|
+
status:
|
86
|
+
code: 403
|
87
|
+
message: Forbidden
|
88
|
+
headers:
|
89
|
+
Server:
|
90
|
+
- nginx/1.2.2
|
91
|
+
Content-Type:
|
92
|
+
- text/html; charset=UTF-8
|
93
|
+
Transfer-Encoding:
|
94
|
+
- chunked
|
95
|
+
Connection:
|
96
|
+
- keep-alive
|
97
|
+
Keep-Alive:
|
98
|
+
- timeout=10
|
99
|
+
X-Powered-By:
|
100
|
+
- PHP/5.3.15
|
101
|
+
Cache-Control:
|
102
|
+
- no-cache
|
103
|
+
Date:
|
104
|
+
- Wed, 05 Sep 2012 19:06:50 GMT
|
105
|
+
X-Debug-Token:
|
106
|
+
- 5047a2ca58c28
|
107
|
+
body:
|
108
|
+
encoding: US-ASCII
|
109
|
+
string: ! '{"error":{"code":403,"message":"Access denied."}}
|
110
|
+
|
111
|
+
'
|
112
|
+
http_version:
|
113
|
+
recorded_at: Wed, 05 Sep 2012 19:06:50 GMT
|
114
|
+
- request:
|
115
|
+
method: post
|
116
|
+
uri: http://api.jirafe.dev/v1/applications/172/sites?token=9b87efc6df38011ace3ccc1907ff2393
|
117
|
+
body:
|
118
|
+
encoding: US-ASCII
|
119
|
+
string: description=my%20new%20site&store_api_url=
|
120
|
+
headers: {}
|
121
|
+
response:
|
122
|
+
status:
|
123
|
+
code: 400
|
124
|
+
message: Bad Request
|
125
|
+
headers:
|
126
|
+
Server:
|
127
|
+
- nginx/1.2.2
|
128
|
+
Content-Type:
|
129
|
+
- text/html; charset=UTF-8
|
130
|
+
Transfer-Encoding:
|
131
|
+
- chunked
|
132
|
+
Connection:
|
133
|
+
- keep-alive
|
134
|
+
Keep-Alive:
|
135
|
+
- timeout=10
|
136
|
+
X-Powered-By:
|
137
|
+
- PHP/5.3.15
|
138
|
+
Cache-Control:
|
139
|
+
- no-cache
|
140
|
+
Date:
|
141
|
+
- Wed, 05 Sep 2012 19:08:57 GMT
|
142
|
+
X-Debug-Token:
|
143
|
+
- 5047a34932bd4
|
144
|
+
body:
|
145
|
+
encoding: US-ASCII
|
146
|
+
string: ! '{"error":{"code":400,"message":"Invalid Site resource provided.","data":["[url]()
|
147
|
+
- Url cannot be blank"]}}
|
148
|
+
|
149
|
+
'
|
150
|
+
http_version:
|
151
|
+
recorded_at: Wed, 05 Sep 2012 19:08:57 GMT
|
152
|
+
- request:
|
153
|
+
method: post
|
154
|
+
uri: http://api.jirafe.dev/v1/applications/173/sites?token=0df55dd094d0c351e7ded6b933d9f31c
|
155
|
+
body:
|
156
|
+
encoding: US-ASCII
|
157
|
+
string: description=my%20new%20site&store_api_url=
|
158
|
+
headers: {}
|
159
|
+
response:
|
160
|
+
status:
|
161
|
+
code: 400
|
162
|
+
message: Bad Request
|
163
|
+
headers:
|
164
|
+
Server:
|
165
|
+
- nginx/1.2.2
|
166
|
+
Content-Type:
|
167
|
+
- text/html; charset=UTF-8
|
168
|
+
Transfer-Encoding:
|
169
|
+
- chunked
|
170
|
+
Connection:
|
171
|
+
- keep-alive
|
172
|
+
Keep-Alive:
|
173
|
+
- timeout=10
|
174
|
+
X-Powered-By:
|
175
|
+
- PHP/5.3.15
|
176
|
+
Cache-Control:
|
177
|
+
- no-cache
|
178
|
+
Date:
|
179
|
+
- Wed, 05 Sep 2012 19:08:57 GMT
|
180
|
+
X-Debug-Token:
|
181
|
+
- 5047a3495f90c
|
182
|
+
body:
|
183
|
+
encoding: US-ASCII
|
184
|
+
string: ! '{"error":{"code":400,"message":"Invalid Site resource provided.","data":["[url]()
|
185
|
+
- Url cannot be blank"]}}
|
186
|
+
|
187
|
+
'
|
188
|
+
http_version:
|
189
|
+
recorded_at: Wed, 05 Sep 2012 19:08:57 GMT
|
190
|
+
- request:
|
191
|
+
method: post
|
192
|
+
uri: http://api.jirafe.dev/v1/applications/174/sites?token=53f5fd0cbac71ed3e1462ad6d5d76d9d
|
193
|
+
body:
|
194
|
+
encoding: US-ASCII
|
195
|
+
string: description=my%20new%20site&store_api_url=
|
196
|
+
headers: {}
|
197
|
+
response:
|
198
|
+
status:
|
199
|
+
code: 400
|
200
|
+
message: Bad Request
|
201
|
+
headers:
|
202
|
+
Server:
|
203
|
+
- nginx/1.2.2
|
204
|
+
Content-Type:
|
205
|
+
- text/html; charset=UTF-8
|
206
|
+
Transfer-Encoding:
|
207
|
+
- chunked
|
208
|
+
Connection:
|
209
|
+
- keep-alive
|
210
|
+
Keep-Alive:
|
211
|
+
- timeout=10
|
212
|
+
X-Powered-By:
|
213
|
+
- PHP/5.3.15
|
214
|
+
Cache-Control:
|
215
|
+
- no-cache
|
216
|
+
Date:
|
217
|
+
- Wed, 05 Sep 2012 19:08:57 GMT
|
218
|
+
X-Debug-Token:
|
219
|
+
- 5047a34989e89
|
220
|
+
body:
|
221
|
+
encoding: US-ASCII
|
222
|
+
string: ! '{"error":{"code":400,"message":"Invalid Site resource provided.","data":["[url]()
|
223
|
+
- Url cannot be blank"]}}
|
224
|
+
|
225
|
+
'
|
226
|
+
http_version:
|
227
|
+
recorded_at: Wed, 05 Sep 2012 19:08:57 GMT
|
228
|
+
- request:
|
229
|
+
method: post
|
230
|
+
uri: http://api.jirafe.dev/v1/applications/175/sites?token=5743bd5f3096ec1c9c7a4bc54c4472d7
|
231
|
+
body:
|
232
|
+
encoding: US-ASCII
|
233
|
+
string: description=my%20new%20site&store_api_url=
|
234
|
+
headers: {}
|
235
|
+
response:
|
236
|
+
status:
|
237
|
+
code: 400
|
238
|
+
message: Bad Request
|
239
|
+
headers:
|
240
|
+
Server:
|
241
|
+
- nginx/1.2.2
|
242
|
+
Content-Type:
|
243
|
+
- text/html; charset=UTF-8
|
244
|
+
Transfer-Encoding:
|
245
|
+
- chunked
|
246
|
+
Connection:
|
247
|
+
- keep-alive
|
248
|
+
Keep-Alive:
|
249
|
+
- timeout=10
|
250
|
+
X-Powered-By:
|
251
|
+
- PHP/5.3.15
|
252
|
+
Cache-Control:
|
253
|
+
- no-cache
|
254
|
+
Date:
|
255
|
+
- Wed, 05 Sep 2012 19:09:21 GMT
|
256
|
+
X-Debug-Token:
|
257
|
+
- 5047a36122bac
|
258
|
+
body:
|
259
|
+
encoding: US-ASCII
|
260
|
+
string: ! '{"error":{"code":400,"message":"Invalid Site resource provided.","data":["[url]()
|
261
|
+
- Url cannot be blank"]}}
|
262
|
+
|
263
|
+
'
|
264
|
+
http_version:
|
265
|
+
recorded_at: Wed, 05 Sep 2012 19:09:21 GMT
|
266
|
+
- request:
|
267
|
+
method: post
|
268
|
+
uri: http://api.jirafe.dev/v1/applications/176/sites?token=9a092142dba05d6a6c48a3e4a660a4b0
|
269
|
+
body:
|
270
|
+
encoding: US-ASCII
|
271
|
+
string: description=my%20new%20site&store_api_url=
|
272
|
+
headers: {}
|
273
|
+
response:
|
274
|
+
status:
|
275
|
+
code: 400
|
276
|
+
message: Bad Request
|
277
|
+
headers:
|
278
|
+
Server:
|
279
|
+
- nginx/1.2.2
|
280
|
+
Content-Type:
|
281
|
+
- text/html; charset=UTF-8
|
282
|
+
Transfer-Encoding:
|
283
|
+
- chunked
|
284
|
+
Connection:
|
285
|
+
- keep-alive
|
286
|
+
Keep-Alive:
|
287
|
+
- timeout=10
|
288
|
+
X-Powered-By:
|
289
|
+
- PHP/5.3.15
|
290
|
+
Cache-Control:
|
291
|
+
- no-cache
|
292
|
+
Date:
|
293
|
+
- Wed, 05 Sep 2012 19:09:21 GMT
|
294
|
+
X-Debug-Token:
|
295
|
+
- 5047a3614f6ba
|
296
|
+
body:
|
297
|
+
encoding: US-ASCII
|
298
|
+
string: ! '{"error":{"code":400,"message":"Invalid Site resource provided.","data":["[url]()
|
299
|
+
- Url cannot be blank"]}}
|
300
|
+
|
301
|
+
'
|
302
|
+
http_version:
|
303
|
+
recorded_at: Wed, 05 Sep 2012 19:09:21 GMT
|
304
|
+
- request:
|
305
|
+
method: post
|
306
|
+
uri: http://api.jirafe.dev/v1/applications/177/sites?token=881317f0051220b9a6938c383703ebe8
|
307
|
+
body:
|
308
|
+
encoding: US-ASCII
|
309
|
+
string: description=my%20new%20site&store_api_url=
|
310
|
+
headers: {}
|
311
|
+
response:
|
312
|
+
status:
|
313
|
+
code: 400
|
314
|
+
message: Bad Request
|
315
|
+
headers:
|
316
|
+
Server:
|
317
|
+
- nginx/1.2.2
|
318
|
+
Content-Type:
|
319
|
+
- text/html; charset=UTF-8
|
320
|
+
Transfer-Encoding:
|
321
|
+
- chunked
|
322
|
+
Connection:
|
323
|
+
- keep-alive
|
324
|
+
Keep-Alive:
|
325
|
+
- timeout=10
|
326
|
+
X-Powered-By:
|
327
|
+
- PHP/5.3.15
|
328
|
+
Cache-Control:
|
329
|
+
- no-cache
|
330
|
+
Date:
|
331
|
+
- Wed, 05 Sep 2012 19:09:21 GMT
|
332
|
+
X-Debug-Token:
|
333
|
+
- 5047a3617acd2
|
334
|
+
body:
|
335
|
+
encoding: US-ASCII
|
336
|
+
string: ! '{"error":{"code":400,"message":"Invalid Site resource provided.","data":["[url]()
|
337
|
+
- Url cannot be blank"]}}
|
338
|
+
|
339
|
+
'
|
340
|
+
http_version:
|
341
|
+
recorded_at: Wed, 05 Sep 2012 19:09:21 GMT
|
342
|
+
- request:
|
343
|
+
method: post
|
344
|
+
uri: http://api.jirafe.dev/v1/applications/178/sites?token=58325ff1ca355853d7fac21a5a25bace
|
345
|
+
body:
|
346
|
+
encoding: US-ASCII
|
347
|
+
string: description=my%20new%20site&url=http%3A%2F%2Fexample.com%2F&store_api_url=
|
348
|
+
headers: {}
|
349
|
+
response:
|
350
|
+
status:
|
351
|
+
code: 200
|
352
|
+
message: OK
|
353
|
+
headers:
|
354
|
+
Server:
|
355
|
+
- nginx/1.2.2
|
356
|
+
Content-Type:
|
357
|
+
- application/json
|
358
|
+
Transfer-Encoding:
|
359
|
+
- chunked
|
360
|
+
Connection:
|
361
|
+
- keep-alive
|
362
|
+
Keep-Alive:
|
363
|
+
- timeout=10
|
364
|
+
X-Powered-By:
|
365
|
+
- PHP/5.3.15
|
366
|
+
Cache-Control:
|
367
|
+
- no-cache
|
368
|
+
Date:
|
369
|
+
- Wed, 05 Sep 2012 19:09:40 GMT
|
370
|
+
X-Debug-Token:
|
371
|
+
- 5047a374a90e5
|
372
|
+
body:
|
373
|
+
encoding: US-ASCII
|
374
|
+
string: ! '{"site_id":3,"app_id":178,"description":"my new site","url":"http:\/\/example.com\/","timezone":"UTC","currency":"USD","external_id":"","store_api_url":"","store_cart_url":null}'
|
375
|
+
http_version:
|
376
|
+
recorded_at: Wed, 05 Sep 2012 19:09:40 GMT
|
377
|
+
- request:
|
378
|
+
method: post
|
379
|
+
uri: http://api.jirafe.dev/v1/applications/179/sites?token=6d943b1f3eb9c8c17fd1fefd30ef0f52
|
380
|
+
body:
|
381
|
+
encoding: US-ASCII
|
382
|
+
string: description=my%20new%20site&url=http%3A%2F%2Fexample.com%2F&store_api_url=
|
383
|
+
headers: {}
|
384
|
+
response:
|
385
|
+
status:
|
386
|
+
code: 200
|
387
|
+
message: OK
|
388
|
+
headers:
|
389
|
+
Server:
|
390
|
+
- nginx/1.2.2
|
391
|
+
Content-Type:
|
392
|
+
- application/json
|
393
|
+
Transfer-Encoding:
|
394
|
+
- chunked
|
395
|
+
Connection:
|
396
|
+
- keep-alive
|
397
|
+
Keep-Alive:
|
398
|
+
- timeout=10
|
399
|
+
X-Powered-By:
|
400
|
+
- PHP/5.3.15
|
401
|
+
Cache-Control:
|
402
|
+
- no-cache
|
403
|
+
Date:
|
404
|
+
- Wed, 05 Sep 2012 19:09:40 GMT
|
405
|
+
X-Debug-Token:
|
406
|
+
- 5047a374d304e
|
407
|
+
body:
|
408
|
+
encoding: US-ASCII
|
409
|
+
string: ! '{"site_id":4,"app_id":179,"description":"my new site","url":"http:\/\/example.com\/","timezone":"UTC","currency":"USD","external_id":"","store_api_url":"","store_cart_url":null}'
|
410
|
+
http_version:
|
411
|
+
recorded_at: Wed, 05 Sep 2012 19:09:40 GMT
|
412
|
+
- request:
|
413
|
+
method: post
|
414
|
+
uri: http://api.jirafe.dev/v1/applications/180/sites?token=fdfa4cd3c2c41458dfcbf3969fd9028d
|
415
|
+
body:
|
416
|
+
encoding: US-ASCII
|
417
|
+
string: description=my%20new%20site&url=http%3A%2F%2Fexample.com%2F&store_api_url=
|
418
|
+
headers: {}
|
419
|
+
response:
|
420
|
+
status:
|
421
|
+
code: 200
|
422
|
+
message: OK
|
423
|
+
headers:
|
424
|
+
Server:
|
425
|
+
- nginx/1.2.2
|
426
|
+
Content-Type:
|
427
|
+
- application/json
|
428
|
+
Transfer-Encoding:
|
429
|
+
- chunked
|
430
|
+
Connection:
|
431
|
+
- keep-alive
|
432
|
+
Keep-Alive:
|
433
|
+
- timeout=10
|
434
|
+
X-Powered-By:
|
435
|
+
- PHP/5.3.15
|
436
|
+
Cache-Control:
|
437
|
+
- no-cache
|
438
|
+
Date:
|
439
|
+
- Wed, 05 Sep 2012 19:09:41 GMT
|
440
|
+
X-Debug-Token:
|
441
|
+
- 5047a3750868d
|
442
|
+
body:
|
443
|
+
encoding: US-ASCII
|
444
|
+
string: ! '{"site_id":5,"app_id":180,"description":"my new site","url":"http:\/\/example.com\/","timezone":"UTC","currency":"USD","external_id":"","store_api_url":"","store_cart_url":null}'
|
445
|
+
http_version:
|
446
|
+
recorded_at: Wed, 05 Sep 2012 19:09:41 GMT
|
447
|
+
- request:
|
448
|
+
method: post
|
449
|
+
uri: http://api.jirafe.dev/v1/applications/181/sites?token=c7746054130072b9b923f237a4ffc175
|
450
|
+
body:
|
451
|
+
encoding: US-ASCII
|
452
|
+
string: description=my%20new%20site&url=http%3A%2F%2Fexample.com%2F&store_api_url=
|
453
|
+
headers: {}
|
454
|
+
response:
|
455
|
+
status:
|
456
|
+
code: 200
|
457
|
+
message: OK
|
458
|
+
headers:
|
459
|
+
Server:
|
460
|
+
- nginx/1.2.2
|
461
|
+
Content-Type:
|
462
|
+
- application/json
|
463
|
+
Transfer-Encoding:
|
464
|
+
- chunked
|
465
|
+
Connection:
|
466
|
+
- keep-alive
|
467
|
+
Keep-Alive:
|
468
|
+
- timeout=10
|
469
|
+
X-Powered-By:
|
470
|
+
- PHP/5.3.15
|
471
|
+
Cache-Control:
|
472
|
+
- no-cache
|
473
|
+
Date:
|
474
|
+
- Wed, 05 Sep 2012 19:10:16 GMT
|
475
|
+
X-Debug-Token:
|
476
|
+
- 5047a398d3ee2
|
477
|
+
body:
|
478
|
+
encoding: US-ASCII
|
479
|
+
string: ! '{"site_id":6,"app_id":181,"description":"my new site","url":"http:\/\/example.com\/","timezone":"UTC","currency":"USD","external_id":"","store_api_url":"","store_cart_url":null}'
|
480
|
+
http_version:
|
481
|
+
recorded_at: Wed, 05 Sep 2012 19:10:16 GMT
|
482
|
+
- request:
|
483
|
+
method: post
|
484
|
+
uri: http://api.jirafe.dev/v1/applications/182/sites?token=f7694dbdeb041a56a55abb7c34d7264a
|
485
|
+
body:
|
486
|
+
encoding: US-ASCII
|
487
|
+
string: description=my%20new%20site&url=http%3A%2F%2Fexample.com%2F&store_api_url=
|
488
|
+
headers: {}
|
489
|
+
response:
|
490
|
+
status:
|
491
|
+
code: 200
|
492
|
+
message: OK
|
493
|
+
headers:
|
494
|
+
Server:
|
495
|
+
- nginx/1.2.2
|
496
|
+
Content-Type:
|
497
|
+
- application/json
|
498
|
+
Transfer-Encoding:
|
499
|
+
- chunked
|
500
|
+
Connection:
|
501
|
+
- keep-alive
|
502
|
+
Keep-Alive:
|
503
|
+
- timeout=10
|
504
|
+
X-Powered-By:
|
505
|
+
- PHP/5.3.15
|
506
|
+
Cache-Control:
|
507
|
+
- no-cache
|
508
|
+
Date:
|
509
|
+
- Wed, 05 Sep 2012 19:10:17 GMT
|
510
|
+
X-Debug-Token:
|
511
|
+
- 5047a3990ce2e
|
512
|
+
body:
|
513
|
+
encoding: US-ASCII
|
514
|
+
string: ! '{"site_id":7,"app_id":182,"description":"my new site","url":"http:\/\/example.com\/","timezone":"UTC","currency":"USD","external_id":"","store_api_url":"","store_cart_url":null}'
|
515
|
+
http_version:
|
516
|
+
recorded_at: Wed, 05 Sep 2012 19:10:17 GMT
|
517
|
+
- request:
|
518
|
+
method: post
|
519
|
+
uri: http://api.jirafe.dev/v1/applications/183/sites?token=0e4d978d77e07adfa50d7278f85ffa29
|
520
|
+
body:
|
521
|
+
encoding: US-ASCII
|
522
|
+
string: description=my%20new%20site&url=http%3A%2F%2Fexample.com%2F&store_api_url=
|
523
|
+
headers: {}
|
524
|
+
response:
|
525
|
+
status:
|
526
|
+
code: 200
|
527
|
+
message: OK
|
528
|
+
headers:
|
529
|
+
Server:
|
530
|
+
- nginx/1.2.2
|
531
|
+
Content-Type:
|
532
|
+
- application/json
|
533
|
+
Transfer-Encoding:
|
534
|
+
- chunked
|
535
|
+
Connection:
|
536
|
+
- keep-alive
|
537
|
+
Keep-Alive:
|
538
|
+
- timeout=10
|
539
|
+
X-Powered-By:
|
540
|
+
- PHP/5.3.15
|
541
|
+
Cache-Control:
|
542
|
+
- no-cache
|
543
|
+
Date:
|
544
|
+
- Wed, 05 Sep 2012 19:10:17 GMT
|
545
|
+
X-Debug-Token:
|
546
|
+
- 5047a3993780f
|
547
|
+
body:
|
548
|
+
encoding: US-ASCII
|
549
|
+
string: ! '{"site_id":8,"app_id":183,"description":"my new site","url":"http:\/\/example.com\/","timezone":"UTC","currency":"USD","external_id":"","store_api_url":"","store_cart_url":null}'
|
550
|
+
http_version:
|
551
|
+
recorded_at: Wed, 05 Sep 2012 19:10:17 GMT
|
552
|
+
- request:
|
553
|
+
method: post
|
554
|
+
uri: http://api.jirafe.dev/v1/applications/184/sites?token=1ff2ca8deb7892cbaaed015b2bc9f582
|
555
|
+
body:
|
556
|
+
encoding: US-ASCII
|
557
|
+
string: description=my%20new%20site&url=http%3A%2F%2Fexample.com%2F&store_api_url=
|
558
|
+
headers: {}
|
559
|
+
response:
|
560
|
+
status:
|
561
|
+
code: 200
|
562
|
+
message: OK
|
563
|
+
headers:
|
564
|
+
Server:
|
565
|
+
- nginx/1.2.2
|
566
|
+
Content-Type:
|
567
|
+
- application/json
|
568
|
+
Transfer-Encoding:
|
569
|
+
- chunked
|
570
|
+
Connection:
|
571
|
+
- keep-alive
|
572
|
+
Keep-Alive:
|
573
|
+
- timeout=10
|
574
|
+
X-Powered-By:
|
575
|
+
- PHP/5.3.15
|
576
|
+
Cache-Control:
|
577
|
+
- no-cache
|
578
|
+
Date:
|
579
|
+
- Wed, 05 Sep 2012 19:10:17 GMT
|
580
|
+
X-Debug-Token:
|
581
|
+
- 5047a39965f01
|
582
|
+
body:
|
583
|
+
encoding: US-ASCII
|
584
|
+
string: ! '{"site_id":9,"app_id":184,"description":"my new site","url":"http:\/\/example.com\/","timezone":"UTC","currency":"USD","external_id":"","store_api_url":"","store_cart_url":null}'
|
585
|
+
http_version:
|
586
|
+
recorded_at: Wed, 05 Sep 2012 19:10:17 GMT
|
587
|
+
- request:
|
588
|
+
method: post
|
589
|
+
uri: http://api.jirafe.dev/v1/applications/229/sites?token=d0d87af2206c368eb531b739687e05c4
|
590
|
+
body:
|
591
|
+
encoding: US-ASCII
|
592
|
+
string: description=my%20new%20site&url=http%3A%2F%2Fexample.com%2F&store_api_url=
|
593
|
+
headers: {}
|
594
|
+
response:
|
595
|
+
status:
|
596
|
+
code: 200
|
597
|
+
message: OK
|
598
|
+
headers:
|
599
|
+
Server:
|
600
|
+
- nginx/1.2.2
|
601
|
+
Content-Type:
|
602
|
+
- application/json
|
603
|
+
Transfer-Encoding:
|
604
|
+
- chunked
|
605
|
+
Connection:
|
606
|
+
- keep-alive
|
607
|
+
Keep-Alive:
|
608
|
+
- timeout=10
|
609
|
+
X-Powered-By:
|
610
|
+
- PHP/5.3.15
|
611
|
+
Cache-Control:
|
612
|
+
- no-cache
|
613
|
+
Date:
|
614
|
+
- Wed, 05 Sep 2012 19:49:45 GMT
|
615
|
+
X-Debug-Token:
|
616
|
+
- 5047acd9cbf46
|
617
|
+
body:
|
618
|
+
encoding: US-ASCII
|
619
|
+
string: ! '{"site_id":31,"app_id":229,"description":"my new site","url":"http:\/\/example.com\/","timezone":"UTC","currency":"USD","external_id":"","store_api_url":"","store_cart_url":null}'
|
620
|
+
http_version:
|
621
|
+
recorded_at: Wed, 05 Sep 2012 19:49:45 GMT
|
622
|
+
- request:
|
623
|
+
method: post
|
624
|
+
uri: http://api.jirafe.dev/v1/applications/230/sites?token=88d5c9196898839dc96ef39c657e8a41
|
625
|
+
body:
|
626
|
+
encoding: US-ASCII
|
627
|
+
string: description=my%20new%20site&url=http%3A%2F%2Fexample.com%2F&store_api_url=
|
628
|
+
headers: {}
|
629
|
+
response:
|
630
|
+
status:
|
631
|
+
code: 200
|
632
|
+
message: OK
|
633
|
+
headers:
|
634
|
+
Server:
|
635
|
+
- nginx/1.2.2
|
636
|
+
Content-Type:
|
637
|
+
- application/json
|
638
|
+
Transfer-Encoding:
|
639
|
+
- chunked
|
640
|
+
Connection:
|
641
|
+
- keep-alive
|
642
|
+
Keep-Alive:
|
643
|
+
- timeout=10
|
644
|
+
X-Powered-By:
|
645
|
+
- PHP/5.3.15
|
646
|
+
Cache-Control:
|
647
|
+
- no-cache
|
648
|
+
Date:
|
649
|
+
- Wed, 05 Sep 2012 19:49:46 GMT
|
650
|
+
X-Debug-Token:
|
651
|
+
- 5047acda04383
|
652
|
+
body:
|
653
|
+
encoding: US-ASCII
|
654
|
+
string: ! '{"site_id":32,"app_id":230,"description":"my new site","url":"http:\/\/example.com\/","timezone":"UTC","currency":"USD","external_id":"","store_api_url":"","store_cart_url":null}'
|
655
|
+
http_version:
|
656
|
+
recorded_at: Wed, 05 Sep 2012 19:49:46 GMT
|
657
|
+
- request:
|
658
|
+
method: post
|
659
|
+
uri: http://api.jirafe.dev/v1/applications/231/sites?token=bbffe5af63edf6f5710bf47c17d6a53c
|
660
|
+
body:
|
661
|
+
encoding: US-ASCII
|
662
|
+
string: description=my%20new%20site&url=http%3A%2F%2Fexample.com%2F&store_api_url=
|
663
|
+
headers: {}
|
664
|
+
response:
|
665
|
+
status:
|
666
|
+
code: 200
|
667
|
+
message: OK
|
668
|
+
headers:
|
669
|
+
Server:
|
670
|
+
- nginx/1.2.2
|
671
|
+
Content-Type:
|
672
|
+
- application/json
|
673
|
+
Transfer-Encoding:
|
674
|
+
- chunked
|
675
|
+
Connection:
|
676
|
+
- keep-alive
|
677
|
+
Keep-Alive:
|
678
|
+
- timeout=10
|
679
|
+
X-Powered-By:
|
680
|
+
- PHP/5.3.15
|
681
|
+
Cache-Control:
|
682
|
+
- no-cache
|
683
|
+
Date:
|
684
|
+
- Wed, 05 Sep 2012 19:49:46 GMT
|
685
|
+
X-Debug-Token:
|
686
|
+
- 5047acda32f0c
|
687
|
+
body:
|
688
|
+
encoding: US-ASCII
|
689
|
+
string: ! '{"site_id":33,"app_id":231,"description":"my new site","url":"http:\/\/example.com\/","timezone":"UTC","currency":"USD","external_id":"","store_api_url":"","store_cart_url":null}'
|
690
|
+
http_version:
|
691
|
+
recorded_at: Wed, 05 Sep 2012 19:49:46 GMT
|
692
|
+
- request:
|
693
|
+
method: post
|
694
|
+
uri: http://api.jirafe.dev/v1/applications/232/sites?token=aa20770d750913ef5caa01e1eab478c1
|
695
|
+
body:
|
696
|
+
encoding: US-ASCII
|
697
|
+
string: description=my%20new%20site&url=http%3A%2F%2Fexample.com%2F&store_api_url=
|
698
|
+
headers: {}
|
699
|
+
response:
|
700
|
+
status:
|
701
|
+
code: 200
|
702
|
+
message: OK
|
703
|
+
headers:
|
704
|
+
Server:
|
705
|
+
- nginx/1.2.2
|
706
|
+
Content-Type:
|
707
|
+
- application/json
|
708
|
+
Transfer-Encoding:
|
709
|
+
- chunked
|
710
|
+
Connection:
|
711
|
+
- keep-alive
|
712
|
+
Keep-Alive:
|
713
|
+
- timeout=10
|
714
|
+
X-Powered-By:
|
715
|
+
- PHP/5.3.15
|
716
|
+
Cache-Control:
|
717
|
+
- no-cache
|
718
|
+
Date:
|
719
|
+
- Wed, 05 Sep 2012 19:49:46 GMT
|
720
|
+
X-Debug-Token:
|
721
|
+
- 5047acda5c6b6
|
722
|
+
body:
|
723
|
+
encoding: US-ASCII
|
724
|
+
string: ! '{"site_id":34,"app_id":232,"description":"my new site","url":"http:\/\/example.com\/","timezone":"UTC","currency":"USD","external_id":"","store_api_url":"","store_cart_url":null}'
|
725
|
+
http_version:
|
726
|
+
recorded_at: Wed, 05 Sep 2012 19:49:46 GMT
|
727
|
+
recorded_with: VCR 2.2.4
|