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
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: b4c7bd6c9bb01661e8e14f8bfee7e396955d9f15
|
|
4
|
+
data.tar.gz: 85801b73fd78770aed2c1963f901fd1d18b401de
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: fbc49a7133c725a0eb4574cdd29daa56528456f4144c198cb83c4138351c03a38a5a4a10020e26f5c2e7c177541078b872399dbdc5df829a6acc1d4c5e6f8ffb
|
|
7
|
+
data.tar.gz: cd348c8c9b12ad1220d2880df4fd7626f25efa3aacb6d95162c2d01c84a6dbf0ea4663a5037a05b47812bafcc74698b105a4b409424b2a61508ccc12efce58fb
|
data/README.md
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
RadioManagerClient - the Ruby gem for the RadioManager
|
|
4
4
|
|
|
5
5
|
- API version: 2.0
|
|
6
|
-
- Package version: 1.0.
|
|
6
|
+
- Package version: 1.0.100
|
|
7
7
|
For more information, please visit [https://pluxbox.com](https://pluxbox.com)
|
|
8
8
|
|
|
9
9
|
## Installation
|
|
@@ -49,7 +49,7 @@ end
|
|
|
49
49
|
|
|
50
50
|
## Documentation for API Endpoints
|
|
51
51
|
|
|
52
|
-
All URIs are relative to *https://staging.radiomanager.
|
|
52
|
+
All URIs are relative to *https://staging.radiomanager.io/api/v2*
|
|
53
53
|
|
|
54
54
|
Class | Method | HTTP request | Description
|
|
55
55
|
------------ | ------------- | ------------- | -------------
|
|
@@ -78,7 +78,6 @@ Class | Method | HTTP request | Description
|
|
|
78
78
|
*RadioManagerClient::ContactApi* | [**get_contact_by_id**](docs/ContactApi.md#get_contact_by_id) | **GET** /contacts/{id} | Get contact by id
|
|
79
79
|
*RadioManagerClient::ContactApi* | [**list_contacts**](docs/ContactApi.md#list_contacts) | **GET** /contacts | Get all contacts.
|
|
80
80
|
*RadioManagerClient::ContactApi* | [**update_contact_by_id**](docs/ContactApi.md#update_contact_by_id) | **PATCH** /contacts/{id} | Update contact by id
|
|
81
|
-
*RadioManagerClient::ExternalMessageApi* | [**queue_external_message**](docs/ExternalMessageApi.md#queue_external_message) | **POST** /externalmessagequeue | Queue External Message.
|
|
82
81
|
*RadioManagerClient::GenreApi* | [**get_genre_by_id**](docs/GenreApi.md#get_genre_by_id) | **GET** /genres/{id} | Get genre by id
|
|
83
82
|
*RadioManagerClient::GenreApi* | [**list_genres**](docs/GenreApi.md#list_genres) | **GET** /genres | List all genres.
|
|
84
83
|
*RadioManagerClient::ItemApi* | [**create_item**](docs/ItemApi.md#create_item) | **POST** /items | Create an new item.
|
|
@@ -102,6 +101,7 @@ Class | Method | HTTP request | Description
|
|
|
102
101
|
*RadioManagerClient::ProgramApi* | [**get_program_by_id**](docs/ProgramApi.md#get_program_by_id) | **GET** /programs/{id} | Get program by id
|
|
103
102
|
*RadioManagerClient::ProgramApi* | [**list_programs**](docs/ProgramApi.md#list_programs) | **GET** /programs | Get all programs.
|
|
104
103
|
*RadioManagerClient::ProgramApi* | [**update_program_by_id**](docs/ProgramApi.md#update_program_by_id) | **PATCH** /programs/{id} | Update program by id
|
|
104
|
+
*RadioManagerClient::StationApi* | [**get_station**](docs/StationApi.md#get_station) | **GET** /station | Get own station only
|
|
105
105
|
*RadioManagerClient::StoryApi* | [**create_story**](docs/StoryApi.md#create_story) | **POST** /stories | Create story.
|
|
106
106
|
*RadioManagerClient::StoryApi* | [**delete_story_by_id**](docs/StoryApi.md#delete_story_by_id) | **DELETE** /stories/{id} | Delete story by id
|
|
107
107
|
*RadioManagerClient::StoryApi* | [**get_story_by_id**](docs/StoryApi.md#get_story_by_id) | **GET** /stories/{id} | Get story by id
|
|
@@ -131,6 +131,8 @@ Class | Method | HTTP request | Description
|
|
|
131
131
|
- [RadioManagerClient::BlockRelationsProgram](docs/BlockRelationsProgram.md)
|
|
132
132
|
- [RadioManagerClient::BlockResults](docs/BlockResults.md)
|
|
133
133
|
- [RadioManagerClient::Broadcast](docs/Broadcast.md)
|
|
134
|
+
- [RadioManagerClient::BroadcastEPGDay](docs/BroadcastEPGDay.md)
|
|
135
|
+
- [RadioManagerClient::BroadcastEPGRelations](docs/BroadcastEPGRelations.md)
|
|
134
136
|
- [RadioManagerClient::BroadcastFieldValues](docs/BroadcastFieldValues.md)
|
|
135
137
|
- [RadioManagerClient::BroadcastInputOnly](docs/BroadcastInputOnly.md)
|
|
136
138
|
- [RadioManagerClient::BroadcastOutputOnly](docs/BroadcastOutputOnly.md)
|
|
@@ -158,8 +160,7 @@ Class | Method | HTTP request | Description
|
|
|
158
160
|
- [RadioManagerClient::ContactResults](docs/ContactResults.md)
|
|
159
161
|
- [RadioManagerClient::Data](docs/Data.md)
|
|
160
162
|
- [RadioManagerClient::Data1](docs/Data1.md)
|
|
161
|
-
- [RadioManagerClient::
|
|
162
|
-
- [RadioManagerClient::ExternalMessageQueueData](docs/ExternalMessageQueueData.md)
|
|
163
|
+
- [RadioManagerClient::EPGResults](docs/EPGResults.md)
|
|
163
164
|
- [RadioManagerClient::Forbidden](docs/Forbidden.md)
|
|
164
165
|
- [RadioManagerClient::Genre](docs/Genre.md)
|
|
165
166
|
- [RadioManagerClient::GenreOutputOnly](docs/GenreOutputOnly.md)
|
|
@@ -220,7 +221,10 @@ Class | Method | HTTP request | Description
|
|
|
220
221
|
- [RadioManagerClient::ProgramResults](docs/ProgramResults.md)
|
|
221
222
|
- [RadioManagerClient::ReadOnly](docs/ReadOnly.md)
|
|
222
223
|
- [RadioManagerClient::RelationsPlaceholder](docs/RelationsPlaceholder.md)
|
|
224
|
+
- [RadioManagerClient::StationResult](docs/StationResult.md)
|
|
225
|
+
- [RadioManagerClient::StationResultStation](docs/StationResultStation.md)
|
|
223
226
|
- [RadioManagerClient::Story](docs/Story.md)
|
|
227
|
+
- [RadioManagerClient::StoryInputOnly](docs/StoryInputOnly.md)
|
|
224
228
|
- [RadioManagerClient::StoryOutputOnly](docs/StoryOutputOnly.md)
|
|
225
229
|
- [RadioManagerClient::StoryRelations](docs/StoryRelations.md)
|
|
226
230
|
- [RadioManagerClient::StoryRelationsItems](docs/StoryRelationsItems.md)
|
|
@@ -246,6 +250,7 @@ Class | Method | HTTP request | Description
|
|
|
246
250
|
- [RadioManagerClient::VisualResult](docs/VisualResult.md)
|
|
247
251
|
- [RadioManagerClient::BlockResult](docs/BlockResult.md)
|
|
248
252
|
- [RadioManagerClient::BroadcastDataInput](docs/BroadcastDataInput.md)
|
|
253
|
+
- [RadioManagerClient::BroadcastEPGResult](docs/BroadcastEPGResult.md)
|
|
249
254
|
- [RadioManagerClient::BroadcastResult](docs/BroadcastResult.md)
|
|
250
255
|
- [RadioManagerClient::CampaignDataInput](docs/CampaignDataInput.md)
|
|
251
256
|
- [RadioManagerClient::CampaignResult](docs/CampaignResult.md)
|
|
@@ -256,6 +261,7 @@ Class | Method | HTTP request | Description
|
|
|
256
261
|
- [RadioManagerClient::ItemResult](docs/ItemResult.md)
|
|
257
262
|
- [RadioManagerClient::ModelTypeResult](docs/ModelTypeResult.md)
|
|
258
263
|
- [RadioManagerClient::PresenterDataInput](docs/PresenterDataInput.md)
|
|
264
|
+
- [RadioManagerClient::PresenterEPGResult](docs/PresenterEPGResult.md)
|
|
259
265
|
- [RadioManagerClient::PresenterResult](docs/PresenterResult.md)
|
|
260
266
|
- [RadioManagerClient::ProgramDataInput](docs/ProgramDataInput.md)
|
|
261
267
|
- [RadioManagerClient::ProgramResult](docs/ProgramResult.md)
|
data/docs/BlockApi.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# RadioManagerClient::BlockApi
|
|
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
|
------------- | ------------- | -------------
|
|
@@ -187,11 +187,14 @@ api_instance = RadioManagerClient::BlockApi.new
|
|
|
187
187
|
|
|
188
188
|
opts = {
|
|
189
189
|
page: 1, # Integer | Current page *(Optional)*
|
|
190
|
-
start_min: DateTime.parse("2013-10-20T19:20:30+01:00"), # DateTime | Minimum start date *(Optional)*
|
|
191
|
-
start_max: DateTime.parse("2013-10-20T19:20:30+01:00"), # DateTime | Maximum start date *(Optional)*
|
|
192
190
|
broadcast_id: 789, # Integer | Search on Broadcast ID *(Optional)* `(Relation)`
|
|
193
|
-
program_id: 789, # Integer | Search on Program ID *(Optional)* `(Relation)`
|
|
194
191
|
item_id: 789, # Integer | Search on Item ID *(Optional)* `(Relation)`
|
|
192
|
+
program_id: 789, # Integer | Search on Program ID *(Optional)* `(Relation)`
|
|
193
|
+
start_min: DateTime.parse("2013-10-20T19:20:30+01:00"), # DateTime | Minimum start date *(Optional)*
|
|
194
|
+
start_max: DateTime.parse("2013-10-20T19:20:30+01:00"), # DateTime | Maximum start date *(Optional)*
|
|
195
|
+
limit: 789, # Integer | Results per page *(Optional)*
|
|
196
|
+
order_by: "order_by_example", # String | Field to order the results *(Optional)*
|
|
197
|
+
order_direction: "order_direction_example", # String | Direction of ordering *(Optional)*
|
|
195
198
|
_external_station_id: 789 # Integer | Query on a different (content providing) station *(Optional)*
|
|
196
199
|
}
|
|
197
200
|
|
|
@@ -209,11 +212,14 @@ end
|
|
|
209
212
|
Name | Type | Description | Notes
|
|
210
213
|
------------- | ------------- | ------------- | -------------
|
|
211
214
|
**page** | **Integer**| Current page *(Optional)* | [optional] [default to 1]
|
|
212
|
-
**start_min** | **DateTime**| Minimum start date *(Optional)* | [optional]
|
|
213
|
-
**start_max** | **DateTime**| Maximum start date *(Optional)* | [optional]
|
|
214
215
|
**broadcast_id** | **Integer**| Search on Broadcast ID *(Optional)* `(Relation)` | [optional]
|
|
215
|
-
**program_id** | **Integer**| Search on Program ID *(Optional)* `(Relation)` | [optional]
|
|
216
216
|
**item_id** | **Integer**| Search on Item ID *(Optional)* `(Relation)` | [optional]
|
|
217
|
+
**program_id** | **Integer**| Search on Program ID *(Optional)* `(Relation)` | [optional]
|
|
218
|
+
**start_min** | **DateTime**| Minimum start date *(Optional)* | [optional]
|
|
219
|
+
**start_max** | **DateTime**| Maximum start date *(Optional)* | [optional]
|
|
220
|
+
**limit** | **Integer**| Results per page *(Optional)* | [optional]
|
|
221
|
+
**order_by** | **String**| Field to order the results *(Optional)* | [optional]
|
|
222
|
+
**order_direction** | **String**| Direction of ordering *(Optional)* | [optional]
|
|
217
223
|
**_external_station_id** | **Integer**| Query on a different (content providing) station *(Optional)* | [optional]
|
|
218
224
|
|
|
219
225
|
### Return type
|
data/docs/BroadcastApi.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# RadioManagerClient::BroadcastApi
|
|
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
|
------------- | ------------- | -------------
|
|
@@ -232,7 +232,7 @@ This endpoint does not need any parameter.
|
|
|
232
232
|
|
|
233
233
|
|
|
234
234
|
# **get_daily_epg**
|
|
235
|
-
>
|
|
235
|
+
> EPGResults get_daily_epg(opts)
|
|
236
236
|
|
|
237
237
|
Get daily EPG
|
|
238
238
|
|
|
@@ -253,7 +253,8 @@ end
|
|
|
253
253
|
api_instance = RadioManagerClient::BroadcastApi.new
|
|
254
254
|
|
|
255
255
|
opts = {
|
|
256
|
-
date: DateTime.parse("2013-10-20T19:20:30+01:00") # DateTime | Date *(Optional)*
|
|
256
|
+
date: DateTime.parse("2013-10-20T19:20:30+01:00"), # DateTime | Date *(Optional)*
|
|
257
|
+
withunpublished: true # BOOLEAN | Show Unpublished *(Optional)*
|
|
257
258
|
}
|
|
258
259
|
|
|
259
260
|
begin
|
|
@@ -270,10 +271,11 @@ end
|
|
|
270
271
|
Name | Type | Description | Notes
|
|
271
272
|
------------- | ------------- | ------------- | -------------
|
|
272
273
|
**date** | **DateTime**| Date *(Optional)* | [optional]
|
|
274
|
+
**withunpublished** | **BOOLEAN**| Show Unpublished *(Optional)* | [optional]
|
|
273
275
|
|
|
274
276
|
### Return type
|
|
275
277
|
|
|
276
|
-
[**
|
|
278
|
+
[**EPGResults**](EPGResults.md)
|
|
277
279
|
|
|
278
280
|
### Authorization
|
|
279
281
|
|
|
@@ -287,7 +289,7 @@ Name | Type | Description | Notes
|
|
|
287
289
|
|
|
288
290
|
|
|
289
291
|
# **get_epg_by_date**
|
|
290
|
-
>
|
|
292
|
+
> EPGResults get_epg_by_date(opts)
|
|
291
293
|
|
|
292
294
|
Get EPG by date
|
|
293
295
|
|
|
@@ -308,7 +310,8 @@ end
|
|
|
308
310
|
api_instance = RadioManagerClient::BroadcastApi.new
|
|
309
311
|
|
|
310
312
|
opts = {
|
|
311
|
-
date: DateTime.parse("2013-10-20T19:20:30+01:00") # DateTime | Date *(Optional)*
|
|
313
|
+
date: DateTime.parse("2013-10-20T19:20:30+01:00"), # DateTime | Date *(Optional)*
|
|
314
|
+
withunpublished: true # BOOLEAN | Show Unpublished *(Optional)*
|
|
312
315
|
}
|
|
313
316
|
|
|
314
317
|
begin
|
|
@@ -325,10 +328,11 @@ end
|
|
|
325
328
|
Name | Type | Description | Notes
|
|
326
329
|
------------- | ------------- | ------------- | -------------
|
|
327
330
|
**date** | **DateTime**| Date *(Optional)* | [optional]
|
|
331
|
+
**withunpublished** | **BOOLEAN**| Show Unpublished *(Optional)* | [optional]
|
|
328
332
|
|
|
329
333
|
### Return type
|
|
330
334
|
|
|
331
|
-
[**
|
|
335
|
+
[**EPGResults**](EPGResults.md)
|
|
332
336
|
|
|
333
337
|
### Authorization
|
|
334
338
|
|
|
@@ -390,7 +394,7 @@ This endpoint does not need any parameter.
|
|
|
390
394
|
|
|
391
395
|
|
|
392
396
|
# **get_weekly_epg**
|
|
393
|
-
>
|
|
397
|
+
> EPGResults get_weekly_epg(opts)
|
|
394
398
|
|
|
395
399
|
Get weekly EPG
|
|
396
400
|
|
|
@@ -411,7 +415,8 @@ end
|
|
|
411
415
|
api_instance = RadioManagerClient::BroadcastApi.new
|
|
412
416
|
|
|
413
417
|
opts = {
|
|
414
|
-
date: "date_example" # String | Date *(Optional)*
|
|
418
|
+
date: "date_example", # String | Date *(Optional)*
|
|
419
|
+
withunpublished: true # BOOLEAN | Show Unpublished *(Optional)*
|
|
415
420
|
}
|
|
416
421
|
|
|
417
422
|
begin
|
|
@@ -428,10 +433,11 @@ end
|
|
|
428
433
|
Name | Type | Description | Notes
|
|
429
434
|
------------- | ------------- | ------------- | -------------
|
|
430
435
|
**date** | **String**| Date *(Optional)* | [optional]
|
|
436
|
+
**withunpublished** | **BOOLEAN**| Show Unpublished *(Optional)* | [optional]
|
|
431
437
|
|
|
432
438
|
### Return type
|
|
433
439
|
|
|
434
|
-
[**
|
|
440
|
+
[**EPGResults**](EPGResults.md)
|
|
435
441
|
|
|
436
442
|
### Authorization
|
|
437
443
|
|
|
@@ -467,15 +473,18 @@ api_instance = RadioManagerClient::BroadcastApi.new
|
|
|
467
473
|
|
|
468
474
|
opts = {
|
|
469
475
|
page: 1, # Integer | Current page *(Optional)*
|
|
470
|
-
|
|
471
|
-
|
|
472
|
-
model_type_id: 789, # Integer | Search on ModelType ID *(Optional)*
|
|
476
|
+
program_id: 789, # Integer | Search on Program ID *(Optional)* `(Relation)`
|
|
477
|
+
block_id: 789, # Integer | Search on Block ID *(Optional)* `(Relation)`
|
|
478
|
+
model_type_id: 789, # Integer | Search on ModelType ID *(Optional)* `(Relation)`
|
|
473
479
|
tag_id: 789, # Integer | Search on Tag ID *(Optional)* `(Relation)`
|
|
474
480
|
presenter_id: 789, # Integer | Search on Presenter ID *(Optional)* `(Relation)`
|
|
475
|
-
item_id: 789, # Integer | Search on Item ID *(Optional)* `(Relation)`
|
|
476
|
-
block_id: 789, # Integer | Search on Block ID *(Optional)* `(Relation)`
|
|
477
481
|
genre_id: 789, # Integer | Search on Genre ID *(Optional)* `(Relation)`
|
|
478
|
-
|
|
482
|
+
item_id: 789, # Integer | Search on Item ID *(Optional)* `(Relation)`
|
|
483
|
+
start_min: DateTime.parse("2013-10-20T19:20:30+01:00"), # DateTime | Minimum start date *(Optional)*
|
|
484
|
+
start_max: DateTime.parse("2013-10-20T19:20:30+01:00"), # DateTime | Maximum start date *(Optional)*
|
|
485
|
+
limit: 789, # Integer | Results per page *(Optional)*
|
|
486
|
+
order_by: "order_by_example", # String | Field to order the results *(Optional)*
|
|
487
|
+
order_direction: "order_direction_example", # String | Direction of ordering *(Optional)*
|
|
479
488
|
_external_station_id: 789 # Integer | Query on a different (content providing) station *(Optional)*
|
|
480
489
|
}
|
|
481
490
|
|
|
@@ -493,15 +502,18 @@ end
|
|
|
493
502
|
Name | Type | Description | Notes
|
|
494
503
|
------------- | ------------- | ------------- | -------------
|
|
495
504
|
**page** | **Integer**| Current page *(Optional)* | [optional] [default to 1]
|
|
496
|
-
**
|
|
497
|
-
**
|
|
498
|
-
**model_type_id** | **Integer**| Search on ModelType ID *(Optional)* | [optional]
|
|
505
|
+
**program_id** | **Integer**| Search on Program ID *(Optional)* `(Relation)` | [optional]
|
|
506
|
+
**block_id** | **Integer**| Search on Block ID *(Optional)* `(Relation)` | [optional]
|
|
507
|
+
**model_type_id** | **Integer**| Search on ModelType ID *(Optional)* `(Relation)` | [optional]
|
|
499
508
|
**tag_id** | **Integer**| Search on Tag ID *(Optional)* `(Relation)` | [optional]
|
|
500
509
|
**presenter_id** | **Integer**| Search on Presenter ID *(Optional)* `(Relation)` | [optional]
|
|
501
|
-
**item_id** | **Integer**| Search on Item ID *(Optional)* `(Relation)` | [optional]
|
|
502
|
-
**block_id** | **Integer**| Search on Block ID *(Optional)* `(Relation)` | [optional]
|
|
503
510
|
**genre_id** | **Integer**| Search on Genre ID *(Optional)* `(Relation)` | [optional]
|
|
504
|
-
**
|
|
511
|
+
**item_id** | **Integer**| Search on Item ID *(Optional)* `(Relation)` | [optional]
|
|
512
|
+
**start_min** | **DateTime**| Minimum start date *(Optional)* | [optional]
|
|
513
|
+
**start_max** | **DateTime**| Maximum start date *(Optional)* | [optional]
|
|
514
|
+
**limit** | **Integer**| Results per page *(Optional)* | [optional]
|
|
515
|
+
**order_by** | **String**| Field to order the results *(Optional)* | [optional]
|
|
516
|
+
**order_direction** | **String**| Direction of ordering *(Optional)* | [optional]
|
|
505
517
|
**_external_station_id** | **Integer**| Query on a different (content providing) station *(Optional)* | [optional]
|
|
506
518
|
|
|
507
519
|
### Return type
|
|
@@ -520,7 +532,7 @@ Name | Type | Description | Notes
|
|
|
520
532
|
|
|
521
533
|
|
|
522
534
|
# **print_broadcast_by_id**
|
|
523
|
-
>
|
|
535
|
+
> EPGResults print_broadcast_by_id(id, opts)
|
|
524
536
|
|
|
525
537
|
Print Broadcast by id
|
|
526
538
|
|
|
@@ -568,7 +580,7 @@ Name | Type | Description | Notes
|
|
|
568
580
|
|
|
569
581
|
### Return type
|
|
570
582
|
|
|
571
|
-
[**
|
|
583
|
+
[**EPGResults**](EPGResults.md)
|
|
572
584
|
|
|
573
585
|
### Authorization
|
|
574
586
|
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
# RadioManagerClient::BroadcastEPGDay
|
|
2
|
+
|
|
3
|
+
## Properties
|
|
4
|
+
Name | Type | Description | Notes
|
|
5
|
+
------------ | ------------- | ------------- | -------------
|
|
6
|
+
**day** | **Date** | | [optional]
|
|
7
|
+
**results** | [**Array<BroadcastEPGResult>**](BroadcastEPGResult.md) | |
|
|
8
|
+
|
|
9
|
+
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
# RadioManagerClient::BroadcastEPGRelations
|
|
2
|
+
|
|
3
|
+
## Properties
|
|
4
|
+
Name | Type | Description | Notes
|
|
5
|
+
------------ | ------------- | ------------- | -------------
|
|
6
|
+
**items** | [**BroadcastRelationsItems**](BroadcastRelationsItems.md) | | [optional]
|
|
7
|
+
**blocks** | [**BroadcastRelationsBlocks**](BroadcastRelationsBlocks.md) | | [optional]
|
|
8
|
+
**program** | [**BlockRelationsProgram**](BlockRelationsProgram.md) | | [optional]
|
|
9
|
+
**tags** | [**BroadcastRelationsTags**](BroadcastRelationsTags.md) | | [optional]
|
|
10
|
+
**presenters** | [**Array<PresenterEPGResult>**](PresenterEPGResult.md) | | [optional]
|
|
11
|
+
**model_type** | [**BroadcastRelationsModelType**](BroadcastRelationsModelType.md) | | [optional]
|
|
12
|
+
|
|
13
|
+
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
# RadioManagerClient::BroadcastEPGResult
|
|
2
|
+
|
|
3
|
+
## Properties
|
|
4
|
+
Name | Type | Description | Notes
|
|
5
|
+
------------ | ------------- | ------------- | -------------
|
|
6
|
+
**id** | **Integer** | |
|
|
7
|
+
**updated_at** | **DateTime** | |
|
|
8
|
+
**created_at** | **DateTime** | |
|
|
9
|
+
**deleted_at** | **DateTime** | |
|
|
10
|
+
**_external_station_id** | **Integer** | | [optional]
|
|
11
|
+
**program_id** | **Integer** | | [optional]
|
|
12
|
+
**model_type_id** | **Integer** | | [optional]
|
|
13
|
+
**station_id** | **Integer** | | [optional]
|
|
14
|
+
**field_values** | [**BroadcastFieldValues**](BroadcastFieldValues.md) | | [optional]
|
|
15
|
+
**title** | **String** | | [optional]
|
|
16
|
+
**start** | **DateTime** | | [optional]
|
|
17
|
+
**stop** | **DateTime** | | [optional]
|
|
18
|
+
**genre_id** | **Integer** | | [optional]
|
|
19
|
+
**description** | **String** | | [optional]
|
|
20
|
+
**short_name** | **String** | | [optional]
|
|
21
|
+
**medium_name** | **String** | | [optional]
|
|
22
|
+
**website** | **String** | | [optional]
|
|
23
|
+
**email** | **String** | | [optional]
|
|
24
|
+
**recommended** | **BOOLEAN** | | [optional]
|
|
25
|
+
**language** | **String** | | [optional]
|
|
26
|
+
**published** | **BOOLEAN** | | [optional]
|
|
27
|
+
**repetition_uid** | **String** | | [optional]
|
|
28
|
+
**repetition_type** | **String** | | [optional]
|
|
29
|
+
**repetition_end** | **DateTime** | | [optional]
|
|
30
|
+
**repetition_start** | **DateTime** | | [optional]
|
|
31
|
+
**repetition_days** | **String** | | [optional]
|
|
32
|
+
**pty_code_id** | **Integer** | | [optional]
|
|
33
|
+
**items** | [**BroadcastRelationsItems**](BroadcastRelationsItems.md) | | [optional]
|
|
34
|
+
**blocks** | [**BroadcastRelationsBlocks**](BroadcastRelationsBlocks.md) | | [optional]
|
|
35
|
+
**program** | [**BlockRelationsProgram**](BlockRelationsProgram.md) | | [optional]
|
|
36
|
+
**tags** | [**BroadcastRelationsTags**](BroadcastRelationsTags.md) | | [optional]
|
|
37
|
+
**presenters** | [**Array<PresenterEPGResult>**](PresenterEPGResult.md) | | [optional]
|
|
38
|
+
**model_type** | [**BroadcastRelationsModelType**](BroadcastRelationsModelType.md) | | [optional]
|
|
39
|
+
|
|
40
|
+
|
data/docs/CampaignApi.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# RadioManagerClient::CampaignApi
|
|
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,10 +200,13 @@ api_instance = RadioManagerClient::CampaignApi.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
|
item_id: 789, # Integer | Search on Item ID *(Optional)* `(Relation)`
|
|
204
|
+
model_type_id: 789, # Integer | Search on ModelType ID *(Optional)* `(Relation)`
|
|
205
205
|
start_min: DateTime.parse("2013-10-20T19:20:30+01:00"), # DateTime | Minimum start date *(Optional)*
|
|
206
206
|
start_max: DateTime.parse("2013-10-20T19:20:30+01:00"), # DateTime | Maximum start date *(Optional)*
|
|
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
|
|
|
@@ -221,10 +224,13 @@ end
|
|
|
221
224
|
Name | Type | Description | Notes
|
|
222
225
|
------------- | ------------- | ------------- | -------------
|
|
223
226
|
**page** | **Integer**| Current page *(Optional)* | [optional]
|
|
224
|
-
**model_type_id** | **Integer**| Search on ModelType ID *(Optional)* | [optional]
|
|
225
227
|
**item_id** | **Integer**| Search on Item ID *(Optional)* `(Relation)` | [optional]
|
|
228
|
+
**model_type_id** | **Integer**| Search on ModelType ID *(Optional)* `(Relation)` | [optional]
|
|
226
229
|
**start_min** | **DateTime**| Minimum start date *(Optional)* | [optional]
|
|
227
230
|
**start_max** | **DateTime**| Maximum start date *(Optional)* | [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
|
data/docs/ContactApi.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# RadioManagerClient::ContactApi
|
|
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::ContactApi.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/EPGResults.md
ADDED
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
# RadioManagerClient::EPGResults
|
|
2
|
+
|
|
3
|
+
## Properties
|
|
4
|
+
Name | Type | Description | Notes
|
|
5
|
+
------------ | ------------- | ------------- | -------------
|
|
6
|
+
**days** | [**Array<BroadcastEPGDay>**](BroadcastEPGDay.md) | |
|
|
7
|
+
**next_page_url** | **String** | |
|
|
8
|
+
**prev_page_url** | **String** | |
|
|
9
|
+
|
|
10
|
+
|