songtradr_api_client_ruby 1.15.0 → 1.16.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (178) hide show
  1. checksums.yaml +4 -4
  2. data/Gemfile.lock +5 -5
  3. data/README.md +5 -5
  4. data/docs/FileSmallDTO.md +7 -7
  5. data/docs/MusicalFeaturesDTO.md +23 -23
  6. data/docs/RecordingApi.md +2 -0
  7. data/docs/RecordingGenrePredictionDTO.md +3 -3
  8. data/docs/RecordingPartyDTO.md +3 -3
  9. data/docs/UserApi.md +8 -0
  10. data/lib/songtradr_api_client_ruby/api/allowed_values_api.rb +2 -2
  11. data/lib/songtradr_api_client_ruby/api/playlist_api.rb +2 -2
  12. data/lib/songtradr_api_client_ruby/api/recording_api.rb +6 -3
  13. data/lib/songtradr_api_client_ruby/api/user_api.rb +29 -5
  14. data/lib/songtradr_api_client_ruby/api_client.rb +2 -2
  15. data/lib/songtradr_api_client_ruby/api_error.rb +2 -2
  16. data/lib/songtradr_api_client_ruby/configuration.rb +2 -2
  17. data/lib/songtradr_api_client_ruby/models/age_range.rb +2 -2
  18. data/lib/songtradr_api_client_ruby/models/beard.rb +2 -2
  19. data/lib/songtradr_api_client_ruby/models/bounding_box.rb +2 -2
  20. data/lib/songtradr_api_client_ruby/models/category_medium_dto.rb +2 -2
  21. data/lib/songtradr_api_client_ruby/models/category_minimal_dto.rb +2 -2
  22. data/lib/songtradr_api_client_ruby/models/config_access_dto.rb +2 -2
  23. data/lib/songtradr_api_client_ruby/models/config_identifier_dto.rb +2 -2
  24. data/lib/songtradr_api_client_ruby/models/contributor_type_dto.rb +2 -2
  25. data/lib/songtradr_api_client_ruby/models/curate_playlist_dto.rb +2 -2
  26. data/lib/songtradr_api_client_ruby/models/curate_playlist_response_dto.rb +2 -2
  27. data/lib/songtradr_api_client_ruby/models/dominant_color.rb +2 -2
  28. data/lib/songtradr_api_client_ruby/models/emotion.rb +2 -2
  29. data/lib/songtradr_api_client_ruby/models/error_response.rb +2 -2
  30. data/lib/songtradr_api_client_ruby/models/eye_direction.rb +2 -2
  31. data/lib/songtradr_api_client_ruby/models/eye_open.rb +2 -2
  32. data/lib/songtradr_api_client_ruby/models/eyeglasses.rb +2 -2
  33. data/lib/songtradr_api_client_ruby/models/face_detail.rb +2 -2
  34. data/lib/songtradr_api_client_ruby/models/face_detection.rb +2 -2
  35. data/lib/songtradr_api_client_ruby/models/face_occluded.rb +2 -2
  36. data/lib/songtradr_api_client_ruby/models/field_summary_dto.rb +2 -2
  37. data/lib/songtradr_api_client_ruby/models/file_dto.rb +2 -2
  38. data/lib/songtradr_api_client_ruby/models/file_list_dto.rb +2 -2
  39. data/lib/songtradr_api_client_ruby/models/file_small_dto.rb +36 -36
  40. data/lib/songtradr_api_client_ruby/models/file_upload_dto.rb +2 -2
  41. data/lib/songtradr_api_client_ruby/models/file_w_ith_url_dto.rb +2 -2
  42. data/lib/songtradr_api_client_ruby/models/files_summary_dto.rb +2 -2
  43. data/lib/songtradr_api_client_ruby/models/forgot_password_dto.rb +2 -2
  44. data/lib/songtradr_api_client_ruby/models/gender.rb +2 -2
  45. data/lib/songtradr_api_client_ruby/models/genre_dto.rb +2 -2
  46. data/lib/songtradr_api_client_ruby/models/genre_minimal_dto.rb +2 -2
  47. data/lib/songtradr_api_client_ruby/models/genres_summary_dto.rb +2 -2
  48. data/lib/songtradr_api_client_ruby/models/image_quality.rb +2 -2
  49. data/lib/songtradr_api_client_ruby/models/image_recognition_response.rb +2 -2
  50. data/lib/songtradr_api_client_ruby/models/init_put_recording_audio_dto.rb +2 -2
  51. data/lib/songtradr_api_client_ruby/models/instance.rb +2 -2
  52. data/lib/songtradr_api_client_ruby/models/jwt_token_dto.rb +2 -2
  53. data/lib/songtradr_api_client_ruby/models/label.rb +2 -2
  54. data/lib/songtradr_api_client_ruby/models/label_alias.rb +2 -2
  55. data/lib/songtradr_api_client_ruby/models/label_category.rb +2 -2
  56. data/lib/songtradr_api_client_ruby/models/label_detection.rb +2 -2
  57. data/lib/songtradr_api_client_ruby/models/landmark.rb +2 -2
  58. data/lib/songtradr_api_client_ruby/models/login_dto.rb +2 -2
  59. data/lib/songtradr_api_client_ruby/models/mouth_open.rb +2 -2
  60. data/lib/songtradr_api_client_ruby/models/musical_features_dto.rb +248 -248
  61. data/lib/songtradr_api_client_ruby/models/mustache.rb +2 -2
  62. data/lib/songtradr_api_client_ruby/models/parent.rb +2 -2
  63. data/lib/songtradr_api_client_ruby/models/party_small_dto.rb +2 -2
  64. data/lib/songtradr_api_client_ruby/models/pose.rb +2 -2
  65. data/lib/songtradr_api_client_ruby/models/recording_for_similarity_search_dto.rb +2 -2
  66. data/lib/songtradr_api_client_ruby/models/recording_genre_prediction_dto.rb +22 -22
  67. data/lib/songtradr_api_client_ruby/models/recording_list_dto.rb +2 -2
  68. data/lib/songtradr_api_client_ruby/models/recording_medium_dto.rb +2 -2
  69. data/lib/songtradr_api_client_ruby/models/recording_minimal_with_musical_features_dto.rb +2 -2
  70. data/lib/songtradr_api_client_ruby/models/recording_minimal_with_taggrams_dto.rb +2 -2
  71. data/lib/songtradr_api_client_ruby/models/recording_minimal_with_tagstrengths_dto.rb +2 -2
  72. data/lib/songtradr_api_client_ruby/models/recording_party_dto.rb +17 -17
  73. data/lib/songtradr_api_client_ruby/models/recording_small_dto.rb +2 -2
  74. data/lib/songtradr_api_client_ruby/models/recording_tag_small_dto.rb +2 -2
  75. data/lib/songtradr_api_client_ruby/models/save_user_dto.rb +2 -2
  76. data/lib/songtradr_api_client_ruby/models/search_filter_values_dto.rb +2 -2
  77. data/lib/songtradr_api_client_ruby/models/search_recording_granular_dto.rb +2 -2
  78. data/lib/songtradr_api_client_ruby/models/sign_up_dto.rb +2 -2
  79. data/lib/songtradr_api_client_ruby/models/smile.rb +2 -2
  80. data/lib/songtradr_api_client_ruby/models/sunglasses.rb +2 -2
  81. data/lib/songtradr_api_client_ruby/models/tag_dto.rb +2 -2
  82. data/lib/songtradr_api_client_ruby/models/tag_small_dto.rb +2 -2
  83. data/lib/songtradr_api_client_ruby/models/taggram_dto.rb +2 -2
  84. data/lib/songtradr_api_client_ruby/models/tags_summary_dto.rb +2 -2
  85. data/lib/songtradr_api_client_ruby/models/tagstrength_dto.rb +2 -2
  86. data/lib/songtradr_api_client_ruby/models/title_dto.rb +2 -2
  87. data/lib/songtradr_api_client_ruby/models/token_request.rb +2 -2
  88. data/lib/songtradr_api_client_ruby/models/track_dto.rb +2 -2
  89. data/lib/songtradr_api_client_ruby/models/update_password_dto.rb +2 -2
  90. data/lib/songtradr_api_client_ruby/models/user_dto.rb +2 -2
  91. data/lib/songtradr_api_client_ruby/models/video_recognition_response.rb +2 -2
  92. data/lib/songtradr_api_client_ruby/version.rb +3 -3
  93. data/lib/songtradr_api_client_ruby.rb +2 -2
  94. data/openapi-generator-config.yaml +1 -1
  95. data/songtradr_api_client_ruby.gemspec +2 -2
  96. data/spec/api/allowed_values_api_spec.rb +2 -2
  97. data/spec/api/playlist_api_spec.rb +2 -2
  98. data/spec/api/recording_api_spec.rb +3 -2
  99. data/spec/api/user_api_spec.rb +6 -2
  100. data/spec/api_client_spec.rb +2 -2
  101. data/spec/configuration_spec.rb +2 -2
  102. data/spec/models/age_range_spec.rb +2 -2
  103. data/spec/models/beard_spec.rb +2 -2
  104. data/spec/models/bounding_box_spec.rb +2 -2
  105. data/spec/models/category_medium_dto_spec.rb +2 -2
  106. data/spec/models/category_minimal_dto_spec.rb +2 -2
  107. data/spec/models/config_access_dto_spec.rb +2 -2
  108. data/spec/models/config_identifier_dto_spec.rb +2 -2
  109. data/spec/models/contributor_type_dto_spec.rb +2 -2
  110. data/spec/models/curate_playlist_dto_spec.rb +2 -2
  111. data/spec/models/curate_playlist_response_dto_spec.rb +2 -2
  112. data/spec/models/dominant_color_spec.rb +2 -2
  113. data/spec/models/emotion_spec.rb +2 -2
  114. data/spec/models/error_response_spec.rb +2 -2
  115. data/spec/models/eye_direction_spec.rb +2 -2
  116. data/spec/models/eye_open_spec.rb +2 -2
  117. data/spec/models/eyeglasses_spec.rb +2 -2
  118. data/spec/models/face_detail_spec.rb +2 -2
  119. data/spec/models/face_detection_spec.rb +2 -2
  120. data/spec/models/face_occluded_spec.rb +2 -2
  121. data/spec/models/field_summary_dto_spec.rb +2 -2
  122. data/spec/models/file_dto_spec.rb +2 -2
  123. data/spec/models/file_list_dto_spec.rb +2 -2
  124. data/spec/models/file_small_dto_spec.rb +18 -18
  125. data/spec/models/file_upload_dto_spec.rb +2 -2
  126. data/spec/models/file_w_ith_url_dto_spec.rb +2 -2
  127. data/spec/models/files_summary_dto_spec.rb +2 -2
  128. data/spec/models/forgot_password_dto_spec.rb +2 -2
  129. data/spec/models/gender_spec.rb +2 -2
  130. data/spec/models/genre_dto_spec.rb +2 -2
  131. data/spec/models/genre_minimal_dto_spec.rb +2 -2
  132. data/spec/models/genres_summary_dto_spec.rb +2 -2
  133. data/spec/models/image_quality_spec.rb +2 -2
  134. data/spec/models/image_recognition_response_spec.rb +2 -2
  135. data/spec/models/init_put_recording_audio_dto_spec.rb +2 -2
  136. data/spec/models/instance_spec.rb +2 -2
  137. data/spec/models/jwt_token_dto_spec.rb +2 -2
  138. data/spec/models/label_alias_spec.rb +2 -2
  139. data/spec/models/label_category_spec.rb +2 -2
  140. data/spec/models/label_detection_spec.rb +2 -2
  141. data/spec/models/label_spec.rb +2 -2
  142. data/spec/models/landmark_spec.rb +2 -2
  143. data/spec/models/login_dto_spec.rb +2 -2
  144. data/spec/models/mouth_open_spec.rb +2 -2
  145. data/spec/models/musical_features_dto_spec.rb +81 -81
  146. data/spec/models/mustache_spec.rb +2 -2
  147. data/spec/models/parent_spec.rb +2 -2
  148. data/spec/models/party_small_dto_spec.rb +2 -2
  149. data/spec/models/pose_spec.rb +2 -2
  150. data/spec/models/recording_for_similarity_search_dto_spec.rb +2 -2
  151. data/spec/models/recording_genre_prediction_dto_spec.rb +5 -5
  152. data/spec/models/recording_list_dto_spec.rb +2 -2
  153. data/spec/models/recording_medium_dto_spec.rb +2 -2
  154. data/spec/models/recording_minimal_with_musical_features_dto_spec.rb +2 -2
  155. data/spec/models/recording_minimal_with_taggrams_dto_spec.rb +2 -2
  156. data/spec/models/recording_minimal_with_tagstrengths_dto_spec.rb +2 -2
  157. data/spec/models/recording_party_dto_spec.rb +4 -4
  158. data/spec/models/recording_small_dto_spec.rb +2 -2
  159. data/spec/models/recording_tag_small_dto_spec.rb +2 -2
  160. data/spec/models/save_user_dto_spec.rb +2 -2
  161. data/spec/models/search_filter_values_dto_spec.rb +2 -2
  162. data/spec/models/search_recording_granular_dto_spec.rb +2 -2
  163. data/spec/models/sign_up_dto_spec.rb +2 -2
  164. data/spec/models/smile_spec.rb +2 -2
  165. data/spec/models/sunglasses_spec.rb +2 -2
  166. data/spec/models/tag_dto_spec.rb +2 -2
  167. data/spec/models/tag_small_dto_spec.rb +2 -2
  168. data/spec/models/taggram_dto_spec.rb +2 -2
  169. data/spec/models/tags_summary_dto_spec.rb +2 -2
  170. data/spec/models/tagstrength_dto_spec.rb +2 -2
  171. data/spec/models/title_dto_spec.rb +2 -2
  172. data/spec/models/token_request_spec.rb +2 -2
  173. data/spec/models/track_dto_spec.rb +2 -2
  174. data/spec/models/update_password_dto_spec.rb +2 -2
  175. data/spec/models/user_dto_spec.rb +2 -2
  176. data/spec/models/video_recognition_response_spec.rb +2 -2
  177. data/spec/spec_helper.rb +2 -2
  178. metadata +67 -67
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 65ed599ec7e016af261c1639c18a9d6e95863a97b9c571407342d5ced9c1e311
4
- data.tar.gz: 6f0c416628693187a2f5e0fa97d24c47c997cf6bf6b4588703ea1f4cf2bca05d
3
+ metadata.gz: 11f4e3cb0e2d26c51198660c4548106dc8794ed36f5c1e6c58d1501b934054bb
4
+ data.tar.gz: 577af8445f31caf0b19e6dcb33bc790e4eb76861de182724c6f308d74bad8f6b
5
5
  SHA512:
