songtradr_api_client_ruby 1.18.0 → 2.0.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (123) hide show
  1. checksums.yaml +4 -4
  2. data/Gemfile.lock +2 -2
  3. data/README.md +5 -7
  4. data/docs/CategoryMediumDTO.md +3 -3
  5. data/docs/FileSmallDTO.md +2 -2
  6. data/docs/MusicalFeaturesDTO.md +37 -37
  7. data/docs/RecordingApi.md +0 -68
  8. data/docs/RecordingMediumDTO.md +2 -2
  9. data/docs/RecordingMinimalWithMusicalFeaturesDTO.md +3 -3
  10. data/docs/RecordingPartyDTO.md +3 -3
  11. data/docs/RecordingSmallDTO.md +2 -2
  12. data/lib/songtradr_api_client_ruby/api/allowed_values_api.rb +1 -1
  13. data/lib/songtradr_api_client_ruby/api/recording_api.rb +1 -67
  14. data/lib/songtradr_api_client_ruby/api/user_api.rb +1 -1
  15. data/lib/songtradr_api_client_ruby/api_client.rb +1 -1
  16. data/lib/songtradr_api_client_ruby/api_error.rb +1 -1
  17. data/lib/songtradr_api_client_ruby/configuration.rb +1 -1
  18. data/lib/songtradr_api_client_ruby/models/category_medium_dto.rb +16 -16
  19. data/lib/songtradr_api_client_ruby/models/category_minimal_dto.rb +1 -1
  20. data/lib/songtradr_api_client_ruby/models/config_access_dto.rb +1 -1
  21. data/lib/songtradr_api_client_ruby/models/config_identifier_dto.rb +1 -1
  22. data/lib/songtradr_api_client_ruby/models/contributor_type_dto.rb +1 -1
  23. data/lib/songtradr_api_client_ruby/models/error_response.rb +1 -1
  24. data/lib/songtradr_api_client_ruby/models/field_summary_dto.rb +1 -1
  25. data/lib/songtradr_api_client_ruby/models/file_dto.rb +1 -1
  26. data/lib/songtradr_api_client_ruby/models/file_list_dto.rb +1 -1
  27. data/lib/songtradr_api_client_ruby/models/file_small_dto.rb +13 -13
  28. data/lib/songtradr_api_client_ruby/models/file_upload_dto.rb +1 -1
  29. data/lib/songtradr_api_client_ruby/models/file_w_ith_url_dto.rb +1 -1
  30. data/lib/songtradr_api_client_ruby/models/files_summary_dto.rb +1 -1
  31. data/lib/songtradr_api_client_ruby/models/forgot_password_dto.rb +1 -1
  32. data/lib/songtradr_api_client_ruby/models/genre_dto.rb +1 -1
  33. data/lib/songtradr_api_client_ruby/models/genre_minimal_dto.rb +1 -1
  34. data/lib/songtradr_api_client_ruby/models/genres_summary_dto.rb +1 -1
  35. data/lib/songtradr_api_client_ruby/models/image_recognition_response.rb +1 -1
  36. data/lib/songtradr_api_client_ruby/models/init_put_recording_audio_dto.rb +1 -1
  37. data/lib/songtradr_api_client_ruby/models/jwt_token_dto.rb +1 -1
  38. data/lib/songtradr_api_client_ruby/models/login_dto.rb +1 -1
  39. data/lib/songtradr_api_client_ruby/models/musical_features_dto.rb +179 -179
  40. data/lib/songtradr_api_client_ruby/models/party_small_dto.rb +1 -1
  41. data/lib/songtradr_api_client_ruby/models/recording_for_similarity_search_dto.rb +1 -1
  42. data/lib/songtradr_api_client_ruby/models/recording_genre_prediction_dto.rb +1 -1
  43. data/lib/songtradr_api_client_ruby/models/recording_list_dto.rb +1 -1
  44. data/lib/songtradr_api_client_ruby/models/recording_medium_dto.rb +13 -13
  45. data/lib/songtradr_api_client_ruby/models/recording_minimal_with_musical_features_dto.rb +16 -16
  46. data/lib/songtradr_api_client_ruby/models/recording_minimal_with_taggrams_dto.rb +1 -1
  47. data/lib/songtradr_api_client_ruby/models/recording_minimal_with_tagstrengths_dto.rb +1 -1
  48. data/lib/songtradr_api_client_ruby/models/recording_party_dto.rb +16 -16
  49. data/lib/songtradr_api_client_ruby/models/recording_small_dto.rb +13 -13
  50. data/lib/songtradr_api_client_ruby/models/recording_tag_small_dto.rb +1 -1
  51. data/lib/songtradr_api_client_ruby/models/save_user_dto.rb +1 -1
  52. data/lib/songtradr_api_client_ruby/models/search_filter_values_dto.rb +1 -1
  53. data/lib/songtradr_api_client_ruby/models/sign_up_dto.rb +1 -1
  54. data/lib/songtradr_api_client_ruby/models/tag_dto.rb +1 -1
  55. data/lib/songtradr_api_client_ruby/models/tag_small_dto.rb +1 -1
  56. data/lib/songtradr_api_client_ruby/models/taggram_dto.rb +1 -1
  57. data/lib/songtradr_api_client_ruby/models/tags_summary_dto.rb +1 -1
  58. data/lib/songtradr_api_client_ruby/models/tagstrength_dto.rb +1 -1
  59. data/lib/songtradr_api_client_ruby/models/title_dto.rb +1 -1
  60. data/lib/songtradr_api_client_ruby/models/token_request.rb +1 -1
  61. data/lib/songtradr_api_client_ruby/models/track_dto.rb +1 -1
  62. data/lib/songtradr_api_client_ruby/models/update_password_dto.rb +1 -1
  63. data/lib/songtradr_api_client_ruby/models/user_dto.rb +1 -1
  64. data/lib/songtradr_api_client_ruby/models/video_recognition_response.rb +1 -1
  65. data/lib/songtradr_api_client_ruby/version.rb +2 -2
  66. data/lib/songtradr_api_client_ruby.rb +1 -2
  67. data/openapi-generator-config.yaml +1 -1
  68. data/songtradr_api_client_ruby.gemspec +1 -1
  69. data/spec/api/allowed_values_api_spec.rb +1 -1
  70. data/spec/api/recording_api_spec.rb +1 -12
  71. data/spec/api/user_api_spec.rb +1 -1
  72. data/spec/models/category_medium_dto_spec.rb +3 -3
  73. data/spec/models/category_minimal_dto_spec.rb +1 -1
  74. data/spec/models/config_access_dto_spec.rb +1 -1
  75. data/spec/models/config_identifier_dto_spec.rb +1 -1
  76. data/spec/models/contributor_type_dto_spec.rb +1 -1
  77. data/spec/models/error_response_spec.rb +1 -1
  78. data/spec/models/field_summary_dto_spec.rb +1 -1
  79. data/spec/models/file_dto_spec.rb +1 -1
  80. data/spec/models/file_list_dto_spec.rb +1 -1
  81. data/spec/models/file_small_dto_spec.rb +9 -9
  82. data/spec/models/file_upload_dto_spec.rb +1 -1
  83. data/spec/models/file_w_ith_url_dto_spec.rb +1 -1
  84. data/spec/models/files_summary_dto_spec.rb +1 -1
  85. data/spec/models/forgot_password_dto_spec.rb +1 -1
  86. data/spec/models/genre_dto_spec.rb +1 -1
  87. data/spec/models/genre_minimal_dto_spec.rb +1 -1
  88. data/spec/models/genres_summary_dto_spec.rb +1 -1
  89. data/spec/models/image_recognition_response_spec.rb +1 -1
  90. data/spec/models/init_put_recording_audio_dto_spec.rb +1 -1
  91. data/spec/models/jwt_token_dto_spec.rb +1 -1
  92. data/spec/models/login_dto_spec.rb +1 -1
  93. data/spec/models/musical_features_dto_spec.rb +109 -109
  94. data/spec/models/party_small_dto_spec.rb +1 -1
  95. data/spec/models/recording_for_similarity_search_dto_spec.rb +1 -1
  96. data/spec/models/recording_genre_prediction_dto_spec.rb +1 -1
  97. data/spec/models/recording_list_dto_spec.rb +1 -1
  98. data/spec/models/recording_medium_dto_spec.rb +7 -7
  99. data/spec/models/recording_minimal_with_musical_features_dto_spec.rb +3 -3
  100. data/spec/models/recording_minimal_with_taggrams_dto_spec.rb +1 -1
  101. data/spec/models/recording_minimal_with_tagstrengths_dto_spec.rb +1 -1
  102. data/spec/models/recording_party_dto_spec.rb +3 -3
  103. data/spec/models/recording_small_dto_spec.rb +4 -4
  104. data/spec/models/recording_tag_small_dto_spec.rb +1 -1
  105. data/spec/models/save_user_dto_spec.rb +1 -1
  106. data/spec/models/search_filter_values_dto_spec.rb +1 -1
  107. data/spec/models/sign_up_dto_spec.rb +1 -1
  108. data/spec/models/tag_dto_spec.rb +1 -1
  109. data/spec/models/tag_small_dto_spec.rb +1 -1
  110. data/spec/models/taggram_dto_spec.rb +1 -1
  111. data/spec/models/tags_summary_dto_spec.rb +1 -1
  112. data/spec/models/tagstrength_dto_spec.rb +1 -1
  113. data/spec/models/title_dto_spec.rb +1 -1
  114. data/spec/models/token_request_spec.rb +1 -1
  115. data/spec/models/track_dto_spec.rb +1 -1
  116. data/spec/models/update_password_dto_spec.rb +1 -1
  117. data/spec/models/user_dto_spec.rb +1 -1
  118. data/spec/models/video_recognition_response_spec.rb +1 -1
  119. data/spec/spec_helper.rb +1 -1
  120. metadata +2 -6
  121. data/docs/SearchRecordingGranularDTO.md +0 -20
  122. data/lib/songtradr_api_client_ruby/models/search_recording_granular_dto.rb +0 -232
  123. data/spec/models/search_recording_granular_dto_spec.rb +0 -42
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 51ee6271c8b5db9f7941e4b057b6caed6d0514ac530a5a797afc5a08715fded6
4
- data.tar.gz: 68044e684b4de9d682bca1eb57ad4aaab118f04318bb46fe0906f35e7e9fc766
3
+ metadata.gz: 0fc64097c42737defa71590310fe6a1c3e4f80109e6c691537ce516333287175
4
+ data.tar.gz: 9d76335a206fe47a3625e6f3b004bce4af9de09c627cc465eeb3feed2fe68071
5
5
  SHA512:
