solifyn 1.0.5 → 1.0.7
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.
- checksums.yaml +4 -4
- data/LICENSE +202 -0
- data/README.md +6 -10
- data/docs/AffiliateApi.md +845 -0
- data/docs/BillingApi.md +68 -0
- data/docs/BrandsApi.md +286 -0
- data/docs/Business.md +56 -0
- data/docs/BusinessCreate.md +18 -0
- data/docs/BusinessFullCreate.md +26 -0
- data/docs/BusinessFullCreateResponse.md +20 -0
- data/docs/BusinessesApi.md +350 -0
- data/docs/ChatApi.md +246 -0
- data/docs/CollectionProductDto.md +0 -6
- data/docs/CommunityApi.md +497 -0
- data/docs/DefaultApi.md +0 -284
- data/docs/EntitlementGrantResponseDto.md +0 -8
- data/docs/PartnerApi.md +125 -0
- data/docs/PayoutAccessToken.md +20 -0
- data/docs/PayoutAccount.md +22 -0
- data/docs/PayoutAccountLink.md +20 -0
- data/docs/PayoutMethod.md +24 -0
- data/docs/PayoutMethodList.md +18 -0
- data/docs/PayoutVerification.md +24 -0
- data/docs/PayoutVerificationList.md +18 -0
- data/docs/PayoutsApi.md +579 -0
- data/docs/Product.md +0 -6
- data/docs/ProductCreate.md +0 -6
- data/docs/ProductUpdate.md +0 -6
- data/docs/TicketApi.md +318 -0
- data/docs/UserPage.md +26 -0
- data/docs/UserProfileThemesApi.md +345 -0
- data/docs/UserSettings.md +34 -0
- data/docs/UserSettingsUpdate.md +76 -0
- data/docs/UserStats.md +20 -0
- data/docs/UserTheme.md +26 -0
- data/docs/UserThemeUpdate.md +22 -0
- data/docs/WhopApiKeysRotation.md +18 -0
- data/docs/Withdrawal.md +46 -0
- data/docs/WithdrawalCreate.md +22 -0
- data/docs/WithdrawalList.md +20 -0
- data/git_push.sh +2 -2
- data/lib/solifyn/api/affiliate_api.rb +760 -0
- data/lib/solifyn/api/billing_api.rb +77 -0
- data/lib/solifyn/api/brands_api.rb +284 -0
- data/lib/solifyn/api/businesses_api.rb +338 -0
- data/lib/solifyn/api/chat_api.rb +232 -0
- data/lib/solifyn/api/community_api.rb +466 -0
- data/lib/solifyn/api/default_api.rb +0 -248
- data/lib/solifyn/api/{discord_integration_api.rb → partner_api.rb} +19 -32
- data/lib/solifyn/api/payouts_api.rb +520 -0
- data/lib/solifyn/api/ticket_api.rb +328 -0
- data/lib/solifyn/api/user_profile_themes_api.rb +313 -0
- data/lib/solifyn/models/business.rb +482 -0
- data/lib/solifyn/models/business_create.rb +241 -0
- data/lib/solifyn/models/business_full_create.rb +288 -0
- data/lib/solifyn/models/business_full_create_response.rb +239 -0
- data/lib/solifyn/models/collection_product_dto.rb +1 -52
- data/lib/solifyn/models/entitlement_grant_response_dto.rb +1 -41
- data/lib/solifyn/models/payout_access_token.rb +239 -0
- data/lib/solifyn/models/payout_account.rb +249 -0
- data/lib/solifyn/models/payout_account_link.rb +239 -0
- data/lib/solifyn/models/{discord_roles_response_dto.rb → payout_method.rb} +34 -41
- data/lib/solifyn/models/payout_method_list.rb +224 -0
- data/lib/solifyn/models/{webhook_entitlement_grant_payload.rb → payout_verification.rb} +41 -118
- data/lib/solifyn/models/payout_verification_list.rb +224 -0
- data/lib/solifyn/models/product.rb +1 -52
- data/lib/solifyn/models/product_create.rb +1 -33
- data/lib/solifyn/models/product_update.rb +1 -33
- data/lib/solifyn/models/user_page.rb +290 -0
- data/lib/solifyn/models/user_settings.rb +337 -0
- data/lib/solifyn/models/user_settings_update.rb +505 -0
- data/lib/solifyn/models/user_stats.rb +241 -0
- data/lib/solifyn/models/user_theme.rb +276 -0
- data/lib/solifyn/models/user_theme_update.rb +235 -0
- data/lib/solifyn/models/whop_api_keys_rotation.rb +222 -0
- data/lib/solifyn/models/withdrawal.rb +411 -0
- data/lib/solifyn/models/withdrawal_create.rb +249 -0
- data/lib/solifyn/models/withdrawal_list.rb +241 -0
- data/lib/solifyn/version.rb +1 -1
- data/lib/solifyn.rb +0 -3
- data/spec/api/affiliate_api_spec.rb +165 -0
- data/spec/api/billing_api_spec.rb +46 -0
- data/spec/api/brands_api_spec.rb +83 -0
- data/spec/api/businesses_api_spec.rb +93 -0
- data/spec/api/chat_api_spec.rb +72 -0
- data/spec/api/checkout_api_spec.rb +0 -12
- data/spec/api/community_api_spec.rb +113 -0
- data/spec/api/default_api_spec.rb +11 -59
- data/spec/api/developer_api_spec.rb +29 -52
- data/spec/api/{discord_integration_api_spec.rb → partner_api_spec.rb} +11 -16
- data/spec/api/payouts_api_spec.rb +133 -0
- data/spec/api/ticket_api_spec.rb +86 -0
- data/spec/api/user_profile_themes_api_spec.rb +91 -0
- data/spec/models/business_create_spec.rb +36 -0
- data/spec/models/business_full_create_response_spec.rb +42 -0
- data/spec/models/business_full_create_spec.rb +60 -0
- data/spec/models/business_spec.rb +150 -0
- data/spec/models/checkout_session_details_dto_spec.rb +0 -6
- data/spec/models/collection_product_dto_spec.rb +0 -28
- data/spec/models/order_spec.rb +0 -6
- data/spec/models/payout_access_token_spec.rb +42 -0
- data/spec/models/payout_account_link_spec.rb +42 -0
- data/spec/models/payout_account_spec.rb +48 -0
- data/spec/models/payout_method_list_spec.rb +36 -0
- data/spec/models/{discord_roles_response_dto_spec.rb → payout_method_spec.rb} +9 -9
- data/spec/models/payout_verification_list_spec.rb +36 -0
- data/spec/models/payout_verification_spec.rb +54 -0
- data/spec/models/product_create_spec.rb +0 -28
- data/spec/models/product_spec.rb +0 -28
- data/spec/models/product_update_spec.rb +0 -28
- data/spec/models/user_page_spec.rb +60 -0
- data/spec/models/user_settings_spec.rb +84 -0
- data/spec/models/user_settings_update_spec.rb +210 -0
- data/spec/models/user_stats_spec.rb +42 -0
- data/spec/models/user_theme_spec.rb +60 -0
- data/spec/models/user_theme_update_spec.rb +48 -0
- data/spec/models/whop_api_keys_rotation_spec.rb +36 -0
- data/spec/models/withdrawal_create_spec.rb +48 -0
- data/spec/models/withdrawal_list_spec.rb +42 -0
- data/spec/models/{webhook_entitlement_grant_payload_spec.rb → withdrawal_spec.rb} +23 -17
- metadata +258 -145
- data/docs/DiscordIntegrationApi.md +0 -135
- data/docs/DiscordRolesResponseDto.md +0 -24
- data/docs/WebhookEntitlementGrantPayload.md +0 -44
|
@@ -0,0 +1,497 @@
|
|
|
1
|
+
# Solifyn::CommunityApi
|
|
2
|
+
|
|
3
|
+
All URIs are relative to *http://localhost:8000*
|
|
4
|
+
|
|
5
|
+
| Method | HTTP request | Description |
|
|
6
|
+
| ------ | ------------ | ----------- |
|
|
7
|
+
| [**community_controller_create_post**](CommunityApi.md#community_controller_create_post) | **POST** /v1/community/posts | |
|
|
8
|
+
| [**community_controller_delete_post**](CommunityApi.md#community_controller_delete_post) | **DELETE** /v1/community/posts/{id} | |
|
|
9
|
+
| [**community_controller_get_posts**](CommunityApi.md#community_controller_get_posts) | **GET** /v1/community/posts | |
|
|
10
|
+
| [**community_controller_like_post**](CommunityApi.md#community_controller_like_post) | **PATCH** /v1/community/posts/{id}/like | |
|
|
11
|
+
| [**community_controller_report_post**](CommunityApi.md#community_controller_report_post) | **POST** /v1/community/posts/{id}/report | |
|
|
12
|
+
| [**community_controller_share_post**](CommunityApi.md#community_controller_share_post) | **PATCH** /v1/community/posts/{id}/share | |
|
|
13
|
+
| [**community_controller_unlike_post**](CommunityApi.md#community_controller_unlike_post) | **PATCH** /v1/community/posts/{id}/unlike | |
|
|
14
|
+
| [**community_controller_update_post**](CommunityApi.md#community_controller_update_post) | **PATCH** /v1/community/posts/{id} | |
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
## community_controller_create_post
|
|
18
|
+
|
|
19
|
+
> community_controller_create_post
|
|
20
|
+
|
|
21
|
+
|
|
22
|
+
|
|
23
|
+
### Examples
|
|
24
|
+
|
|
25
|
+
```ruby
|
|
26
|
+
require 'time'
|
|
27
|
+
require 'solifyn'
|
|
28
|
+
|
|
29
|
+
api_instance = Solifyn::CommunityApi.new
|
|
30
|
+
|
|
31
|
+
begin
|
|
32
|
+
|
|
33
|
+
api_instance.community_controller_create_post
|
|
34
|
+
rescue Solifyn::ApiError => e
|
|
35
|
+
puts "Error when calling CommunityApi->community_controller_create_post: #{e}"
|
|
36
|
+
end
|
|
37
|
+
```
|
|
38
|
+
|
|
39
|
+
#### Using the community_controller_create_post_with_http_info variant
|
|
40
|
+
|
|
41
|
+
This returns an Array which contains the response data (`nil` in this case), status code and headers.
|
|
42
|
+
|
|
43
|
+
> <Array(nil, Integer, Hash)> community_controller_create_post_with_http_info
|
|
44
|
+
|
|
45
|
+
```ruby
|
|
46
|
+
begin
|
|
47
|
+
|
|
48
|
+
data, status_code, headers = api_instance.community_controller_create_post_with_http_info
|
|
49
|
+
p status_code # => 2xx
|
|
50
|
+
p headers # => { ... }
|
|
51
|
+
p data # => nil
|
|
52
|
+
rescue Solifyn::ApiError => e
|
|
53
|
+
puts "Error when calling CommunityApi->community_controller_create_post_with_http_info: #{e}"
|
|
54
|
+
end
|
|
55
|
+
```
|
|
56
|
+
|
|
57
|
+
### Parameters
|
|
58
|
+
|
|
59
|
+
This endpoint does not need any parameter.
|
|
60
|
+
|
|
61
|
+
### Return type
|
|
62
|
+
|
|
63
|
+
nil (empty response body)
|
|
64
|
+
|
|
65
|
+
### Authorization
|
|
66
|
+
|
|
67
|
+
No authorization required
|
|
68
|
+
|
|
69
|
+
### HTTP request headers
|
|
70
|
+
|
|
71
|
+
- **Content-Type**: Not defined
|
|
72
|
+
- **Accept**: Not defined
|
|
73
|
+
|
|
74
|
+
|
|
75
|
+
## community_controller_delete_post
|
|
76
|
+
|
|
77
|
+
> community_controller_delete_post(id)
|
|
78
|
+
|
|
79
|
+
|
|
80
|
+
|
|
81
|
+
### Examples
|
|
82
|
+
|
|
83
|
+
```ruby
|
|
84
|
+
require 'time'
|
|
85
|
+
require 'solifyn'
|
|
86
|
+
|
|
87
|
+
api_instance = Solifyn::CommunityApi.new
|
|
88
|
+
id = 'id_example' # String |
|
|
89
|
+
|
|
90
|
+
begin
|
|
91
|
+
|
|
92
|
+
api_instance.community_controller_delete_post(id)
|
|
93
|
+
rescue Solifyn::ApiError => e
|
|
94
|
+
puts "Error when calling CommunityApi->community_controller_delete_post: #{e}"
|
|
95
|
+
end
|
|
96
|
+
```
|
|
97
|
+
|
|
98
|
+
#### Using the community_controller_delete_post_with_http_info variant
|
|
99
|
+
|
|
100
|
+
This returns an Array which contains the response data (`nil` in this case), status code and headers.
|
|
101
|
+
|
|
102
|
+
> <Array(nil, Integer, Hash)> community_controller_delete_post_with_http_info(id)
|
|
103
|
+
|
|
104
|
+
```ruby
|
|
105
|
+
begin
|
|
106
|
+
|
|
107
|
+
data, status_code, headers = api_instance.community_controller_delete_post_with_http_info(id)
|
|
108
|
+
p status_code # => 2xx
|
|
109
|
+
p headers # => { ... }
|
|
110
|
+
p data # => nil
|
|
111
|
+
rescue Solifyn::ApiError => e
|
|
112
|
+
puts "Error when calling CommunityApi->community_controller_delete_post_with_http_info: #{e}"
|
|
113
|
+
end
|
|
114
|
+
```
|
|
115
|
+
|
|
116
|
+
### Parameters
|
|
117
|
+
|
|
118
|
+
| Name | Type | Description | Notes |
|
|
119
|
+
| ---- | ---- | ----------- | ----- |
|
|
120
|
+
| **id** | **String** | | |
|
|
121
|
+
|
|
122
|
+
### Return type
|
|
123
|
+
|
|
124
|
+
nil (empty response body)
|
|
125
|
+
|
|
126
|
+
### Authorization
|
|
127
|
+
|
|
128
|
+
No authorization required
|
|
129
|
+
|
|
130
|
+
### HTTP request headers
|
|
131
|
+
|
|
132
|
+
- **Content-Type**: Not defined
|
|
133
|
+
- **Accept**: Not defined
|
|
134
|
+
|
|
135
|
+
|
|
136
|
+
## community_controller_get_posts
|
|
137
|
+
|
|
138
|
+
> community_controller_get_posts
|
|
139
|
+
|
|
140
|
+
|
|
141
|
+
|
|
142
|
+
### Examples
|
|
143
|
+
|
|
144
|
+
```ruby
|
|
145
|
+
require 'time'
|
|
146
|
+
require 'solifyn'
|
|
147
|
+
|
|
148
|
+
api_instance = Solifyn::CommunityApi.new
|
|
149
|
+
|
|
150
|
+
begin
|
|
151
|
+
|
|
152
|
+
api_instance.community_controller_get_posts
|
|
153
|
+
rescue Solifyn::ApiError => e
|
|
154
|
+
puts "Error when calling CommunityApi->community_controller_get_posts: #{e}"
|
|
155
|
+
end
|
|
156
|
+
```
|
|
157
|
+
|
|
158
|
+
#### Using the community_controller_get_posts_with_http_info variant
|
|
159
|
+
|
|
160
|
+
This returns an Array which contains the response data (`nil` in this case), status code and headers.
|
|
161
|
+
|
|
162
|
+
> <Array(nil, Integer, Hash)> community_controller_get_posts_with_http_info
|
|
163
|
+
|
|
164
|
+
```ruby
|
|
165
|
+
begin
|
|
166
|
+
|
|
167
|
+
data, status_code, headers = api_instance.community_controller_get_posts_with_http_info
|
|
168
|
+
p status_code # => 2xx
|
|
169
|
+
p headers # => { ... }
|
|
170
|
+
p data # => nil
|
|
171
|
+
rescue Solifyn::ApiError => e
|
|
172
|
+
puts "Error when calling CommunityApi->community_controller_get_posts_with_http_info: #{e}"
|
|
173
|
+
end
|
|
174
|
+
```
|
|
175
|
+
|
|
176
|
+
### Parameters
|
|
177
|
+
|
|
178
|
+
This endpoint does not need any parameter.
|
|
179
|
+
|
|
180
|
+
### Return type
|
|
181
|
+
|
|
182
|
+
nil (empty response body)
|
|
183
|
+
|
|
184
|
+
### Authorization
|
|
185
|
+
|
|
186
|
+
No authorization required
|
|
187
|
+
|
|
188
|
+
### HTTP request headers
|
|
189
|
+
|
|
190
|
+
- **Content-Type**: Not defined
|
|
191
|
+
- **Accept**: Not defined
|
|
192
|
+
|
|
193
|
+
|
|
194
|
+
## community_controller_like_post
|
|
195
|
+
|
|
196
|
+
> community_controller_like_post(id)
|
|
197
|
+
|
|
198
|
+
|
|
199
|
+
|
|
200
|
+
### Examples
|
|
201
|
+
|
|
202
|
+
```ruby
|
|
203
|
+
require 'time'
|
|
204
|
+
require 'solifyn'
|
|
205
|
+
|
|
206
|
+
api_instance = Solifyn::CommunityApi.new
|
|
207
|
+
id = 'id_example' # String |
|
|
208
|
+
|
|
209
|
+
begin
|
|
210
|
+
|
|
211
|
+
api_instance.community_controller_like_post(id)
|
|
212
|
+
rescue Solifyn::ApiError => e
|
|
213
|
+
puts "Error when calling CommunityApi->community_controller_like_post: #{e}"
|
|
214
|
+
end
|
|
215
|
+
```
|
|
216
|
+
|
|
217
|
+
#### Using the community_controller_like_post_with_http_info variant
|
|
218
|
+
|
|
219
|
+
This returns an Array which contains the response data (`nil` in this case), status code and headers.
|
|
220
|
+
|
|
221
|
+
> <Array(nil, Integer, Hash)> community_controller_like_post_with_http_info(id)
|
|
222
|
+
|
|
223
|
+
```ruby
|
|
224
|
+
begin
|
|
225
|
+
|
|
226
|
+
data, status_code, headers = api_instance.community_controller_like_post_with_http_info(id)
|
|
227
|
+
p status_code # => 2xx
|
|
228
|
+
p headers # => { ... }
|
|
229
|
+
p data # => nil
|
|
230
|
+
rescue Solifyn::ApiError => e
|
|
231
|
+
puts "Error when calling CommunityApi->community_controller_like_post_with_http_info: #{e}"
|
|
232
|
+
end
|
|
233
|
+
```
|
|
234
|
+
|
|
235
|
+
### Parameters
|
|
236
|
+
|
|
237
|
+
| Name | Type | Description | Notes |
|
|
238
|
+
| ---- | ---- | ----------- | ----- |
|
|
239
|
+
| **id** | **String** | | |
|
|
240
|
+
|
|
241
|
+
### Return type
|
|
242
|
+
|
|
243
|
+
nil (empty response body)
|
|
244
|
+
|
|
245
|
+
### Authorization
|
|
246
|
+
|
|
247
|
+
No authorization required
|
|
248
|
+
|
|
249
|
+
### HTTP request headers
|
|
250
|
+
|
|
251
|
+
- **Content-Type**: Not defined
|
|
252
|
+
- **Accept**: Not defined
|
|
253
|
+
|
|
254
|
+
|
|
255
|
+
## community_controller_report_post
|
|
256
|
+
|
|
257
|
+
> community_controller_report_post(id)
|
|
258
|
+
|
|
259
|
+
|
|
260
|
+
|
|
261
|
+
### Examples
|
|
262
|
+
|
|
263
|
+
```ruby
|
|
264
|
+
require 'time'
|
|
265
|
+
require 'solifyn'
|
|
266
|
+
|
|
267
|
+
api_instance = Solifyn::CommunityApi.new
|
|
268
|
+
id = 'id_example' # String |
|
|
269
|
+
|
|
270
|
+
begin
|
|
271
|
+
|
|
272
|
+
api_instance.community_controller_report_post(id)
|
|
273
|
+
rescue Solifyn::ApiError => e
|
|
274
|
+
puts "Error when calling CommunityApi->community_controller_report_post: #{e}"
|
|
275
|
+
end
|
|
276
|
+
```
|
|
277
|
+
|
|
278
|
+
#### Using the community_controller_report_post_with_http_info variant
|
|
279
|
+
|
|
280
|
+
This returns an Array which contains the response data (`nil` in this case), status code and headers.
|
|
281
|
+
|
|
282
|
+
> <Array(nil, Integer, Hash)> community_controller_report_post_with_http_info(id)
|
|
283
|
+
|
|
284
|
+
```ruby
|
|
285
|
+
begin
|
|
286
|
+
|
|
287
|
+
data, status_code, headers = api_instance.community_controller_report_post_with_http_info(id)
|
|
288
|
+
p status_code # => 2xx
|
|
289
|
+
p headers # => { ... }
|
|
290
|
+
p data # => nil
|
|
291
|
+
rescue Solifyn::ApiError => e
|
|
292
|
+
puts "Error when calling CommunityApi->community_controller_report_post_with_http_info: #{e}"
|
|
293
|
+
end
|
|
294
|
+
```
|
|
295
|
+
|
|
296
|
+
### Parameters
|
|
297
|
+
|
|
298
|
+
| Name | Type | Description | Notes |
|
|
299
|
+
| ---- | ---- | ----------- | ----- |
|
|
300
|
+
| **id** | **String** | | |
|
|
301
|
+
|
|
302
|
+
### Return type
|
|
303
|
+
|
|
304
|
+
nil (empty response body)
|
|
305
|
+
|
|
306
|
+
### Authorization
|
|
307
|
+
|
|
308
|
+
No authorization required
|
|
309
|
+
|
|
310
|
+
### HTTP request headers
|
|
311
|
+
|
|
312
|
+
- **Content-Type**: Not defined
|
|
313
|
+
- **Accept**: Not defined
|
|
314
|
+
|
|
315
|
+
|
|
316
|
+
## community_controller_share_post
|
|
317
|
+
|
|
318
|
+
> community_controller_share_post(id)
|
|
319
|
+
|
|
320
|
+
|
|
321
|
+
|
|
322
|
+
### Examples
|
|
323
|
+
|
|
324
|
+
```ruby
|
|
325
|
+
require 'time'
|
|
326
|
+
require 'solifyn'
|
|
327
|
+
|
|
328
|
+
api_instance = Solifyn::CommunityApi.new
|
|
329
|
+
id = 'id_example' # String |
|
|
330
|
+
|
|
331
|
+
begin
|
|
332
|
+
|
|
333
|
+
api_instance.community_controller_share_post(id)
|
|
334
|
+
rescue Solifyn::ApiError => e
|
|
335
|
+
puts "Error when calling CommunityApi->community_controller_share_post: #{e}"
|
|
336
|
+
end
|
|
337
|
+
```
|
|
338
|
+
|
|
339
|
+
#### Using the community_controller_share_post_with_http_info variant
|
|
340
|
+
|
|
341
|
+
This returns an Array which contains the response data (`nil` in this case), status code and headers.
|
|
342
|
+
|
|
343
|
+
> <Array(nil, Integer, Hash)> community_controller_share_post_with_http_info(id)
|
|
344
|
+
|
|
345
|
+
```ruby
|
|
346
|
+
begin
|
|
347
|
+
|
|
348
|
+
data, status_code, headers = api_instance.community_controller_share_post_with_http_info(id)
|
|
349
|
+
p status_code # => 2xx
|
|
350
|
+
p headers # => { ... }
|
|
351
|
+
p data # => nil
|
|
352
|
+
rescue Solifyn::ApiError => e
|
|
353
|
+
puts "Error when calling CommunityApi->community_controller_share_post_with_http_info: #{e}"
|
|
354
|
+
end
|
|
355
|
+
```
|
|
356
|
+
|
|
357
|
+
### Parameters
|
|
358
|
+
|
|
359
|
+
| Name | Type | Description | Notes |
|
|
360
|
+
| ---- | ---- | ----------- | ----- |
|
|
361
|
+
| **id** | **String** | | |
|
|
362
|
+
|
|
363
|
+
### Return type
|
|
364
|
+
|
|
365
|
+
nil (empty response body)
|
|
366
|
+
|
|
367
|
+
### Authorization
|
|
368
|
+
|
|
369
|
+
No authorization required
|
|
370
|
+
|
|
371
|
+
### HTTP request headers
|
|
372
|
+
|
|
373
|
+
- **Content-Type**: Not defined
|
|
374
|
+
- **Accept**: Not defined
|
|
375
|
+
|
|
376
|
+
|
|
377
|
+
## community_controller_unlike_post
|
|
378
|
+
|
|
379
|
+
> community_controller_unlike_post(id)
|
|
380
|
+
|
|
381
|
+
|
|
382
|
+
|
|
383
|
+
### Examples
|
|
384
|
+
|
|
385
|
+
```ruby
|
|
386
|
+
require 'time'
|
|
387
|
+
require 'solifyn'
|
|
388
|
+
|
|
389
|
+
api_instance = Solifyn::CommunityApi.new
|
|
390
|
+
id = 'id_example' # String |
|
|
391
|
+
|
|
392
|
+
begin
|
|
393
|
+
|
|
394
|
+
api_instance.community_controller_unlike_post(id)
|
|
395
|
+
rescue Solifyn::ApiError => e
|
|
396
|
+
puts "Error when calling CommunityApi->community_controller_unlike_post: #{e}"
|
|
397
|
+
end
|
|
398
|
+
```
|
|
399
|
+
|
|
400
|
+
#### Using the community_controller_unlike_post_with_http_info variant
|
|
401
|
+
|
|
402
|
+
This returns an Array which contains the response data (`nil` in this case), status code and headers.
|
|
403
|
+
|
|
404
|
+
> <Array(nil, Integer, Hash)> community_controller_unlike_post_with_http_info(id)
|
|
405
|
+
|
|
406
|
+
```ruby
|
|
407
|
+
begin
|
|
408
|
+
|
|
409
|
+
data, status_code, headers = api_instance.community_controller_unlike_post_with_http_info(id)
|
|
410
|
+
p status_code # => 2xx
|
|
411
|
+
p headers # => { ... }
|
|
412
|
+
p data # => nil
|
|
413
|
+
rescue Solifyn::ApiError => e
|
|
414
|
+
puts "Error when calling CommunityApi->community_controller_unlike_post_with_http_info: #{e}"
|
|
415
|
+
end
|
|
416
|
+
```
|
|
417
|
+
|
|
418
|
+
### Parameters
|
|
419
|
+
|
|
420
|
+
| Name | Type | Description | Notes |
|
|
421
|
+
| ---- | ---- | ----------- | ----- |
|
|
422
|
+
| **id** | **String** | | |
|
|
423
|
+
|
|
424
|
+
### Return type
|
|
425
|
+
|
|
426
|
+
nil (empty response body)
|
|
427
|
+
|
|
428
|
+
### Authorization
|
|
429
|
+
|
|
430
|
+
No authorization required
|
|
431
|
+
|
|
432
|
+
### HTTP request headers
|
|
433
|
+
|
|
434
|
+
- **Content-Type**: Not defined
|
|
435
|
+
- **Accept**: Not defined
|
|
436
|
+
|
|
437
|
+
|
|
438
|
+
## community_controller_update_post
|
|
439
|
+
|
|
440
|
+
> community_controller_update_post(id)
|
|
441
|
+
|
|
442
|
+
|
|
443
|
+
|
|
444
|
+
### Examples
|
|
445
|
+
|
|
446
|
+
```ruby
|
|
447
|
+
require 'time'
|
|
448
|
+
require 'solifyn'
|
|
449
|
+
|
|
450
|
+
api_instance = Solifyn::CommunityApi.new
|
|
451
|
+
id = 'id_example' # String |
|
|
452
|
+
|
|
453
|
+
begin
|
|
454
|
+
|
|
455
|
+
api_instance.community_controller_update_post(id)
|
|
456
|
+
rescue Solifyn::ApiError => e
|
|
457
|
+
puts "Error when calling CommunityApi->community_controller_update_post: #{e}"
|
|
458
|
+
end
|
|
459
|
+
```
|
|
460
|
+
|
|
461
|
+
#### Using the community_controller_update_post_with_http_info variant
|
|
462
|
+
|
|
463
|
+
This returns an Array which contains the response data (`nil` in this case), status code and headers.
|
|
464
|
+
|
|
465
|
+
> <Array(nil, Integer, Hash)> community_controller_update_post_with_http_info(id)
|
|
466
|
+
|
|
467
|
+
```ruby
|
|
468
|
+
begin
|
|
469
|
+
|
|
470
|
+
data, status_code, headers = api_instance.community_controller_update_post_with_http_info(id)
|
|
471
|
+
p status_code # => 2xx
|
|
472
|
+
p headers # => { ... }
|
|
473
|
+
p data # => nil
|
|
474
|
+
rescue Solifyn::ApiError => e
|
|
475
|
+
puts "Error when calling CommunityApi->community_controller_update_post_with_http_info: #{e}"
|
|
476
|
+
end
|
|
477
|
+
```
|
|
478
|
+
|
|
479
|
+
### Parameters
|
|
480
|
+
|
|
481
|
+
| Name | Type | Description | Notes |
|
|
482
|
+
| ---- | ---- | ----------- | ----- |
|
|
483
|
+
| **id** | **String** | | |
|
|
484
|
+
|
|
485
|
+
### Return type
|
|
486
|
+
|
|
487
|
+
nil (empty response body)
|
|
488
|
+
|
|
489
|
+
### Authorization
|
|
490
|
+
|
|
491
|
+
No authorization required
|
|
492
|
+
|
|
493
|
+
### HTTP request headers
|
|
494
|
+
|
|
495
|
+
- **Content-Type**: Not defined
|
|
496
|
+
- **Accept**: Not defined
|
|
497
|
+
|