requestsproxy-rest 0.0.1

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.
Files changed (147) hide show
  1. checksums.yaml +7 -0
  2. data/Gemfile +7 -0
  3. data/README.md +149 -0
  4. data/Rakefile +8 -0
  5. data/docs/ProtobufListValue.md +8 -0
  6. data/docs/ProtobufNullValue.md +7 -0
  7. data/docs/ProtobufStruct.md +8 -0
  8. data/docs/ProtobufValue.md +13 -0
  9. data/docs/RequestsproxyAccountStarRatingResponse.md +9 -0
  10. data/docs/RequestsproxyApi.md +1008 -0
  11. data/docs/RequestsproxyAuthInfoResponse.md +9 -0
  12. data/docs/RequestsproxyCategory.md +9 -0
  13. data/docs/RequestsproxyComment.md +11 -0
  14. data/docs/RequestsproxyCoupon.md +8 -0
  15. data/docs/RequestsproxyCreateDynamicCouponsCodesResponse.md +9 -0
  16. data/docs/RequestsproxyCreateWebhookParams.md +9 -0
  17. data/docs/RequestsproxyDynamicCouponError.md +9 -0
  18. data/docs/RequestsproxyDynamicCouponsResponse.md +8 -0
  19. data/docs/RequestsproxyDynamicCouponsStatisticsResponse.md +8 -0
  20. data/docs/RequestsproxyDynamicCouponsStats.md +9 -0
  21. data/docs/RequestsproxyFeature.md +12 -0
  22. data/docs/RequestsproxyFeaturesResponse.md +8 -0
  23. data/docs/RequestsproxyImageData.md +10 -0
  24. data/docs/RequestsproxyOrdersResponse.md +8 -0
  25. data/docs/RequestsproxyPagination.md +10 -0
  26. data/docs/RequestsproxyProductImage.md +11 -0
  27. data/docs/RequestsproxyProductResponse.md +19 -0
  28. data/docs/RequestsproxyProductSpecs.md +9 -0
  29. data/docs/RequestsproxyProductStarRatingResponse.md +10 -0
  30. data/docs/RequestsproxyProductsResponse.md +8 -0
  31. data/docs/RequestsproxyProductsStarRatingResponse.md +8 -0
  32. data/docs/RequestsproxyPromotedProduct.md +10 -0
  33. data/docs/RequestsproxyPromotedProductsResponse.md +8 -0
  34. data/docs/RequestsproxyPurchase.md +16 -0
  35. data/docs/RequestsproxyResponse.md +28 -0
  36. data/docs/RequestsproxyReview.md +24 -0
  37. data/docs/RequestsproxyReviewCustomField.md +11 -0
  38. data/docs/RequestsproxyReviewResponse.md +8 -0
  39. data/docs/RequestsproxyReviewsResponse.md +8 -0
  40. data/docs/RequestsproxyStatus.md +9 -0
  41. data/docs/RequestsproxyTopReview.md +13 -0
  42. data/docs/RequestsproxyTopReviewsResponse.md +8 -0
  43. data/docs/RequestsproxyUserResponse.md +11 -0
  44. data/docs/RequestsproxyWebhook.md +11 -0
  45. data/docs/RequestsproxyWebhookEvent.md +9 -0
  46. data/docs/RequestsproxyWebhookEventsResponse.md +8 -0
  47. data/docs/RequestsproxyWebhookResponse.md +8 -0
  48. data/docs/RequestsproxyWebhooksResponse.md +8 -0
  49. data/git_push.sh +55 -0
  50. data/lib/requestsproxy-rest.rb +83 -0
  51. data/lib/requestsproxy-rest/api/requestsproxy_api.rb +1161 -0
  52. data/lib/requestsproxy-rest/api_client.rb +388 -0
  53. data/lib/requestsproxy-rest/api_error.rb +38 -0
  54. data/lib/requestsproxy-rest/configuration.rb +202 -0
  55. data/lib/requestsproxy-rest/models/protobuf_list_value.rb +187 -0
  56. data/lib/requestsproxy-rest/models/protobuf_null_value.rb +29 -0
  57. data/lib/requestsproxy-rest/models/protobuf_struct.rb +187 -0
  58. data/lib/requestsproxy-rest/models/protobuf_value.rb +235 -0
  59. data/lib/requestsproxy-rest/models/requestsproxy_account_star_rating_response.rb +192 -0
  60. data/lib/requestsproxy-rest/models/requestsproxy_auth_info_response.rb +194 -0
  61. data/lib/requestsproxy-rest/models/requestsproxy_category.rb +192 -0
  62. data/lib/requestsproxy-rest/models/requestsproxy_comment.rb +210 -0
  63. data/lib/requestsproxy-rest/models/requestsproxy_coupon.rb +183 -0
  64. data/lib/requestsproxy-rest/models/requestsproxy_create_dynamic_coupons_codes_response.rb +194 -0
  65. data/lib/requestsproxy-rest/models/requestsproxy_create_webhook_params.rb +192 -0
  66. data/lib/requestsproxy-rest/models/requestsproxy_dynamic_coupon_error.rb +192 -0
  67. data/lib/requestsproxy-rest/models/requestsproxy_dynamic_coupons_response.rb +185 -0
  68. data/lib/requestsproxy-rest/models/requestsproxy_dynamic_coupons_statistics_response.rb +183 -0
  69. data/lib/requestsproxy-rest/models/requestsproxy_dynamic_coupons_stats.rb +192 -0
  70. data/lib/requestsproxy-rest/models/requestsproxy_feature.rb +219 -0
  71. data/lib/requestsproxy-rest/models/requestsproxy_features_response.rb +185 -0
  72. data/lib/requestsproxy-rest/models/requestsproxy_image_data.rb +201 -0
  73. data/lib/requestsproxy-rest/models/requestsproxy_orders_response.rb +185 -0
  74. data/lib/requestsproxy-rest/models/requestsproxy_pagination.rb +201 -0
  75. data/lib/requestsproxy-rest/models/requestsproxy_product_image.rb +210 -0
  76. data/lib/requestsproxy-rest/models/requestsproxy_product_response.rb +286 -0
  77. data/lib/requestsproxy-rest/models/requestsproxy_product_specs.rb +192 -0
  78. data/lib/requestsproxy-rest/models/requestsproxy_product_star_rating_response.rb +201 -0
  79. data/lib/requestsproxy-rest/models/requestsproxy_products_response.rb +185 -0
  80. data/lib/requestsproxy-rest/models/requestsproxy_products_star_rating_response.rb +185 -0
  81. data/lib/requestsproxy-rest/models/requestsproxy_promoted_product.rb +201 -0
  82. data/lib/requestsproxy-rest/models/requestsproxy_promoted_products_response.rb +185 -0
  83. data/lib/requestsproxy-rest/models/requestsproxy_purchase.rb +255 -0
  84. data/lib/requestsproxy-rest/models/requestsproxy_response.rb +363 -0
  85. data/lib/requestsproxy-rest/models/requestsproxy_review.rb +331 -0
  86. data/lib/requestsproxy-rest/models/requestsproxy_review_custom_field.rb +210 -0
  87. data/lib/requestsproxy-rest/models/requestsproxy_review_response.rb +183 -0
  88. data/lib/requestsproxy-rest/models/requestsproxy_reviews_response.rb +185 -0
  89. data/lib/requestsproxy-rest/models/requestsproxy_status.rb +192 -0
  90. data/lib/requestsproxy-rest/models/requestsproxy_top_review.rb +228 -0
  91. data/lib/requestsproxy-rest/models/requestsproxy_top_reviews_response.rb +185 -0
  92. data/lib/requestsproxy-rest/models/requestsproxy_user_response.rb +210 -0
  93. data/lib/requestsproxy-rest/models/requestsproxy_webhook.rb +210 -0
  94. data/lib/requestsproxy-rest/models/requestsproxy_webhook_event.rb +192 -0
  95. data/lib/requestsproxy-rest/models/requestsproxy_webhook_events_response.rb +185 -0
  96. data/lib/requestsproxy-rest/models/requestsproxy_webhook_response.rb +183 -0
  97. data/lib/requestsproxy-rest/models/requestsproxy_webhooks_response.rb +185 -0
  98. data/lib/requestsproxy-rest/version.rb +15 -0
  99. data/requestsproxy-rest.gemspec +45 -0
  100. data/spec/api/requestsproxy_api_spec.rb +271 -0
  101. data/spec/api_client_spec.rb +226 -0
  102. data/spec/configuration_spec.rb +42 -0
  103. data/spec/models/protobuf_list_value_spec.rb +41 -0
  104. data/spec/models/protobuf_null_value_spec.rb +35 -0
  105. data/spec/models/protobuf_struct_spec.rb +41 -0
  106. data/spec/models/protobuf_value_spec.rb +71 -0
  107. data/spec/models/requestsproxy_account_star_rating_response_spec.rb +47 -0
  108. data/spec/models/requestsproxy_auth_info_response_spec.rb +47 -0
  109. data/spec/models/requestsproxy_category_spec.rb +47 -0
  110. data/spec/models/requestsproxy_comment_spec.rb +59 -0
  111. data/spec/models/requestsproxy_coupon_spec.rb +41 -0
  112. data/spec/models/requestsproxy_create_dynamic_coupons_codes_response_spec.rb +47 -0
  113. data/spec/models/requestsproxy_create_webhook_params_spec.rb +47 -0
  114. data/spec/models/requestsproxy_dynamic_coupon_error_spec.rb +47 -0
  115. data/spec/models/requestsproxy_dynamic_coupons_response_spec.rb +41 -0
  116. data/spec/models/requestsproxy_dynamic_coupons_statistics_response_spec.rb +41 -0
  117. data/spec/models/requestsproxy_dynamic_coupons_stats_spec.rb +47 -0
  118. data/spec/models/requestsproxy_feature_spec.rb +65 -0
  119. data/spec/models/requestsproxy_features_response_spec.rb +41 -0
  120. data/spec/models/requestsproxy_image_data_spec.rb +53 -0
  121. data/spec/models/requestsproxy_orders_response_spec.rb +41 -0
  122. data/spec/models/requestsproxy_pagination_spec.rb +53 -0
  123. data/spec/models/requestsproxy_product_image_spec.rb +59 -0
  124. data/spec/models/requestsproxy_product_response_spec.rb +107 -0
  125. data/spec/models/requestsproxy_product_specs_spec.rb +47 -0
  126. data/spec/models/requestsproxy_product_star_rating_response_spec.rb +53 -0
  127. data/spec/models/requestsproxy_products_response_spec.rb +41 -0
  128. data/spec/models/requestsproxy_products_star_rating_response_spec.rb +41 -0
  129. data/spec/models/requestsproxy_promoted_product_spec.rb +53 -0
  130. data/spec/models/requestsproxy_promoted_products_response_spec.rb +41 -0
  131. data/spec/models/requestsproxy_purchase_spec.rb +89 -0
  132. data/spec/models/requestsproxy_response_spec.rb +161 -0
  133. data/spec/models/requestsproxy_review_custom_field_spec.rb +59 -0
  134. data/spec/models/requestsproxy_review_response_spec.rb +41 -0
  135. data/spec/models/requestsproxy_review_spec.rb +137 -0
  136. data/spec/models/requestsproxy_reviews_response_spec.rb +41 -0
  137. data/spec/models/requestsproxy_status_spec.rb +47 -0
  138. data/spec/models/requestsproxy_top_review_spec.rb +71 -0
  139. data/spec/models/requestsproxy_top_reviews_response_spec.rb +41 -0
  140. data/spec/models/requestsproxy_user_response_spec.rb +59 -0
  141. data/spec/models/requestsproxy_webhook_event_spec.rb +47 -0
  142. data/spec/models/requestsproxy_webhook_events_response_spec.rb +41 -0
  143. data/spec/models/requestsproxy_webhook_response_spec.rb +41 -0
  144. data/spec/models/requestsproxy_webhook_spec.rb +59 -0
  145. data/spec/models/requestsproxy_webhooks_response_spec.rb +41 -0
  146. data/spec/spec_helper.rb +111 -0
  147. metadata +416 -0
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA1:
3
+ metadata.gz: 34507440b1bcc77d45eee03f98070ad66e7c2a0b
4
+ data.tar.gz: df0359b3ddc372ecb2d0a079c3b87cf0e95e46a7
5
+ SHA512:
6
+ metadata.gz: 34618aaf7ad85f79c60dddcba1638db7e23dbca943aa51b22c01280cc4b0209368dc73acedaaec1cffd1ebc98c2a9c536d848030364cf01d429a46f8db1bb764
7
+ data.tar.gz: abfda49286d4f42f92a8f9eb97bf7fd18c8c9dee35d941f7944892d7b0bbb1b606d89ae2bae88924bf6441b8fb119889f4ff4751c4ce079e4817226c4a98237f
data/Gemfile ADDED
@@ -0,0 +1,7 @@
1
+ source 'https://rubygems.org'
2
+
3
+ gemspec
4
+
5
+ group :development, :test do
6
+ gem 'rake', '~> 12.0.0'
7
+ end
@@ -0,0 +1,149 @@
1
+ # requestsproxy-rest
2
+
3
+ Requestsproxy - the Ruby gem for the requestsproxy.proto
4
+
5
+ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
6
+
7
+ This SDK is automatically generated by the [Swagger Codegen](https://github.com/swagger-api/swagger-codegen) project:
8
+
9
+ - API version: version not set
10
+ - Package version: 0.0.1
11
+ - Build package: io.swagger.codegen.languages.RubyClientCodegen
12
+
13
+ ## Installation
14
+
15
+ ### Build a gem
16
+
17
+ To build the Ruby code into a gem:
18
+
19
+ ```shell
20
+ gem build requestsproxy-rest.gemspec
21
+ ```
22
+
23
+ Then either install the gem locally:
24
+
25
+ ```shell
26
+ gem install ./requestsproxy-rest-0.0.1.gem
27
+ ```
28
+ (for development, run `gem install --dev ./requestsproxy-rest-0.0.1.gem` to install the development dependencies)
29
+
30
+ or publish the gem to a gem hosting service, e.g. [RubyGems](https://rubygems.org/).
31
+
32
+ Finally add this to the Gemfile:
33
+
34
+ gem 'requestsproxy-rest', '~> 0.0.1'
35
+
36
+ ### Install from Git
37
+
38
+ If the Ruby gem is hosted at a git repository: https://github.com/GIT_USER_ID/GIT_REPO_ID, then add the following in the Gemfile:
39
+
40
+ gem 'requestsproxy-rest', :git => 'https://github.com/GIT_USER_ID/GIT_REPO_ID.git'
41
+
42
+ ### Include the Ruby code directly
43
+
44
+ Include the Ruby code directly using `-I` as follows:
45
+
46
+ ```shell
47
+ ruby -Ilib script.rb
48
+ ```
49
+
50
+ ## Getting Started
51
+
52
+ Please follow the [installation](#installation) procedure and then run the following code:
53
+ ```ruby
54
+ # Load the gem
55
+ require 'requestsproxy-rest'
56
+
57
+ api_instance = Requestsproxy::RequestsproxyApi.new
58
+
59
+ account_id = 'account_id_example' # String |
60
+
61
+
62
+ begin
63
+ result = api_instance.account_star_rating(account_id)
64
+ p result
65
+ rescue Requestsproxy::ApiError => e
66
+ puts "Exception when calling RequestsproxyApi->account_star_rating: #{e}"
67
+ end
68
+
69
+ ```
70
+
71
+ ## Documentation for API Endpoints
72
+
73
+ All URIs are relative to *http://localhost*
74
+
75
+ Class | Method | HTTP request | Description
76
+ ------------ | ------------- | ------------- | -------------
77
+ *Requestsproxy::RequestsproxyApi* | [**account_star_rating**](docs/RequestsproxyApi.md#account_star_rating) | **GET** /v2/{account_id}/star_rating/account |
78
+ *Requestsproxy::RequestsproxyApi* | [**auth_info**](docs/RequestsproxyApi.md#auth_info) | **GET** /v2/{account_id}/info |
79
+ *Requestsproxy::RequestsproxyApi* | [**create_webhook**](docs/RequestsproxyApi.md#create_webhook) | **POST** /v2/{account_id}/webhooks |
80
+ *Requestsproxy::RequestsproxyApi* | [**delete_webhook**](docs/RequestsproxyApi.md#delete_webhook) | **DELETE** /v2/{account_id}/webhooks/{id} |
81
+ *Requestsproxy::RequestsproxyApi* | [**features**](docs/RequestsproxyApi.md#features) | **GET** /v2/{account_id}/features |
82
+ *Requestsproxy::RequestsproxyApi* | [**orders**](docs/RequestsproxyApi.md#orders) | **GET** /v2/{account_id}/orders |
83
+ *Requestsproxy::RequestsproxyApi* | [**product**](docs/RequestsproxyApi.md#product) | **GET** /v2/{account_id}/products/{external_product_id} |
84
+ *Requestsproxy::RequestsproxyApi* | [**product_star_rating**](docs/RequestsproxyApi.md#product_star_rating) | **GET** /v2/{account_id}/star_rating/products/{external_product_id} |
85
+ *Requestsproxy::RequestsproxyApi* | [**products**](docs/RequestsproxyApi.md#products) | **GET** /v2/{account_id}/products |
86
+ *Requestsproxy::RequestsproxyApi* | [**products_star_rating**](docs/RequestsproxyApi.md#products_star_rating) | **GET** /v2/{account_id}/star_rating/products |
87
+ *Requestsproxy::RequestsproxyApi* | [**promoted_products**](docs/RequestsproxyApi.md#promoted_products) | **GET** /v2/{account_id}/promoted_products |
88
+ *Requestsproxy::RequestsproxyApi* | [**review**](docs/RequestsproxyApi.md#review) | **GET** /v2/{account_id}/reviews/{review_id} |
89
+ *Requestsproxy::RequestsproxyApi* | [**reviews**](docs/RequestsproxyApi.md#reviews) | **GET** /v2/{account_id}/reviews |
90
+ *Requestsproxy::RequestsproxyApi* | [**reviews_by_product**](docs/RequestsproxyApi.md#reviews_by_product) | **GET** /v2/{account_id}/products/{external_product_id}/reviews |
91
+ *Requestsproxy::RequestsproxyApi* | [**top_reviews**](docs/RequestsproxyApi.md#top_reviews) | **GET** /v2/{account_id}/top_reviews |
92
+ *Requestsproxy::RequestsproxyApi* | [**update_webhook**](docs/RequestsproxyApi.md#update_webhook) | **PUT** /v2/{account_id}/webhooks/{id} |
93
+ *Requestsproxy::RequestsproxyApi* | [**user**](docs/RequestsproxyApi.md#user) | **GET** /v2/{account_id}/users/{user_id} |
94
+ *Requestsproxy::RequestsproxyApi* | [**webhook**](docs/RequestsproxyApi.md#webhook) | **GET** /v2/{account_id}/webhooks/{id} |
95
+ *Requestsproxy::RequestsproxyApi* | [**webhook_events**](docs/RequestsproxyApi.md#webhook_events) | **GET** /v2/{account_id}/webhook_events |
96
+ *Requestsproxy::RequestsproxyApi* | [**webhooks**](docs/RequestsproxyApi.md#webhooks) | **GET** /v2/{account_id}/webhooks |
97
+
98
+
99
+ ## Documentation for Models
100
+
101
+ - [Requestsproxy::ProtobufListValue](docs/ProtobufListValue.md)
102
+ - [Requestsproxy::ProtobufNullValue](docs/ProtobufNullValue.md)
103
+ - [Requestsproxy::ProtobufStruct](docs/ProtobufStruct.md)
104
+ - [Requestsproxy::ProtobufValue](docs/ProtobufValue.md)
105
+ - [Requestsproxy::RequestsproxyAccountStarRatingResponse](docs/RequestsproxyAccountStarRatingResponse.md)
106
+ - [Requestsproxy::RequestsproxyAuthInfoResponse](docs/RequestsproxyAuthInfoResponse.md)
107
+ - [Requestsproxy::RequestsproxyCategory](docs/RequestsproxyCategory.md)
108
+ - [Requestsproxy::RequestsproxyComment](docs/RequestsproxyComment.md)
109
+ - [Requestsproxy::RequestsproxyCoupon](docs/RequestsproxyCoupon.md)
110
+ - [Requestsproxy::RequestsproxyCreateDynamicCouponsCodesResponse](docs/RequestsproxyCreateDynamicCouponsCodesResponse.md)
111
+ - [Requestsproxy::RequestsproxyCreateWebhookParams](docs/RequestsproxyCreateWebhookParams.md)
112
+ - [Requestsproxy::RequestsproxyDynamicCouponError](docs/RequestsproxyDynamicCouponError.md)
113
+ - [Requestsproxy::RequestsproxyDynamicCouponsResponse](docs/RequestsproxyDynamicCouponsResponse.md)
114
+ - [Requestsproxy::RequestsproxyDynamicCouponsStatisticsResponse](docs/RequestsproxyDynamicCouponsStatisticsResponse.md)
115
+ - [Requestsproxy::RequestsproxyDynamicCouponsStats](docs/RequestsproxyDynamicCouponsStats.md)
116
+ - [Requestsproxy::RequestsproxyFeature](docs/RequestsproxyFeature.md)
117
+ - [Requestsproxy::RequestsproxyFeaturesResponse](docs/RequestsproxyFeaturesResponse.md)
118
+ - [Requestsproxy::RequestsproxyImageData](docs/RequestsproxyImageData.md)
119
+ - [Requestsproxy::RequestsproxyOrdersResponse](docs/RequestsproxyOrdersResponse.md)
120
+ - [Requestsproxy::RequestsproxyPagination](docs/RequestsproxyPagination.md)
121
+ - [Requestsproxy::RequestsproxyProductImage](docs/RequestsproxyProductImage.md)
122
+ - [Requestsproxy::RequestsproxyProductResponse](docs/RequestsproxyProductResponse.md)
123
+ - [Requestsproxy::RequestsproxyProductSpecs](docs/RequestsproxyProductSpecs.md)
124
+ - [Requestsproxy::RequestsproxyProductStarRatingResponse](docs/RequestsproxyProductStarRatingResponse.md)
125
+ - [Requestsproxy::RequestsproxyProductsResponse](docs/RequestsproxyProductsResponse.md)
126
+ - [Requestsproxy::RequestsproxyProductsStarRatingResponse](docs/RequestsproxyProductsStarRatingResponse.md)
127
+ - [Requestsproxy::RequestsproxyPromotedProduct](docs/RequestsproxyPromotedProduct.md)
128
+ - [Requestsproxy::RequestsproxyPromotedProductsResponse](docs/RequestsproxyPromotedProductsResponse.md)
129
+ - [Requestsproxy::RequestsproxyPurchase](docs/RequestsproxyPurchase.md)
130
+ - [Requestsproxy::RequestsproxyResponse](docs/RequestsproxyResponse.md)
131
+ - [Requestsproxy::RequestsproxyReview](docs/RequestsproxyReview.md)
132
+ - [Requestsproxy::RequestsproxyReviewCustomField](docs/RequestsproxyReviewCustomField.md)
133
+ - [Requestsproxy::RequestsproxyReviewResponse](docs/RequestsproxyReviewResponse.md)
134
+ - [Requestsproxy::RequestsproxyReviewsResponse](docs/RequestsproxyReviewsResponse.md)
135
+ - [Requestsproxy::RequestsproxyStatus](docs/RequestsproxyStatus.md)
136
+ - [Requestsproxy::RequestsproxyTopReview](docs/RequestsproxyTopReview.md)
137
+ - [Requestsproxy::RequestsproxyTopReviewsResponse](docs/RequestsproxyTopReviewsResponse.md)
138
+ - [Requestsproxy::RequestsproxyUserResponse](docs/RequestsproxyUserResponse.md)
139
+ - [Requestsproxy::RequestsproxyWebhook](docs/RequestsproxyWebhook.md)
140
+ - [Requestsproxy::RequestsproxyWebhookEvent](docs/RequestsproxyWebhookEvent.md)
141
+ - [Requestsproxy::RequestsproxyWebhookEventsResponse](docs/RequestsproxyWebhookEventsResponse.md)
142
+ - [Requestsproxy::RequestsproxyWebhookResponse](docs/RequestsproxyWebhookResponse.md)
143
+ - [Requestsproxy::RequestsproxyWebhooksResponse](docs/RequestsproxyWebhooksResponse.md)
144
+
145
+
146
+ ## Documentation for Authorization
147
+
148
+ All endpoints do not require authorization.
149
+
@@ -0,0 +1,8 @@
1
+ begin
2
+ require 'rspec/core/rake_task'
3
+
4
+ RSpec::Core::RakeTask.new(:spec)
5
+ task default: :spec
6
+ rescue LoadError
7
+ # no rspec available
8
+ end
@@ -0,0 +1,8 @@
1
+ # Requestsproxy::ProtobufListValue
2
+
3
+ ## Properties
4
+ Name | Type | Description | Notes
5
+ ------------ | ------------- | ------------- | -------------
6
+ **values** | [**Array<ProtobufValue>**](ProtobufValue.md) | Repeated field of dynamically typed values. | [optional]
7
+
8
+
@@ -0,0 +1,7 @@
1
+ # Requestsproxy::ProtobufNullValue
2
+
3
+ ## Properties
4
+ Name | Type | Description | Notes
5
+ ------------ | ------------- | ------------- | -------------
6
+
7
+
@@ -0,0 +1,8 @@
1
+ # Requestsproxy::ProtobufStruct
2
+
3
+ ## Properties
4
+ Name | Type | Description | Notes
5
+ ------------ | ------------- | ------------- | -------------
6
+ **fields** | [**Hash<String, ProtobufValue>**](ProtobufValue.md) | Unordered map of dynamically typed values. | [optional]
7
+
8
+
@@ -0,0 +1,13 @@
1
+ # Requestsproxy::ProtobufValue
2
+
3
+ ## Properties
4
+ Name | Type | Description | Notes
5
+ ------------ | ------------- | ------------- | -------------
6
+ **null_value** | [**ProtobufNullValue**](ProtobufNullValue.md) | Represents a null value. | [optional]
7
+ **number_value** | **Float** | Represents a double value. | [optional]
8
+ **string_value** | **String** | Represents a string value. | [optional]
9
+ **bool_value** | **BOOLEAN** | Represents a boolean value. | [optional]
10
+ **struct_value** | [**ProtobufStruct**](ProtobufStruct.md) | Represents a structured value. | [optional]
11
+ **list_value** | [**ProtobufListValue**](ProtobufListValue.md) | Represents a repeated `Value`. | [optional]
12
+
13
+
@@ -0,0 +1,9 @@
1
+ # Requestsproxy::RequestsproxyAccountStarRatingResponse
2
+
3
+ ## Properties
4
+ Name | Type | Description | Notes
5
+ ------------ | ------------- | ------------- | -------------
6
+ **average_score** | **Float** | | [optional]
7
+ **total_reviews** | **Integer** | | [optional]
8
+
9
+
@@ -0,0 +1,1008 @@
1
+ # Requestsproxy::RequestsproxyApi
2
+
3
+ All URIs are relative to *http://localhost*
4
+
5
+ Method | HTTP request | Description
6
+ ------------- | ------------- | -------------
7
+ [**account_star_rating**](RequestsproxyApi.md#account_star_rating) | **GET** /v2/{account_id}/star_rating/account |
8
+ [**auth_info**](RequestsproxyApi.md#auth_info) | **GET** /v2/{account_id}/info |
9
+ [**create_webhook**](RequestsproxyApi.md#create_webhook) | **POST** /v2/{account_id}/webhooks |
10
+ [**delete_webhook**](RequestsproxyApi.md#delete_webhook) | **DELETE** /v2/{account_id}/webhooks/{id} |
11
+ [**features**](RequestsproxyApi.md#features) | **GET** /v2/{account_id}/features |
12
+ [**orders**](RequestsproxyApi.md#orders) | **GET** /v2/{account_id}/orders |
13
+ [**product**](RequestsproxyApi.md#product) | **GET** /v2/{account_id}/products/{external_product_id} |
14
+ [**product_star_rating**](RequestsproxyApi.md#product_star_rating) | **GET** /v2/{account_id}/star_rating/products/{external_product_id} |
15
+ [**products**](RequestsproxyApi.md#products) | **GET** /v2/{account_id}/products |
16
+ [**products_star_rating**](RequestsproxyApi.md#products_star_rating) | **GET** /v2/{account_id}/star_rating/products |
17
+ [**promoted_products**](RequestsproxyApi.md#promoted_products) | **GET** /v2/{account_id}/promoted_products |
18
+ [**review**](RequestsproxyApi.md#review) | **GET** /v2/{account_id}/reviews/{review_id} |
19
+ [**reviews**](RequestsproxyApi.md#reviews) | **GET** /v2/{account_id}/reviews |
20
+ [**reviews_by_product**](RequestsproxyApi.md#reviews_by_product) | **GET** /v2/{account_id}/products/{external_product_id}/reviews |
21
+ [**top_reviews**](RequestsproxyApi.md#top_reviews) | **GET** /v2/{account_id}/top_reviews |
22
+ [**update_webhook**](RequestsproxyApi.md#update_webhook) | **PUT** /v2/{account_id}/webhooks/{id} |
23
+ [**user**](RequestsproxyApi.md#user) | **GET** /v2/{account_id}/users/{user_id} |
24
+ [**webhook**](RequestsproxyApi.md#webhook) | **GET** /v2/{account_id}/webhooks/{id} |
25
+ [**webhook_events**](RequestsproxyApi.md#webhook_events) | **GET** /v2/{account_id}/webhook_events |
26
+ [**webhooks**](RequestsproxyApi.md#webhooks) | **GET** /v2/{account_id}/webhooks |
27
+
28
+
29
+ # **account_star_rating**
30
+ > RequestsproxyResponse account_star_rating(account_id)
31
+
32
+
33
+
34
+ ### Example
35
+ ```ruby
36
+ # load the gem
37
+ require 'requestsproxy-rest'
38
+
39
+ api_instance = Requestsproxy::RequestsproxyApi.new
40
+
41
+ account_id = 'account_id_example' # String |
42
+
43
+
44
+ begin
45
+ result = api_instance.account_star_rating(account_id)
46
+ p result
47
+ rescue Requestsproxy::ApiError => e
48
+ puts "Exception when calling RequestsproxyApi->account_star_rating: #{e}"
49
+ end
50
+ ```
51
+
52
+ ### Parameters
53
+
54
+ Name | Type | Description | Notes
55
+ ------------- | ------------- | ------------- | -------------
56
+ **account_id** | **String**| |
57
+
58
+ ### Return type
59
+
60
+ [**RequestsproxyResponse**](RequestsproxyResponse.md)
61
+
62
+ ### Authorization
63
+
64
+ No authorization required
65
+
66
+ ### HTTP request headers
67
+
68
+ - **Content-Type**: application/json
69
+ - **Accept**: application/json
70
+
71
+
72
+
73
+ # **auth_info**
74
+ > RequestsproxyResponse auth_info(account_id)
75
+
76
+
77
+
78
+ ### Example
79
+ ```ruby
80
+ # load the gem
81
+ require 'requestsproxy-rest'
82
+
83
+ api_instance = Requestsproxy::RequestsproxyApi.new
84
+
85
+ account_id = 'account_id_example' # String |
86
+
87
+
88
+ begin
89
+ result = api_instance.auth_info(account_id)
90
+ p result
91
+ rescue Requestsproxy::ApiError => e
92
+ puts "Exception when calling RequestsproxyApi->auth_info: #{e}"
93
+ end
94
+ ```
95
+
96
+ ### Parameters
97
+
98
+ Name | Type | Description | Notes
99
+ ------------- | ------------- | ------------- | -------------
100
+ **account_id** | **String**| |
101
+
102
+ ### Return type
103
+
104
+ [**RequestsproxyResponse**](RequestsproxyResponse.md)
105
+
106
+ ### Authorization
107
+
108
+ No authorization required
109
+
110
+ ### HTTP request headers
111
+
112
+ - **Content-Type**: application/json
113
+ - **Accept**: application/json
114
+
115
+
116
+
117
+ # **create_webhook**
118
+ > RequestsproxyResponse create_webhook(account_id, body)
119
+
120
+
121
+
122
+ ### Example
123
+ ```ruby
124
+ # load the gem
125
+ require 'requestsproxy-rest'
126
+
127
+ api_instance = Requestsproxy::RequestsproxyApi.new
128
+
129
+ account_id = 'account_id_example' # String |
130
+
131
+ body = Requestsproxy::RequestsproxyCreateWebhookParams.new # RequestsproxyCreateWebhookParams |
132
+
133
+
134
+ begin
135
+ result = api_instance.create_webhook(account_id, body)
136
+ p result
137
+ rescue Requestsproxy::ApiError => e
138
+ puts "Exception when calling RequestsproxyApi->create_webhook: #{e}"
139
+ end
140
+ ```
141
+
142
+ ### Parameters
143
+
144
+ Name | Type | Description | Notes
145
+ ------------- | ------------- | ------------- | -------------
146
+ **account_id** | **String**| |
147
+ **body** | [**RequestsproxyCreateWebhookParams**](RequestsproxyCreateWebhookParams.md)| |
148
+
149
+ ### Return type
150
+
151
+ [**RequestsproxyResponse**](RequestsproxyResponse.md)
152
+
153
+ ### Authorization
154
+
155
+ No authorization required
156
+
157
+ ### HTTP request headers
158
+
159
+ - **Content-Type**: application/json
160
+ - **Accept**: application/json
161
+
162
+
163
+
164
+ # **delete_webhook**
165
+ > RequestsproxyResponse delete_webhook(account_id, id, opts)
166
+
167
+
168
+
169
+ ### Example
170
+ ```ruby
171
+ # load the gem
172
+ require 'requestsproxy-rest'
173
+
174
+ api_instance = Requestsproxy::RequestsproxyApi.new
175
+
176
+ account_id = 'account_id_example' # String |
177
+
178
+ id = 56 # Integer |
179
+
180
+ opts = {
181
+ access_token: 'access_token_example' # String |
182
+ }
183
+
184
+ begin
185
+ result = api_instance.delete_webhook(account_id, id, opts)
186
+ p result
187
+ rescue Requestsproxy::ApiError => e
188
+ puts "Exception when calling RequestsproxyApi->delete_webhook: #{e}"
189
+ end
190
+ ```
191
+
192
+ ### Parameters
193
+
194
+ Name | Type | Description | Notes
195
+ ------------- | ------------- | ------------- | -------------
196
+ **account_id** | **String**| |
197
+ **id** | **Integer**| |
198
+ **access_token** | **String**| | [optional]
199
+
200
+ ### Return type
201
+
202
+ [**RequestsproxyResponse**](RequestsproxyResponse.md)
203
+
204
+ ### Authorization
205
+
206
+ No authorization required
207
+
208
+ ### HTTP request headers
209
+
210
+ - **Content-Type**: application/json
211
+ - **Accept**: application/json
212
+
213
+
214
+
215
+ # **features**
216
+ > RequestsproxyResponse features(account_id)
217
+
218
+
219
+
220
+ ### Example
221
+ ```ruby
222
+ # load the gem
223
+ require 'requestsproxy-rest'
224
+
225
+ api_instance = Requestsproxy::RequestsproxyApi.new
226
+
227
+ account_id = 'account_id_example' # String |
228
+
229
+
230
+ begin
231
+ result = api_instance.features(account_id)
232
+ p result
233
+ rescue Requestsproxy::ApiError => e
234
+ puts "Exception when calling RequestsproxyApi->features: #{e}"
235
+ end
236
+ ```
237
+
238
+ ### Parameters
239
+
240
+ Name | Type | Description | Notes
241
+ ------------- | ------------- | ------------- | -------------
242
+ **account_id** | **String**| |
243
+
244
+ ### Return type
245
+
246
+ [**RequestsproxyResponse**](RequestsproxyResponse.md)
247
+
248
+ ### Authorization
249
+
250
+ No authorization required
251
+
252
+ ### HTTP request headers
253
+
254
+ - **Content-Type**: application/json
255
+ - **Accept**: application/json
256
+
257
+
258
+
259
+ # **orders**
260
+ > RequestsproxyResponse orders(account_id, opts)
261
+
262
+
263
+
264
+ ### Example
265
+ ```ruby
266
+ # load the gem
267
+ require 'requestsproxy-rest'
268
+
269
+ api_instance = Requestsproxy::RequestsproxyApi.new
270
+
271
+ account_id = 'account_id_example' # String |
272
+
273
+ opts = {
274
+ first_id: 'first_id_example', # String |
275
+ count: 'count_example', # String |
276
+ page: 'page_example' # String |
277
+ }
278
+
279
+ begin
280
+ result = api_instance.orders(account_id, opts)
281
+ p result
282
+ rescue Requestsproxy::ApiError => e
283
+ puts "Exception when calling RequestsproxyApi->orders: #{e}"
284
+ end
285
+ ```
286
+
287
+ ### Parameters
288
+
289
+ Name | Type | Description | Notes
290
+ ------------- | ------------- | ------------- | -------------
291
+ **account_id** | **String**| |
292
+ **first_id** | **String**| | [optional]
293
+ **count** | **String**| | [optional]
294
+ **page** | **String**| | [optional]
295
+
296
+ ### Return type
297
+
298
+ [**RequestsproxyResponse**](RequestsproxyResponse.md)
299
+
300
+ ### Authorization
301
+
302
+ No authorization required
303
+
304
+ ### HTTP request headers
305
+
306
+ - **Content-Type**: application/json
307
+ - **Accept**: application/json
308
+
309
+
310
+
311
+ # **product**
312
+ > RequestsproxyResponse product(account_id, external_product_id)
313
+
314
+
315
+
316
+ ### Example
317
+ ```ruby
318
+ # load the gem
319
+ require 'requestsproxy-rest'
320
+
321
+ api_instance = Requestsproxy::RequestsproxyApi.new
322
+
323
+ account_id = 'account_id_example' # String |
324
+
325
+ external_product_id = 'external_product_id_example' # String |
326
+
327
+
328
+ begin
329
+ result = api_instance.product(account_id, external_product_id)
330
+ p result
331
+ rescue Requestsproxy::ApiError => e
332
+ puts "Exception when calling RequestsproxyApi->product: #{e}"
333
+ end
334
+ ```
335
+
336
+ ### Parameters
337
+
338
+ Name | Type | Description | Notes
339
+ ------------- | ------------- | ------------- | -------------
340
+ **account_id** | **String**| |
341
+ **external_product_id** | **String**| |
342
+
343
+ ### Return type
344
+
345
+ [**RequestsproxyResponse**](RequestsproxyResponse.md)
346
+
347
+ ### Authorization
348
+
349
+ No authorization required
350
+
351
+ ### HTTP request headers
352
+
353
+ - **Content-Type**: application/json
354
+ - **Accept**: application/json
355
+
356
+
357
+
358
+ # **product_star_rating**
359
+ > RequestsproxyResponse product_star_rating(account_id, external_product_id)
360
+
361
+
362
+
363
+ ### Example
364
+ ```ruby
365
+ # load the gem
366
+ require 'requestsproxy-rest'
367
+
368
+ api_instance = Requestsproxy::RequestsproxyApi.new
369
+
370
+ account_id = 'account_id_example' # String |
371
+
372
+ external_product_id = 'external_product_id_example' # String |
373
+
374
+
375
+ begin
376
+ result = api_instance.product_star_rating(account_id, external_product_id)
377
+ p result
378
+ rescue Requestsproxy::ApiError => e
379
+ puts "Exception when calling RequestsproxyApi->product_star_rating: #{e}"
380
+ end
381
+ ```
382
+
383
+ ### Parameters
384
+
385
+ Name | Type | Description | Notes
386
+ ------------- | ------------- | ------------- | -------------
387
+ **account_id** | **String**| |
388
+ **external_product_id** | **String**| |
389
+
390
+ ### Return type
391
+
392
+ [**RequestsproxyResponse**](RequestsproxyResponse.md)
393
+
394
+ ### Authorization
395
+
396
+ No authorization required
397
+
398
+ ### HTTP request headers
399
+
400
+ - **Content-Type**: application/json
401
+ - **Accept**: application/json
402
+
403
+
404
+
405
+ # **products**
406
+ > RequestsproxyResponse products(account_id, opts)
407
+
408
+
409
+
410
+ ### Example
411
+ ```ruby
412
+ # load the gem
413
+ require 'requestsproxy-rest'
414
+
415
+ api_instance = Requestsproxy::RequestsproxyApi.new
416
+
417
+ account_id = 'account_id_example' # String |
418
+
419
+ opts = {
420
+ page: 'page_example', # String |
421
+ count: 'count_example' # String |
422
+ }
423
+
424
+ begin
425
+ result = api_instance.products(account_id, opts)
426
+ p result
427
+ rescue Requestsproxy::ApiError => e
428
+ puts "Exception when calling RequestsproxyApi->products: #{e}"
429
+ end
430
+ ```
431
+
432
+ ### Parameters
433
+
434
+ Name | Type | Description | Notes
435
+ ------------- | ------------- | ------------- | -------------
436
+ **account_id** | **String**| |
437
+ **page** | **String**| | [optional]
438
+ **count** | **String**| | [optional]
439
+
440
+ ### Return type
441
+
442
+ [**RequestsproxyResponse**](RequestsproxyResponse.md)
443
+
444
+ ### Authorization
445
+
446
+ No authorization required
447
+
448
+ ### HTTP request headers
449
+
450
+ - **Content-Type**: application/json
451
+ - **Accept**: application/json
452
+
453
+
454
+
455
+ # **products_star_rating**
456
+ > RequestsproxyResponse products_star_rating(account_id)
457
+
458
+
459
+
460
+ ### Example
461
+ ```ruby
462
+ # load the gem
463
+ require 'requestsproxy-rest'
464
+
465
+ api_instance = Requestsproxy::RequestsproxyApi.new
466
+
467
+ account_id = 'account_id_example' # String |
468
+
469
+
470
+ begin
471
+ result = api_instance.products_star_rating(account_id)
472
+ p result
473
+ rescue Requestsproxy::ApiError => e
474
+ puts "Exception when calling RequestsproxyApi->products_star_rating: #{e}"
475
+ end
476
+ ```
477
+
478
+ ### Parameters
479
+
480
+ Name | Type | Description | Notes
481
+ ------------- | ------------- | ------------- | -------------
482
+ **account_id** | **String**| |
483
+
484
+ ### Return type
485
+
486
+ [**RequestsproxyResponse**](RequestsproxyResponse.md)
487
+
488
+ ### Authorization
489
+
490
+ No authorization required
491
+
492
+ ### HTTP request headers
493
+
494
+ - **Content-Type**: application/json
495
+ - **Accept**: application/json
496
+
497
+
498
+
499
+ # **promoted_products**
500
+ > RequestsproxyResponse promoted_products(account_id)
501
+
502
+
503
+
504
+ ### Example
505
+ ```ruby
506
+ # load the gem
507
+ require 'requestsproxy-rest'
508
+
509
+ api_instance = Requestsproxy::RequestsproxyApi.new
510
+
511
+ account_id = 'account_id_example' # String |
512
+
513
+
514
+ begin
515
+ result = api_instance.promoted_products(account_id)
516
+ p result
517
+ rescue Requestsproxy::ApiError => e
518
+ puts "Exception when calling RequestsproxyApi->promoted_products: #{e}"
519
+ end
520
+ ```
521
+
522
+ ### Parameters
523
+
524
+ Name | Type | Description | Notes
525
+ ------------- | ------------- | ------------- | -------------
526
+ **account_id** | **String**| |
527
+
528
+ ### Return type
529
+
530
+ [**RequestsproxyResponse**](RequestsproxyResponse.md)
531
+
532
+ ### Authorization
533
+
534
+ No authorization required
535
+
536
+ ### HTTP request headers
537
+
538
+ - **Content-Type**: application/json
539
+ - **Accept**: application/json
540
+
541
+
542
+
543
+ # **review**
544
+ > RequestsproxyResponse review(account_id, review_id, opts)
545
+
546
+
547
+
548
+ ### Example
549
+ ```ruby
550
+ # load the gem
551
+ require 'requestsproxy-rest'
552
+
553
+ api_instance = Requestsproxy::RequestsproxyApi.new
554
+
555
+ account_id = 'account_id_example' # String |
556
+
557
+ review_id = 56 # Integer |
558
+
559
+ opts = {
560
+ include_nested: true # BOOLEAN |
561
+ }
562
+
563
+ begin
564
+ result = api_instance.review(account_id, review_id, opts)
565
+ p result
566
+ rescue Requestsproxy::ApiError => e
567
+ puts "Exception when calling RequestsproxyApi->review: #{e}"
568
+ end
569
+ ```
570
+
571
+ ### Parameters
572
+
573
+ Name | Type | Description | Notes
574
+ ------------- | ------------- | ------------- | -------------
575
+ **account_id** | **String**| |
576
+ **review_id** | **Integer**| |
577
+ **include_nested** | **BOOLEAN**| | [optional]
578
+
579
+ ### Return type
580
+
581
+ [**RequestsproxyResponse**](RequestsproxyResponse.md)
582
+
583
+ ### Authorization
584
+
585
+ No authorization required
586
+
587
+ ### HTTP request headers
588
+
589
+ - **Content-Type**: application/json
590
+ - **Accept**: application/json
591
+
592
+
593
+
594
+ # **reviews**
595
+ > RequestsproxyResponse reviews(account_id, opts)
596
+
597
+
598
+
599
+ ### Example
600
+ ```ruby
601
+ # load the gem
602
+ require 'requestsproxy-rest'
603
+
604
+ api_instance = Requestsproxy::RequestsproxyApi.new
605
+
606
+ account_id = 'account_id_example' # String |
607
+
608
+ opts = {
609
+ first_id: 'first_id_example', # String |
610
+ count: 'count_example', # String |
611
+ page: 'page_example', # String |
612
+ include_site_reviews: 'include_site_reviews_example', # String |
613
+ sort: 'sort_example', # String |
614
+ direction: 'direction_example', # String |
615
+ star: 'star_example', # String |
616
+ include_nested: true # BOOLEAN |
617
+ }
618
+
619
+ begin
620
+ result = api_instance.reviews(account_id, opts)
621
+ p result
622
+ rescue Requestsproxy::ApiError => e
623
+ puts "Exception when calling RequestsproxyApi->reviews: #{e}"
624
+ end
625
+ ```
626
+
627
+ ### Parameters
628
+
629
+ Name | Type | Description | Notes
630
+ ------------- | ------------- | ------------- | -------------
631
+ **account_id** | **String**| |
632
+ **first_id** | **String**| | [optional]
633
+ **count** | **String**| | [optional]
634
+ **page** | **String**| | [optional]
635
+ **include_site_reviews** | **String**| | [optional]
636
+ **sort** | **String**| | [optional]
637
+ **direction** | **String**| | [optional]
638
+ **star** | **String**| | [optional]
639
+ **include_nested** | **BOOLEAN**| | [optional]
640
+
641
+ ### Return type
642
+
643
+ [**RequestsproxyResponse**](RequestsproxyResponse.md)
644
+
645
+ ### Authorization
646
+
647
+ No authorization required
648
+
649
+ ### HTTP request headers
650
+
651
+ - **Content-Type**: application/json
652
+ - **Accept**: application/json
653
+
654
+
655
+
656
+ # **reviews_by_product**
657
+ > RequestsproxyResponse reviews_by_product(account_id, external_product_id, opts)
658
+
659
+
660
+
661
+ ### Example
662
+ ```ruby
663
+ # load the gem
664
+ require 'requestsproxy-rest'
665
+
666
+ api_instance = Requestsproxy::RequestsproxyApi.new
667
+
668
+ account_id = 'account_id_example' # String |
669
+
670
+ external_product_id = 'external_product_id_example' # String |
671
+
672
+ opts = {
673
+ first_id: 'first_id_example', # String |
674
+ count: 'count_example', # String |
675
+ page: 'page_example', # String |
676
+ include_site_reviews: 'include_site_reviews_example', # String |
677
+ sort: 'sort_example', # String |
678
+ direction: 'direction_example', # String |
679
+ star: 'star_example', # String |
680
+ include_nested: true # BOOLEAN |
681
+ }
682
+
683
+ begin
684
+ result = api_instance.reviews_by_product(account_id, external_product_id, opts)
685
+ p result
686
+ rescue Requestsproxy::ApiError => e
687
+ puts "Exception when calling RequestsproxyApi->reviews_by_product: #{e}"
688
+ end
689
+ ```
690
+
691
+ ### Parameters
692
+
693
+ Name | Type | Description | Notes
694
+ ------------- | ------------- | ------------- | -------------
695
+ **account_id** | **String**| |
696
+ **external_product_id** | **String**| |
697
+ **first_id** | **String**| | [optional]
698
+ **count** | **String**| | [optional]
699
+ **page** | **String**| | [optional]
700
+ **include_site_reviews** | **String**| | [optional]
701
+ **sort** | **String**| | [optional]
702
+ **direction** | **String**| | [optional]
703
+ **star** | **String**| | [optional]
704
+ **include_nested** | **BOOLEAN**| | [optional]
705
+
706
+ ### Return type
707
+
708
+ [**RequestsproxyResponse**](RequestsproxyResponse.md)
709
+
710
+ ### Authorization
711
+
712
+ No authorization required
713
+
714
+ ### HTTP request headers
715
+
716
+ - **Content-Type**: application/json
717
+ - **Accept**: application/json
718
+
719
+
720
+
721
+ # **top_reviews**
722
+ > RequestsproxyResponse top_reviews(account_id, opts)
723
+
724
+
725
+
726
+ ### Example
727
+ ```ruby
728
+ # load the gem
729
+ require 'requestsproxy-rest'
730
+
731
+ api_instance = Requestsproxy::RequestsproxyApi.new
732
+
733
+ account_id = 'account_id_example' # String |
734
+
735
+ opts = {
736
+ external_product_id: 'external_product_id_example' # String |
737
+ }
738
+
739
+ begin
740
+ result = api_instance.top_reviews(account_id, opts)
741
+ p result
742
+ rescue Requestsproxy::ApiError => e
743
+ puts "Exception when calling RequestsproxyApi->top_reviews: #{e}"
744
+ end
745
+ ```
746
+
747
+ ### Parameters
748
+
749
+ Name | Type | Description | Notes
750
+ ------------- | ------------- | ------------- | -------------
751
+ **account_id** | **String**| |
752
+ **external_product_id** | **String**| | [optional]
753
+
754
+ ### Return type
755
+
756
+ [**RequestsproxyResponse**](RequestsproxyResponse.md)
757
+
758
+ ### Authorization
759
+
760
+ No authorization required
761
+
762
+ ### HTTP request headers
763
+
764
+ - **Content-Type**: application/json
765
+ - **Accept**: application/json
766
+
767
+
768
+
769
+ # **update_webhook**
770
+ > RequestsproxyResponse update_webhook(account_id, id, body)
771
+
772
+
773
+
774
+ ### Example
775
+ ```ruby
776
+ # load the gem
777
+ require 'requestsproxy-rest'
778
+
779
+ api_instance = Requestsproxy::RequestsproxyApi.new
780
+
781
+ account_id = 'account_id_example' # String |
782
+
783
+ id = 56 # Integer |
784
+
785
+ body = Requestsproxy::RequestsproxyCreateWebhookParams.new # RequestsproxyCreateWebhookParams |
786
+
787
+
788
+ begin
789
+ result = api_instance.update_webhook(account_id, id, body)
790
+ p result
791
+ rescue Requestsproxy::ApiError => e
792
+ puts "Exception when calling RequestsproxyApi->update_webhook: #{e}"
793
+ end
794
+ ```
795
+
796
+ ### Parameters
797
+
798
+ Name | Type | Description | Notes
799
+ ------------- | ------------- | ------------- | -------------
800
+ **account_id** | **String**| |
801
+ **id** | **Integer**| |
802
+ **body** | [**RequestsproxyCreateWebhookParams**](RequestsproxyCreateWebhookParams.md)| |
803
+
804
+ ### Return type
805
+
806
+ [**RequestsproxyResponse**](RequestsproxyResponse.md)
807
+
808
+ ### Authorization
809
+
810
+ No authorization required
811
+
812
+ ### HTTP request headers
813
+
814
+ - **Content-Type**: application/json
815
+ - **Accept**: application/json
816
+
817
+
818
+
819
+ # **user**
820
+ > RequestsproxyResponse user(account_id, user_id)
821
+
822
+
823
+
824
+ ### Example
825
+ ```ruby
826
+ # load the gem
827
+ require 'requestsproxy-rest'
828
+
829
+ api_instance = Requestsproxy::RequestsproxyApi.new
830
+
831
+ account_id = 'account_id_example' # String |
832
+
833
+ user_id = 56 # Integer |
834
+
835
+
836
+ begin
837
+ result = api_instance.user(account_id, user_id)
838
+ p result
839
+ rescue Requestsproxy::ApiError => e
840
+ puts "Exception when calling RequestsproxyApi->user: #{e}"
841
+ end
842
+ ```
843
+
844
+ ### Parameters
845
+
846
+ Name | Type | Description | Notes
847
+ ------------- | ------------- | ------------- | -------------
848
+ **account_id** | **String**| |
849
+ **user_id** | **Integer**| |
850
+
851
+ ### Return type
852
+
853
+ [**RequestsproxyResponse**](RequestsproxyResponse.md)
854
+
855
+ ### Authorization
856
+
857
+ No authorization required
858
+
859
+ ### HTTP request headers
860
+
861
+ - **Content-Type**: application/json
862
+ - **Accept**: application/json
863
+
864
+
865
+
866
+ # **webhook**
867
+ > RequestsproxyResponse webhook(account_id, id, opts)
868
+
869
+
870
+
871
+ ### Example
872
+ ```ruby
873
+ # load the gem
874
+ require 'requestsproxy-rest'
875
+
876
+ api_instance = Requestsproxy::RequestsproxyApi.new
877
+
878
+ account_id = 'account_id_example' # String |
879
+
880
+ id = 56 # Integer |
881
+
882
+ opts = {
883
+ access_token: 'access_token_example' # String |
884
+ }
885
+
886
+ begin
887
+ result = api_instance.webhook(account_id, id, opts)
888
+ p result
889
+ rescue Requestsproxy::ApiError => e
890
+ puts "Exception when calling RequestsproxyApi->webhook: #{e}"
891
+ end
892
+ ```
893
+
894
+ ### Parameters
895
+
896
+ Name | Type | Description | Notes
897
+ ------------- | ------------- | ------------- | -------------
898
+ **account_id** | **String**| |
899
+ **id** | **Integer**| |
900
+ **access_token** | **String**| | [optional]
901
+
902
+ ### Return type
903
+
904
+ [**RequestsproxyResponse**](RequestsproxyResponse.md)
905
+
906
+ ### Authorization
907
+
908
+ No authorization required
909
+
910
+ ### HTTP request headers
911
+
912
+ - **Content-Type**: application/json
913
+ - **Accept**: application/json
914
+
915
+
916
+
917
+ # **webhook_events**
918
+ > RequestsproxyResponse webhook_events(account_id)
919
+
920
+
921
+
922
+ ### Example
923
+ ```ruby
924
+ # load the gem
925
+ require 'requestsproxy-rest'
926
+
927
+ api_instance = Requestsproxy::RequestsproxyApi.new
928
+
929
+ account_id = 'account_id_example' # String |
930
+
931
+
932
+ begin
933
+ result = api_instance.webhook_events(account_id)
934
+ p result
935
+ rescue Requestsproxy::ApiError => e
936
+ puts "Exception when calling RequestsproxyApi->webhook_events: #{e}"
937
+ end
938
+ ```
939
+
940
+ ### Parameters
941
+
942
+ Name | Type | Description | Notes
943
+ ------------- | ------------- | ------------- | -------------
944
+ **account_id** | **String**| |
945
+
946
+ ### Return type
947
+
948
+ [**RequestsproxyResponse**](RequestsproxyResponse.md)
949
+
950
+ ### Authorization
951
+
952
+ No authorization required
953
+
954
+ ### HTTP request headers
955
+
956
+ - **Content-Type**: application/json
957
+ - **Accept**: application/json
958
+
959
+
960
+
961
+ # **webhooks**
962
+ > RequestsproxyResponse webhooks(account_id, opts)
963
+
964
+
965
+
966
+ ### Example
967
+ ```ruby
968
+ # load the gem
969
+ require 'requestsproxy-rest'
970
+
971
+ api_instance = Requestsproxy::RequestsproxyApi.new
972
+
973
+ account_id = 'account_id_example' # String |
974
+
975
+ opts = {
976
+ access_token: 'access_token_example' # String |
977
+ }
978
+
979
+ begin
980
+ result = api_instance.webhooks(account_id, opts)
981
+ p result
982
+ rescue Requestsproxy::ApiError => e
983
+ puts "Exception when calling RequestsproxyApi->webhooks: #{e}"
984
+ end
985
+ ```
986
+
987
+ ### Parameters
988
+
989
+ Name | Type | Description | Notes
990
+ ------------- | ------------- | ------------- | -------------
991
+ **account_id** | **String**| |
992
+ **access_token** | **String**| | [optional]
993
+
994
+ ### Return type
995
+
996
+ [**RequestsproxyResponse**](RequestsproxyResponse.md)
997
+
998
+ ### Authorization
999
+
1000
+ No authorization required
1001
+
1002
+ ### HTTP request headers
1003
+
1004
+ - **Content-Type**: application/json
1005
+ - **Accept**: application/json
1006
+
1007
+
1008
+