songtradr_api_client_ruby 1.13.7 → 1.16.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (243) hide show
  1. checksums.yaml +4 -4
  2. data/Gemfile.lock +5 -5
  3. data/README.md +5 -37
  4. data/docs/FileSmallDTO.md +2 -2
  5. data/docs/MusicalFeaturesDTO.md +25 -25
  6. data/docs/PlaylistApi.md +0 -214
  7. data/docs/RecordingApi.md +2 -204
  8. data/docs/RecordingGenrePredictionDTO.md +3 -3
  9. data/docs/RecordingMediumDTO.md +2 -2
  10. data/docs/RecordingPartyDTO.md +3 -3
  11. data/docs/UserApi.md +8 -456
  12. data/lib/songtradr_api_client_ruby/api/allowed_values_api.rb +2 -2
  13. data/lib/songtradr_api_client_ruby/api/playlist_api.rb +2 -202
  14. data/lib/songtradr_api_client_ruby/api/recording_api.rb +6 -191
  15. data/lib/songtradr_api_client_ruby/api/user_api.rb +161 -749
  16. data/lib/songtradr_api_client_ruby/api_client.rb +38 -36
  17. data/lib/songtradr_api_client_ruby/api_error.rb +2 -2
  18. data/lib/songtradr_api_client_ruby/configuration.rb +2 -2
  19. data/lib/songtradr_api_client_ruby/models/age_range.rb +3 -3
  20. data/lib/songtradr_api_client_ruby/models/beard.rb +3 -3
  21. data/lib/songtradr_api_client_ruby/models/bounding_box.rb +3 -3
  22. data/lib/songtradr_api_client_ruby/models/category_medium_dto.rb +3 -3
  23. data/lib/songtradr_api_client_ruby/models/category_minimal_dto.rb +3 -3
  24. data/lib/songtradr_api_client_ruby/models/config_access_dto.rb +3 -3
  25. data/lib/songtradr_api_client_ruby/models/config_identifier_dto.rb +3 -3
  26. data/lib/songtradr_api_client_ruby/models/contributor_type_dto.rb +3 -3
  27. data/lib/songtradr_api_client_ruby/models/curate_playlist_dto.rb +3 -3
  28. data/lib/songtradr_api_client_ruby/models/curate_playlist_response_dto.rb +3 -3
  29. data/lib/songtradr_api_client_ruby/models/dominant_color.rb +3 -3
  30. data/lib/songtradr_api_client_ruby/models/emotion.rb +3 -3
  31. data/lib/songtradr_api_client_ruby/models/error_response.rb +3 -3
  32. data/lib/songtradr_api_client_ruby/models/eye_direction.rb +3 -3
  33. data/lib/songtradr_api_client_ruby/models/eye_open.rb +3 -3
  34. data/lib/songtradr_api_client_ruby/models/eyeglasses.rb +3 -3
  35. data/lib/songtradr_api_client_ruby/models/face_detail.rb +3 -3
  36. data/lib/songtradr_api_client_ruby/models/face_detection.rb +3 -3
  37. data/lib/songtradr_api_client_ruby/models/face_occluded.rb +3 -3
  38. data/lib/songtradr_api_client_ruby/models/field_summary_dto.rb +3 -3
  39. data/lib/songtradr_api_client_ruby/models/file_dto.rb +3 -3
  40. data/lib/songtradr_api_client_ruby/models/file_list_dto.rb +3 -3
  41. data/lib/songtradr_api_client_ruby/models/file_small_dto.rb +15 -15
  42. data/lib/songtradr_api_client_ruby/models/file_upload_dto.rb +3 -3
  43. data/lib/songtradr_api_client_ruby/models/file_w_ith_url_dto.rb +3 -3
  44. data/lib/songtradr_api_client_ruby/models/files_summary_dto.rb +3 -3
  45. data/lib/songtradr_api_client_ruby/models/forgot_password_dto.rb +3 -3
  46. data/lib/songtradr_api_client_ruby/models/gender.rb +3 -3
  47. data/lib/songtradr_api_client_ruby/models/genre_dto.rb +3 -3
  48. data/lib/songtradr_api_client_ruby/models/genre_minimal_dto.rb +3 -3
  49. data/lib/songtradr_api_client_ruby/models/genres_summary_dto.rb +3 -3
  50. data/lib/songtradr_api_client_ruby/models/image_quality.rb +3 -3
  51. data/lib/songtradr_api_client_ruby/models/image_recognition_response.rb +3 -3
  52. data/lib/songtradr_api_client_ruby/models/init_put_recording_audio_dto.rb +3 -3
  53. data/lib/songtradr_api_client_ruby/models/instance.rb +3 -3
  54. data/lib/songtradr_api_client_ruby/models/jwt_token_dto.rb +3 -3
  55. data/lib/songtradr_api_client_ruby/models/label.rb +3 -3
  56. data/lib/songtradr_api_client_ruby/models/label_alias.rb +3 -3
  57. data/lib/songtradr_api_client_ruby/models/label_category.rb +3 -3
  58. data/lib/songtradr_api_client_ruby/models/label_detection.rb +3 -3
  59. data/lib/songtradr_api_client_ruby/models/landmark.rb +3 -3
  60. data/lib/songtradr_api_client_ruby/models/login_dto.rb +3 -3
  61. data/lib/songtradr_api_client_ruby/models/mouth_open.rb +3 -3
  62. data/lib/songtradr_api_client_ruby/models/musical_features_dto.rb +270 -270
  63. data/lib/songtradr_api_client_ruby/models/mustache.rb +3 -3
  64. data/lib/songtradr_api_client_ruby/models/parent.rb +3 -3
  65. data/lib/songtradr_api_client_ruby/models/party_small_dto.rb +3 -3
  66. data/lib/songtradr_api_client_ruby/models/pose.rb +3 -3
  67. data/lib/songtradr_api_client_ruby/models/recording_for_similarity_search_dto.rb +3 -3
  68. data/lib/songtradr_api_client_ruby/models/recording_genre_prediction_dto.rb +23 -23
  69. data/lib/songtradr_api_client_ruby/models/recording_list_dto.rb +3 -3
  70. data/lib/songtradr_api_client_ruby/models/recording_medium_dto.rb +13 -13
  71. data/lib/songtradr_api_client_ruby/models/recording_minimal_with_musical_features_dto.rb +3 -3
  72. data/lib/songtradr_api_client_ruby/models/recording_minimal_with_taggrams_dto.rb +3 -3
  73. data/lib/songtradr_api_client_ruby/models/recording_minimal_with_tagstrengths_dto.rb +3 -3
  74. data/lib/songtradr_api_client_ruby/models/recording_party_dto.rb +18 -18
  75. data/lib/songtradr_api_client_ruby/models/recording_small_dto.rb +3 -3
  76. data/lib/songtradr_api_client_ruby/models/recording_tag_small_dto.rb +3 -3
  77. data/lib/songtradr_api_client_ruby/models/save_user_dto.rb +3 -3
  78. data/lib/songtradr_api_client_ruby/models/search_filter_values_dto.rb +3 -3
  79. data/lib/songtradr_api_client_ruby/models/search_recording_granular_dto.rb +3 -3
  80. data/lib/songtradr_api_client_ruby/models/sign_up_dto.rb +3 -3
  81. data/lib/songtradr_api_client_ruby/models/smile.rb +3 -3
  82. data/lib/songtradr_api_client_ruby/models/sunglasses.rb +3 -3
  83. data/lib/songtradr_api_client_ruby/models/tag_dto.rb +3 -3
  84. data/lib/songtradr_api_client_ruby/models/tag_small_dto.rb +3 -3
  85. data/lib/songtradr_api_client_ruby/models/taggram_dto.rb +3 -3
  86. data/lib/songtradr_api_client_ruby/models/tags_summary_dto.rb +3 -3
  87. data/lib/songtradr_api_client_ruby/models/tagstrength_dto.rb +3 -3
  88. data/lib/songtradr_api_client_ruby/models/title_dto.rb +3 -3
  89. data/lib/songtradr_api_client_ruby/models/token_request.rb +3 -3
  90. data/lib/songtradr_api_client_ruby/models/track_dto.rb +3 -3
  91. data/lib/songtradr_api_client_ruby/models/update_password_dto.rb +3 -3
  92. data/lib/songtradr_api_client_ruby/models/user_dto.rb +3 -3
  93. data/lib/songtradr_api_client_ruby/models/video_recognition_response.rb +3 -3
  94. data/lib/songtradr_api_client_ruby/version.rb +3 -3
  95. data/lib/songtradr_api_client_ruby.rb +2 -23
  96. data/openapi-generator-config.yaml +1 -1
  97. data/songtradr_api_client_ruby.gemspec +3 -2
  98. data/spec/api/allowed_values_api_spec.rb +2 -2
  99. data/spec/api/playlist_api_spec.rb +2 -39
  100. data/spec/api/recording_api_spec.rb +3 -35
  101. data/spec/api/user_api_spec.rb +6 -111
  102. data/spec/api_client_spec.rb +2 -2
  103. data/spec/configuration_spec.rb +2 -2
  104. data/spec/models/age_range_spec.rb +2 -2
  105. data/spec/models/beard_spec.rb +2 -2
  106. data/spec/models/bounding_box_spec.rb +2 -2
  107. data/spec/models/category_medium_dto_spec.rb +2 -2
  108. data/spec/models/category_minimal_dto_spec.rb +2 -2
  109. data/spec/models/config_access_dto_spec.rb +2 -2
  110. data/spec/models/config_identifier_dto_spec.rb +2 -2
  111. data/spec/models/contributor_type_dto_spec.rb +2 -2
  112. data/spec/models/curate_playlist_dto_spec.rb +2 -2
  113. data/spec/models/curate_playlist_response_dto_spec.rb +2 -2
  114. data/spec/models/dominant_color_spec.rb +2 -2
  115. data/spec/models/emotion_spec.rb +2 -2
  116. data/spec/models/error_response_spec.rb +2 -2
  117. data/spec/models/eye_direction_spec.rb +2 -2
  118. data/spec/models/eye_open_spec.rb +2 -2
  119. data/spec/models/eyeglasses_spec.rb +2 -2
  120. data/spec/models/face_detail_spec.rb +2 -2
  121. data/spec/models/face_detection_spec.rb +2 -2
  122. data/spec/models/face_occluded_spec.rb +2 -2
  123. data/spec/models/field_summary_dto_spec.rb +2 -2
  124. data/spec/models/file_dto_spec.rb +2 -2
  125. data/spec/models/file_list_dto_spec.rb +2 -2
  126. data/spec/models/file_small_dto_spec.rb +5 -5
  127. data/spec/models/file_upload_dto_spec.rb +2 -2
  128. data/spec/models/file_w_ith_url_dto_spec.rb +2 -2
  129. data/spec/models/files_summary_dto_spec.rb +2 -2
  130. data/spec/models/forgot_password_dto_spec.rb +2 -2
  131. data/spec/models/gender_spec.rb +2 -2
  132. data/spec/models/genre_dto_spec.rb +2 -2
  133. data/spec/models/genre_minimal_dto_spec.rb +2 -2
  134. data/spec/models/genres_summary_dto_spec.rb +2 -2
  135. data/spec/models/image_quality_spec.rb +2 -2
  136. data/spec/models/image_recognition_response_spec.rb +2 -2
  137. data/spec/models/init_put_recording_audio_dto_spec.rb +2 -2
  138. data/spec/models/instance_spec.rb +2 -2
  139. data/spec/models/jwt_token_dto_spec.rb +2 -2
  140. data/spec/models/label_alias_spec.rb +2 -2
  141. data/spec/models/label_category_spec.rb +2 -2
  142. data/spec/models/label_detection_spec.rb +2 -2
  143. data/spec/models/label_spec.rb +2 -2
  144. data/spec/models/landmark_spec.rb +2 -2
  145. data/spec/models/login_dto_spec.rb +2 -2
  146. data/spec/models/mouth_open_spec.rb +2 -2
  147. data/spec/models/musical_features_dto_spec.rb +81 -81
  148. data/spec/models/mustache_spec.rb +2 -2
  149. data/spec/models/parent_spec.rb +2 -2
  150. data/spec/models/party_small_dto_spec.rb +2 -2
  151. data/spec/models/pose_spec.rb +2 -2
  152. data/spec/models/recording_for_similarity_search_dto_spec.rb +2 -2
  153. data/spec/models/recording_genre_prediction_dto_spec.rb +5 -5
  154. data/spec/models/recording_list_dto_spec.rb +2 -2
  155. data/spec/models/recording_medium_dto_spec.rb +4 -4
  156. data/spec/models/recording_minimal_with_musical_features_dto_spec.rb +2 -2
  157. data/spec/models/recording_minimal_with_taggrams_dto_spec.rb +2 -2
  158. data/spec/models/recording_minimal_with_tagstrengths_dto_spec.rb +2 -2
  159. data/spec/models/recording_party_dto_spec.rb +4 -4
  160. data/spec/models/recording_small_dto_spec.rb +2 -2
  161. data/spec/models/recording_tag_small_dto_spec.rb +2 -2
  162. data/spec/models/save_user_dto_spec.rb +2 -2
  163. data/spec/models/search_filter_values_dto_spec.rb +2 -2
  164. data/spec/models/search_recording_granular_dto_spec.rb +2 -2
  165. data/spec/models/sign_up_dto_spec.rb +2 -2
  166. data/spec/models/smile_spec.rb +2 -2
  167. data/spec/models/sunglasses_spec.rb +2 -2
  168. data/spec/models/tag_dto_spec.rb +2 -2
  169. data/spec/models/tag_small_dto_spec.rb +2 -2
  170. data/spec/models/taggram_dto_spec.rb +2 -2
  171. data/spec/models/tags_summary_dto_spec.rb +2 -2
  172. data/spec/models/tagstrength_dto_spec.rb +2 -2
  173. data/spec/models/title_dto_spec.rb +2 -2
  174. data/spec/models/token_request_spec.rb +2 -2
  175. data/spec/models/track_dto_spec.rb +2 -2
  176. data/spec/models/update_password_dto_spec.rb +2 -2
  177. data/spec/models/user_dto_spec.rb +2 -2
  178. data/spec/models/video_recognition_response_spec.rb +2 -2
  179. data/spec/spec_helper.rb +2 -2
  180. metadata +65 -149
  181. data/docs/ContextValue.md +0 -18
  182. data/docs/FileMinimalWithUrlDTO.md +0 -22
  183. data/docs/PLineDTO.md +0 -20
  184. data/docs/PartyApi.md +0 -75
  185. data/docs/PartyLargeDTO.md +0 -32
  186. data/docs/PlaylistLargeDTO.md +0 -38
  187. data/docs/ProductMediumDTO.md +0 -34
  188. data/docs/ProductPartyDTO.md +0 -20
  189. data/docs/RecordingLargeDTO.md +0 -40
  190. data/docs/RecordingPlaylistDTO.md +0 -24
  191. data/docs/SaveFileRecordingDTO.md +0 -240
  192. data/docs/SavePlaylistDTO.md +0 -34
  193. data/docs/SaveRecordingGenreDTO.md +0 -22
  194. data/docs/SaveRecordingPartyDTO.md +0 -20
  195. data/docs/SaveRecordingPlaylistDTO.md +0 -22
  196. data/docs/SaveRecordingTagDTO.md +0 -20
  197. data/docs/SaveReferrerDTO.md +0 -20
  198. data/docs/SaveTaggramsDTO.md +0 -82
  199. data/docs/SearchRecordingGranularAbstractionDTO.md +0 -20
  200. data/docs/TrackToMediumProductDTO.md +0 -22
  201. data/docs/UsageDTO.md +0 -18
  202. data/lib/songtradr_api_client_ruby/api/party_api.rb +0 -84
  203. data/lib/songtradr_api_client_ruby/models/context_value.rb +0 -216
  204. data/lib/songtradr_api_client_ruby/models/file_minimal_with_url_dto.rb +0 -254
  205. data/lib/songtradr_api_client_ruby/models/p_line_dto.rb +0 -231
  206. data/lib/songtradr_api_client_ruby/models/party_large_dto.rb +0 -285
  207. data/lib/songtradr_api_client_ruby/models/playlist_large_dto.rb +0 -350
  208. data/lib/songtradr_api_client_ruby/models/product_medium_dto.rb +0 -323
  209. data/lib/songtradr_api_client_ruby/models/product_party_dto.rb +0 -233
  210. data/lib/songtradr_api_client_ruby/models/recording_large_dto.rb +0 -383
  211. data/lib/songtradr_api_client_ruby/models/recording_playlist_dto.rb +0 -242
  212. data/lib/songtradr_api_client_ruby/models/save_file_recording_dto.rb +0 -1864
  213. data/lib/songtradr_api_client_ruby/models/save_playlist_dto.rb +0 -353
  214. data/lib/songtradr_api_client_ruby/models/save_recording_genre_dto.rb +0 -240
  215. data/lib/songtradr_api_client_ruby/models/save_recording_party_dto.rb +0 -272
  216. data/lib/songtradr_api_client_ruby/models/save_recording_playlist_dto.rb +0 -247
  217. data/lib/songtradr_api_client_ruby/models/save_recording_tag_dto.rb +0 -231
  218. data/lib/songtradr_api_client_ruby/models/save_referrer_dto.rb +0 -224
  219. data/lib/songtradr_api_client_ruby/models/save_taggrams_dto.rb +0 -569
  220. data/lib/songtradr_api_client_ruby/models/search_recording_granular_abstraction_dto.rb +0 -267
  221. data/lib/songtradr_api_client_ruby/models/track_to_medium_product_dto.rb +0 -247
  222. data/lib/songtradr_api_client_ruby/models/usage_dto.rb +0 -215
  223. data/spec/api/party_api_spec.rb +0 -46
  224. data/spec/models/context_value_spec.rb +0 -36
  225. data/spec/models/file_minimal_with_url_dto_spec.rb +0 -48
  226. data/spec/models/p_line_dto_spec.rb +0 -42
  227. data/spec/models/party_large_dto_spec.rb +0 -78
  228. data/spec/models/playlist_large_dto_spec.rb +0 -100
  229. data/spec/models/product_medium_dto_spec.rb +0 -84
  230. data/spec/models/product_party_dto_spec.rb +0 -42
  231. data/spec/models/recording_large_dto_spec.rb +0 -102
  232. data/spec/models/recording_playlist_dto_spec.rb +0 -54
  233. data/spec/models/save_file_recording_dto_spec.rb +0 -894
  234. data/spec/models/save_playlist_dto_spec.rb +0 -88
  235. data/spec/models/save_recording_genre_dto_spec.rb +0 -48
  236. data/spec/models/save_recording_party_dto_spec.rb +0 -46
  237. data/spec/models/save_recording_playlist_dto_spec.rb +0 -48
  238. data/spec/models/save_recording_tag_dto_spec.rb +0 -42
  239. data/spec/models/save_referrer_dto_spec.rb +0 -42
  240. data/spec/models/save_taggrams_dto_spec.rb +0 -228
  241. data/spec/models/search_recording_granular_abstraction_dto_spec.rb +0 -46
  242. data/spec/models/track_to_medium_product_dto_spec.rb +0 -48
  243. data/spec/models/usage_dto_spec.rb +0 -36