6
- metadata.gz: 48e5486454832027ef5d666025e23c320bc08ef133a38907028d10aa42750489af0d753994e04dd03aeaea7d27d301b09f671620751cb9ff7e17d30be5ecb237
7
- data.tar.gz: '08bc5004c59e2a4e743799aee69f019a9c46e3e420b2036d6c244b0512c0b39fef063eabefd84a5f49e7c86079dc21ac350218ef4045bbefb07e44a18ff2461a'
6
+ metadata.gz: f4a2197005f621a42a740c97c74786452520528d80140a2d0543c936b7f4a3049f2102b7cc1f40d02d45be82de02644f8108cc7986cdb1540197fef1b4d1fe2e
7
+ data.tar.gz: 5b3fa05860447b92e668059a36248ea9b381d3495c1183bdf01826bd0e28352617ed89af99cd159c05cf69c5e8c5d8a614f62665624a73782cdcaa01855a7c13
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- songtradr_api_client_ruby (1.15.0)
4
+ songtradr_api_client_ruby (1.16.0)
5
5
  faraday (>= 1.0.1, < 3.0)
6
6
  faraday-multipart
7
7
 
@@ -9,11 +9,11 @@ GEM
9
9
  remote: https://rubygems.org/
10
10
  specs:
11
11
  ast (2.4.2)
