radiomanager_client 1.0.99 → 1.0.100
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/README.md +11 -5
- data/docs/BlockApi.md +13 -7
- data/docs/BroadcastApi.md +36 -24
- data/docs/BroadcastEPGDay.md +9 -0
- data/docs/BroadcastEPGRelations.md +13 -0
- data/docs/BroadcastEPGResult.md +40 -0
- data/docs/CampaignApi.md +9 -3
- data/docs/ContactApi.md +11 -5
- data/docs/EPGResults.md +10 -0
- data/docs/ExternalMessageApi.md +1 -1
- data/docs/GenreApi.md +7 -1
- data/docs/ItemApi.md +27 -25
- data/docs/ModelTypeApi.md +9 -3
- data/docs/PresenterApi.md +9 -3
- data/docs/PresenterEPGResult.md +18 -0
- data/docs/ProgramApi.md +17 -11
- data/docs/StationApi.md +57 -0
- data/docs/StationResult.md +8 -0
- data/docs/StationResultStation.md +33 -0
- data/docs/StoryApi.md +11 -5
- data/docs/StoryDataInput.md +1 -0
- data/docs/StringApi.md +1 -1
- data/docs/TagApi.md +7 -1
- data/docs/UserApi.md +8 -2
- data/docs/VisualSlideApi.md +1 -1
- data/lib/radiomanager_client/api/block_api.rb +29 -9
- data/lib/radiomanager_client/api/broadcast_api.rb +58 -29
- data/lib/radiomanager_client/api/campaign_api.rb +23 -3
- data/lib/radiomanager_client/api/contact_api.rb +25 -5
- data/lib/radiomanager_client/api/genre_api.rb +20 -0
- data/lib/radiomanager_client/api/item_api.rb +50 -39
- data/lib/radiomanager_client/api/model_type_api.rb +23 -3
- data/lib/radiomanager_client/api/presenter_api.rb +23 -3
- data/lib/radiomanager_client/api/program_api.rb +34 -14
- data/lib/radiomanager_client/api/station_api.rb +72 -0
- data/lib/radiomanager_client/api/story_api.rb +25 -5
- data/lib/radiomanager_client/api/tag_api.rb +20 -0
- data/lib/radiomanager_client/api/user_api.rb +20 -0
- data/lib/radiomanager_client/configuration.rb +1 -1
- data/lib/radiomanager_client/models/broadcast_epg_day.rb +204 -0
- data/lib/radiomanager_client/models/broadcast_epg_relations.rb +235 -0
- data/lib/radiomanager_client/models/broadcast_epg_result.rb +547 -0
- data/lib/radiomanager_client/models/epg_results.rb +223 -0
- data/lib/radiomanager_client/models/presenter_epg_result.rb +305 -0
- data/lib/radiomanager_client/models/station_result.rb +188 -0
- data/lib/radiomanager_client/models/station_result_station.rb +413 -0
- data/lib/radiomanager_client/models/story_data_input.rb +15 -4
- data/lib/radiomanager_client.rb +9 -3
- data/radiomanager_client.gemspec +1 -1
- data/spec/api/station_api_spec.rb +46 -0
- data/spec/configuration_spec.rb +3 -3
- data/spec/models/broadcast_epg_day_spec.rb +48 -0
- data/spec/models/broadcast_epg_relations_spec.rb +72 -0
- data/spec/models/broadcast_epg_result_spec.rb +238 -0
- data/spec/models/epg_results_spec.rb +54 -0
- data/spec/models/item_data_input_spec.rb +1 -1
- data/spec/models/item_input_only_spec.rb +1 -1
- data/spec/models/presenter_epg_result_spec.rb +102 -0
- data/spec/models/station_result_spec.rb +42 -0
- data/spec/models/station_result_station_spec.rb +186 -0
- metadata +34 -2
data/docs/ExternalMessageApi.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# RadioManagerClient::ExternalMessageApi
|
|
2
2
|
|
|
3
|
-
All URIs are relative to *https://staging.
|
|
3
|
+
All URIs are relative to *https://staging.pluxbox.com/api/v2*
|
|
4
4
|
|
|
5
5
|
Method | HTTP request | Description
|
|
6
6
|
------------- | ------------- | -------------
|
data/docs/GenreApi.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# RadioManagerClient::GenreApi
|
|
2
2
|
|
|
3
|
-
All URIs are relative to *https://staging.radiomanager.
|
|
3
|
+
All URIs are relative to *https://staging.radiomanager.io/api/v2*
|
|
4
4
|
|
|
5
5
|
Method | HTTP request | Description
|
|
6
6
|
------------- | ------------- | -------------
|
|
@@ -92,6 +92,9 @@ opts = {
|
|
|
92
92
|
parent_id: 789, # Integer | Search on Parent ID of Genre *(Optional)*
|
|
93
93
|
program_id: 789, # Integer | Search on Program ID *(Optional)* `(Relation)`
|
|
94
94
|
broadcast_id: 789, # Integer | Search on Broadcast ID *(Optional)* `(Relation)`
|
|
95
|
+
limit: 789, # Integer | Results per page *(Optional)*
|
|
96
|
+
order_by: "order_by_example", # String | Field to order the results *(Optional)*
|
|
97
|
+
order_direction: "order_direction_example", # String | Direction of ordering *(Optional)*
|
|
95
98
|
_external_station_id: 789 # Integer | Query on a different (content providing) station *(Optional)*
|
|
96
99
|
}
|
|
97
100
|
|
|
@@ -112,6 +115,9 @@ Name | Type | Description | Notes
|
|
|
112
115
|
**parent_id** | **Integer**| Search on Parent ID of Genre *(Optional)* | [optional]
|
|
113
116
|
**program_id** | **Integer**| Search on Program ID *(Optional)* `(Relation)` | [optional]
|
|
114
117
|
**broadcast_id** | **Integer**| Search on Broadcast ID *(Optional)* `(Relation)` | [optional]
|
|
118
|
+
**limit** | **Integer**| Results per page *(Optional)* | [optional]
|
|
119
|
+
**order_by** | **String**| Field to order the results *(Optional)* | [optional]
|
|
120
|
+
**order_direction** | **String**| Direction of ordering *(Optional)* | [optional]
|
|
115
121
|
**_external_station_id** | **Integer**| Query on a different (content providing) station *(Optional)* | [optional]
|
|
116
122
|
|
|
117
123
|
### Return type
|
data/docs/ItemApi.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# RadioManagerClient::ItemApi
|
|
2
2
|
|
|
3
|
-
All URIs are relative to *https://staging.radiomanager.
|
|
3
|
+
All URIs are relative to *https://staging.radiomanager.io/api/v2*
|
|
4
4
|
|
|
5
5
|
Method | HTTP request | Description
|
|
6
6
|
------------- | ------------- | -------------
|
|
@@ -315,23 +315,24 @@ api_instance = RadioManagerClient::ItemApi.new
|
|
|
315
315
|
|
|
316
316
|
opts = {
|
|
317
317
|
page: 789, # Integer | Current page *(Optional)*
|
|
318
|
-
order_by: "order_by_example", # String | Field to order the results *(Optional)*
|
|
319
|
-
order_direction: "order_direction_example", # String | Direction of ordering *(Optional)*
|
|
320
|
-
start_min: DateTime.parse("2013-10-20T19:20:30+01:00"), # DateTime | Minimum start date *(Optional)*
|
|
321
|
-
start_max: DateTime.parse("2013-10-20T19:20:30+01:00"), # DateTime | Maximum start date *(Optional)*
|
|
322
|
-
duration_min: 56, # Integer | Minimum duration (seconds) *(Optional)*
|
|
323
|
-
duration_max: 56, # Integer | Maximum duration (seconds) *(Optional)*
|
|
324
|
-
status: "status_example", # String | Play Status of item *(Optional)*
|
|
325
|
-
model_type_id: 789, # Integer | Search on ModelType ID *(Optional)*
|
|
326
|
-
program_draft_id: 789, # Integer | Search on Program Draft ID *(Optional)*
|
|
327
|
-
user_draft_id: 789, # Integer | Search on User Draft ID *(Optional)*
|
|
328
|
-
station_draft_id: 789, # Integer | Search on Station Draft ID *(Optional)*
|
|
329
318
|
block_id: 789, # Integer | Search on Block ID *(Optional)* `(Relation)`
|
|
330
319
|
broadcast_id: 789, # Integer | Search on Broadcast ID *(Optional)* `(Relation)`
|
|
320
|
+
model_type_id: 789, # Integer | Search on ModelType ID *(Optional)* `(Relation)`
|
|
321
|
+
tag_id: 789, # Integer | Search on Tag ID *(Optional)* `(Relation)`
|
|
331
322
|
campaign_id: 789, # Integer | Search on Campaign ID *(Optional)* `(Relation)`
|
|
332
323
|
contact_id: 789, # Integer | Search on Contact ID *(Optional)* `(Relation)`
|
|
324
|
+
program_draft_id: 789, # Integer | Search on Program Draft ID *(Optional)*
|
|
325
|
+
user_draft_id: 789, # Integer | Search on User Draft ID *(Optional)*
|
|
326
|
+
station_draft_id: 789, # Integer | Search on Station Draft ID *(Optional)*
|
|
333
327
|
program_id: 789, # Integer | Search on Program ID *(Optional)* `(Relation)`
|
|
334
|
-
|
|
328
|
+
start_min: DateTime.parse("2013-10-20T19:20:30+01:00"), # DateTime | Minimum start date *(Optional)*
|
|
329
|
+
start_max: DateTime.parse("2013-10-20T19:20:30+01:00"), # DateTime | Maximum start date *(Optional)*
|
|
330
|
+
duration_min: 56, # Integer | Minimum duration (seconds) *(Optional)*
|
|
331
|
+
duration_max: 56, # Integer | Maximum duration (seconds) *(Optional)*
|
|
332
|
+
status: "status_example", # String | Play Status of item *(Optional)*
|
|
333
|
+
limit: 789, # Integer | Results per page *(Optional)*
|
|
334
|
+
order_by: "order_by_example", # String | Field to order the results *(Optional)*
|
|
335
|
+
order_direction: "order_direction_example", # String | Direction of ordering *(Optional)*
|
|
335
336
|
_external_station_id: 789 # Integer | Query on a different (content providing) station *(Optional)*
|
|
336
337
|
}
|
|
337
338
|
|
|
@@ -349,23 +350,24 @@ end
|
|
|
349
350
|
Name | Type | Description | Notes
|
|
350
351
|
------------- | ------------- | ------------- | -------------
|
|
351
352
|
**page** | **Integer**| Current page *(Optional)* | [optional]
|
|
352
|
-
**order_by** | **String**| Field to order the results *(Optional)* | [optional]
|
|
353
|
-
**order_direction** | **String**| Direction of ordering *(Optional)* | [optional]
|
|
354
|
-
**start_min** | **DateTime**| Minimum start date *(Optional)* | [optional]
|
|
355
|
-
**start_max** | **DateTime**| Maximum start date *(Optional)* | [optional]
|
|
356
|
-
**duration_min** | **Integer**| Minimum duration (seconds) *(Optional)* | [optional]
|
|
357
|
-
**duration_max** | **Integer**| Maximum duration (seconds) *(Optional)* | [optional]
|
|
358
|
-
**status** | **String**| Play Status of item *(Optional)* | [optional]
|
|
359
|
-
**model_type_id** | **Integer**| Search on ModelType ID *(Optional)* | [optional]
|
|
360
|
-
**program_draft_id** | **Integer**| Search on Program Draft ID *(Optional)* | [optional]
|
|
361
|
-
**user_draft_id** | **Integer**| Search on User Draft ID *(Optional)* | [optional]
|
|
362
|
-
**station_draft_id** | **Integer**| Search on Station Draft ID *(Optional)* | [optional]
|
|
363
353
|
**block_id** | **Integer**| Search on Block ID *(Optional)* `(Relation)` | [optional]
|
|
364
354
|
**broadcast_id** | **Integer**| Search on Broadcast ID *(Optional)* `(Relation)` | [optional]
|
|
355
|
+
**model_type_id** | **Integer**| Search on ModelType ID *(Optional)* `(Relation)` | [optional]
|
|
356
|
+
**tag_id** | **Integer**| Search on Tag ID *(Optional)* `(Relation)` | [optional]
|
|
365
357
|
**campaign_id** | **Integer**| Search on Campaign ID *(Optional)* `(Relation)` | [optional]
|
|
366
358
|
**contact_id** | **Integer**| Search on Contact ID *(Optional)* `(Relation)` | [optional]
|
|
359
|
+
**program_draft_id** | **Integer**| Search on Program Draft ID *(Optional)* | [optional]
|
|
360
|
+
**user_draft_id** | **Integer**| Search on User Draft ID *(Optional)* | [optional]
|
|
361
|
+
**station_draft_id** | **Integer**| Search on Station Draft ID *(Optional)* | [optional]
|
|
367
362
|
**program_id** | **Integer**| Search on Program ID *(Optional)* `(Relation)` | [optional]
|
|
368
|
-
**
|
|
363
|
+
**start_min** | **DateTime**| Minimum start date *(Optional)* | [optional]
|
|
364
|
+
**start_max** | **DateTime**| Maximum start date *(Optional)* | [optional]
|
|
365
|
+
**duration_min** | **Integer**| Minimum duration (seconds) *(Optional)* | [optional]
|
|
366
|
+
**duration_max** | **Integer**| Maximum duration (seconds) *(Optional)* | [optional]
|
|
367
|
+
**status** | **String**| Play Status of item *(Optional)* | [optional]
|
|
368
|
+
**limit** | **Integer**| Results per page *(Optional)* | [optional]
|
|
369
|
+
**order_by** | **String**| Field to order the results *(Optional)* | [optional]
|
|
370
|
+
**order_direction** | **String**| Direction of ordering *(Optional)* | [optional]
|
|
369
371
|
**_external_station_id** | **Integer**| Query on a different (content providing) station *(Optional)* | [optional]
|
|
370
372
|
|
|
371
373
|
### Return type
|
data/docs/ModelTypeApi.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# RadioManagerClient::ModelTypeApi
|
|
2
2
|
|
|
3
|
-
All URIs are relative to *https://staging.radiomanager.
|
|
3
|
+
All URIs are relative to *https://staging.radiomanager.io/api/v2*
|
|
4
4
|
|
|
5
5
|
Method | HTTP request | Description
|
|
6
6
|
------------- | ------------- | -------------
|
|
@@ -89,13 +89,16 @@ api_instance = RadioManagerClient::ModelTypeApi.new
|
|
|
89
89
|
|
|
90
90
|
opts = {
|
|
91
91
|
page: 789, # Integer | Current page *(Optional)*
|
|
92
|
-
model: "model_example", # String |
|
|
93
92
|
program_id: 789, # Integer | Search on Program ID *(Optional)*
|
|
94
93
|
broadcast_id: 789, # Integer | Search on Broadcast ID *(Optional)*
|
|
95
94
|
item_id: 789, # Integer | Search on Item ID *(Optional)*
|
|
96
95
|
campaign_id: 789, # Integer | Search on Campaign ID *(Optional)*
|
|
97
96
|
presenter_id: 789, # Integer | Search on Presenter ID *(Optional)*
|
|
98
97
|
contact_id: 789, # Integer | Search on Contact ID *(Optional)*
|
|
98
|
+
model: "model_example", # String | Search Modeltypes for certain Model *(Optional)*
|
|
99
|
+
limit: 789, # Integer | Results per page *(Optional)*
|
|
100
|
+
order_by: "order_by_example", # String | Field to order the results *(Optional)*
|
|
101
|
+
order_direction: "order_direction_example", # String | Direction of ordering *(Optional)*
|
|
99
102
|
_external_station_id: 789 # Integer | Query on a different (content providing) station *(Optional)*
|
|
100
103
|
}
|
|
101
104
|
|
|
@@ -113,13 +116,16 @@ end
|
|
|
113
116
|
Name | Type | Description | Notes
|
|
114
117
|
------------- | ------------- | ------------- | -------------
|
|
115
118
|
**page** | **Integer**| Current page *(Optional)* | [optional]
|
|
116
|
-
**model** | **String**| | [optional]
|
|
117
119
|
**program_id** | **Integer**| Search on Program ID *(Optional)* | [optional]
|
|
118
120
|
**broadcast_id** | **Integer**| Search on Broadcast ID *(Optional)* | [optional]
|
|
119
121
|
**item_id** | **Integer**| Search on Item ID *(Optional)* | [optional]
|
|
120
122
|
**campaign_id** | **Integer**| Search on Campaign ID *(Optional)* | [optional]
|
|
121
123
|
**presenter_id** | **Integer**| Search on Presenter ID *(Optional)* | [optional]
|
|
122
124
|
**contact_id** | **Integer**| Search on Contact ID *(Optional)* | [optional]
|
|
125
|
+
**model** | **String**| Search Modeltypes for certain Model *(Optional)* | [optional]
|
|
126
|
+
**limit** | **Integer**| Results per page *(Optional)* | [optional]
|
|
127
|
+
**order_by** | **String**| Field to order the results *(Optional)* | [optional]
|
|
128
|
+
**order_direction** | **String**| Direction of ordering *(Optional)* | [optional]
|
|
123
129
|
**_external_station_id** | **Integer**| Query on a different (content providing) station *(Optional)* | [optional]
|
|
124
130
|
|
|
125
131
|
### Return type
|
data/docs/PresenterApi.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# RadioManagerClient::PresenterApi
|
|
2
2
|
|
|
3
|
-
All URIs are relative to *https://staging.radiomanager.
|
|
3
|
+
All URIs are relative to *https://staging.radiomanager.io/api/v2*
|
|
4
4
|
|
|
5
5
|
Method | HTTP request | Description
|
|
6
6
|
------------- | ------------- | -------------
|
|
@@ -200,9 +200,12 @@ api_instance = RadioManagerClient::PresenterApi.new
|
|
|
200
200
|
|
|
201
201
|
opts = {
|
|
202
202
|
page: 789, # Integer | Current page *(Optional)*
|
|
203
|
-
model_type_id: 789, # Integer | Search on ModelType ID (Optional)
|
|
204
203
|
program_id: 789, # Integer | Search on Program ID *(Optional)* `(Relation)`
|
|
205
204
|
broadcast_id: 789, # Integer | Search on Broadcast ID *(Optional)* `(Relation)`
|
|
205
|
+
model_type_id: 789, # Integer | Search on ModelType ID (Optional)
|
|
206
|
+
limit: 789, # Integer | Results per page *(Optional)*
|
|
207
|
+
order_by: "order_by_example", # String | Field to order the results *(Optional)*
|
|
208
|
+
order_direction: "order_direction_example", # String | Direction of ordering *(Optional)*
|
|
206
209
|
_external_station_id: 789 # Integer | Query on a different (content providing) station *(Optional)*
|
|
207
210
|
}
|
|
208
211
|
|
|
@@ -220,9 +223,12 @@ end
|
|
|
220
223
|
Name | Type | Description | Notes
|
|
221
224
|
------------- | ------------- | ------------- | -------------
|
|
222
225
|
**page** | **Integer**| Current page *(Optional)* | [optional]
|
|
223
|
-
**model_type_id** | **Integer**| Search on ModelType ID (Optional) | [optional]
|
|
224
226
|
**program_id** | **Integer**| Search on Program ID *(Optional)* `(Relation)` | [optional]
|
|
225
227
|
**broadcast_id** | **Integer**| Search on Broadcast ID *(Optional)* `(Relation)` | [optional]
|
|
228
|
+
**model_type_id** | **Integer**| Search on ModelType ID (Optional) | [optional]
|
|
229
|
+
**limit** | **Integer**| Results per page *(Optional)* | [optional]
|
|
230
|
+
**order_by** | **String**| Field to order the results *(Optional)* | [optional]
|
|
231
|
+
**order_direction** | **String**| Direction of ordering *(Optional)* | [optional]
|
|
226
232
|
**_external_station_id** | **Integer**| Query on a different (content providing) station *(Optional)* | [optional]
|
|
227
233
|
|
|
228
234
|
### Return type
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
# RadioManagerClient::PresenterEPGResult
|
|
2
|
+
|
|
3
|
+
## Properties
|
|
4
|
+
Name | Type | Description | Notes
|
|
5
|
+
------------ | ------------- | ------------- | -------------
|
|
6
|
+
**model_type_id** | **Integer** | |
|
|
7
|
+
**field_values** | **Array<Object>** | | [optional]
|
|
8
|
+
**firstname** | **String** | | [optional]
|
|
9
|
+
**lastname** | **String** | | [optional]
|
|
10
|
+
**active** | **BOOLEAN** | | [optional]
|
|
11
|
+
**name** | **String** | | [optional]
|
|
12
|
+
**id** | **Integer** | |
|
|
13
|
+
**updated_at** | **DateTime** | |
|
|
14
|
+
**created_at** | **DateTime** | |
|
|
15
|
+
**deleted_at** | **DateTime** | |
|
|
16
|
+
**_external_station_id** | **Integer** | | [optional]
|
|
17
|
+
|
|
18
|
+
|
data/docs/ProgramApi.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# RadioManagerClient::ProgramApi
|
|
2
2
|
|
|
3
|
-
All URIs are relative to *https://staging.radiomanager.
|
|
3
|
+
All URIs are relative to *https://staging.radiomanager.io/api/v2*
|
|
4
4
|
|
|
5
5
|
Method | HTTP request | Description
|
|
6
6
|
------------- | ------------- | -------------
|
|
@@ -200,13 +200,16 @@ api_instance = RadioManagerClient::ProgramApi.new
|
|
|
200
200
|
|
|
201
201
|
opts = {
|
|
202
202
|
page: 789, # Integer | Current page *(Optional)*
|
|
203
|
-
genre_id: 789, # Integer | Search on Genre ID *(Optional)*
|
|
204
|
-
model_type_id: 789, # Integer | Search on ModelType ID *(Optional)*
|
|
205
|
-
presenter_id: 789, # Integer | Search on Presenter ID *(Optional)* `(Relation)`
|
|
206
|
-
tag_id: 789, # Integer | Search on Tag ID *(Optional)* `(Relation)`
|
|
207
203
|
broadcast_id: 789, # Integer | Search on Broadcast ID *(Optional)* `(Relation)`
|
|
208
|
-
|
|
204
|
+
model_type_id: 789, # Integer | Search on ModelType ID *(Optional)* `(Relation)`
|
|
205
|
+
tag_id: 789, # Integer | Search on Tag ID *(Optional)* `(Relation)`
|
|
206
|
+
presenter_id: 789, # Integer | Search on Presenter ID *(Optional)* `(Relation)`
|
|
207
|
+
genre_id: 789, # Integer | Search on Genre ID *(Optional)*
|
|
209
208
|
block_id: 789, # Integer | Search on Block ID *(Optional)* `(Relation)`
|
|
209
|
+
item_id: 789, # Integer | Search on Item ID *(Optional)* `(Relation)`
|
|
210
|
+
limit: 789, # Integer | Results per page *(Optional)*
|
|
211
|
+
order_by: "order_by_example", # String | Field to order the results *(Optional)*
|
|
212
|
+
order_direction: "order_direction_example", # String | Direction of ordering *(Optional)*
|
|
210
213
|
_external_station_id: 789 # Integer | Query on a different (content providing) station *(Optional)*
|
|
211
214
|
}
|
|
212
215
|
|
|
@@ -224,13 +227,16 @@ end
|
|
|
224
227
|
Name | Type | Description | Notes
|
|
225
228
|
------------- | ------------- | ------------- | -------------
|
|
226
229
|
**page** | **Integer**| Current page *(Optional)* | [optional]
|
|
227
|
-
**genre_id** | **Integer**| Search on Genre ID *(Optional)* | [optional]
|
|
228
|
-
**model_type_id** | **Integer**| Search on ModelType ID *(Optional)* | [optional]
|
|
229
|
-
**presenter_id** | **Integer**| Search on Presenter ID *(Optional)* `(Relation)` | [optional]
|
|
230
|
-
**tag_id** | **Integer**| Search on Tag ID *(Optional)* `(Relation)` | [optional]
|
|
231
230
|
**broadcast_id** | **Integer**| Search on Broadcast ID *(Optional)* `(Relation)` | [optional]
|
|
232
|
-
**
|
|
231
|
+
**model_type_id** | **Integer**| Search on ModelType ID *(Optional)* `(Relation)` | [optional]
|
|
232
|
+
**tag_id** | **Integer**| Search on Tag ID *(Optional)* `(Relation)` | [optional]
|
|
233
|
+
**presenter_id** | **Integer**| Search on Presenter ID *(Optional)* `(Relation)` | [optional]
|
|
234
|
+
**genre_id** | **Integer**| Search on Genre ID *(Optional)* | [optional]
|
|
233
235
|
**block_id** | **Integer**| Search on Block ID *(Optional)* `(Relation)` | [optional]
|
|
236
|
+
**item_id** | **Integer**| Search on Item ID *(Optional)* `(Relation)` | [optional]
|
|
237
|
+
**limit** | **Integer**| Results per page *(Optional)* | [optional]
|
|
238
|
+
**order_by** | **String**| Field to order the results *(Optional)* | [optional]
|
|
239
|
+
**order_direction** | **String**| Direction of ordering *(Optional)* | [optional]
|
|
234
240
|
**_external_station_id** | **Integer**| Query on a different (content providing) station *(Optional)* | [optional]
|
|
235
241
|
|
|
236
242
|
### Return type
|
data/docs/StationApi.md
ADDED
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
# RadioManagerClient::StationApi
|
|
2
|
+
|
|
3
|
+
All URIs are relative to *https://staging.radiomanager.io/api/v2*
|
|
4
|
+
|
|
5
|
+
Method | HTTP request | Description
|
|
6
|
+
------------- | ------------- | -------------
|
|
7
|
+
[**get_station**](StationApi.md#get_station) | **GET** /station | Get own station only
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
# **get_station**
|
|
11
|
+
> StationResult get_station
|
|
12
|
+
|
|
13
|
+
Get own station only
|
|
14
|
+
|
|
15
|
+
Get own station only
|
|
16
|
+
|
|
17
|
+
### Example
|
|
18
|
+
```ruby
|
|
19
|
+
# load the gem
|
|
20
|
+
require 'radiomanager_client'
|
|
21
|
+
# setup authorization
|
|
22
|
+
RadioManagerClient.configure do |config|
|
|
23
|
+
# Configure API key authorization: API Key
|
|
24
|
+
config.api_key['api-key'] = 'YOUR API KEY'
|
|
25
|
+
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
|
26
|
+
#config.api_key_prefix['api-key'] = 'Bearer'
|
|
27
|
+
end
|
|
28
|
+
|
|
29
|
+
api_instance = RadioManagerClient::StationApi.new
|
|
30
|
+
|
|
31
|
+
begin
|
|
32
|
+
#Get own station only
|
|
33
|
+
result = api_instance.get_station
|
|
34
|
+
p result
|
|
35
|
+
rescue RadioManagerClient::ApiError => e
|
|
36
|
+
puts "Exception when calling StationApi->get_station: #{e}"
|
|
37
|
+
end
|
|
38
|
+
```
|
|
39
|
+
|
|
40
|
+
### Parameters
|
|
41
|
+
This endpoint does not need any parameter.
|
|
42
|
+
|
|
43
|
+
### Return type
|
|
44
|
+
|
|
45
|
+
[**StationResult**](StationResult.md)
|
|
46
|
+
|
|
47
|
+
### Authorization
|
|
48
|
+
|
|
49
|
+
[API Key](../README.md#API Key)
|
|
50
|
+
|
|
51
|
+
### HTTP request headers
|
|
52
|
+
|
|
53
|
+
- **Content-Type**: application/json
|
|
54
|
+
- **Accept**: application/json
|
|
55
|
+
|
|
56
|
+
|
|
57
|
+
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
# RadioManagerClient::StationResultStation
|
|
2
|
+
|
|
3
|
+
## Properties
|
|
4
|
+
Name | Type | Description | Notes
|
|
5
|
+
------------ | ------------- | ------------- | -------------
|
|
6
|
+
**id** | **Integer** | | [optional]
|
|
7
|
+
**name** | **String** | | [optional]
|
|
8
|
+
**created_at** | **DateTime** | | [optional]
|
|
9
|
+
**updated_at** | **DateTime** | | [optional]
|
|
10
|
+
**system_name** | **String** | | [optional]
|
|
11
|
+
**short_name** | **String** | | [optional]
|
|
12
|
+
**medium_name** | **String** | | [optional]
|
|
13
|
+
**website** | **String** | | [optional]
|
|
14
|
+
**email** | **String** | | [optional]
|
|
15
|
+
**keywords** | **String** | | [optional]
|
|
16
|
+
**description** | **String** | | [optional]
|
|
17
|
+
**sms** | **String** | | [optional]
|
|
18
|
+
**telephone** | **String** | | [optional]
|
|
19
|
+
**genre_id** | **Integer** | | [optional]
|
|
20
|
+
**language** | **String** | | [optional]
|
|
21
|
+
**active** | **BOOLEAN** | | [optional]
|
|
22
|
+
**logo_rectangle** | **String** | | [optional]
|
|
23
|
+
**logo_128x128** | **String** | | [optional]
|
|
24
|
+
**logo_320x320** | **String** | | [optional]
|
|
25
|
+
**logo_600x600** | **String** | | [optional]
|
|
26
|
+
**pay_off** | **String** | | [optional]
|
|
27
|
+
**pty_code** | **Integer** | | [optional]
|
|
28
|
+
**pty_type** | **String** | | [optional]
|
|
29
|
+
**station_key** | **String** | | [optional]
|
|
30
|
+
**timezone** | **String** | | [optional]
|
|
31
|
+
**trial_date** | **DateTime** | | [optional]
|
|
32
|
+
|
|
33
|
+
|
data/docs/StoryApi.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# RadioManagerClient::StoryApi
|
|
2
2
|
|
|
3
|
-
All URIs are relative to *https://staging.radiomanager.
|
|
3
|
+
All URIs are relative to *https://staging.radiomanager.io/api/v2*
|
|
4
4
|
|
|
5
5
|
Method | HTTP request | Description
|
|
6
6
|
------------- | ------------- | -------------
|
|
@@ -200,9 +200,12 @@ api_instance = RadioManagerClient::StoryApi.new
|
|
|
200
200
|
|
|
201
201
|
opts = {
|
|
202
202
|
page: 1, # Integer | Current page *(Optional)*
|
|
203
|
-
model_type_id: 789, # Integer | Search on ModelType ID *(Optional)*
|
|
204
|
-
tag_id: 789, # Integer | Search on Tag ID *(Optional)* `(Relation)`
|
|
205
203
|
item_id: 789, # Integer | Search on Item ID *(Optional)* `(Relation)`
|
|
204
|
+
model_type_id: 789, # Integer | Search on ModelType ID *(Optional)* `(Relation)`
|
|
205
|
+
tag_id: 789, # Integer | Search on Tag ID *(Optional)* `(Relation)`
|
|
206
|
+
limit: 789, # Integer | Results per page *(Optional)*
|
|
207
|
+
order_by: "order_by_example", # String | Field to order the results *(Optional)*
|
|
208
|
+
order_direction: "order_direction_example", # String | Direction of ordering *(Optional)*
|
|
206
209
|
_external_station_id: 789 # Integer | Query on a different (content providing) station *(Optional)*
|
|
207
210
|
}
|
|
208
211
|
|
|
@@ -220,9 +223,12 @@ end
|
|
|
220
223
|
Name | Type | Description | Notes
|
|
221
224
|
------------- | ------------- | ------------- | -------------
|
|
222
225
|
**page** | **Integer**| Current page *(Optional)* | [optional] [default to 1]
|
|
223
|
-
**model_type_id** | **Integer**| Search on ModelType ID *(Optional)* | [optional]
|
|
224
|
-
**tag_id** | **Integer**| Search on Tag ID *(Optional)* `(Relation)` | [optional]
|
|
225
226
|
**item_id** | **Integer**| Search on Item ID *(Optional)* `(Relation)` | [optional]
|
|
227
|
+
**model_type_id** | **Integer**| Search on ModelType ID *(Optional)* `(Relation)` | [optional]
|
|
228
|
+
**tag_id** | **Integer**| Search on Tag ID *(Optional)* `(Relation)` | [optional]
|
|
229
|
+
**limit** | **Integer**| Results per page *(Optional)* | [optional]
|
|
230
|
+
**order_by** | **String**| Field to order the results *(Optional)* | [optional]
|
|
231
|
+
**order_direction** | **String**| Direction of ordering *(Optional)* | [optional]
|
|
226
232
|
**_external_station_id** | **Integer**| Query on a different (content providing) station *(Optional)* | [optional]
|
|
227
233
|
|
|
228
234
|
### Return type
|
data/docs/StoryDataInput.md
CHANGED
data/docs/StringApi.md
CHANGED
data/docs/TagApi.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# RadioManagerClient::TagApi
|
|
2
2
|
|
|
3
|
-
All URIs are relative to *https://staging.radiomanager.
|
|
3
|
+
All URIs are relative to *https://staging.radiomanager.io/api/v2*
|
|
4
4
|
|
|
5
5
|
Method | HTTP request | Description
|
|
6
6
|
------------- | ------------- | -------------
|
|
@@ -204,6 +204,9 @@ opts = {
|
|
|
204
204
|
item_id: 789, # Integer | Search on Item ID *(Optional)* `(Relation)`
|
|
205
205
|
broadcast_id: 789, # Integer | Search on Broadcast ID *(Optional)* `(Relation)`
|
|
206
206
|
contact_id: 789, # Integer | Search on Contact ID *(Optional)* `(Relation)`
|
|
207
|
+
limit: 789, # Integer | Results per page *(Optional)*
|
|
208
|
+
order_by: "order_by_example", # String | Field to order the results *(Optional)*
|
|
209
|
+
order_direction: "order_direction_example", # String | Direction of ordering *(Optional)*
|
|
207
210
|
_external_station_id: 789 # Integer | Query on a different (content providing) station *(Optional)*
|
|
208
211
|
}
|
|
209
212
|
|
|
@@ -225,6 +228,9 @@ Name | Type | Description | Notes
|
|
|
225
228
|
**item_id** | **Integer**| Search on Item ID *(Optional)* `(Relation)` | [optional]
|
|
226
229
|
**broadcast_id** | **Integer**| Search on Broadcast ID *(Optional)* `(Relation)` | [optional]
|
|
227
230
|
**contact_id** | **Integer**| Search on Contact ID *(Optional)* `(Relation)` | [optional]
|
|
231
|
+
**limit** | **Integer**| Results per page *(Optional)* | [optional]
|
|
232
|
+
**order_by** | **String**| Field to order the results *(Optional)* | [optional]
|
|
233
|
+
**order_direction** | **String**| Direction of ordering *(Optional)* | [optional]
|
|
228
234
|
**_external_station_id** | **Integer**| Query on a different (content providing) station *(Optional)* | [optional]
|
|
229
235
|
|
|
230
236
|
### Return type
|