songtradr_api_client_ruby 1.12.23 → 1.13.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/Gemfile.lock +2 -2
- data/README.md +6 -5
- data/docs/AllowedValuesApi.md +2 -2
- data/docs/ApiKeyDTO.md +2 -2
- data/docs/CategoryMediumDTO.md +3 -3
- data/docs/FileSmallDTO.md +3 -3
- data/docs/MusicalFeaturesDTO.md +38 -38
- data/docs/PlaylistLargeDTO.md +2 -2
- data/docs/ProductMediumDTO.md +4 -4
- data/docs/RecordingApi.md +6 -0
- data/docs/RecordingLargeDTO.md +5 -5
- data/docs/RecordingMediumDTO.md +5 -3
- data/docs/RecordingMinimalWithMusicalFeaturesDTO.md +3 -3
- data/docs/RecordingSmallDTO.md +3 -3
- data/docs/TrackDTO.md +18 -0
- data/docs/UserApi.md +4 -0
- data/docs/UserDTO.md +18 -0
- data/lib/songtradr_api_client_ruby/api/allowed_values_api.rb +4 -4
- data/lib/songtradr_api_client_ruby/api/api_keys_api.rb +1 -1
- data/lib/songtradr_api_client_ruby/api/party_api.rb +1 -1
- data/lib/songtradr_api_client_ruby/api/playlist_api.rb +1 -1
- data/lib/songtradr_api_client_ruby/api/recording_api.rb +10 -1
- data/lib/songtradr_api_client_ruby/api/user_api.rb +7 -1
- data/lib/songtradr_api_client_ruby/api_client.rb +1 -1
- data/lib/songtradr_api_client_ruby/api_error.rb +1 -1
- data/lib/songtradr_api_client_ruby/configuration.rb +10 -8
- data/lib/songtradr_api_client_ruby/models/admin_api_user_dto.rb +13 -18
- data/lib/songtradr_api_client_ruby/models/api_key_dto.rb +29 -28
- data/lib/songtradr_api_client_ruby/models/category_medium_dto.rb +30 -31
- data/lib/songtradr_api_client_ruby/models/category_minimal_dto.rb +15 -18
- data/lib/songtradr_api_client_ruby/models/config_access_dto.rb +17 -18
- data/lib/songtradr_api_client_ruby/models/config_identifier_dto.rb +17 -18
- data/lib/songtradr_api_client_ruby/models/contributor_type_dto.rb +15 -18
- data/lib/songtradr_api_client_ruby/models/create_api_key_dto.rb +13 -18
- data/lib/songtradr_api_client_ruby/models/error_response.rb +19 -18
- data/lib/songtradr_api_client_ruby/models/field_summary_dto.rb +19 -18
- data/lib/songtradr_api_client_ruby/models/file_dto.rb +23 -18
- data/lib/songtradr_api_client_ruby/models/file_list_dto.rb +21 -18
- data/lib/songtradr_api_client_ruby/models/file_minimal_with_url_dto.rb +19 -18
- data/lib/songtradr_api_client_ruby/models/file_small_dto.rb +41 -36
- data/lib/songtradr_api_client_ruby/models/file_upload_dto.rb +13 -18
- data/lib/songtradr_api_client_ruby/models/file_w_ith_url_dto.rb +17 -18
- data/lib/songtradr_api_client_ruby/models/files_summary_dto.rb +15 -18
- data/lib/songtradr_api_client_ruby/models/forgot_password_dto.rb +15 -18
- data/lib/songtradr_api_client_ruby/models/genre_dto.rb +17 -18
- data/lib/songtradr_api_client_ruby/models/genre_minimal_dto.rb +15 -18
- data/lib/songtradr_api_client_ruby/models/genres_summary_dto.rb +17 -18
- data/lib/songtradr_api_client_ruby/models/init_put_recording_audio_dto.rb +13 -18
- data/lib/songtradr_api_client_ruby/models/jwt_token_dto.rb +17 -18
- data/lib/songtradr_api_client_ruby/models/login_dto.rb +17 -18
- data/lib/songtradr_api_client_ruby/models/musical_features_dto.rb +354 -359
- data/lib/songtradr_api_client_ruby/models/p_line_dto.rb +15 -18
- data/lib/songtradr_api_client_ruby/models/party_large_dto.rb +15 -18
- data/lib/songtradr_api_client_ruby/models/party_small_dto.rb +17 -18
- data/lib/songtradr_api_client_ruby/models/playlist_large_dto.rb +25 -28
- data/lib/songtradr_api_client_ruby/models/product_medium_dto.rb +46 -39
- data/lib/songtradr_api_client_ruby/models/product_party_dto.rb +15 -18
- data/lib/songtradr_api_client_ruby/models/recording_for_similarity_search_dto.rb +17 -18
- data/lib/songtradr_api_client_ruby/models/recording_genre_prediction_dto.rb +19 -18
- data/lib/songtradr_api_client_ruby/models/recording_large_dto.rb +57 -40
- data/lib/songtradr_api_client_ruby/models/recording_list_dto.rb +21 -18
- data/lib/songtradr_api_client_ruby/models/recording_medium_dto.rb +55 -31
- data/lib/songtradr_api_client_ruby/models/recording_minimal_with_musical_features_dto.rb +28 -31
- data/lib/songtradr_api_client_ruby/models/recording_minimal_with_taggrams_dto.rb +15 -18
- data/lib/songtradr_api_client_ruby/models/recording_minimal_with_tagstrengths_dto.rb +15 -18
- data/lib/songtradr_api_client_ruby/models/recording_party_dto.rb +15 -18
- data/lib/songtradr_api_client_ruby/models/recording_playlist_dto.rb +13 -18
- data/lib/songtradr_api_client_ruby/models/recording_small_dto.rb +36 -31
- data/lib/songtradr_api_client_ruby/models/recording_tag_small_dto.rb +15 -18
- data/lib/songtradr_api_client_ruby/models/save_file_recording_dto.rb +17 -18
- data/lib/songtradr_api_client_ruby/models/save_playlist_dto.rb +21 -18
- data/lib/songtradr_api_client_ruby/models/save_recording_genre_dto.rb +15 -18
- data/lib/songtradr_api_client_ruby/models/save_recording_party_dto.rb +17 -18
- data/lib/songtradr_api_client_ruby/models/save_recording_playlist_dto.rb +17 -18
- data/lib/songtradr_api_client_ruby/models/save_recording_tag_dto.rb +15 -18
- data/lib/songtradr_api_client_ruby/models/save_referrer_dto.rb +13 -18
- data/lib/songtradr_api_client_ruby/models/save_taggrams_dto.rb +13 -18
- data/lib/songtradr_api_client_ruby/models/save_user_dto.rb +15 -18
- data/lib/songtradr_api_client_ruby/models/search_filter_values_dto.rb +95 -18
- data/lib/songtradr_api_client_ruby/models/search_recording_granular_abstraction_dto.rb +15 -18
- data/lib/songtradr_api_client_ruby/models/search_recording_granular_dto.rb +15 -18
- data/lib/songtradr_api_client_ruby/models/sign_up_dto.rb +19 -18
- data/lib/songtradr_api_client_ruby/models/tag_dto.rb +17 -18
- data/lib/songtradr_api_client_ruby/models/tag_small_dto.rb +17 -18
- data/lib/songtradr_api_client_ruby/models/taggram_dto.rb +17 -18
- data/lib/songtradr_api_client_ruby/models/tags_summary_dto.rb +17 -18
- data/lib/songtradr_api_client_ruby/models/tagstrength_dto.rb +17 -18
- data/lib/songtradr_api_client_ruby/models/title_dto.rb +15 -18
- data/lib/songtradr_api_client_ruby/models/token_request.rb +15 -18
- data/lib/songtradr_api_client_ruby/models/track_dto.rb +215 -0
- data/lib/songtradr_api_client_ruby/models/track_to_medium_product_dto.rb +17 -18
- data/lib/songtradr_api_client_ruby/models/update_password_dto.rb +17 -18
- data/lib/songtradr_api_client_ruby/models/usage_dto.rb +13 -18
- data/lib/songtradr_api_client_ruby/models/user_dto.rb +196 -19
- data/lib/songtradr_api_client_ruby/version.rb +2 -2
- data/lib/songtradr_api_client_ruby.rb +2 -1
- data/openapi-generator-config.yaml +1 -1
- data/songtradr_api_client_ruby.gemspec +1 -1
- data/spec/api/allowed_values_api_spec.rb +2 -2
- data/spec/api/api_keys_api_spec.rb +1 -1
- data/spec/api/party_api_spec.rb +1 -1
- data/spec/api/playlist_api_spec.rb +1 -1
- data/spec/api/recording_api_spec.rb +4 -1
- data/spec/api/user_api_spec.rb +3 -1
- data/spec/api_client_spec.rb +1 -1
- data/spec/configuration_spec.rb +1 -1
- data/spec/models/admin_api_user_dto_spec.rb +1 -1
- data/spec/models/api_key_dto_spec.rb +3 -3
- data/spec/models/category_medium_dto_spec.rb +3 -3
- data/spec/models/category_minimal_dto_spec.rb +1 -1
- data/spec/models/config_access_dto_spec.rb +1 -1
- data/spec/models/config_identifier_dto_spec.rb +1 -1
- data/spec/models/contributor_type_dto_spec.rb +1 -1
- data/spec/models/create_api_key_dto_spec.rb +1 -1
- data/spec/models/error_response_spec.rb +1 -1
- data/spec/models/field_summary_dto_spec.rb +1 -1
- data/spec/models/file_dto_spec.rb +1 -1
- data/spec/models/file_list_dto_spec.rb +1 -1
- data/spec/models/file_minimal_with_url_dto_spec.rb +1 -1
- data/spec/models/file_small_dto_spec.rb +7 -7
- data/spec/models/file_upload_dto_spec.rb +1 -1
- data/spec/models/file_w_ith_url_dto_spec.rb +1 -1
- data/spec/models/files_summary_dto_spec.rb +1 -1
- data/spec/models/forgot_password_dto_spec.rb +1 -1
- data/spec/models/genre_dto_spec.rb +1 -1
- data/spec/models/genre_minimal_dto_spec.rb +1 -1
- data/spec/models/genres_summary_dto_spec.rb +1 -1
- data/spec/models/init_put_recording_audio_dto_spec.rb +1 -1
- data/spec/models/jwt_token_dto_spec.rb +1 -1
- data/spec/models/login_dto_spec.rb +1 -1
- data/spec/models/musical_features_dto_spec.rb +163 -163
- data/spec/models/p_line_dto_spec.rb +1 -1
- data/spec/models/party_large_dto_spec.rb +1 -1
- data/spec/models/party_small_dto_spec.rb +1 -1
- data/spec/models/playlist_large_dto_spec.rb +4 -4
- data/spec/models/product_medium_dto_spec.rb +7 -7
- data/spec/models/product_party_dto_spec.rb +1 -1
- data/spec/models/recording_for_similarity_search_dto_spec.rb +1 -1
- data/spec/models/recording_genre_prediction_dto_spec.rb +1 -1
- data/spec/models/recording_large_dto_spec.rb +9 -9
- data/spec/models/recording_list_dto_spec.rb +1 -1
- data/spec/models/recording_medium_dto_spec.rb +10 -4
- data/spec/models/recording_minimal_with_musical_features_dto_spec.rb +3 -3
- data/spec/models/recording_minimal_with_taggrams_dto_spec.rb +1 -1
- data/spec/models/recording_minimal_with_tagstrengths_dto_spec.rb +1 -1
- data/spec/models/recording_party_dto_spec.rb +1 -1
- data/spec/models/recording_playlist_dto_spec.rb +1 -1
- data/spec/models/recording_small_dto_spec.rb +4 -4
- data/spec/models/recording_tag_small_dto_spec.rb +1 -1
- data/spec/models/save_file_recording_dto_spec.rb +1 -1
- data/spec/models/save_playlist_dto_spec.rb +1 -1
- data/spec/models/save_recording_genre_dto_spec.rb +1 -1
- data/spec/models/save_recording_party_dto_spec.rb +1 -1
- data/spec/models/save_recording_playlist_dto_spec.rb +1 -1
- data/spec/models/save_recording_tag_dto_spec.rb +1 -1
- data/spec/models/save_referrer_dto_spec.rb +1 -1
- data/spec/models/save_taggrams_dto_spec.rb +1 -1
- data/spec/models/save_user_dto_spec.rb +1 -1
- data/spec/models/search_filter_values_dto_spec.rb +1 -1
- data/spec/models/search_recording_granular_abstraction_dto_spec.rb +1 -1
- data/spec/models/search_recording_granular_dto_spec.rb +1 -1
- data/spec/models/sign_up_dto_spec.rb +1 -1
- data/spec/models/tag_dto_spec.rb +1 -1
- data/spec/models/tag_small_dto_spec.rb +1 -1
- data/spec/models/taggram_dto_spec.rb +1 -1
- data/spec/models/tags_summary_dto_spec.rb +1 -1
- data/spec/models/tagstrength_dto_spec.rb +1 -1
- data/spec/models/title_dto_spec.rb +1 -1
- data/spec/models/token_request_spec.rb +1 -1
- data/spec/models/track_dto_spec.rb +34 -0
- data/spec/models/track_to_medium_product_dto_spec.rb +1 -1
- data/spec/models/update_password_dto_spec.rb +1 -1
- data/spec/models/usage_dto_spec.rb +1 -1
- data/spec/models/user_dto_spec.rb +55 -1
- data/spec/spec_helper.rb +1 -1
- metadata +62 -58
|
@@ -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.
|
|
6
|
+
The version of the OpenAPI document: 1.13.0
|
|
7
7
|
Contact: info@songtradr.com
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
|
9
9
|
OpenAPI Generator version: 7.0.0-SNAPSHOT
|
|
@@ -50,6 +50,24 @@ module SongtradrApiClientRuby
|
|
|
50
50
|
|
|
51
51
|
attr_accessor :insights_allowed
|
|
52
52
|
|
|
53
|
+
attr_accessor :genres_allowed
|
|
54
|
+
|
|
55
|
+
attr_accessor :moods_allowed
|
|
56
|
+
|
|
57
|
+
attr_accessor :instrumentation_allowed
|
|
58
|
+
|
|
59
|
+
attr_accessor :sound_features_allowed
|
|
60
|
+
|
|
61
|
+
attr_accessor :tonal_features_allowed
|
|
62
|
+
|
|
63
|
+
attr_accessor :rhythm_features_allowed
|
|
64
|
+
|
|
65
|
+
attr_accessor :audience_allowed
|
|
66
|
+
|
|
67
|
+
attr_accessor :origin_allowed
|
|
68
|
+
|
|
69
|
+
attr_accessor :quality_allowed
|
|
70
|
+
|
|
53
71
|
attr_accessor :reduced_musical_features
|
|
54
72
|
|
|
55
73
|
attr_accessor :confirmed
|
|
@@ -78,6 +96,15 @@ module SongtradrApiClientRuby
|
|
|
78
96
|
:'b2b_allowed' => :'b2bAllowed',
|
|
79
97
|
:'editor_allowed' => :'editorAllowed',
|
|
80
98
|
:'insights_allowed' => :'insightsAllowed',
|
|
99
|
+
:'genres_allowed' => :'genresAllowed',
|
|
100
|
+
:'moods_allowed' => :'moodsAllowed',
|
|
101
|
+
:'instrumentation_allowed' => :'instrumentationAllowed',
|
|
102
|
+
:'sound_features_allowed' => :'soundFeaturesAllowed',
|
|
103
|
+
:'tonal_features_allowed' => :'tonalFeaturesAllowed',
|
|
104
|
+
:'rhythm_features_allowed' => :'rhythmFeaturesAllowed',
|
|
105
|
+
:'audience_allowed' => :'audienceAllowed',
|
|
106
|
+
:'origin_allowed' => :'originAllowed',
|
|
107
|
+
:'quality_allowed' => :'qualityAllowed',
|
|
81
108
|
:'reduced_musical_features' => :'reducedMusicalFeatures',
|
|
82
109
|
:'confirmed' => :'confirmed',
|
|
83
110
|
:'language' => :'language',
|
|
@@ -110,6 +137,15 @@ module SongtradrApiClientRuby
|
|
|
110
137
|
:'b2b_allowed' => :'Boolean',
|
|
111
138
|
:'editor_allowed' => :'Boolean',
|
|
112
139
|
:'insights_allowed' => :'Boolean',
|
|
140
|
+
:'genres_allowed' => :'Boolean',
|
|
141
|
+
:'moods_allowed' => :'Boolean',
|
|
142
|
+
:'instrumentation_allowed' => :'Boolean',
|
|
143
|
+
:'sound_features_allowed' => :'Boolean',
|
|
144
|
+
:'tonal_features_allowed' => :'Boolean',
|
|
145
|
+
:'rhythm_features_allowed' => :'Boolean',
|
|
146
|
+
:'audience_allowed' => :'Boolean',
|
|
147
|
+
:'origin_allowed' => :'Boolean',
|
|
148
|
+
:'quality_allowed' => :'Boolean',
|
|
113
149
|
:'reduced_musical_features' => :'Boolean',
|
|
114
150
|
:'confirmed' => :'Boolean',
|
|
115
151
|
:'language' => :'String',
|
|
@@ -140,10 +176,14 @@ module SongtradrApiClientRuby
|
|
|
140
176
|
|
|
141
177
|
if attributes.key?(:'username')
|
|
142
178
|
self.username = attributes[:'username']
|
|
179
|
+
else
|
|
180
|
+
self.username = nil
|
|
143
181
|
end
|
|
144
182
|
|
|
145
183
|
if attributes.key?(:'email_address')
|
|
146
184
|
self.email_address = attributes[:'email_address']
|
|
185
|
+
else
|
|
186
|
+
self.email_address = nil
|
|
147
187
|
end
|
|
148
188
|
|
|
149
189
|
if attributes.key?(:'company_name')
|
|
@@ -152,70 +192,158 @@ module SongtradrApiClientRuby
|
|
|
152
192
|
|
|
153
193
|
if attributes.key?(:'is_admin')
|
|
154
194
|
self.is_admin = attributes[:'is_admin']
|
|
195
|
+
else
|
|
196
|
+
self.is_admin = nil
|
|
155
197
|
end
|
|
156
198
|
|
|
157
199
|
if attributes.key?(:'full_search_allowed')
|
|
158
200
|
self.full_search_allowed = attributes[:'full_search_allowed']
|
|
201
|
+
else
|
|
202
|
+
self.full_search_allowed = nil
|
|
159
203
|
end
|
|
160
204
|
|
|
161
205
|
if attributes.key?(:'voice_search_allowed')
|
|
162
206
|
self.voice_search_allowed = attributes[:'voice_search_allowed']
|
|
207
|
+
else
|
|
208
|
+
self.voice_search_allowed = nil
|
|
163
209
|
end
|
|
164
210
|
|
|
165
211
|
if attributes.key?(:'recording_detail_allowed')
|
|
166
212
|
self.recording_detail_allowed = attributes[:'recording_detail_allowed']
|
|
213
|
+
else
|
|
214
|
+
self.recording_detail_allowed = nil
|
|
167
215
|
end
|
|
168
216
|
|
|
169
217
|
if attributes.key?(:'artist_detail_allowed')
|
|
170
218
|
self.artist_detail_allowed = attributes[:'artist_detail_allowed']
|
|
219
|
+
else
|
|
220
|
+
self.artist_detail_allowed = nil
|
|
171
221
|
end
|
|
172
222
|
|
|
173
223
|
if attributes.key?(:'playlist_prediction_allowed')
|
|
174
224
|
self.playlist_prediction_allowed = attributes[:'playlist_prediction_allowed']
|
|
225
|
+
else
|
|
226
|
+
self.playlist_prediction_allowed = nil
|
|
175
227
|
end
|
|
176
228
|
|
|
177
229
|
if attributes.key?(:'widgets_allowed')
|
|
178
230
|
self.widgets_allowed = attributes[:'widgets_allowed']
|
|
231
|
+
else
|
|
232
|
+
self.widgets_allowed = nil
|
|
179
233
|
end
|
|
180
234
|
|
|
181
235
|
if attributes.key?(:'signup_allowed')
|
|
182
236
|
self.signup_allowed = attributes[:'signup_allowed']
|
|
237
|
+
else
|
|
238
|
+
self.signup_allowed = nil
|
|
183
239
|
end
|
|
184
240
|
|
|
185
241
|
if attributes.key?(:'upload_allowed')
|
|
186
242
|
self.upload_allowed = attributes[:'upload_allowed']
|
|
243
|
+
else
|
|
244
|
+
self.upload_allowed = nil
|
|
187
245
|
end
|
|
188
246
|
|
|
189
247
|
if attributes.key?(:'fingerprint_allowed')
|
|
190
248
|
self.fingerprint_allowed = attributes[:'fingerprint_allowed']
|
|
249
|
+
else
|
|
250
|
+
self.fingerprint_allowed = nil
|
|
191
251
|
end
|
|
192
252
|
|
|
193
253
|
if attributes.key?(:'audiotagging_allowed')
|
|
194
254
|
self.audiotagging_allowed = attributes[:'audiotagging_allowed']
|
|
255
|
+
else
|
|
256
|
+
self.audiotagging_allowed = nil
|
|
195
257
|
end
|
|
196
258
|
|
|
197
259
|
if attributes.key?(:'b2b_allowed')
|
|
198
260
|
self.b2b_allowed = attributes[:'b2b_allowed']
|
|
261
|
+
else
|
|
262
|
+
self.b2b_allowed = nil
|
|
199
263
|
end
|
|
200
264
|
|
|
201
265
|
if attributes.key?(:'editor_allowed')
|
|
202
266
|
self.editor_allowed = attributes[:'editor_allowed']
|
|
267
|
+
else
|
|
268
|
+
self.editor_allowed = nil
|
|
203
269
|
end
|
|
204
270
|
|
|
205
271
|
if attributes.key?(:'insights_allowed')
|
|
206
272
|
self.insights_allowed = attributes[:'insights_allowed']
|
|
273
|
+
else
|
|
274
|
+
self.insights_allowed = nil
|
|
275
|
+
end
|
|
276
|
+
|
|
277
|
+
if attributes.key?(:'genres_allowed')
|
|
278
|
+
self.genres_allowed = attributes[:'genres_allowed']
|
|
279
|
+
else
|
|
280
|
+
self.genres_allowed = nil
|
|
281
|
+
end
|
|
282
|
+
|
|
283
|
+
if attributes.key?(:'moods_allowed')
|
|
284
|
+
self.moods_allowed = attributes[:'moods_allowed']
|
|
285
|
+
else
|
|
286
|
+
self.moods_allowed = nil
|
|
287
|
+
end
|
|
288
|
+
|
|
289
|
+
if attributes.key?(:'instrumentation_allowed')
|
|
290
|
+
self.instrumentation_allowed = attributes[:'instrumentation_allowed']
|
|
291
|
+
else
|
|
292
|
+
self.instrumentation_allowed = nil
|
|
293
|
+
end
|
|
294
|
+
|
|
295
|
+
if attributes.key?(:'sound_features_allowed')
|
|
296
|
+
self.sound_features_allowed = attributes[:'sound_features_allowed']
|
|
297
|
+
else
|
|
298
|
+
self.sound_features_allowed = nil
|
|
299
|
+
end
|
|
300
|
+
|
|
301
|
+
if attributes.key?(:'tonal_features_allowed')
|
|
302
|
+
self.tonal_features_allowed = attributes[:'tonal_features_allowed']
|
|
303
|
+
else
|
|
304
|
+
self.tonal_features_allowed = nil
|
|
305
|
+
end
|
|
306
|
+
|
|
307
|
+
if attributes.key?(:'rhythm_features_allowed')
|
|
308
|
+
self.rhythm_features_allowed = attributes[:'rhythm_features_allowed']
|
|
309
|
+
else
|
|
310
|
+
self.rhythm_features_allowed = nil
|
|
311
|
+
end
|
|
312
|
+
|
|
313
|
+
if attributes.key?(:'audience_allowed')
|
|
314
|
+
self.audience_allowed = attributes[:'audience_allowed']
|
|
315
|
+
else
|
|
316
|
+
self.audience_allowed = nil
|
|
317
|
+
end
|
|
318
|
+
|
|
319
|
+
if attributes.key?(:'origin_allowed')
|
|
320
|
+
self.origin_allowed = attributes[:'origin_allowed']
|
|
321
|
+
else
|
|
322
|
+
self.origin_allowed = nil
|
|
323
|
+
end
|
|
324
|
+
|
|
325
|
+
if attributes.key?(:'quality_allowed')
|
|
326
|
+
self.quality_allowed = attributes[:'quality_allowed']
|
|
327
|
+
else
|
|
328
|
+
self.quality_allowed = nil
|
|
207
329
|
end
|
|
208
330
|
|
|
209
331
|
if attributes.key?(:'reduced_musical_features')
|
|
210
332
|
self.reduced_musical_features = attributes[:'reduced_musical_features']
|
|
333
|
+
else
|
|
334
|
+
self.reduced_musical_features = nil
|
|
211
335
|
end
|
|
212
336
|
|
|
213
337
|
if attributes.key?(:'confirmed')
|
|
214
338
|
self.confirmed = attributes[:'confirmed']
|
|
339
|
+
else
|
|
340
|
+
self.confirmed = nil
|
|
215
341
|
end
|
|
216
342
|
|
|
217
343
|
if attributes.key?(:'language')
|
|
218
344
|
self.language = attributes[:'language']
|
|
345
|
+
else
|
|
346
|
+
self.language = nil
|
|
219
347
|
end
|
|
220
348
|
|
|
221
349
|
if attributes.key?(:'admin')
|
|
@@ -226,6 +354,7 @@ module SongtradrApiClientRuby
|
|
|
226
354
|
# Show invalid properties with the reasons. Usually used together with valid?
|
|
227
355
|
# @return Array for valid properties with the reasons
|
|
228
356
|
def list_invalid_properties
|
|
357
|
+
warn '[DEPRECATED] the `list_invalid_properties` method is obsolete'
|
|
229
358
|
invalid_properties = Array.new
|
|
230
359
|
if @username.nil?
|
|
231
360
|
invalid_properties.push('invalid value for "username", username cannot be nil.')
|
|
@@ -291,6 +420,42 @@ module SongtradrApiClientRuby
|
|
|
291
420
|
invalid_properties.push('invalid value for "insights_allowed", insights_allowed cannot be nil.')
|
|
292
421
|
end
|
|
293
422
|
|
|
423
|
+
if @genres_allowed.nil?
|
|
424
|
+
invalid_properties.push('invalid value for "genres_allowed", genres_allowed cannot be nil.')
|
|
425
|
+
end
|
|
426
|
+
|
|
427
|
+
if @moods_allowed.nil?
|
|
428
|
+
invalid_properties.push('invalid value for "moods_allowed", moods_allowed cannot be nil.')
|
|
429
|
+
end
|
|
430
|
+
|
|
431
|
+
if @instrumentation_allowed.nil?
|
|
432
|
+
invalid_properties.push('invalid value for "instrumentation_allowed", instrumentation_allowed cannot be nil.')
|
|
433
|
+
end
|
|
434
|
+
|
|
435
|
+
if @sound_features_allowed.nil?
|
|
436
|
+
invalid_properties.push('invalid value for "sound_features_allowed", sound_features_allowed cannot be nil.')
|
|
437
|
+
end
|
|
438
|
+
|
|
439
|
+
if @tonal_features_allowed.nil?
|
|
440
|
+
invalid_properties.push('invalid value for "tonal_features_allowed", tonal_features_allowed cannot be nil.')
|
|
441
|
+
end
|
|
442
|
+
|
|
443
|
+
if @rhythm_features_allowed.nil?
|
|
444
|
+
invalid_properties.push('invalid value for "rhythm_features_allowed", rhythm_features_allowed cannot be nil.')
|
|
445
|
+
end
|
|
446
|
+
|
|
447
|
+
if @audience_allowed.nil?
|
|
448
|
+
invalid_properties.push('invalid value for "audience_allowed", audience_allowed cannot be nil.')
|
|
449
|
+
end
|
|
450
|
+
|
|
451
|
+
if @origin_allowed.nil?
|
|
452
|
+
invalid_properties.push('invalid value for "origin_allowed", origin_allowed cannot be nil.')
|
|
453
|
+
end
|
|
454
|
+
|
|
455
|
+
if @quality_allowed.nil?
|
|
456
|
+
invalid_properties.push('invalid value for "quality_allowed", quality_allowed cannot be nil.')
|
|
457
|
+
end
|
|
458
|
+
|
|
294
459
|
if @reduced_musical_features.nil?
|
|
295
460
|
invalid_properties.push('invalid value for "reduced_musical_features", reduced_musical_features cannot be nil.')
|
|
296
461
|
end
|
|
@@ -309,6 +474,7 @@ module SongtradrApiClientRuby
|
|
|
309
474
|
# Check to see if the all the properties in the model are valid
|
|
310
475
|
# @return true if the model is valid
|
|
311
476
|
def valid?
|
|
477
|
+
warn '[DEPRECATED] the `valid?` method is obsolete'
|
|
312
478
|
return false if @username.nil?
|
|
313
479
|
return false if @email_address.nil?
|
|
314
480
|
return false if @is_admin.nil?
|
|
@@ -325,6 +491,15 @@ module SongtradrApiClientRuby
|
|
|
325
491
|
return false if @b2b_allowed.nil?
|
|
326
492
|
return false if @editor_allowed.nil?
|
|
327
493
|
return false if @insights_allowed.nil?
|
|
494
|
+
return false if @genres_allowed.nil?
|
|
495
|
+
return false if @moods_allowed.nil?
|
|
496
|
+
return false if @instrumentation_allowed.nil?
|
|
497
|
+
return false if @sound_features_allowed.nil?
|
|
498
|
+
return false if @tonal_features_allowed.nil?
|
|
499
|
+
return false if @rhythm_features_allowed.nil?
|
|
500
|
+
return false if @audience_allowed.nil?
|
|
501
|
+
return false if @origin_allowed.nil?
|
|
502
|
+
return false if @quality_allowed.nil?
|
|
328
503
|
return false if @reduced_musical_features.nil?
|
|
329
504
|
return false if @confirmed.nil?
|
|
330
505
|
return false if @language.nil?
|
|
@@ -353,6 +528,15 @@ module SongtradrApiClientRuby
|
|
|
353
528
|
b2b_allowed == o.b2b_allowed &&
|
|
354
529
|
editor_allowed == o.editor_allowed &&
|
|
355
530
|
insights_allowed == o.insights_allowed &&
|
|
531
|
+
genres_allowed == o.genres_allowed &&
|
|
532
|
+
moods_allowed == o.moods_allowed &&
|
|
533
|
+
instrumentation_allowed == o.instrumentation_allowed &&
|
|
534
|
+
sound_features_allowed == o.sound_features_allowed &&
|
|
535
|
+
tonal_features_allowed == o.tonal_features_allowed &&
|
|
536
|
+
rhythm_features_allowed == o.rhythm_features_allowed &&
|
|
537
|
+
audience_allowed == o.audience_allowed &&
|
|
538
|
+
origin_allowed == o.origin_allowed &&
|
|
539
|
+
quality_allowed == o.quality_allowed &&
|
|
356
540
|
reduced_musical_features == o.reduced_musical_features &&
|
|
357
541
|
confirmed == o.confirmed &&
|
|
358
542
|
language == o.language &&
|
|
@@ -368,44 +552,37 @@ module SongtradrApiClientRuby
|
|
|
368
552
|
# Calculates hash code according to all attributes.
|
|
369
553
|
# @return [Integer] Hash code
|
|
370
554
|
def hash
|
|
371
|
-
[username, email_address, company_name, is_admin, full_search_allowed, voice_search_allowed, recording_detail_allowed, artist_detail_allowed, playlist_prediction_allowed, widgets_allowed, signup_allowed, upload_allowed, fingerprint_allowed, audiotagging_allowed, b2b_allowed, editor_allowed, insights_allowed, reduced_musical_features, confirmed, language, admin].hash
|
|
555
|
+
[username, email_address, company_name, is_admin, full_search_allowed, voice_search_allowed, recording_detail_allowed, artist_detail_allowed, playlist_prediction_allowed, widgets_allowed, signup_allowed, upload_allowed, fingerprint_allowed, audiotagging_allowed, b2b_allowed, editor_allowed, insights_allowed, genres_allowed, moods_allowed, instrumentation_allowed, sound_features_allowed, tonal_features_allowed, rhythm_features_allowed, audience_allowed, origin_allowed, quality_allowed, reduced_musical_features, confirmed, language, admin].hash
|
|
372
556
|
end
|
|
373
557
|
|
|
374
558
|
# Builds the object from hash
|
|
375
559
|
# @param [Hash] attributes Model attributes in the form of hash
|
|
376
560
|
# @return [Object] Returns the model itself
|
|
377
561
|
def self.build_from_hash(attributes)
|
|
378
|
-
new.build_from_hash(attributes)
|
|
379
|
-
end
|
|
380
|
-
|
|
381
|
-
# Builds the object from hash
|
|
382
|
-
# @param [Hash] attributes Model attributes in the form of hash
|
|
383
|
-
# @return [Object] Returns the model itself
|
|
384
|
-
def build_from_hash(attributes)
|
|
385
562
|
return nil unless attributes.is_a?(Hash)
|
|
386
563
|
attributes = attributes.transform_keys(&:to_sym)
|
|
387
|
-
|
|
388
|
-
|
|
389
|
-
|
|
564
|
+
transformed_hash = {}
|
|
565
|
+
openapi_types.each_pair do |key, type|
|
|
566
|
+
if attributes.key?(attribute_map[key]) && attributes[attribute_map[key]].nil?
|
|
567
|
+
transformed_hash["#{key}"] = nil
|
|
390
568
|
elsif type =~ /\AArray<(.*)>/i
|
|
391
569
|
# check to ensure the input is an array given that the attribute
|
|
392
570
|
# is documented as an array but the input is not
|
|
393
|
-
if attributes[
|
|
394
|
-
|
|
571
|
+
if attributes[attribute_map[key]].is_a?(Array)
|
|
572
|
+
transformed_hash["#{key}"] = attributes[attribute_map[key]].map { |v| _deserialize($1, v) }
|
|
395
573
|
end
|
|
396
|
-
elsif !attributes[
|
|
397
|
-
|
|
574
|
+
elsif !attributes[attribute_map[key]].nil?
|
|
575
|
+
transformed_hash["#{key}"] = _deserialize(type, attributes[attribute_map[key]])
|
|
398
576
|
end
|
|
399
577
|
end
|
|
400
|
-
|
|
401
|
-
self
|
|
578
|
+
new(transformed_hash)
|
|
402
579
|
end
|
|
403
580
|
|
|
404
581
|
# Deserializes the data based on type
|
|
405
582
|
# @param string type Data type
|
|
406
583
|
# @param string value Value to be deserialized
|
|
407
584
|
# @return [Object] Deserialized data
|
|
408
|
-
def _deserialize(type, value)
|
|
585
|
+
def self._deserialize(type, value)
|
|
409
586
|
case type.to_sym
|
|
410
587
|
when :Time
|
|
411
588
|
Time.parse(value)
|
|
@@ -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.
|
|
6
|
+
The version of the OpenAPI document: 1.13.0
|
|
7
7
|
Contact: info@songtradr.com
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
|
9
9
|
OpenAPI Generator version: 7.0.0-SNAPSHOT
|
|
@@ -11,5 +11,5 @@ OpenAPI Generator version: 7.0.0-SNAPSHOT
|
|
|
11
11
|
=end
|
|
12
12
|
|
|
13
13
|
module SongtradrApiClientRuby
|
|
14
|
-
VERSION = '1.
|
|
14
|
+
VERSION = '1.13.0'
|
|
15
15
|
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.
|
|
6
|
+
The version of the OpenAPI document: 1.13.0
|
|
7
7
|
Contact: info@songtradr.com
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
|
9
9
|
OpenAPI Generator version: 7.0.0-SNAPSHOT
|
|
@@ -80,6 +80,7 @@ require 'songtradr_api_client_ruby/models/tags_summary_dto'
|
|
|
80
80
|
require 'songtradr_api_client_ruby/models/tagstrength_dto'
|
|
81
81
|
require 'songtradr_api_client_ruby/models/title_dto'
|
|
82
82
|
require 'songtradr_api_client_ruby/models/token_request'
|
|
83
|
+
require 'songtradr_api_client_ruby/models/track_dto'
|
|
83
84
|
require 'songtradr_api_client_ruby/models/track_to_medium_product_dto'
|
|
84
85
|
require 'songtradr_api_client_ruby/models/update_password_dto'
|
|
85
86
|
require 'songtradr_api_client_ruby/models/usage_dto'
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
|
|
6
6
|
#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.
|
|
7
7
|
|
|
8
|
-
The version of the OpenAPI document: 1.
|
|
8
|
+
The version of the OpenAPI document: 1.13.0
|
|
9
9
|
Contact: info@songtradr.com
|
|
10
10
|
Generated by: https://openapi-generator.tech
|
|
11
11
|
OpenAPI Generator version: 7.0.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.
|
|
6
|
+
The version of the OpenAPI document: 1.13.0
|
|
7
7
|
Contact: info@songtradr.com
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
|
9
9
|
OpenAPI Generator version: 7.0.0-SNAPSHOT
|
|
@@ -45,7 +45,7 @@ describe 'AllowedValuesApi' do
|
|
|
45
45
|
|
|
46
46
|
# unit tests for genres
|
|
47
47
|
# Allowed values for genres.
|
|
48
|
-
# @param genre_type Type of the response should have.
|
|
48
|
+
# @param genre_type Type of the response should have. Deprecated: level1Genre, level2Genre - use musicubeLevel1Genre, musicubeLevel2Genre instead.
|
|
49
49
|
# @param [Hash] opts the optional parameters
|
|
50
50
|
# @return [Array<GenreDTO>]
|
|
51
51
|
describe 'genres test' do
|
|
@@ -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.
|
|
6
|
+
The version of the OpenAPI document: 1.13.0
|
|
7
7
|
Contact: info@songtradr.com
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
|
9
9
|
OpenAPI Generator version: 7.0.0-SNAPSHOT
|
data/spec/api/party_api_spec.rb
CHANGED
|
@@ -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.
|
|
6
|
+
The version of the OpenAPI document: 1.13.0
|
|
7
7
|
Contact: info@songtradr.com
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
|
9
9
|
OpenAPI Generator version: 7.0.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.
|
|
6
|
+
The version of the OpenAPI document: 1.13.0
|
|
7
7
|
Contact: info@songtradr.com
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
|
9
9
|
OpenAPI Generator version: 7.0.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.
|
|
6
|
+
The version of the OpenAPI document: 1.13.0
|
|
7
7
|
Contact: info@songtradr.com
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
|
9
9
|
OpenAPI Generator version: 7.0.0-SNAPSHOT
|
|
@@ -128,6 +128,7 @@ describe 'RecordingApi' do
|
|
|
128
128
|
# @option opts [String] :main_artist Search for a main artist.
|
|
129
129
|
# @option opts [String] :composer Search for a composer.
|
|
130
130
|
# @option opts [String] :title Search for a title.
|
|
131
|
+
# @option opts [String] :party_and_title Search for party and title.
|
|
131
132
|
# @option opts [String] :language Search for a language of the lyrics.
|
|
132
133
|
# @option opts [String] :genre Search for a genre.
|
|
133
134
|
# @option opts [String] :primary_mood_cluster Search for a mood.
|
|
@@ -156,6 +157,8 @@ describe 'RecordingApi' do
|
|
|
156
157
|
# @option opts [String] :use_case Search for use case.
|
|
157
158
|
# @option opts [String] :channel_suitability Search for channel suitability.
|
|
158
159
|
# @option opts [String] :songtradr_track_id Search for Songtradr track id.
|
|
160
|
+
# @option opts [String] :usage Search for recording usage.
|
|
161
|
+
# @option opts [String] :similar_to_songtradr_track_id Search for songs similar to a recording by songtradr Track Id.
|
|
159
162
|
# @option opts [String] :shuffled Sort the results randomly.
|
|
160
163
|
# @option opts [String] :sort Sort the results.
|
|
161
164
|
# @option opts [Integer] :page Zero-based page index (0..N)
|
data/spec/api/user_api_spec.rb
CHANGED
|
@@ -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.
|
|
6
|
+
The version of the OpenAPI document: 1.13.0
|
|
7
7
|
Contact: info@songtradr.com
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
|
9
9
|
OpenAPI Generator version: 7.0.0-SNAPSHOT
|
|
@@ -153,6 +153,7 @@ describe 'UserApi' do
|
|
|
153
153
|
# @option opts [String] :main_artist Search for a main artist.
|
|
154
154
|
# @option opts [String] :composer Search for a composer.
|
|
155
155
|
# @option opts [String] :title Search for a title.
|
|
156
|
+
# @option opts [String] :party_and_title Search for party and title.
|
|
156
157
|
# @option opts [String] :language Search for a language of the lyrics.
|
|
157
158
|
# @option opts [Array<String>] :genre_names
|
|
158
159
|
# @option opts [Array<String>] :tag_names
|
|
@@ -279,6 +280,7 @@ describe 'UserApi' do
|
|
|
279
280
|
# @option opts [String] :main_artist Search for a main artist.
|
|
280
281
|
# @option opts [String] :composer Search for a composer.
|
|
281
282
|
# @option opts [String] :title Search for a title.
|
|
283
|
+
# @option opts [String] :party_and_title Search for party and title.
|
|
282
284
|
# @option opts [String] :language Search for a language of the lyrics.
|
|
283
285
|
# @option opts [Array<String>] :genre_names
|
|
284
286
|
# @option opts [Array<String>] :tag_names
|
data/spec/api_client_spec.rb
CHANGED
|
@@ -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.
|
|
6
|
+
The version of the OpenAPI document: 1.13.0
|
|
7
7
|
Contact: info@songtradr.com
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
|
9
9
|
OpenAPI Generator version: 7.0.0-SNAPSHOT
|
data/spec/configuration_spec.rb
CHANGED
|
@@ -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.
|
|
6
|
+
The version of the OpenAPI document: 1.13.0
|
|
7
7
|
Contact: info@songtradr.com
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
|
9
9
|
OpenAPI Generator version: 7.0.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.
|
|
6
|
+
The version of the OpenAPI document: 1.13.0
|
|
7
7
|
Contact: info@songtradr.com
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
|
9
9
|
OpenAPI Generator version: 7.0.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.
|
|
6
|
+
The version of the OpenAPI document: 1.13.0
|
|
7
7
|
Contact: info@songtradr.com
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
|
9
9
|
OpenAPI Generator version: 7.0.0-SNAPSHOT
|
|
@@ -31,13 +31,13 @@ describe SongtradrApiClientRuby::ApiKeyDTO do
|
|
|
31
31
|
end
|
|
32
32
|
end
|
|
33
33
|
|
|
34
|
-
describe 'test attribute "
|
|
34
|
+
describe 'test attribute "last_used_at"' do
|
|
35
35
|
it 'should work' do
|
|
36
36
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
37
37
|
end
|
|
38
38
|
end
|
|
39
39
|
|
|
40
|
-
describe 'test attribute "
|
|
40
|
+
describe 'test attribute "created_at"' do
|
|
41
41
|
it 'should work' do
|
|
42
42
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
43
43
|
end
|