12
- base64 (0.1.1)
12
+ base64 (0.2.0)
13
13
  byebug (11.1.3)
14
14
  coderay (1.1.3)
15
15
  diff-lcs (1.5.0)
16
- faraday (2.7.11)
16
+ faraday (2.7.12)
17
17
  base64
18
18
  faraday-net_http (>= 2.0, < 3.1)
19
19
  ruby2_keywords (>= 0.0.4)
@@ -35,7 +35,7 @@ GEM
35
35
  pry (>= 0.13, < 0.15)
36
36
  psych (5.1.1.1)
37
37
  stringio
38
- racc (1.7.1)
38
+ racc (1.7.3)
39
39
  rainbow (3.1.1)
40
40
  rake (13.0.6)
41
41
  rspec (3.12.0)
@@ -61,7 +61,7 @@ GEM
61
61
  unicode-display_width (>= 1.4.0, < 1.6)
62
62
  ruby-progressbar (1.13.0)
63
63
  ruby2_keywords (0.0.5)
64
- stringio (3.0.8)
64
+ stringio (3.1.0)
65
65
  unicode-display_width (1.5.0)
66
66
 
67
67
  PLATFORMS
data/README.md CHANGED
@@ -33,8 +33,8 @@ You can either search the released music via the /public/recording endpoints or
33
33
 
34
34
  This SDK is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project:
35
35
 
36
- - API version: 1.15.0
37
- - Package version: 1.15.0
36
+ - API version: 1.16.0
37
+ - Package version: 1.16.0
38
38
  - Build package: org.openapitools.codegen.languages.RubyClientCodegen