6
- metadata.gz: 7a11c2193ddb4599190909ee94c4bf0f1583bd7098b49b22252adda7553ec13f22f34314be0441412e4993073800ce0e075f2dea281f014c9d00cf7e19346e43
7
- data.tar.gz: c375c42065a08bdc37b785a81cfd577d5b23f0b9670259e0df2ecf7e1641229dce2679e241aa409aa39351e8ce6e7eec9e5fa78a58fc6342fcf62857570f466b
6
+ metadata.gz: 56aa2d5e2ca85b7fd68a67bbbd7dd124845fcac1643a8a1ddd8c0a4998f666168173177bb347176c9a719322319816d685dcd24d952bd32e727ad6409bbd5b91
7
+ data.tar.gz: 42f0b87da11d80bc35493b07cf381f78912ac954fc9b2a3a170b262d93a5d06ef75543c9e419e64ebec24777ff56f2d28081f98652b26e342a4d884cd2f0ca61
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- songtradr_api_client_ruby (1.18.0)
4
+ songtradr_api_client_ruby (2.0.0)
5
5
  faraday (>= 1.0.1, < 3.0)
6
6
  faraday-multipart
7
7
  ruby-filemagic
@@ -51,7 +51,7 @@ GEM
51
51
  rspec-mocks (3.13.0)