data/docs/RecordingApi.md CHANGED
@@ -8,12 +8,9 @@ All URIs are relative to *https://api.songtradr.com*
8
8
  | [**recordings_by_ids_with_similarities**](RecordingApi.md#recordings_by_ids_with_similarities) | **GET** /api/v1/public/recording/{ids}/similarities | Similar recordings for a list of recordings. |
9
9
  | [**recordings_by_ids_with_taggrams**](RecordingApi.md#recordings_by_ids_with_taggrams) | **GET** /api/v1/public/recording/{ids}/taggrams | Timeseries of AI generated moods, musical features and more for a list of recordings. |
10
10
  | [**recordings_by_ids_with_tagstrengths**](RecordingApi.md#recordings_by_ids_with_tagstrengths) | **GET** /api/v1/public/recording/{ids}/tagstrengths | Strengths as numerical representations for AI generated moods, musical features and more for recordings. |
11
- | [**recordings_large_by_ids**](RecordingApi.md#recordings_large_by_ids) | **GET** /api/v1/public/recording/l/{ids} | Recordings by IDs with a large response. |
12
11
  | [**recordings_medium_by_ids**](RecordingApi.md#recordings_medium_by_ids) | **GET** /api/v1/public/recording/m/{ids} | Recordings by IDs with a medium sized response. |
13
- | [**recordings_small_by_ids**](RecordingApi.md#recordings_small_by_ids) | **GET** /api/v1/public/recording/s/{ids} | Recordings by IDs with a small response. |
14
12
  | [**search_recordings**](RecordingApi.md#search_recordings) | **GET** /api/v1/public/recording/search | Recordings by contributors, moods, musical features and more. |
15
13
  | [**search_recordings_granular**](RecordingApi.md#search_recordings_granular) | **POST** /api/v1/public/recording/searchGranular | Recordings by granular search options. |
16
- | [**search_recordings_granular_abstraction**](RecordingApi.md#search_recordings_granular_abstraction) | **POST** /api/v1/public/recording/searchGranularAbstraction | Recordings by abstracted wordings and granular search options. |
17
14
 
18
15
 
19
16
  ## recordings_by_ids_with_musical_features
@@ -180,6 +177,7 @@ opts = {
180
177
  tag_name: 'energetic', # String | Show only taggrams for one tag.
181
178
  genre_name: 'Ska', # String | Show only taggrams for one genre.
182
179
  from_timestamp: 16.0, # Float | Show only taggrams data starting from from this timestamp in seconds.
180
+ to_timestamp: 32.0, # Float | Show only taggrams data before this timestamp in seconds.
183
181
  fill_with_zero: true # Boolean | If set to true, empty timeseries are filled with timeseries of 0.0 values.
184
182
  }
185
183
 
@@ -219,6 +217,7 @@ end
219
217
  | **tag_name** | **String** | Show only taggrams for one tag. | [optional] |
220
218
  | **genre_name** | **String** | Show only taggrams for one genre. | [optional] |
221
219
  | **from_timestamp** | **Float** | Show only taggrams data starting from from this timestamp in seconds. | [optional] |
220
+ | **to_timestamp** | **Float** | Show only taggrams data before this timestamp in seconds. | [optional] |
222
221
  | **fill_with_zero** | **Boolean** | If set to true, empty timeseries are filled with timeseries of 0.0 values. | [optional] |
223
222
 
224
223
  ### Return type
@@ -310,73 +309,6 @@ end
310
309
  - **Accept**: application/json
311
310
 
312
311
 
313
- ## recordings_large_by_ids
314
-
315
- > <Array<RecordingLargeDTO>> recordings_large_by_ids(ids)
316
-
317
- Recordings by IDs with a large response.
318
-
319
- ### Examples
320
-
321
- ```ruby
322
- require 'time'
323
- require 'songtradr_api_client_ruby'
324
- # setup authorization
325
- SongtradrApiClientRuby.configure do |config|
326
- # Configure Bearer authorization (JWT): bearer-jwt
327
- config.access_token = 'YOUR_BEARER_TOKEN'
328
- end
329
-
330
- api_instance = SongtradrApiClientRuby::RecordingApi.new
331
- ids = 'GBAYE1101181' # String | Comma seperated list of IDs. Can be ISRCs or proprietary IDs
332
-
333
- begin
334
- # Recordings by IDs with a large response.
335
- result = api_instance.recordings_large_by_ids(ids)
336
- p result
337
- rescue SongtradrApiClientRuby::ApiError => e
338
- puts "Error when calling RecordingApi->recordings_large_by_ids: #{e}"
339
- end
340
- ```
341
-
342
- #### Using the recordings_large_by_ids_with_http_info variant
343
-
344
- This returns an Array which contains the response data, status code and headers.
345
-
346
- > <Array(<Array<RecordingLargeDTO>>, Integer, Hash)> recordings_large_by_ids_with_http_info(ids)
347
-
348
- ```ruby
349
- begin
350
- # Recordings by IDs with a large response.
351
- data, status_code, headers = api_instance.recordings_large_by_ids_with_http_info(ids)
352
- p status_code # => 2xx
353
- p headers # => { ... }
354
- p data # => <Array<RecordingLargeDTO>>
355
- rescue SongtradrApiClientRuby::ApiError => e
356
- puts "Error when calling RecordingApi->recordings_large_by_ids_with_http_info: #{e}"
357
- end
358
- ```
359
-
360
- ### Parameters
361
-
362
- | Name | Type | Description | Notes |
363
- | ---- | ---- | ----------- | ----- |
364
- | **ids** | **String** | Comma seperated list of IDs. Can be ISRCs or proprietary IDs | |
365
-
366
- ### Return type
367
-
368
- [**Array&lt;RecordingLargeDTO&gt;**](RecordingLargeDTO.md)
369
-
370
- ### Authorization
371
-
372
- [bearer-jwt](../README.md#bearer-jwt)
373
-
374
- ### HTTP request headers
375
-
376
- - **Content-Type**: Not defined
377
- - **Accept**: application/json
378
-
379
-
380
312
  ## recordings_medium_by_ids
381
313
 
382
314
  > <Array<RecordingMediumDTO>> recordings_medium_by_ids(ids, opts)
@@ -452,73 +384,6 @@ end
452
384
  - **Accept**: application/json
453
385
 
454
386
 
455
- ## recordings_small_by_ids
456
-
457
- > <Array<RecordingSmallDTO>> recordings_small_by_ids(ids)
458
-
459
- Recordings by IDs with a small response.
460
-
461
- ### Examples
462
-
463
- ```ruby
464
- require 'time'
465
- require 'songtradr_api_client_ruby'
466
- # setup authorization
467
- SongtradrApiClientRuby.configure do |config|
468
- # Configure Bearer authorization (JWT): bearer-jwt
469
- config.access_token = 'YOUR_BEARER_TOKEN'
470
- end
471
-
472
- api_instance = SongtradrApiClientRuby::RecordingApi.new
473
- ids = 'GBAYE0200774' # String | Comma seperated list of IDs. Can be ISRCs or proprietary IDs
474
-
475
- begin
476
- # Recordings by IDs with a small response.
477
- result = api_instance.recordings_small_by_ids(ids)
478
- p result
479
- rescue SongtradrApiClientRuby::ApiError => e
480
- puts "Error when calling RecordingApi->recordings_small_by_ids: #{e}"
481
- end
482
- ```
483
-
484
- #### Using the recordings_small_by_ids_with_http_info variant
485
-
486
- This returns an Array which contains the response data, status code and headers.
487
-
488
- > <Array(<Array<RecordingSmallDTO>>, Integer, Hash)> recordings_small_by_ids_with_http_info(ids)
489
-
490
- ```ruby
491
- begin
492
- # Recordings by IDs with a small response.
493
- data, status_code, headers = api_instance.recordings_small_by_ids_with_http_info(ids)
494
- p status_code # => 2xx
495
- p headers # => { ... }
496
- p data # => <Array<RecordingSmallDTO>>
497
- rescue SongtradrApiClientRuby::ApiError => e
498
- puts "Error when calling RecordingApi->recordings_small_by_ids_with_http_info: #{e}"
499
- end
500
- ```
501
-
502
- ### Parameters
503
-
504
- | Name | Type | Description | Notes |
505
- | ---- | ---- | ----------- | ----- |
506
- | **ids** | **String** | Comma seperated list of IDs. Can be ISRCs or proprietary IDs | |
507
-
508
- ### Return type
509
-
510
- [**Array&lt;RecordingSmallDTO&gt;**](RecordingSmallDTO.md)
511
-
512
- ### Authorization
513
-
514
- [bearer-jwt](../README.md#bearer-jwt)
515
-
516
- ### HTTP request headers
517
-
518
- - **Content-Type**: Not defined
519
- - **Accept**: application/json
520
-
521
-
522
387
  ## search_recordings
523
388
 
524
389
  > <RecordingListDTO> search_recordings(opts)
@@ -732,70 +597,3 @@ end
732
597
  - **Content-Type**: application/json
733
598
  - **Accept**: application/json
734
599
 
735
-
736
- ## search_recordings_granular_abstraction
737
-
738
- > <RecordingListDTO> search_recordings_granular_abstraction(search_recording_granular_abstraction_dto)
739
-
740
- Recordings by abstracted wordings and granular search options.
741
-
742
- ### Examples
743
-
744
- ```ruby
745
- require 'time'
746
- require 'songtradr_api_client_ruby'
747
- # setup authorization
748
- SongtradrApiClientRuby.configure do |config|
749
- # Configure Bearer authorization (JWT): bearer-jwt
750
- config.access_token = 'YOUR_BEARER_TOKEN'
751
- end
752
-
753
- api_instance = SongtradrApiClientRuby::RecordingApi.new
754
- search_recording_granular_abstraction_dto = [SongtradrApiClientRuby::SearchRecordingGranularAbstractionDTO.new({abstraction_name: 'brandarchetypeInnocent'})] # Array<SearchRecordingGranularAbstractionDTO> |
755
-
756
- begin
757
- # Recordings by abstracted wordings and granular search options.
758
- result = api_instance.search_recordings_granular_abstraction(search_recording_granular_abstraction_dto)
759
- p result
760
- rescue SongtradrApiClientRuby::ApiError => e
761
- puts "Error when calling RecordingApi->search_recordings_granular_abstraction: #{e}"
762
- end
763
- ```
764
-
765
- #### Using the search_recordings_granular_abstraction_with_http_info variant
766
-
767
- This returns an Array which contains the response data, status code and headers.
768
-
769
- > <Array(<RecordingListDTO>, Integer, Hash)> search_recordings_granular_abstraction_with_http_info(search_recording_granular_abstraction_dto)
770
-
771
- ```ruby
772
- begin
773
- # Recordings by abstracted wordings and granular search options.
774
- data, status_code, headers = api_instance.search_recordings_granular_abstraction_with_http_info(search_recording_granular_abstraction_dto)
775
- p status_code # => 2xx
776
- p headers # => { ... }
777
- p data # => <RecordingListDTO>
778
- rescue SongtradrApiClientRuby::ApiError => e
779
- puts "Error when calling RecordingApi->search_recordings_granular_abstraction_with_http_info: #{e}"
780
- end
781
- ```
782
-
783
- ### Parameters
784
-
785
- | Name | Type | Description | Notes |
786
- | ---- | ---- | ----------- | ----- |
787
- | **search_recording_granular_abstraction_dto** | [**Array&lt;SearchRecordingGranularAbstractionDTO&gt;**](SearchRecordingGranularAbstractionDTO.md) | | |
788
-
789
- ### Return type
790
-
791
- [**RecordingListDTO**](RecordingListDTO.md)
792
-
793
- ### Authorization
794
-
795
- [bearer-jwt](../README.md#bearer-jwt)
796
-
797
- ### HTTP request headers
798
-
799
- - **Content-Type**: application/json
800
- - **Accept**: application/json
801
-
@@ -4,9 +4,9 @@
4
4
 
5
5
  | Name | Type | Description | Notes |
6
6
  | ---- | ---- | ----------- | ----- |
7
- | **genre_type** | **String** | | |
8
7
  | **genre** | [**GenreMinimalDTO**](GenreMinimalDTO.md) | | |
9
8
  | **probability** | **Float** | | |
9
+ | **genre_type** | **String** | | |
10
10
 
11
11
  ## Example
12
12
 
@@ -14,9 +14,9 @@
14
14
  require 'songtradr_api_client_ruby'
15
15
 
16
16
  instance = SongtradrApiClientRuby::RecordingGenrePredictionDTO.new(
17
- genre_type: null,
18
17
  genre: null,
19
- probability: null
18
+ probability: null,
19
+ genre_type: null
20
20
  )
21
21
  ```
22
22
 
@@ -12,8 +12,8 @@
12
12
  | **titles** | [**Array&lt;TitleDTO&gt;**](TitleDTO.md) | | [optional] |
13
13
  | **tracks** | [**Array&lt;TrackDTO&gt;**](TrackDTO.md) | | [optional] |
14
14
  | **musical_features** | [**MusicalFeaturesDTO**](MusicalFeaturesDTO.md) | | [optional] |
15
- | **tags** | [**Array&lt;RecordingTagSmallDTO&gt;**](RecordingTagSmallDTO.md) | | [optional] |
16
15
  | **spotify_id** | **String** | | [optional] |
16
+ | **tags** | [**Array&lt;RecordingTagSmallDTO&gt;**](RecordingTagSmallDTO.md) | | [optional] |
17
17
  | **genre_predictions** | [**Array&lt;RecordingGenrePredictionDTO&gt;**](RecordingGenrePredictionDTO.md) | | [optional] |
18
18
 
19
19
  ## Example
@@ -30,8 +30,8 @@ instance = SongtradrApiClientRuby::RecordingMediumDTO.new(
30
30
  titles: null,
31
31
  tracks: null,
32
32
  musical_features: null,
33
- tags: null,
34
33
  spotify_id: null,
34
+ tags: null,
35
35
  genre_predictions: null
36
36
  )
37
37
  ```
@@ -4,8 +4,8 @@
4
4
 
5
5
  | Name | Type | Description | Notes |
6
6
  | ---- | ---- | ----------- | ----- |
7
- | **party** | [**PartySmallDTO**](PartySmallDTO.md) | | |
8
7
  | **contributor_types** | [**Array&lt;ContributorTypeDTO&gt;**](ContributorTypeDTO.md) | | [optional] |
8
+ | **party** | [**PartySmallDTO**](PartySmallDTO.md) | | |
9
9
 
10
10
  ## Example
11
11
 
@@ -13,8 +13,8 @@
13
13
  require 'songtradr_api_client_ruby'
14
14
 
15
15
  instance = SongtradrApiClientRuby::RecordingPartyDTO.new(
16
- party: null,
17
- contributor_types: null
16
+ contributor_types: null,
17
+ party: null
18
18
  )
19
19
  ```
20
20