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
@@ -1,40 +0,0 @@
1
- # SongtradrApiClientRuby::RecordingLargeDTO
2
-
3
- ## Properties
4
-
5
- | Name | Type | Description | Notes |
6
- | ---- | ---- | ----------- | ----- |
7
- | **duration** | **Integer** | | [optional] |
8
- | **isrc** | **String** | | |
9
- | **parties** | [**Array<RecordingPartyDTO>**](RecordingPartyDTO.md) | | [optional] |
10
- | **genres** | [**Array<GenreDTO>**](GenreDTO.md) | | [optional] |
11
- | **language_of_performance** | **String** | | [optional] |
12
- | **titles** | [**Array<TitleDTO>**](TitleDTO.md) | | [optional] |
13
- | **tracks** | [**Array<TrackToMediumProductDTO>**](TrackToMediumProductDTO.md) | | [optional] |
14
- | **musical_features** | [**MusicalFeaturesDTO**](MusicalFeaturesDTO.md) | | [optional] |
15
- | **tags** | [**Array<RecordingTagSmallDTO>**](RecordingTagSmallDTO.md) | | [optional] |
16
- | **spotify_id** | **String** | | [optional] |
17
- | **genre_predictions** | [**Array<RecordingGenrePredictionDTO>**](RecordingGenrePredictionDTO.md) | | [optional] |
18
- | **pline** | [**PLineDTO**](PLineDTO.md) | | [optional] |
19
-
20
- ## Example
21
-
22
- ```ruby
23
- require 'songtradr_api_client_ruby'
24
-
25
- instance = SongtradrApiClientRuby::RecordingLargeDTO.new(
26
- duration: null,
27
- isrc: null,
28
- parties: null,
29
- genres: null,
30
- language_of_performance: null,
31
- titles: null,
32
- tracks: null,
33
- musical_features: null,
34
- tags: null,
35
- spotify_id: null,
36
- genre_predictions: null,
37
- pline: null
38
- )
39
- ```
40
-
@@ -1,24 +0,0 @@
1
- # SongtradrApiClientRuby::RecordingPlaylistDTO
2
-
3
- ## Properties
4
-
5
- | Name | Type | Description | Notes |
6
- | ---- | ---- | ----------- | ----- |
7
- | **recording** | [**RecordingMediumDTO**](RecordingMediumDTO.md) | | [optional] |
8
- | **songtradr_track_guid** | **String** | | [optional] |
9
- | **assigned_by_id** | **Integer** | | [optional] |
10
- | **sequence** | **Integer** | | [optional] |
11
-
12
- ## Example
13
-
14
- ```ruby
15
- require 'songtradr_api_client_ruby'
16
-
17
- instance = SongtradrApiClientRuby::RecordingPlaylistDTO.new(
18
- recording: null,
19
- songtradr_track_guid: null,
20
- assigned_by_id: null,
21
- sequence: null
22
- )
23
- ```
24
-
@@ -1,240 +0,0 @@
1
- # SongtradrApiClientRuby::SaveFileRecordingDTO
2
-
3
- ## Properties
4
-
5
- | Name | Type | Description | Notes |
6
- | ---- | ---- | ----------- | ----- |
7
- | **isrc** | **String** | | |
8
- | **name** | **String** | | [optional] |
9
- | **folder** | **String** | | [optional] |
10
- | **primary_mood_cluster_affinity** | **Float** | | [optional] |
11
- | **primary_mood_cluster** | **String** | Search for a language of the lyrics | [optional] |
12
- | **secondary_mood_cluster_affinity** | **Float** | | [optional] |
13
- | **secondary_mood_cluster** | **String** | Search for a language of the lyrics | [optional] |
14
- | **tertiary_mood_cluster_affinity** | **Float** | | [optional] |
15
- | **tertiary_mood_cluster** | **String** | Search for a language of the lyrics | [optional] |
16
- | **valence_affinity** | **Float** | | [optional] |
17
- | **arousal_affinity** | **Float** | | [optional] |
18
- | **pleasantness_affinity** | **Float** | | [optional] |
19
- | **engagement_affinity** | **Float** | | [optional] |
20
- | **valence** | **String** | Search for a valence | [optional] |
21
- | **arousal** | **String** | Search for an arousal | [optional] |
22
- | **pleasantness** | **String** | Search for pleasantness | [optional] |
23
- | **engagement** | **String** | Search for an engagement | [optional] |
24
- | **vocals** | **String** | Search for a vocal gender or instrumental songs | [optional] |
25
- | **vocals_affinity** | **Float** | | [optional] |
26
- | **dominant_instrument** | **String** | Search for a dominant instrument | [optional] |
27
- | **dominant_instrument_affinity** | **Float** | | [optional] |
28
- | **secondary_instrument_affinity** | **Float** | | [optional] |
29
- | **secondary_instrument** | **String** | Search for a dominant instrument | [optional] |
30
- | **tertiary_instrument_affinity** | **Float** | | [optional] |
31
- | **tertiary_instrument** | **String** | Search for a dominant instrument | [optional] |
32
- | **energy** | **String** | Search for energy | [optional] |
33
- | **energy_affinity** | **Float** | | [optional] |
34
- | **sound_generation** | **String** | Search for type of sound generation | [optional] |
35
- | **sound_generation_affinity** | **Float** | | [optional] |
36
- | **tempo** | **String** | Search for tempo | [optional] |
37
- | **tempo_affinity** | **Float** | | [optional] |
38
- | **scale** | **String** | Search for a tonal scale | [optional] |
39
- | **scale_affinity** | **Float** | | [optional] |
40
- | **rhythm** | **String** | Search for rhythm | [optional] |
41
- | **rhythm_affinity** | **Float** | | [optional] |
42
- | **primary_sound_character** | **String** | Search for a sound character | [optional] |
43
- | **primary_sound_character_affinity** | **Float** | | [optional] |
44
- | **timbre_affinity** | **Float** | | [optional] |
45
- | **roughness_affinity** | **Float** | | [optional] |
46
- | **tonality_affinity** | **Float** | | [optional] |
47
- | **harmony_affinity** | **Float** | | [optional] |
48
- | **texture_affinity** | **Float** | | [optional] |
49
- | **groovyness_affinity** | **Float** | | [optional] |
50
- | **space_affinity** | **Float** | | [optional] |
51
- | **timbre** | **String** | Search for timbre | [optional] |
52
- | **roughness** | **String** | Search for roughness | [optional] |
53
- | **tonality** | **String** | Search for tonality | [optional] |
54
- | **harmony** | **String** | Search for a degree of harmoniousness | [optional] |
55
- | **texture** | **String** | Search for texture | [optional] |
56
- | **groovyness** | **String** | Search for groovyness | [optional] |
57
- | **space** | **String** | Search for space | [optional] |
58
- | **bpm** | **Float** | | [optional] |
59
- | **key** | **String** | Search for a harmonic key | [optional] |
60
- | **key_affinity** | **Float** | | [optional] |
61
- | **production_rating** | **String** | | [optional] |
62
- | **production_rating_affinity** | **Float** | | [optional] |
63
- | **performance_rating** | **String** | | [optional] |
64
- | **performance_rating_affinity** | **Float** | | [optional] |
65
- | **song_rating** | **String** | | [optional] |
66
- | **song_rating_affinity** | **Float** | | [optional] |
67
- | **audience_gender** | **String** | | [optional] |
68
- | **audience_gender_affinity** | **Float** | | [optional] |
69
- | **audience_region** | **String** | | [optional] |
70
- | **audience_region_affinity** | **Float** | | [optional] |
71
- | **secondary_audience_region_affinity** | **Float** | | [optional] |
72
- | **secondary_audience_region** | **String** | | [optional] |
73
- | **tertiary_audience_region_affinity** | **Float** | | [optional] |
74
- | **tertiary_audience_region** | **String** | | [optional] |
75
- | **audience_age** | **String** | | [optional] |
76
- | **audience_age_affinity** | **Float** | | [optional] |
77
- | **secondary_audience_age** | **String** | | [optional] |
78
- | **secondary_audience_age_affinity** | **Float** | | [optional] |
79
- | **tertiary_audience_age** | **String** | | [optional] |
80
- | **tertiary_audience_age_affinity** | **Float** | | [optional] |
81
- | **origin_decade** | **String** | Search for origin decade | [optional] |
82
- | **origin_decade_affinity** | **Float** | | [optional] |
83
- | **language_of_performance** | **String** | | [optional] |
84
- | **language_of_performance_affinity** | **Float** | | [optional] |
85
- | **origin_region** | **String** | | [optional] |
86
- | **origin_region_affinity** | **Float** | | [optional] |
87
- | **taggrams** | [**SaveTaggramsDTO**](SaveTaggramsDTO.md) | | [optional] |
88
- | **embeddings** | **Array<Float>** | | [optional] |
89
- | **level1_genre** | **String** | | [optional] |
90
- | **level1_genre_affinity** | **Float** | | [optional] |
91
- | **secondary_level1_genre** | **String** | | [optional] |
92
- | **secondary_level1_genre_affinity** | **Float** | | [optional] |
93
- | **tertiary_level1_genre** | **String** | | [optional] |
94
- | **tertiary_level1_genre_affinity** | **Float** | | [optional] |
95
- | **level2_genre** | **String** | | [optional] |
96
- | **level2_genre_affinity** | **Float** | | [optional] |
97
- | **secondary_level2_genre** | **String** | | [optional] |
98
- | **secondary_level2_genre_affinity** | **Float** | | [optional] |
99
- | **tertiary_level2_genre** | **String** | | [optional] |
100
- | **tertiary_level2_genre_affinity** | **Float** | | [optional] |
101
- | **curateability** | **String** | Search for curatebility | [optional] |
102
- | **curateability_affinity** | **Float** | | [optional] |
103
- | **use_case** | **String** | Search for use case | [optional] |
104
- | **use_case_affinity** | **Float** | | [optional] |
105
- | **social_media** | **String** | Search for social media suitability | [optional] |
106
- | **social_media_affinity** | **Float** | | [optional] |
107
- | **industry_suitability** | **String** | Search for Industry suitability | [optional] |
108
- | **industry_suitability_affinity** | **Float** | | [optional] |
109
- | **created_by_version** | **String** | | |
110
- | **tags** | [**Array<SaveRecordingTagDTO>**](SaveRecordingTagDTO.md) | | [optional] |
111
- | **genres** | [**Array<SaveRecordingGenreDTO>**](SaveRecordingGenreDTO.md) | | [optional] |
112
- | **parties** | [**Array<SaveRecordingPartyDTO>**](SaveRecordingPartyDTO.md) | | [optional] |
113
- | **iswc** | **String** | | [optional] |
114
- | **proprietary_id_gema** | **String** | | [optional] |
115
- | **title** | **String** | | [optional] |
116
- | **version_title** | **String** | | [optional] |
117
- | **context_kind** | **String** | | [optional] |
118
- | **context_value** | [**ContextValue**](ContextValue.md) | | [optional] |
119
-
120
- ## Example
121
-
122
- ```ruby
123
- require 'songtradr_api_client_ruby'
124
-
125
- instance = SongtradrApiClientRuby::SaveFileRecordingDTO.new(
126
- isrc: null,
127
- name: null,
128
- folder: null,
129
- primary_mood_cluster_affinity: null,
130
- primary_mood_cluster: null,
131
- secondary_mood_cluster_affinity: null,
132
- secondary_mood_cluster: null,
133
- tertiary_mood_cluster_affinity: null,
134
- tertiary_mood_cluster: null,
135
- valence_affinity: null,
136
- arousal_affinity: null,
137
- pleasantness_affinity: null,
138
- engagement_affinity: null,
139
- valence: null,
140
- arousal: null,
141
- pleasantness: null,
142
- engagement: null,
143
- vocals: null,
144
- vocals_affinity: null,
145
- dominant_instrument: null,
146
- dominant_instrument_affinity: null,
147
- secondary_instrument_affinity: null,
148
- secondary_instrument: null,
149
- tertiary_instrument_affinity: null,
150
- tertiary_instrument: null,
151
- energy: null,
152
- energy_affinity: null,
153
- sound_generation: null,
154
- sound_generation_affinity: null,
155
- tempo: null,
156
- tempo_affinity: null,
157
- scale: null,
158
- scale_affinity: null,
159
- rhythm: null,
160
- rhythm_affinity: null,
161
- primary_sound_character: null,
162
- primary_sound_character_affinity: null,
163
- timbre_affinity: null,
164
- roughness_affinity: null,
165
- tonality_affinity: null,
166
- harmony_affinity: null,
167
- texture_affinity: null,
168
- groovyness_affinity: null,
169
- space_affinity: null,
170
- timbre: null,
171
- roughness: null,
172
- tonality: null,
173
- harmony: null,
174
- texture: null,
175
- groovyness: null,
176
- space: null,
177
- bpm: null,
178
- key: null,
179
- key_affinity: null,
180
- production_rating: null,
181
- production_rating_affinity: null,
182
- performance_rating: null,
183
- performance_rating_affinity: null,
184
- song_rating: null,
185
- song_rating_affinity: null,
186
- audience_gender: null,
187
- audience_gender_affinity: null,
188
- audience_region: null,
189
- audience_region_affinity: null,
190
- secondary_audience_region_affinity: null,
191
- secondary_audience_region: null,
192
- tertiary_audience_region_affinity: null,
193
- tertiary_audience_region: null,
194
- audience_age: null,
195
- audience_age_affinity: null,
196
- secondary_audience_age: null,
197
- secondary_audience_age_affinity: null,
198
- tertiary_audience_age: null,
199
- tertiary_audience_age_affinity: null,
200
- origin_decade: null,
201
- origin_decade_affinity: null,
202
- language_of_performance: null,
203
- language_of_performance_affinity: null,
204
- origin_region: null,
205
- origin_region_affinity: null,
206
- taggrams: null,
207
- embeddings: null,
208
- level1_genre: null,
209
- level1_genre_affinity: null,
210
- secondary_level1_genre: null,
211
- secondary_level1_genre_affinity: null,
212
- tertiary_level1_genre: null,
213
- tertiary_level1_genre_affinity: null,
214
- level2_genre: null,
215
- level2_genre_affinity: null,
216
- secondary_level2_genre: null,
217
- secondary_level2_genre_affinity: null,
218
- tertiary_level2_genre: null,
219
- tertiary_level2_genre_affinity: null,
220
- curateability: null,
221
- curateability_affinity: null,
222
- use_case: null,
223
- use_case_affinity: null,
224
- social_media: null,
225
- social_media_affinity: null,
226
- industry_suitability: null,
227
- industry_suitability_affinity: null,
228
- created_by_version: null,
229
- tags: null,
230
- genres: null,
231
- parties: null,
232
- iswc: null,
233
- proprietary_id_gema: null,
234
- title: null,
235
- version_title: null,
236
- context_kind: null,
237
- context_value: null
238
- )
239
- ```
240
-
@@ -1,34 +0,0 @@
1
- # SongtradrApiClientRuby::SavePlaylistDTO
2
-
3
- ## Properties
4
-
5
- | Name | Type | Description | Notes |
6
- | ---- | ---- | ----------- | ----- |
7
- | **songtradr_playlist_guid** | **String** | | |
8
- | **name** | **String** | | |
9
- | **description** | **String** | | [optional] |
10
- | **state** | **String** | | |
11
- | **asset_url** | **String** | | [optional] |
12
- | **pretzel_tier** | **String** | | [optional] |
13
- | **usage** | **String** | | [optional] |
14
- | **usages** | **Array<String>** | | |
15
- | **recordings** | [**Array<SaveRecordingPlaylistDTO>**](SaveRecordingPlaylistDTO.md) | | [optional] |
16
-
17
- ## Example
18
-
19
- ```ruby
20
- require 'songtradr_api_client_ruby'
21
-
22
- instance = SongtradrApiClientRuby::SavePlaylistDTO.new(
23
- songtradr_playlist_guid: null,
24
- name: null,
25
- description: null,
26
- state: null,
27
- asset_url: null,
28
- pretzel_tier: null,
29
- usage: null,
30
- usages: null,
31
- recordings: null
32
- )
33
- ```
34
-
@@ -1,22 +0,0 @@
1
- # SongtradrApiClientRuby::SaveRecordingGenreDTO
2
-
3
- ## Properties
4
-
5
- | Name | Type | Description | Notes |
6
- | ---- | ---- | ----------- | ----- |
7
- | **genre_name** | **String** | | |
8
- | **genre_type** | **String** | | [optional] |
9
- | **affinity** | **Float** | | [optional] |
10
-
11
- ## Example
12
-
13
- ```ruby
14
- require 'songtradr_api_client_ruby'
15
-
16
- instance = SongtradrApiClientRuby::SaveRecordingGenreDTO.new(
17
- genre_name: null,
18
- genre_type: null,
19
- affinity: null
20
- )
21
- ```
22
-
@@ -1,20 +0,0 @@
1
- # SongtradrApiClientRuby::SaveRecordingPartyDTO
2
-
3
- ## Properties
4
-
5
- | Name | Type | Description | Notes |
6
- | ---- | ---- | ----------- | ----- |
7
- | **full_name** | **String** | | |
8
- | **contributor_type** | **String** | | |
9
-
10
- ## Example
11
-
12
- ```ruby
13
- require 'songtradr_api_client_ruby'
14
-
15
- instance = SongtradrApiClientRuby::SaveRecordingPartyDTO.new(
16
- full_name: null,
17
- contributor_type: null
18
- )
19
- ```
20
-
@@ -1,22 +0,0 @@
1
- # SongtradrApiClientRuby::SaveRecordingPlaylistDTO
2
-
3
- ## Properties
4
-
5
- | Name | Type | Description | Notes |
6
- | ---- | ---- | ----------- | ----- |
7
- | **songtradr_track_guid** | **String** | | |
8
- | **assigned_by_id** | **Integer** | | |
9
- | **sequence** | **Integer** | | [optional] |
10
-
11
- ## Example
12
-
13
- ```ruby
14
- require 'songtradr_api_client_ruby'
15
-
16
- instance = SongtradrApiClientRuby::SaveRecordingPlaylistDTO.new(
17
- songtradr_track_guid: null,
18
- assigned_by_id: null,
19
- sequence: null
20
- )
21
- ```
22
-
@@ -1,20 +0,0 @@
1
- # SongtradrApiClientRuby::SaveRecordingTagDTO
2
-
3
- ## Properties
4
-
5
- | Name | Type | Description | Notes |
6
- | ---- | ---- | ----------- | ----- |
7
- | **tag_name** | **String** | | |
8
- | **affinity** | **Float** | | [optional] |
9
-
10
- ## Example
11
-
12
- ```ruby
13
- require 'songtradr_api_client_ruby'
14
-
15
- instance = SongtradrApiClientRuby::SaveRecordingTagDTO.new(
16
- tag_name: null,
17
- affinity: null
18
- )
19
- ```
20
-
@@ -1,20 +0,0 @@
1
- # SongtradrApiClientRuby::SaveReferrerDTO
2
-
3
- ## Properties
4
-
5
- | Name | Type | Description | Notes |
6
- | ---- | ---- | ----------- | ----- |
7
- | **username** | **String** | | [optional] |
8
- | **url** | **String** | | [optional] |
9
-
10
- ## Example
11
-
12
- ```ruby
13
- require 'songtradr_api_client_ruby'
14
-
15
- instance = SongtradrApiClientRuby::SaveReferrerDTO.new(
16
- username: null,
17
- url: null
18
- )
19
- ```
20
-
@@ -1,82 +0,0 @@
1
- # SongtradrApiClientRuby::SaveTaggramsDTO
2
-
3
- ## Properties
4
-
5
- | Name | Type | Description | Notes |
6
- | ---- | ---- | ----------- | ----- |
7
- | **timestamps** | **Array<Float>** | | [optional] |
8
- | **level1_genre** | **Hash<String, Array<Float>>** | | [optional] |
9
- | **level2_genre** | **Hash<String, Array<Float>>** | | [optional] |
10
- | **song_rating** | **Hash<String, Array<Float>>** | | [optional] |
11
- | **performance_rating** | **Hash<String, Array<Float>>** | | [optional] |
12
- | **production_rating** | **Hash<String, Array<Float>>** | | [optional] |
13
- | **mood_cluster** | **Hash<String, Array<Float>>** | | [optional] |
14
- | **vocals** | **Hash<String, Array<Float>>** | | [optional] |
15
- | **dominant_instrument** | **Hash<String, Array<Float>>** | | [optional] |
16
- | **sound_generation** | **Hash<String, Array<Float>>** | | [optional] |
17
- | **rhythm** | **Hash<String, Array<Float>>** | | [optional] |
18
- | **tonality** | **Hash<String, Array<Float>>** | | [optional] |
19
- | **audience_age** | **Hash<String, Array<Float>>** | | [optional] |
20
- | **audience_gender** | **Hash<String, Array<Float>>** | | [optional] |
21
- | **audience_region** | **Hash<String, Array<Float>>** | | [optional] |
22
- | **origin_region** | **Hash<String, Array<Float>>** | | [optional] |
23
- | **origin_decade** | **Hash<String, Array<Float>>** | | [optional] |
24
- | **language_of_performance** | **Hash<String, Array<Float>>** | | [optional] |
25
- | **arousal** | **Hash<String, Array<Float>>** | | [optional] |
26
- | **valence** | **Hash<String, Array<Float>>** | | [optional] |
27
- | **pleasantness** | **Hash<String, Array<Float>>** | | [optional] |
28
- | **engagement** | **Hash<String, Array<Float>>** | | [optional] |
29
- | **energy** | **Hash<String, Array<Float>>** | | [optional] |
30
- | **timbre** | **Hash<String, Array<Float>>** | | [optional] |
31
- | **roughness** | **Hash<String, Array<Float>>** | | [optional] |
32
- | **harmony** | **Hash<String, Array<Float>>** | | [optional] |
33
- | **texture** | **Hash<String, Array<Float>>** | | [optional] |
34
- | **groovyness** | **Hash<String, Array<Float>>** | | [optional] |
35
- | **space** | **Hash<String, Array<Float>>** | | [optional] |
36
- | **curateability** | **Hash<String, Array<Float>>** | | [optional] |
37
- | **use_case** | **Hash<String, Array<Float>>** | | [optional] |
38
- | **social_media** | **Hash<String, Array<Float>>** | | [optional] |
39
- | **industry_suitability** | **Hash<String, Array<Float>>** | | [optional] |
40
-
41
- ## Example
42
-
43
- ```ruby
44
- require 'songtradr_api_client_ruby'
45
-
46
- instance = SongtradrApiClientRuby::SaveTaggramsDTO.new(
47
- timestamps: null,
48
- level1_genre: null,
49
- level2_genre: null,
50
- song_rating: null,
51
- performance_rating: null,
52
- production_rating: null,
53
- mood_cluster: null,
54
- vocals: null,
55
- dominant_instrument: null,
56
- sound_generation: null,
57
- rhythm: null,
58
- tonality: null,
59
- audience_age: null,
60
- audience_gender: null,
61
- audience_region: null,
62
- origin_region: null,
63
- origin_decade: null,
64
- language_of_performance: null,
65
- arousal: null,
66
- valence: null,
67
- pleasantness: null,
68
- engagement: null,
69
- energy: null,
70
- timbre: null,
71
- roughness: null,
72
- harmony: null,
73
- texture: null,
74
- groovyness: null,
75
- space: null,
76
- curateability: null,
77
- use_case: null,
78
- social_media: null,
79
- industry_suitability: null
80
- )
81
- ```
82
-
@@ -1,20 +0,0 @@
1
- # SongtradrApiClientRuby::SearchRecordingGranularAbstractionDTO
2
-
3
- ## Properties
4
-
5
- | Name | Type | Description | Notes |
6
- | ---- | ---- | ----------- | ----- |
7
- | **strength** | **Float** | Strength of presence of the corresponding category, tag or genre. | [optional] |
8
- | **abstraction_name** | **String** | Current status of the recording. | |
9
-
10
- ## Example
11
-
12
- ```ruby
13
- require 'songtradr_api_client_ruby'
14
-
15
- instance = SongtradrApiClientRuby::SearchRecordingGranularAbstractionDTO.new(
16
- strength: null,
17
- abstraction_name: null
18
- )
19
- ```
20
-
@@ -1,22 +0,0 @@
1
- # SongtradrApiClientRuby::TrackToMediumProductDTO
2
-
3
- ## Properties
4
-
5
- | Name | Type | Description | Notes |
6
- | ---- | ---- | ----------- | ----- |
7
- | **product** | [**ProductMediumDTO**](ProductMediumDTO.md) | | |
8
- | **track_no** | **String** | | |
9
- | **set_no** | **String** | | [optional] |
10
-
11
- ## Example
12
-
13
- ```ruby
14
- require 'songtradr_api_client_ruby'
15
-
16
- instance = SongtradrApiClientRuby::TrackToMediumProductDTO.new(
17
- product: null,
18
- track_no: null,
19
- set_no: null
20
- )
21
- ```
22
-
data/docs/UsageDTO.md DELETED
@@ -1,18 +0,0 @@
1
- # SongtradrApiClientRuby::UsageDTO
2
-
3
- ## Properties
4
-
5
- | Name | Type | Description | Notes |
6
- | ---- | ---- | ----------- | ----- |
7
- | **name** | **String** | | [optional] |
8
-
9
- ## Example
10
-
11
- ```ruby
12
- require 'songtradr_api_client_ruby'
13
-
14
- instance = SongtradrApiClientRuby::UsageDTO.new(
15
- name: null
16
- )
17
- ```
18
-
@@ -1,84 +0,0 @@
1
- =begin
2
- #Songtradr API
3
-
4
- #This is the Songtradr API. Use it to retrieve deep music metadata and trigger processes like auto-tagging. You can also use the API to manage your account and musicube cloud data. **Authentication** 1. Reach out to support@songtradr.com to receive a free account or use your login data if you are already signed up. 2. To authenticate, you need to login via the POST /api/v1/user/login endpoint. 3. The endpoint responds with a jwtToken which you can use in all following API requests as a bearer token. **Rate Limiting** The current limit is 120 Requests per minute. Reach out to us via support@songtradr.com if you need to request more. **Getting Started with auto-tagging** 1. If you want to get your own files auto-tagged, use the POST /api/v1/user/file/{name}/initUpload endpoint. It responds with a presigned S3 link where you can upload your file. 2. You can check the processing status of your file via the GET /api/v1/user/file/{name}/filesStatus endpoint. 3. As soon as processing is done, you can request the generated data via the GET /api/v1/user/files endpoint. **Getting Started with search** You can either search the released music via the /public/recording endpoints or your own private uploaded music via the /user/file/ endpoints. 1. If you want to search the world's released music, a good starting point is the GET /api/v1/public/recording/search endpoint. Please find the extensive list of parameters that serve as semantic search filters. 2. If you want to search your own previously uploaded music, a good starting point is the GET GET /api/v1/user/files endpoint. It has the same extensive list of parameters that serve as semantic search filters.
5
-
6
- The version of the OpenAPI document: 1.13.7
7
- Contact: info@songtradr.com
8
- Generated by: https://openapi-generator.tech
9
- OpenAPI Generator version: 7.1.0-SNAPSHOT
10
-
11
- =end
12
-
13
- require 'cgi'
14
-
15
- module SongtradrApiClientRuby
16
- class PartyApi
17
- attr_accessor :api_client
18
-
19
- def initialize(api_client = ApiClient.default)
20
- @api_client = api_client
21
- end
22
- # Information on a person, group or company.
23
- # @param full_name [String] Full Name of the person, group, company or organisation.
24
- # @param [Hash] opts the optional parameters
25
- # @return [PartyLargeDTO]
26
- def party(full_name, opts = {})
27
- data, _status_code, _headers = party_with_http_info(full_name, opts)
28
- data
29
- end
30
-
31
- # Information on a person, group or company.
32
- # @param full_name [String] Full Name of the person, group, company or organisation.
33
- # @param [Hash] opts the optional parameters
34
- # @return [Array<(PartyLargeDTO, Integer, Hash)>] PartyLargeDTO data, response status code and response headers
35
- def party_with_http_info(full_name, opts = {})
36
- if @api_client.config.debugging
37
- @api_client.config.logger.debug 'Calling API: PartyApi.party ...'
38
- end
39
- # verify the required parameter 'full_name' is set
40
- if @api_client.config.client_side_validation && full_name.nil?
41
- fail ArgumentError, "Missing the required parameter 'full_name' when calling PartyApi.party"
42
- end
43
- # resource path
44
- local_var_path = '/api/v1/party'
45
-
46
- # query parameters
47
- query_params = opts[:query_params] || {}
48
- query_params[:'fullName'] = full_name
49
-
50
- # header parameters
51
- header_params = opts[:header_params] || {}
52
- # HTTP header 'Accept' (if needed)
53
- header_params['Accept'] = @api_client.select_header_accept(['application/json'])
54
-
55
- # form parameters
56
- form_params = opts[:form_params] || {}
57
-
58
- # http body (model)
59
- post_body = opts[:debug_body]
60
-
61
- # return_type
62
- return_type = opts[:debug_return_type] || 'PartyLargeDTO'
63
-
64
- # auth_names
65
- auth_names = opts[:debug_auth_names] || ['bearer-jwt']
66
-
67
- new_options = opts.merge(
68
- :operation => :"PartyApi.party",
69
- :header_params => header_params,
70
- :query_params => query_params,
71
- :form_params => form_params,
72
- :body => post_body,
73
- :auth_names => auth_names,
74
- :return_type => return_type
75
- )
76
-
77
- data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
78
- if @api_client.config.debugging
79
- @api_client.config.logger.debug "API called: PartyApi#party\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
80
- end
81
- return data, status_code, headers
82
- end
83
- end
84
- end