39
39
  For more information, please visit [https://songtradr.com](https://songtradr.com)
40
40
 
@@ -51,16 +51,16 @@ gem build songtradr_api_client_ruby.gemspec
51
51
  Then either install the gem locally:
52
52
 
53
53
  ```shell
54
- gem install ./songtradr_api_client_ruby-1.15.0.gem
54
+ gem install ./songtradr_api_client_ruby-1.16.0.gem
55
55
  ```
56
56
 
57
- (for development, run `gem install --dev ./songtradr_api_client_ruby-1.15.0.gem` to install the development dependencies)
57
+ (for development, run `gem install --dev ./songtradr_api_client_ruby-1.16.0.gem` to install the development dependencies)
58
58
 
59
59
  or publish the gem to a gem hosting service, e.g. [RubyGems](https://rubygems.org/).
60
60
 
61
61
  Finally add this to the Gemfile:
62
62
 
63
- gem 'songtradr_api_client_ruby', '~> 1.15.0'
63
+ gem 'songtradr_api_client_ruby', '~> 1.16.0'
64
64
 
65
65
  ### Install from Git
66
66
 
data/docs/FileSmallDTO.md CHANGED
@@ -9,6 +9,9 @@
9
9
  | **extension** | **String** | extension of the file | |
10
10
  | **error_message** | **String** | | [optional] |
11
11
  | **folder** | **String** | | |
12
+ | **object_key** | **String** | | |
13
+ | **upload_start_time** | **Time** | | [optional] |
14
+ | **upload_end_time** | **Time** | | [optional] |
12
15
  | **fingerprint_status** | **String** | status of the audio recognition | [optional] |
13
16
  | **fingerprint_start_time** | **Time** | | [optional] |
14
17
  | **fingerprint_end_time** | **Time** | | [optional] |
@@ -16,9 +19,6 @@
16
19
  | **inference_start_time** | **Time** | | [optional] |
17
20
  | **inference_end_time** | **Time** | | [optional] |
18
21
  | **error_time** | **Time** | | [optional] |
19
- | **object_key** | **String** | | |
20
- | **upload_start_time** | **Time** | | [optional] |
21
- | **upload_end_time** | **Time** | | [optional] |
22
22
 
23
23
  ## Example
24
24
 
@@ -31,16 +31,16 @@ instance = SongtradrApiClientRuby::FileSmallDTO.new(
31
31
  extension: null,
32
32
  error_message: null,
33
33
  folder: null,
34
+ object_key: null,
35
+ upload_start_time: null,
36
+ upload_end_time: null,
34
37
  fingerprint_status: null,
35
38
  fingerprint_start_time: null,
36
39
  fingerprint_end_time: null,
37
40
  inference_status: null,
38
41
  inference_start_time: null,
39
42
  inference_end_time: null,
40
- error_time: null,
41
- object_key: null,
42
- upload_start_time: null,
43
- upload_end_time: null
43
+ error_time: null
44
44
  )
45
45
  ```
46
46
 
@@ -6,6 +6,16 @@
6
6
  | ---- | ---- | ----------- | ----- |
7
7
  | **space** | **String** | Search for space | [optional] |
8
8
  | **arousal** | **String** | Search for an arousal | [optional] |
9
+ | **tempo** | **String** | Search for tempo | [optional] |
10
+ | **texture** | **String** | Search for texture | [optional] |
11
+ | **timbre** | **String** | Search for timbre | [optional] |
12
+ | **tonality** | **String** | Search for tonality | [optional] |
13
+ | **valence** | **String** | Search for a valence | [optional] |
14
+ | **vocals** | **String** | Search for a vocal gender or instrumental songs | [optional] |
15
+ | **origin_decade** | **String** | Search for origin decade | [optional] |
16
+ | **curateability** | **String** | Search for curatebility | [optional] |
17
+ | **use_case** | **String** | Search for use case | [optional] |
18
+ | **channel_suitability** | **String** | Search for social media suitability | [optional] |
9
19
  | **language_of_performance** | **String** | | [optional] |
10
20
  | **dominant_instrument** | **String** | Search for a dominant instrument | [optional] |
11
21
  | **energy** | **String** | Search for energy | [optional] |
@@ -18,17 +28,8 @@
18
28
  | **rhythm** | **String** | Search for rhythm | [optional] |
19
29
  | **roughness** | **String** | Search for roughness | [optional] |
20
30
  | **scale** | **String** | Search for a tonal scale | [optional] |
31
+ | **key** | **String** | Search for a harmonic key | [optional] |
21
32
  | **sound_generation** | **String** | Search for type of sound generation | [optional] |
22
- | **tempo** | **String** | Search for tempo | [optional] |
23
- | **texture** | **String** | Search for texture | [optional] |
24
- | **timbre** | **String** | Search for timbre | [optional] |
25
- | **tonality** | **String** | Search for tonality | [optional] |
26
- | **valence** | **String** | Search for a valence | [optional] |
27
- | **vocals** | **String** | Search for a vocal gender or instrumental songs | [optional] |
28
- | **origin_decade** | **String** | Search for origin decade | [optional] |
29
- | **curateability** | **String** | Search for curatebility | [optional] |
30
- | **use_case** | **String** | Search for use case | [optional] |
31
- | **channel_suitability** | **String** | Search for social media suitability | [optional] |
32
33
  | **primary_mood_cluster_affinity** | **Float** | | [optional] |
33
34
  | **secondary_mood_cluster** | **String** | Search for a language of the lyrics | [optional] |
34
35
  | **secondary_mood_cluster_affinity** | **Float** | | [optional] |
@@ -88,7 +89,6 @@
88
89
  | **space_affinity** | **Float** | | [optional] |
89
90
  | **key_affinity** | **Float** | | [optional] |
90
91
  | **channel_suitability_affinity** | **Float** | | [optional] |
91
- | **key** | **String** | Search for a harmonic key | [optional] |
92
92
 
93
93
  ## Example
94
94
 
@@ -98,6 +98,16 @@ require 'songtradr_api_client_ruby'
98
98
  instance = SongtradrApiClientRuby::MusicalFeaturesDTO.new(
99
99
  space: null,
100
100
  arousal: null,
101
+ tempo: null,
102
+ texture: null,
103
+ timbre: null,
104
+ tonality: null,
105
+ valence: null,
106
+ vocals: null,
107
+ origin_decade: null,
108
+ curateability: null,
109
+ use_case: null,
110
+ channel_suitability: null,
101
111
  language_of_performance: null,
102
112
  dominant_instrument: null,
103
113
  energy: null,
@@ -110,17 +120,8 @@ instance = SongtradrApiClientRuby::MusicalFeaturesDTO.new(
110
120
  rhythm: null,
111
121
  roughness: null,
112
122
  scale: null,
123
+ key: null,
113
124
  sound_generation: null,
114
- tempo: null,
115
- texture: null,
116
- timbre: null,
117
- tonality: null,
118
- valence: null,
119
- vocals: null,
120
- origin_decade: null,
121
- curateability: null,
122
- use_case: null,
123
- channel_suitability: null,
124
125
  primary_mood_cluster_affinity: null,
125
126
  secondary_mood_cluster: null,
126
127
  secondary_mood_cluster_affinity: null,
@@ -179,8 +180,7 @@ instance = SongtradrApiClientRuby::MusicalFeaturesDTO.new(
179
180
  groovyness_affinity: null,
180
181
  space_affinity: null,
181
182
  key_affinity: null,
182
- channel_suitability_affinity: null,
183
- key: null
183
+ channel_suitability_affinity: null
184
184
  )
185
185
  ```
186
186
 
data/docs/RecordingApi.md CHANGED
@@ -177,6 +177,7 @@ opts = {
177
177
  tag_name: 'energetic', # String | Show only taggrams for one tag.
178
178
  genre_name: 'Ska', # String | Show only taggrams for one genre.
179
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.
180
181
  fill_with_zero: true # Boolean | If set to true, empty timeseries are filled with timeseries of 0.0 values.
181
182
  }
182
183
 
@@ -216,6 +217,7 @@ end
216
217
  | **tag_name** | **String** | Show only taggrams for one tag. | [optional] |
217
218
  | **genre_name** | **String** | Show only taggrams for one genre. | [optional] |
218
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] |
219
221
  | **fill_with_zero** | **Boolean** | If set to true, empty timeseries are filled with timeseries of 0.0 values. | [optional] |
220
222
 
221
223
  ### Return type
@@ -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
 
@@ -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
 
data/docs/UserApi.md CHANGED
@@ -591,6 +591,7 @@ opts = {
591
591
  tag_name: 'energetic', # String | Show only taggrams for one tag.
592
592
  genre_name: 'Ska', # String | Show only taggrams for one genre.
593
593
  from_timestamp: 16.0, # Float | Show only taggrams data starting from from this timestamp in seconds.
594
+ to_timestamp: 32.0, # Float | Show only taggrams data before this timestamp in seconds.
594
595
  fill_with_zero: true, # Boolean | If set to true, empty timeseries are filled with timeseries of 0.0 values.
595
596
  page: 56, # Integer | Zero-based page index (0..N)
596
597
  size: 56, # Integer | The size of the page to be returned
@@ -633,6 +634,7 @@ end
633
634
  | **tag_name** | **String** | Show only taggrams for one tag. | [optional] |
634
635
  | **genre_name** | **String** | Show only taggrams for one genre. | [optional] |
635
636
  | **from_timestamp** | **Float** | Show only taggrams data starting from from this timestamp in seconds. | [optional] |
637
+ | **to_timestamp** | **Float** | Show only taggrams data before this timestamp in seconds. | [optional] |
636
638
  | **fill_with_zero** | **Boolean** | If set to true, empty timeseries are filled with timeseries of 0.0 values. | [optional] |
637
639
  | **page** | **Integer** | Zero-based page index (0..N) | [optional][default to 0] |
638
640
  | **size** | **Integer** | The size of the page to be returned | [optional][default to 20] |
@@ -777,6 +779,7 @@ opts = {
777
779
  sound_generation: 'acoustic', # String |
778
780
  tempo: 'very slow', # String |
779
781
  scale: 'major key', # String |
782
+ key: 'C', # String |
780
783
  rhythm: 'common time', # String |
781
784
  primary_sound_character: 'aggressive', # String |
782
785
  timbre: 'very warm', # String |
@@ -871,6 +874,7 @@ end
871
874
  | **sound_generation** | **String** | | [optional] |
872
875
  | **tempo** | **String** | | [optional] |
873
876
  | **scale** | **String** | | [optional] |
877
+ | **key** | **String** | | [optional] |
874
878
  | **rhythm** | **String** | | [optional] |
875
879
  | **primary_sound_character** | **String** | | [optional] |
876
880
  | **timbre** | **String** | | [optional] |
@@ -1234,6 +1238,7 @@ opts = {
1234
1238
  sound_generation: 'acoustic', # String |
1235
1239
  tempo: 'very slow', # String |
1236
1240
  scale: 'major key', # String |
1241
+ key: 'C', # String |
1237
1242
  rhythm: 'common time', # String |
1238
1243
  primary_sound_character: 'aggressive', # String |
1239
1244
  timbre: 'very warm', # String |
@@ -1327,6 +1332,7 @@ end
1327
1332
  | **sound_generation** | **String** | | [optional] |
1328
1333
  | **tempo** | **String** | | [optional] |
1329
1334
  | **scale** | **String** | | [optional] |
1335
+ | **key** | **String** | | [optional] |
1330
1336
  | **rhythm** | **String** | | [optional] |
1331
1337
  | **primary_sound_character** | **String** | | [optional] |
1332
1338
  | **timbre** | **String** | | [optional] |
@@ -1487,6 +1493,7 @@ opts = {
1487
1493
  sound_generation: 'acoustic', # String |
1488
1494
  tempo: 'very slow', # String |
1489
1495
  scale: 'major key', # String |
1496
+ key: 'C', # String |
1490
1497
  rhythm: 'common time', # String |
1491
1498
  primary_sound_character: 'aggressive', # String |
1492
1499
  timbre: 'very warm', # String |
@@ -1576,6 +1583,7 @@ end
1576
1583
  | **sound_generation** | **String** | | [optional] |
1577
1584
  | **tempo** | **String** | | [optional] |
1578
1585
  | **scale** | **String** | | [optional] |
1586
+ | **key** | **String** | | [optional] |
1579
1587
  | **rhythm** | **String** | | [optional] |
1580
1588
  | **primary_sound_character** | **String** | | [optional] |
1581
1589
  | **timbre** | **String** | | [optional] |
@@ -3,10 +3,10 @@
3
3
 
4
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
5
 
6
- The version of the OpenAPI document: 1.15.0
6
+ The version of the OpenAPI document: 1.16.0
7
7
  Contact: info@songtradr.com
8
8
  Generated by: https://openapi-generator.tech
9
- OpenAPI Generator version: 7.1.0-SNAPSHOT
9
+ OpenAPI Generator version: 7.2.0-SNAPSHOT
10
10
 
11
11
  =end
12
12
 
@@ -3,10 +3,10 @@
3
3
 
4
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
5
 
6
- The version of the OpenAPI document: 1.15.0
6
+ The version of the OpenAPI document: 1.16.0
7
7
  Contact: info@songtradr.com
8
8
  Generated by: https://openapi-generator.tech
9
- OpenAPI Generator version: 7.1.0-SNAPSHOT
9
+ OpenAPI Generator version: 7.2.0-SNAPSHOT
10
10
 
11
11
  =end
12
12
 
@@ -3,10 +3,10 @@
3
3
 
4
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
5
 
6
- The version of the OpenAPI document: 1.15.0
6
+ The version of the OpenAPI document: 1.16.0
7
7
  Contact: info@songtradr.com
8
8
  Generated by: https://openapi-generator.tech
9
- OpenAPI Generator version: 7.1.0-SNAPSHOT
9
+ OpenAPI Generator version: 7.2.0-SNAPSHOT
10
10
 
11
11
  =end
12
12
 
@@ -154,6 +154,7 @@ module SongtradrApiClientRuby
154
154
  # @option opts [String] :tag_name Show only taggrams for one tag.
155
155
  # @option opts [String] :genre_name Show only taggrams for one genre.
156
156
  # @option opts [Float] :from_timestamp Show only taggrams data starting from from this timestamp in seconds.
157
+ # @option opts [Float] :to_timestamp Show only taggrams data before this timestamp in seconds.
157
158
  # @option opts [Boolean] :fill_with_zero If set to true, empty timeseries are filled with timeseries of 0.0 values.
158
159
  # @return [Array<RecordingMinimalWithTaggramsDTO>]
159
160
  def recordings_by_ids_with_taggrams(ids, opts = {})
@@ -168,6 +169,7 @@ module SongtradrApiClientRuby
168
169
  # @option opts [String] :tag_name Show only taggrams for one tag.
169
170
  # @option opts [String] :genre_name Show only taggrams for one genre.
170
171
  # @option opts [Float] :from_timestamp Show only taggrams data starting from from this timestamp in seconds.
172
+ # @option opts [Float] :to_timestamp Show only taggrams data before this timestamp in seconds.
171
173
  # @option opts [Boolean] :fill_with_zero If set to true, empty timeseries are filled with timeseries of 0.0 values.
172
174
  # @return [Array<(Array<RecordingMinimalWithTaggramsDTO>, Integer, Hash)>] Array<RecordingMinimalWithTaggramsDTO> data, response status code and response headers
173
175
  def recordings_by_ids_with_taggrams_with_http_info(ids, opts = {})
@@ -191,6 +193,7 @@ module SongtradrApiClientRuby
191
193
  query_params[:'tagName'] = opts[:'tag_name'] if !opts[:'tag_name'].nil?
192
194
  query_params[:'genreName'] = opts[:'genre_name'] if !opts[:'genre_name'].nil?
193
195
  query_params[:'fromTimestamp'] = opts[:'from_timestamp'] if !opts[:'from_timestamp'].nil?
196
+ query_params[:'toTimestamp'] = opts[:'to_timestamp'] if !opts[:'to_timestamp'].nil?
194
197
  query_params[:'fillWithZero'] = opts[:'fill_with_zero'] if !opts[:'fill_with_zero'].nil?
195
198
 
196
199
  # header parameters
@@ -562,7 +565,7 @@ module SongtradrApiClientRuby
562
565
  if @api_client.config.client_side_validation && opts[:'curateability'] && !allowable_values.include?(opts[:'curateability'])
563
566
  fail ArgumentError, "invalid value for \"curateability\", must be one of #{allowable_values}"
564
567
  end
565
- allowable_values = ["background", "sport", "focus", "christmas", "film", "summer", "adverts", "party", "relax"]
568
+ allowable_values = ["background", "sport", "focus", "christmas", "film", "summer", "adverts", "party", "relax", "karaoke"]
566
569
  if @api_client.config.client_side_validation && opts[:'use_case'] && !allowable_values.include?(opts[:'use_case'])
567
570
  fail ArgumentError, "invalid value for \"use_case\", must be one of #{allowable_values}"
568
571
  end
@@ -3,10 +3,10 @@
3
3
 
4
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
5
 
6
- The version of the OpenAPI document: 1.15.0
6
+ The version of the OpenAPI document: 1.16.0
7
7
  Contact: info@songtradr.com
8
8
  Generated by: https://openapi-generator.tech
9
- OpenAPI Generator version: 7.1.0-SNAPSHOT
9
+ OpenAPI Generator version: 7.2.0-SNAPSHOT
10
10
 
11
11
  =end
12
12
 
@@ -551,6 +551,7 @@ module SongtradrApiClientRuby
551
551
  # @option opts [String] :tag_name Show only taggrams for one tag.
552
552
  # @option opts [String] :genre_name Show only taggrams for one genre.
553
553
  # @option opts [Float] :from_timestamp Show only taggrams data starting from from this timestamp in seconds.
554
+ # @option opts [Float] :to_timestamp Show only taggrams data before this timestamp in seconds.
554
555
  # @option opts [Boolean] :fill_with_zero If set to true, empty timeseries are filled with timeseries of 0.0 values.
555
556
  # @option opts [Integer] :page Zero-based page index (0..N) (default to 0)
556
557
  # @option opts [Integer] :size The size of the page to be returned (default to 20)
@@ -568,6 +569,7 @@ module SongtradrApiClientRuby
568
569
  # @option opts [String] :tag_name Show only taggrams for one tag.
569
570
  # @option opts [String] :genre_name Show only taggrams for one genre.
570
571
  # @option opts [Float] :from_timestamp Show only taggrams data starting from from this timestamp in seconds.
572
+ # @option opts [Float] :to_timestamp Show only taggrams data before this timestamp in seconds.
571
573
  # @option opts [Boolean] :fill_with_zero If set to true, empty timeseries are filled with timeseries of 0.0 values.
572
574
  # @option opts [Integer] :page Zero-based page index (0..N) (default to 0)
573
575
  # @option opts [Integer] :size The size of the page to be returned (default to 20)
@@ -594,6 +596,7 @@ module SongtradrApiClientRuby
594
596
  query_params[:'tagName'] = opts[:'tag_name'] if !opts[:'tag_name'].nil?
595
597
  query_params[:'genreName'] = opts[:'genre_name'] if !opts[:'genre_name'].nil?
596
598
  query_params[:'fromTimestamp'] = opts[:'from_timestamp'] if !opts[:'from_timestamp'].nil?
599
+ query_params[:'toTimestamp'] = opts[:'to_timestamp'] if !opts[:'to_timestamp'].nil?
597
600
  query_params[:'fillWithZero'] = opts[:'fill_with_zero'] if !opts[:'fill_with_zero'].nil?
598
601
  query_params[:'page'] = opts[:'page'] if !opts[:'page'].nil?
599
602
  query_params[:'size'] = opts[:'size'] if !opts[:'size'].nil?
@@ -743,6 +746,7 @@ module SongtradrApiClientRuby
743
746
  # @option opts [String] :sound_generation
744
747
  # @option opts [String] :tempo
745
748
  # @option opts [String] :scale
749
+ # @option opts [String] :key
746
750
  # @option opts [String] :rhythm
747
751
  # @option opts [String] :primary_sound_character
748
752
  # @option opts [String] :timbre
@@ -812,6 +816,7 @@ module SongtradrApiClientRuby
812
816
  # @option opts [String] :sound_generation
813
817
  # @option opts [String] :tempo
814
818
  # @option opts [String] :scale
819
+ # @option opts [String] :key
815
820
  # @option opts [String] :rhythm
816
821
  # @option opts [String] :primary_sound_character
817
822
  # @option opts [String] :timbre
@@ -917,6 +922,10 @@ module SongtradrApiClientRuby
917
922
  if @api_client.config.client_side_validation && opts[:'scale'] && !allowable_values.include?(opts[:'scale'])
918
923
  fail ArgumentError, "invalid value for \"scale\", must be one of #{allowable_values}"
919
924
  end
925
+ allowable_values = ["C", "C#", "D", "D#", "E", "F", "F#", "G", "G#", "A", "A#", "B", "unclear"]
926
+ if @api_client.config.client_side_validation && opts[:'key'] && !allowable_values.include?(opts[:'key'])
927
+ fail ArgumentError, "invalid value for \"key\", must be one of #{allowable_values}"
928
+ end
920
929
  allowable_values = ["common time", "triple meter", "complex time signature", "binary rhythm", "ternary rhythm"]
921
930
  if @api_client.config.client_side_validation && opts[:'rhythm'] && !allowable_values.include?(opts[:'rhythm'])
922
931
  fail ArgumentError, "invalid value for \"rhythm\", must be one of #{allowable_values}"
@@ -985,7 +994,7 @@ module SongtradrApiClientRuby
985
994
  if @api_client.config.client_side_validation && opts[:'curateability'] && !allowable_values.include?(opts[:'curateability'])
986
995
  fail ArgumentError, "invalid value for \"curateability\", must be one of #{allowable_values}"
987
996
  end
988
- allowable_values = ["background", "sport", "focus", "christmas", "film", "summer", "adverts", "party", "relax"]
997
+ allowable_values = ["background", "sport", "focus", "christmas", "film", "summer", "adverts", "party", "relax", "karaoke"]
989
998
  if @api_client.config.client_side_validation && opts[:'use_case'] && !allowable_values.include?(opts[:'use_case'])
990
999
  fail ArgumentError, "invalid value for \"use_case\", must be one of #{allowable_values}"
991
1000
  end
@@ -1031,6 +1040,7 @@ module SongtradrApiClientRuby
1031
1040
  query_params[:'soundGeneration'] = opts[:'sound_generation'] if !opts[:'sound_generation'].nil?
1032
1041
  query_params[:'tempo'] = opts[:'tempo'] if !opts[:'tempo'].nil?
1033
1042
  query_params[:'scale'] = opts[:'scale'] if !opts[:'scale'].nil?
1043
+ query_params[:'key'] = opts[:'key'] if !opts[:'key'].nil?
1034
1044
  query_params[:'rhythm'] = opts[:'rhythm'] if !opts[:'rhythm'].nil?
1035
1045
  query_params[:'primarySoundCharacter'] = opts[:'primary_sound_character'] if !opts[:'primary_sound_character'].nil?
1036
1046
  query_params[:'timbre'] = opts[:'timbre'] if !opts[:'timbre'].nil?
@@ -1388,6 +1398,7 @@ module SongtradrApiClientRuby
1388
1398
  # @option opts [String] :sound_generation
1389
1399
  # @option opts [String] :tempo
1390
1400
  # @option opts [String] :scale
1401
+ # @option opts [String] :key
1391
1402
  # @option opts [String] :rhythm
1392
1403
  # @option opts [String] :primary_sound_character
1393
1404
  # @option opts [String] :timbre
@@ -1456,6 +1467,7 @@ module SongtradrApiClientRuby
1456
1467
  # @option opts [String] :sound_generation
1457
1468
  # @option opts [String] :tempo
1458
1469
  # @option opts [String] :scale
1470
+ # @option opts [String] :key
1459
1471
  # @option opts [String] :rhythm
1460
1472
  # @option opts [String] :primary_sound_character
1461
1473
  # @option opts [String] :timbre
@@ -1560,6 +1572,10 @@ module SongtradrApiClientRuby
1560
1572
  if @api_client.config.client_side_validation && opts[:'scale'] && !allowable_values.include?(opts[:'scale'])
1561
1573
  fail ArgumentError, "invalid value for \"scale\", must be one of #{allowable_values}"
1562
1574
  end
1575
+ allowable_values = ["C", "C#", "D", "D#", "E", "F", "F#", "G", "G#", "A", "A#", "B", "unclear"]
1576
+ if @api_client.config.client_side_validation && opts[:'key'] && !allowable_values.include?(opts[:'key'])
1577
+ fail ArgumentError, "invalid value for \"key\", must be one of #{allowable_values}"
1578
+ end
1563
1579
  allowable_values = ["common time", "triple meter", "complex time signature", "binary rhythm", "ternary rhythm"]
1564
1580
  if @api_client.config.client_side_validation && opts[:'rhythm'] && !allowable_values.include?(opts[:'rhythm'])
1565
1581
  fail ArgumentError, "invalid value for \"rhythm\", must be one of #{allowable_values}"
@@ -1628,7 +1644,7 @@ module SongtradrApiClientRuby
1628
1644
  if @api_client.config.client_side_validation && opts[:'curateability'] && !allowable_values.include?(opts[:'curateability'])
1629
1645
  fail ArgumentError, "invalid value for \"curateability\", must be one of #{allowable_values}"
1630
1646
  end
1631
- allowable_values = ["background", "sport", "focus", "christmas", "film", "summer", "adverts", "party", "relax"]
1647
+ allowable_values = ["background", "sport", "focus", "christmas", "film", "summer", "adverts", "party", "relax", "karaoke"]
1632
1648
  if @api_client.config.client_side_validation && opts[:'use_case'] && !allowable_values.include?(opts[:'use_case'])
1633
1649
  fail ArgumentError, "invalid value for \"use_case\", must be one of #{allowable_values}"
1634
1650
  end
@@ -1674,6 +1690,7 @@ module SongtradrApiClientRuby
1674
1690
  query_params[:'soundGeneration'] = opts[:'sound_generation'] if !opts[:'sound_generation'].nil?
1675
1691
  query_params[:'tempo'] = opts[:'tempo'] if !opts[:'tempo'].nil?
1676
1692
  query_params[:'scale'] = opts[:'scale'] if !opts[:'scale'].nil?
1693
+ query_params[:'key'] = opts[:'key'] if !opts[:'key'].nil?
1677
1694
  query_params[:'rhythm'] = opts[:'rhythm'] if !opts[:'rhythm'].nil?
1678
1695
  query_params[:'primarySoundCharacter'] = opts[:'primary_sound_character'] if !opts[:'primary_sound_character'].nil?
1679
1696
  query_params[:'timbre'] = opts[:'timbre'] if !opts[:'timbre'].nil?
@@ -1832,6 +1849,7 @@ module SongtradrApiClientRuby
1832
1849
  # @option opts [String] :sound_generation
1833
1850
  # @option opts [String] :tempo
1834
1851
  # @option opts [String] :scale
1852
+ # @option opts [String] :key
1835
1853
  # @option opts [String] :rhythm
1836
1854
  # @option opts [String] :primary_sound_character
1837
1855
  # @option opts [String] :timbre
@@ -1896,6 +1914,7 @@ module SongtradrApiClientRuby
1896
1914
  # @option opts [String] :sound_generation
1897
1915
  # @option opts [String] :tempo
1898
1916
  # @option opts [String] :scale
1917
+ # @option opts [String] :key
1899
1918
  # @option opts [String] :rhythm
1900
1919
  # @option opts [String] :primary_sound_character
1901
1920
  # @option opts [String] :timbre
@@ -1997,6 +2016,10 @@ module SongtradrApiClientRuby
1997
2016
  if @api_client.config.client_side_validation && opts[:'scale'] && !allowable_values.include?(opts[:'scale'])
1998
2017
  fail ArgumentError, "invalid value for \"scale\", must be one of #{allowable_values}"
1999
2018
  end
2019
+ allowable_values = ["C", "C#", "D", "D#", "E", "F", "F#", "G", "G#", "A", "A#", "B", "unclear"]
2020
+ if @api_client.config.client_side_validation && opts[:'key'] && !allowable_values.include?(opts[:'key'])
2021
+ fail ArgumentError, "invalid value for \"key\", must be one of #{allowable_values}"
2022
+ end
2000
2023
  allowable_values = ["common time", "triple meter", "complex time signature", "binary rhythm", "ternary rhythm"]
2001
2024
  if @api_client.config.client_side_validation && opts[:'rhythm'] && !allowable_values.include?(opts[:'rhythm'])
2002
2025
  fail ArgumentError, "invalid value for \"rhythm\", must be one of #{allowable_values}"
@@ -2065,7 +2088,7 @@ module SongtradrApiClientRuby
2065
2088
  if @api_client.config.client_side_validation && opts[:'curateability'] && !allowable_values.include?(opts[:'curateability'])
2066
2089
  fail ArgumentError, "invalid value for \"curateability\", must be one of #{allowable_values}"
2067
2090
  end
2068
- allowable_values = ["background", "sport", "focus", "christmas", "film", "summer", "adverts", "party", "relax"]
2091
+ allowable_values = ["background", "sport", "focus", "christmas", "film", "summer", "adverts", "party", "relax", "karaoke"]
2069
2092
  if @api_client.config.client_side_validation && opts[:'use_case'] && !allowable_values.include?(opts[:'use_case'])
2070
2093
  fail ArgumentError, "invalid value for \"use_case\", must be one of #{allowable_values}"
2071
2094
  end
@@ -2102,6 +2125,7 @@ module SongtradrApiClientRuby
2102
2125
  query_params[:'soundGeneration'] = opts[:'sound_generation'] if !opts[:'sound_generation'].nil?
2103
2126
  query_params[:'tempo'] = opts[:'tempo'] if !opts[:'tempo'].nil?
2104
2127
  query_params[:'scale'] = opts[:'scale'] if !opts[:'scale'].nil?
2128
+ query_params[:'key'] = opts[:'key'] if !opts[:'key'].nil?
2105
2129
  query_params[:'rhythm'] = opts[:'rhythm'] if !opts[:'rhythm'].nil?
2106
2130
  query_params[:'primarySoundCharacter'] = opts[:'primary_sound_character'] if !opts[:'primary_sound_character'].nil?
2107
2131
  query_params[:'timbre'] = opts[:'timbre'] if !opts[:'timbre'].nil?
@@ -3,10 +3,10 @@
3
3
 
4
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
5
 
6
- The version of the OpenAPI document: 1.15.0
6
+ The version of the OpenAPI document: 1.16.0
7
7
  Contact: info@songtradr.com
8
8
  Generated by: https://openapi-generator.tech
9
- OpenAPI Generator version: 7.1.0-SNAPSHOT
9
+ OpenAPI Generator version: 7.2.0-SNAPSHOT
10
10
 
11
11
  =end
12
12
 
@@ -3,10 +3,10 @@
3
3
 
4
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
5
 
6
- The version of the OpenAPI document: 1.15.0
6
+ The version of the OpenAPI document: 1.16.0
7
7
  Contact: info@songtradr.com
8
8
  Generated by: https://openapi-generator.tech
9
- OpenAPI Generator version: 7.1.0-SNAPSHOT
9
+ OpenAPI Generator version: 7.2.0-SNAPSHOT
10
10
 
11
11
  =end
12
12
 
@@ -3,10 +3,10 @@
3
3
 
4
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
5
 
6
- The version of the OpenAPI document: 1.15.0
6
+ The version of the OpenAPI document: 1.16.0
7
7
  Contact: info@songtradr.com
8
8
  Generated by: https://openapi-generator.tech
9
- OpenAPI Generator version: 7.1.0-SNAPSHOT
9
+ OpenAPI Generator version: 7.2.0-SNAPSHOT
10
10
 
11
11
  =end
12
12