52
52
  diff-lcs (>= 1.2.0, < 2.0)
53
53
  rspec-support (~> 3.13.0)
54
- rspec-support (3.13.0)
54
+ rspec-support (3.13.1)
55
55
  rubocop (0.66.0)
56
56
  jaro_winkler (~> 1.5.1)
57
57
  parallel (~> 1.10)
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.18.0
37
- - Package version: 1.18.0
36
+ - API version: 2.0.0
37
+ - Package version: 2.0.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.18.0.gem
54
+ gem install ./songtradr_api_client_ruby-2.0.0.gem
55
55
  ```
56
56
 
57
- (for development, run `gem install --dev ./songtradr_api_client_ruby-1.18.0.gem` to install the development dependencies)
57
+ (for development, run `gem install --dev ./songtradr_api_client_ruby-2.0.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.18.0'
63
+ gem 'songtradr_api_client_ruby', '~> 2.0.0'
64
64
 
65
65
  ### Install from Git
66
66
 
@@ -115,7 +115,6 @@ Class | Method | HTTP request | Description
115
115
  *SongtradrApiClientRuby::RecordingApi* | [**recordings_by_ids_with_tagstrengths**](docs/RecordingApi.md#recordings_by_ids_with_tagstrengths) | **GET** /api/v1/public/recording/{ids}/tagstrengths | Strengths as numerical representations for AI generated moods, musical features and more for recordings.
116
116
  *SongtradrApiClientRuby::RecordingApi* | [**recordings_medium_by_ids**](docs/RecordingApi.md#recordings_medium_by_ids) | **GET** /api/v1/public/recording/m/{ids} | Recordings by IDs with a medium sized response.
117
117
  *SongtradrApiClientRuby::RecordingApi* | [**search_recordings**](docs/RecordingApi.md#search_recordings) | **GET** /api/v1/public/recording/search | Recordings by contributors, moods, musical features and more.
118
- *SongtradrApiClientRuby::RecordingApi* | [**search_recordings_granular**](docs/RecordingApi.md#search_recordings_granular) | **POST** /api/v1/public/recording/searchGranular | Recordings by granular search options.
119
118
  *SongtradrApiClientRuby::UserApi* | [**delete_user_file**](docs/UserApi.md#delete_user_file) | **DELETE** /api/v1/user/file/{objectKey} | Delete file.
120
119
  *SongtradrApiClientRuby::UserApi* | [**edit_me**](docs/UserApi.md#edit_me) | **POST** /api/v1/user/me | Edit details for a logged-in user
121
120
  *SongtradrApiClientRuby::UserApi* | [**forgot_password**](docs/UserApi.md#forgot_password) | **POST** /api/v1/user/forgot-password | Send a password reset email
@@ -173,7 +172,6 @@ Class | Method | HTTP request | Description
173
172
  - [SongtradrApiClientRuby::RecordingTagSmallDTO](docs/RecordingTagSmallDTO.md)
174
173
  - [SongtradrApiClientRuby::SaveUserDTO](docs/SaveUserDTO.md)
175
174
  - [SongtradrApiClientRuby::SearchFilterValuesDTO](docs/SearchFilterValuesDTO.md)
176
- - [SongtradrApiClientRuby::SearchRecordingGranularDTO](docs/SearchRecordingGranularDTO.md)
177
175
  - [SongtradrApiClientRuby::SignUpDTO](docs/SignUpDTO.md)
178
176
  - [SongtradrApiClientRuby::TagDTO](docs/TagDTO.md)
179
177
  - [SongtradrApiClientRuby::TagSmallDTO](docs/TagSmallDTO.md)
@@ -5,8 +5,8 @@
5
5
  | Name | Type | Description | Notes |
6
6
  | ---- | ---- | ----------- | ----- |
7
7
  | **id** | **Integer** | | |
8
- | **tags** | [**Array&lt;TagSmallDTO&gt;**](TagSmallDTO.md) | | [optional] |
9
8
  | **name** | **String** | | |
9
+ | **tags** | [**Array&lt;TagSmallDTO&gt;**](TagSmallDTO.md) | | [optional] |
10
10
 
11
11
  ## Example
12
12
 
@@ -15,8 +15,8 @@ require 'songtradr_api_client_ruby'
15
15
 
16
16
  instance = SongtradrApiClientRuby::CategoryMediumDTO.new(
17
17
  id: null,
18
- tags: null,
19
- name: null
18
+ name: null,
19
+ tags: null
20
20
  )
21
21
  ```
22
22
 
data/docs/FileSmallDTO.md CHANGED
@@ -9,10 +9,10 @@
9
9
  | **extension** | **String** | extension of the file | |
10
10
  | **error_message** | **String** | | [optional] |
11
11
  | **folder** | **String** | | |
12
+ | **fingerprint_status** | **String** | status of the audio recognition | [optional] |
12
13
  | **object_key** | **String** | | |
13
14
  | **upload_start_time** | **Time** | | [optional] |
14
15
  | **upload_end_time** | **Time** | | [optional] |
15
- | **fingerprint_status** | **String** | status of the audio recognition | [optional] |
16
16
  | **fingerprint_start_time** | **Time** | | [optional] |
17
17
  | **fingerprint_end_time** | **Time** | | [optional] |
18
18
  | **inference_status** | **String** | status of the auto-tagging | [optional] |
@@ -31,10 +31,10 @@ instance = SongtradrApiClientRuby::FileSmallDTO.new(
31
31
  extension: null,
32
32
  error_message: null,
33
33
  folder: null,
34
+ fingerprint_status: null,
34
35
  object_key: null,
35
36
  upload_start_time: null,
36
37
  upload_end_time: null,
37
- fingerprint_status: null,
38
38
  fingerprint_start_time: null,
39
39
  fingerprint_end_time: null,
40
40
  inference_status: null,
@@ -5,8 +5,24 @@
5
5
  | Name | Type | Description | Notes |
6
6
  | ---- | ---- | ----------- | ----- |
7
7
  | **space** | **String** | Search for space | [optional] |
8
- | **language_of_performance** | **String** | | [optional] |
9
8
  | **arousal** | **String** | Search for an arousal | [optional] |
9
+ | **valence_affinity** | **Float** | | [optional] |
10
+ | **arousal_affinity** | **Float** | | [optional] |
11
+ | **pleasantness_affinity** | **Float** | | [optional] |
12
+ | **engagement_affinity** | **Float** | | [optional] |
13
+ | **energy_affinity** | **Float** | | [optional] |
14
+ | **tempo_affinity** | **Float** | | [optional] |
15
+ | **scale_affinity** | **Float** | | [optional] |
16
+ | **timbre_affinity** | **Float** | | [optional] |
17
+ | **roughness_affinity** | **Float** | | [optional] |
18
+ | **harmony_affinity** | **Float** | | [optional] |
19
+ | **texture_affinity** | **Float** | | [optional] |
20
+ | **groovyness_affinity** | **Float** | | [optional] |
21
+ | **space_affinity** | **Float** | | [optional] |
22
+ | **loudness_affinity** | **Float** | | [optional] |
23
+ | **key_affinity** | **Float** | | [optional] |
24
+ | **channel_suitability_affinity** | **Float** | | [optional] |
25
+ | **language_of_performance** | **String** | | [optional] |
10
26
  | **dominant_instrument** | **String** | Search for a dominant instrument | [optional] |
11
27
  | **energy** | **String** | Search for energy | [optional] |
12
28
  | **engagement** | **String** | Search for an engagement | [optional] |
@@ -31,6 +47,7 @@
31
47
  | **use_case** | **String** | Search for use case | [optional] |
32
48
  | **channel_suitability** | **String** | Search for social media suitability | [optional] |
33
49
  | **loudness** | **String** | Search for loudness | [optional] |
50
+ | **primary_mood_cluster_affinity** | **Float** | | [optional] |
34
51
  | **secondary_mood_cluster** | **String** | Search for a language of the lyrics | [optional] |
35
52
  | **secondary_mood_cluster_affinity** | **Float** | | [optional] |
36
53
  | **tertiary_mood_cluster** | **String** | Search for a language of the lyrics | [optional] |
@@ -52,7 +69,6 @@
52
69
  | **performance_rating_affinity** | **Float** | | [optional] |
53
70
  | **song_rating** | **String** | | [optional] |
54
71
  | **song_rating_affinity** | **Float** | | [optional] |
55
- | **primary_mood_cluster_affinity** | **Float** | | [optional] |
56
72
  | **audience_age** | **String** | | [optional] |
57
73
  | **audience_age_affinity** | **Float** | | [optional] |
58
74
  | **secondary_audience_age** | **String** | | [optional] |
@@ -75,22 +91,6 @@
75
91
  | **industry_suitability** | **String** | Search for Industry suitability | [optional] |
76
92
  | **industry_suitability_affinity** | **Float** | | [optional] |
77
93
  | **audience_region** | **String** | | [optional] |
78
- | **harmony_affinity** | **Float** | | [optional] |
79
- | **texture_affinity** | **Float** | | [optional] |
80
- | **groovyness_affinity** | **Float** | | [optional] |
81
- | **space_affinity** | **Float** | | [optional] |
82
- | **loudness_affinity** | **Float** | | [optional] |
83
- | **key_affinity** | **Float** | | [optional] |
84
- | **channel_suitability_affinity** | **Float** | | [optional] |
85
- | **valence_affinity** | **Float** | | [optional] |
86
- | **arousal_affinity** | **Float** | | [optional] |
87
- | **pleasantness_affinity** | **Float** | | [optional] |
88
- | **engagement_affinity** | **Float** | | [optional] |
89
- | **energy_affinity** | **Float** | | [optional] |
90
- | **tempo_affinity** | **Float** | | [optional] |
91
- | **scale_affinity** | **Float** | | [optional] |
92
- | **timbre_affinity** | **Float** | | [optional] |
93
- | **roughness_affinity** | **Float** | | [optional] |
94
94
 
95
95
  ## Example
96
96
 
@@ -99,8 +99,24 @@ require 'songtradr_api_client_ruby'
99
99
 
100
100
  instance = SongtradrApiClientRuby::MusicalFeaturesDTO.new(
101
101
  space: null,
102
- language_of_performance: null,
103
102
  arousal: null,
103
+ valence_affinity: null,
104
+ arousal_affinity: null,
105
+ pleasantness_affinity: null,
106
+ engagement_affinity: null,
107
+ energy_affinity: null,
108
+ tempo_affinity: null,
109
+ scale_affinity: null,
110
+ timbre_affinity: null,
111
+ roughness_affinity: null,
112
+ harmony_affinity: null,
113
+ texture_affinity: null,
114
+ groovyness_affinity: null,
115
+ space_affinity: null,
116
+ loudness_affinity: null,
117
+ key_affinity: null,
118
+ channel_suitability_affinity: null,
119
+ language_of_performance: null,
104
120
  dominant_instrument: null,
105
121
  energy: null,
106
122
  engagement: null,
@@ -125,6 +141,7 @@ instance = SongtradrApiClientRuby::MusicalFeaturesDTO.new(
125
141
  use_case: null,
126
142
  channel_suitability: null,
127
143
  loudness: null,
144
+ primary_mood_cluster_affinity: null,
128
145
  secondary_mood_cluster: null,
129
146
  secondary_mood_cluster_affinity: null,
130
147
  tertiary_mood_cluster: null,
@@ -146,7 +163,6 @@ instance = SongtradrApiClientRuby::MusicalFeaturesDTO.new(
146
163
  performance_rating_affinity: null,
147
164
  song_rating: null,
148
165
  song_rating_affinity: null,
149
- primary_mood_cluster_affinity: null,
150
166
  audience_age: null,
151
167
  audience_age_affinity: null,
152
168
  secondary_audience_age: null,
@@ -168,23 +184,7 @@ instance = SongtradrApiClientRuby::MusicalFeaturesDTO.new(
168
184
  use_case_affinity: null,
169
185
  industry_suitability: null,
170
186
  industry_suitability_affinity: null,
171
- audience_region: null,
172
- harmony_affinity: null,
173
- texture_affinity: null,
174
- groovyness_affinity: null,
175
- space_affinity: null,
176
- loudness_affinity: null,
177
- key_affinity: null,
178
- channel_suitability_affinity: null,
179
- valence_affinity: null,
180
- arousal_affinity: null,
181
- pleasantness_affinity: null,
182
- engagement_affinity: null,
183
- energy_affinity: null,
184
- tempo_affinity: null,
185
- scale_affinity: null,
186
- timbre_affinity: null,
187
- roughness_affinity: null
187
+ audience_region: null
188
188
  )
189
189
  ```
190
190
 
data/docs/RecordingApi.md CHANGED
@@ -11,7 +11,6 @@ All URIs are relative to *https://api.songtradr.com*
11
11
  | [**recordings_by_ids_with_tagstrengths**](RecordingApi.md#recordings_by_ids_with_tagstrengths) | **GET** /api/v1/public/recording/{ids}/tagstrengths | Strengths as numerical representations for AI generated moods, musical features and more for recordings. |
12
12
  | [**recordings_medium_by_ids**](RecordingApi.md#recordings_medium_by_ids) | **GET** /api/v1/public/recording/m/{ids} | Recordings by IDs with a medium sized response. |
13
13
  | [**search_recordings**](RecordingApi.md#search_recordings) | **GET** /api/v1/public/recording/search | Recordings by contributors, moods, musical features and more. |
14
- | [**search_recordings_granular**](RecordingApi.md#search_recordings_granular) | **POST** /api/v1/public/recording/searchGranular | Recordings by granular search options. |
15
14
 
16
15
 
17
16
  ## prompt_search_recordings
@@ -600,70 +599,3 @@ end
600
599
  - **Content-Type**: Not defined
601
600
  - **Accept**: application/json
602
601
 
603
-
604
- ## search_recordings_granular
605
-
606
- > <RecordingListDTO> search_recordings_granular(search_recording_granular_dto)
607
-
608
- Recordings by granular search options.
609
-
610
- ### Examples
611
-
612
- ```ruby
613
- require 'time'
614
- require 'songtradr_api_client_ruby'
615
- # setup authorization
616
- SongtradrApiClientRuby.configure do |config|
617
- # Configure Bearer authorization (JWT): bearer-jwt
618
- config.access_token = 'YOUR_BEARER_TOKEN'
619
- end
620
-
621
- api_instance = SongtradrApiClientRuby::RecordingApi.new
622
- search_recording_granular_dto = [SongtradrApiClientRuby::SearchRecordingGranularDTO.new({tag_name: 'tag_name_example'})] # Array<SearchRecordingGranularDTO> |
623
-
624
- begin
625
- # Recordings by granular search options.
626
- result = api_instance.search_recordings_granular(search_recording_granular_dto)
627
- p result
628
- rescue SongtradrApiClientRuby::ApiError => e
629
- puts "Error when calling RecordingApi->search_recordings_granular: #{e}"
630
- end
631
- ```
632
-
633
- #### Using the search_recordings_granular_with_http_info variant
634
-
635
- This returns an Array which contains the response data, status code and headers.
636
-
637
- > <Array(<RecordingListDTO>, Integer, Hash)> search_recordings_granular_with_http_info(search_recording_granular_dto)
638
-
639
- ```ruby
640
- begin
641
- # Recordings by granular search options.
642
- data, status_code, headers = api_instance.search_recordings_granular_with_http_info(search_recording_granular_dto)
643
- p status_code # => 2xx
644
- p headers # => { ... }
645
- p data # => <RecordingListDTO>
646
- rescue SongtradrApiClientRuby::ApiError => e
647
- puts "Error when calling RecordingApi->search_recordings_granular_with_http_info: #{e}"
648
- end
649
- ```
650
-
651
- ### Parameters
652
-
653
- | Name | Type | Description | Notes |
654
- | ---- | ---- | ----------- | ----- |
655
- | **search_recording_granular_dto** | [**Array&lt;SearchRecordingGranularDTO&gt;**](SearchRecordingGranularDTO.md) | | |
656
-
657
- ### Return type
658
-
659
- [**RecordingListDTO**](RecordingListDTO.md)
660
-
661
- ### Authorization
662
-
663
- [bearer-jwt](../README.md#bearer-jwt)
664
-
665
- ### HTTP request headers
666
-
667
- - **Content-Type**: application/json
668
- - **Accept**: application/json
669
-
@@ -4,13 +4,13 @@
4
4
 
5
5
  | Name | Type | Description | Notes |
6
6
  | ---- | ---- | ----------- | ----- |
7
+ | **isrc** | **String** | | |
7
8
  | **genres** | [**Array&lt;GenreDTO&gt;**](GenreDTO.md) | | [optional] |
8
9
  | **language_of_performance** | **String** | | [optional] |
9
10
  | **release_date** | **Time** | | [optional] |
10
11
  | **titles** | [**Array&lt;TitleDTO&gt;**](TitleDTO.md) | | [optional] |
11
12
  | **tracks** | [**Array&lt;TrackDTO&gt;**](TrackDTO.md) | | [optional] |
12
13
  | **musical_features** | [**MusicalFeaturesDTO**](MusicalFeaturesDTO.md) | | [optional] |
13
- | **isrc** | **String** | | |
14
14
  | **recording_party_entities** | [**Array&lt;RecordingPartyDTO&gt;**](RecordingPartyDTO.md) | | [optional] |
15
15
  | **spotify_id** | **String** | | [optional] |
16
16
  | **tags** | [**Array&lt;RecordingTagSmallDTO&gt;**](RecordingTagSmallDTO.md) | | [optional] |
@@ -22,13 +22,13 @@
22
22
  require 'songtradr_api_client_ruby'
23
23
 
24
24
  instance = SongtradrApiClientRuby::RecordingMediumDTO.new(
25
+ isrc: null,
25
26
  genres: null,
26
27
  language_of_performance: null,
27
28
  release_date: null,
28
29
  titles: null,
29
30
  tracks: null,
30
31
  musical_features: null,
31
- isrc: null,
32
32
  recording_party_entities: null,
33
33
  spotify_id: null,
34
34
  tags: null,
@@ -4,8 +4,8 @@
4
4
 
5
5
  | Name | Type | Description | Notes |
6
6
  | ---- | ---- | ----------- | ----- |
7
- | **musical_features** | [**Array&lt;MusicalFeaturesDTO&gt;**](MusicalFeaturesDTO.md) | | [optional] |
8
7
  | **isrc** | **String** | | |
8
+ | **musical_features** | [**Array&lt;MusicalFeaturesDTO&gt;**](MusicalFeaturesDTO.md) | | [optional] |
9
9
 
10
10
  ## Example
11
11
 
@@ -13,8 +13,8 @@
13
13
  require 'songtradr_api_client_ruby'
14
14
 
15
15
  instance = SongtradrApiClientRuby::RecordingMinimalWithMusicalFeaturesDTO.new(
16
- musical_features: null,
17
- isrc: null
16
+ isrc: null,
17
+ musical_features: null
18
18
  )
19
19
  ```
20
20
 
@@ -4,8 +4,8 @@
4
4
 
5
5
  | Name | Type | Description | Notes |
6
6
  | ---- | ---- | ----------- | ----- |
7
- | **contributor_types** | [**Array&lt;ContributorTypeDTO&gt;**](ContributorTypeDTO.md) | | [optional] |
8
7
  | **party** | [**PartySmallDTO**](PartySmallDTO.md) | | |
8
+ | **contributor_types** | [**Array&lt;ContributorTypeDTO&gt;**](ContributorTypeDTO.md) | | [optional] |
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
- contributor_types: null,
17
- party: null
16
+ party: null,
17
+ contributor_types: null
18
18
  )
19
19
  ```
20
20
 
@@ -5,9 +5,9 @@
5
5
  | Name | Type | Description | Notes |
6
6
  | ---- | ---- | ----------- | ----- |
7
7
  | **duration** | **Integer** | | [optional] |
8
+ | **isrc** | **String** | | |
8
9
  | **titles** | [**Array&lt;TitleDTO&gt;**](TitleDTO.md) | | [optional] |
9
10
  | **tracks** | [**Array&lt;TrackDTO&gt;**](TrackDTO.md) | | [optional] |
10
- | **isrc** | **String** | | |
11
11
  | **parties** | [**Array&lt;RecordingPartyDTO&gt;**](RecordingPartyDTO.md) | | [optional] |
12
12
 
13
13
  ## Example
@@ -17,9 +17,9 @@ require 'songtradr_api_client_ruby'
17
17
 
18
18
  instance = SongtradrApiClientRuby::RecordingSmallDTO.new(
19
19
  duration: null,
20
+ isrc: null,
20
21
  titles: null,
21
22
  tracks: null,
22
- isrc: null,
23
23
  parties: null
24
24
  )
25
25
  ```
@@ -3,7 +3,7 @@
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.18.0
6
+ The version of the OpenAPI document: 2.0.0
7
7
  Contact: info@songtradr.com
8
8
  Generated by: https://openapi-generator.tech
9
9
  OpenAPI Generator version: 7.4.0-SNAPSHOT
@@ -3,7 +3,7 @@
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.18.0
6
+ The version of the OpenAPI document: 2.0.0
7
7
  Contact: info@songtradr.com
8
8
  Generated by: https://openapi-generator.tech
9
9
  OpenAPI Generator version: 7.4.0-SNAPSHOT
@@ -729,71 +729,5 @@ module SongtradrApiClientRuby
729
729
  end
730
730
  return data, status_code, headers
731
731
  end
732
-
733
- # Recordings by granular search options.
734
- # @param search_recording_granular_dto [Array<SearchRecordingGranularDTO>]
735
- # @param [Hash] opts the optional parameters
736
- # @return [RecordingListDTO]
737
- def search_recordings_granular(search_recording_granular_dto, opts = {})
738
- data, _status_code, _headers = search_recordings_granular_with_http_info(search_recording_granular_dto, opts)
739
- data
740
- end
741
-
742
- # Recordings by granular search options.
743
- # @param search_recording_granular_dto [Array<SearchRecordingGranularDTO>]
744
- # @param [Hash] opts the optional parameters
745
- # @return [Array<(RecordingListDTO, Integer, Hash)>] RecordingListDTO data, response status code and response headers
746
- def search_recordings_granular_with_http_info(search_recording_granular_dto, opts = {})
747
- if @api_client.config.debugging
748
- @api_client.config.logger.debug 'Calling API: RecordingApi.search_recordings_granular ...'
749
- end
750
- # verify the required parameter 'search_recording_granular_dto' is set
751
- if @api_client.config.client_side_validation && search_recording_granular_dto.nil?
752
- fail ArgumentError, "Missing the required parameter 'search_recording_granular_dto' when calling RecordingApi.search_recordings_granular"
753
- end
754
- # resource path
755
- local_var_path = '/api/v1/public/recording/searchGranular'
756
-
757
- # query parameters
758
- query_params = opts[:query_params] || {}
759
-
760
- # header parameters
761
- header_params = opts[:header_params] || {}
762
- # HTTP header 'Accept' (if needed)
763
- header_params['Accept'] = @api_client.select_header_accept(['application/json'])
764
- # HTTP header 'Content-Type'
765
- content_type = @api_client.select_header_content_type(['application/json'])
766
- if !content_type.nil?
767
- header_params['Content-Type'] = content_type
768
- end
769
-
770
- # form parameters
771
- form_params = opts[:form_params] || {}
772
-
773
- # http body (model)
774
- post_body = opts[:debug_body] || @api_client.object_to_http_body(search_recording_granular_dto)
775
-
776
- # return_type
777
- return_type = opts[:debug_return_type] || 'RecordingListDTO'
778
-
779
- # auth_names
780
- auth_names = opts[:debug_auth_names] || ['bearer-jwt']
781
-
782
- new_options = opts.merge(
783
- :operation => :"RecordingApi.search_recordings_granular",
784
- :header_params => header_params,
785
- :query_params => query_params,
786
- :form_params => form_params,
787
- :body => post_body,
788
- :auth_names => auth_names,
789
- :return_type => return_type
790
- )
791
-
792
- data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
793
- if @api_client.config.debugging
794
- @api_client.config.logger.debug "API called: RecordingApi#search_recordings_granular\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
795
- end
796
- return data, status_code, headers
797
- end
798
732
  end
799
733
  end
@@ -3,7 +3,7 @@
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.18.0
6
+ The version of the OpenAPI document: 2.0.0
7
7
  Contact: info@songtradr.com
8
8
  Generated by: https://openapi-generator.tech
9
9
  OpenAPI Generator version: 7.4.0-SNAPSHOT
@@ -3,7 +3,7 @@
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.18.0
6
+ The version of the OpenAPI document: 2.0.0
7
7
  Contact: info@songtradr.com
8
8
  Generated by: https://openapi-generator.tech
9
9
  OpenAPI Generator version: 7.4.0-SNAPSHOT
@@ -3,7 +3,7 @@
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.18.0
6
+ The version of the OpenAPI document: 2.0.0
7
7
  Contact: info@songtradr.com
8
8
  Generated by: https://openapi-generator.tech
9
9
  OpenAPI Generator version: 7.4.0-SNAPSHOT
@@ -3,7 +3,7 @@
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.18.0
6
+ The version of the OpenAPI document: 2.0.0
7
7
  Contact: info@songtradr.com
8
8
  Generated by: https://openapi-generator.tech
9
9
  OpenAPI Generator version: 7.4.0-SNAPSHOT