songtradr_api_client_ruby 1.13.1 → 1.13.3
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 +4 -2
- data/README.md +5 -5
- data/docs/ApiKeyDTO.md +3 -3
- data/docs/CategoryMediumDTO.md +3 -3
- data/docs/FileSmallDTO.md +3 -3
- data/docs/MusicalFeaturesDTO.md +22 -22
- data/docs/PlaylistLargeDTO.md +2 -2
- data/docs/ProductMediumDTO.md +3 -3
- data/docs/RecordingGenrePredictionDTO.md +2 -2
- data/docs/RecordingLargeDTO.md +3 -3
- data/lib/songtradr_api_client_ruby/api/allowed_values_api.rb +1 -1
- 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 +1 -1
- data/lib/songtradr_api_client_ruby/api/user_api.rb +1 -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 +1 -1
- data/lib/songtradr_api_client_ruby/models/admin_api_user_dto.rb +1 -1
- data/lib/songtradr_api_client_ruby/models/api_key_dto.rb +14 -14
- data/lib/songtradr_api_client_ruby/models/category_medium_dto.rb +16 -16
- data/lib/songtradr_api_client_ruby/models/category_minimal_dto.rb +1 -1
- data/lib/songtradr_api_client_ruby/models/config_access_dto.rb +1 -1
- data/lib/songtradr_api_client_ruby/models/config_identifier_dto.rb +1 -1
- data/lib/songtradr_api_client_ruby/models/contributor_type_dto.rb +1 -1
- data/lib/songtradr_api_client_ruby/models/create_api_key_dto.rb +1 -1
- data/lib/songtradr_api_client_ruby/models/error_response.rb +1 -1
- data/lib/songtradr_api_client_ruby/models/field_summary_dto.rb +1 -1
- data/lib/songtradr_api_client_ruby/models/file_dto.rb +1 -1
- data/lib/songtradr_api_client_ruby/models/file_list_dto.rb +1 -1
- data/lib/songtradr_api_client_ruby/models/file_minimal_with_url_dto.rb +1 -1
- data/lib/songtradr_api_client_ruby/models/file_small_dto.rb +14 -14
- data/lib/songtradr_api_client_ruby/models/file_upload_dto.rb +1 -1
- data/lib/songtradr_api_client_ruby/models/file_w_ith_url_dto.rb +1 -1
- data/lib/songtradr_api_client_ruby/models/files_summary_dto.rb +1 -1
- data/lib/songtradr_api_client_ruby/models/forgot_password_dto.rb +1 -1
- data/lib/songtradr_api_client_ruby/models/genre_dto.rb +1 -1
- data/lib/songtradr_api_client_ruby/models/genre_minimal_dto.rb +1 -1
- data/lib/songtradr_api_client_ruby/models/genres_summary_dto.rb +1 -1
- data/lib/songtradr_api_client_ruby/models/init_put_recording_audio_dto.rb +1 -1
- data/lib/songtradr_api_client_ruby/models/jwt_token_dto.rb +1 -1
- data/lib/songtradr_api_client_ruby/models/login_dto.rb +1 -1
- data/lib/songtradr_api_client_ruby/models/musical_features_dto.rb +91 -91
- data/lib/songtradr_api_client_ruby/models/p_line_dto.rb +1 -1
- data/lib/songtradr_api_client_ruby/models/party_large_dto.rb +1 -1
- data/lib/songtradr_api_client_ruby/models/party_small_dto.rb +1 -1
- data/lib/songtradr_api_client_ruby/models/playlist_large_dto.rb +11 -11
- data/lib/songtradr_api_client_ruby/models/product_medium_dto.rb +14 -14
- data/lib/songtradr_api_client_ruby/models/product_party_dto.rb +1 -1
- data/lib/songtradr_api_client_ruby/models/recording_for_similarity_search_dto.rb +1 -1
- data/lib/songtradr_api_client_ruby/models/recording_genre_prediction_dto.rb +18 -18
- data/lib/songtradr_api_client_ruby/models/recording_large_dto.rb +14 -14
- data/lib/songtradr_api_client_ruby/models/recording_list_dto.rb +1 -1
- data/lib/songtradr_api_client_ruby/models/recording_medium_dto.rb +1 -1
- data/lib/songtradr_api_client_ruby/models/recording_minimal_with_musical_features_dto.rb +1 -1
- data/lib/songtradr_api_client_ruby/models/recording_minimal_with_taggrams_dto.rb +1 -1
- data/lib/songtradr_api_client_ruby/models/recording_minimal_with_tagstrengths_dto.rb +1 -1
- data/lib/songtradr_api_client_ruby/models/recording_party_dto.rb +1 -1
- data/lib/songtradr_api_client_ruby/models/recording_playlist_dto.rb +1 -1
- data/lib/songtradr_api_client_ruby/models/recording_small_dto.rb +1 -1
- data/lib/songtradr_api_client_ruby/models/recording_tag_small_dto.rb +1 -1
- data/lib/songtradr_api_client_ruby/models/save_file_recording_dto.rb +7 -7
- data/lib/songtradr_api_client_ruby/models/save_playlist_dto.rb +1 -1
- data/lib/songtradr_api_client_ruby/models/save_recording_genre_dto.rb +1 -1
- data/lib/songtradr_api_client_ruby/models/save_recording_party_dto.rb +1 -1
- data/lib/songtradr_api_client_ruby/models/save_recording_playlist_dto.rb +1 -1
- data/lib/songtradr_api_client_ruby/models/save_recording_tag_dto.rb +1 -1
- data/lib/songtradr_api_client_ruby/models/save_referrer_dto.rb +1 -1
- data/lib/songtradr_api_client_ruby/models/save_taggrams_dto.rb +1 -1
- data/lib/songtradr_api_client_ruby/models/save_user_dto.rb +1 -1
- data/lib/songtradr_api_client_ruby/models/search_filter_values_dto.rb +1 -1
- data/lib/songtradr_api_client_ruby/models/search_recording_granular_abstraction_dto.rb +1 -1
- data/lib/songtradr_api_client_ruby/models/search_recording_granular_dto.rb +1 -1
- data/lib/songtradr_api_client_ruby/models/sign_up_dto.rb +1 -1
- data/lib/songtradr_api_client_ruby/models/tag_dto.rb +1 -1
- data/lib/songtradr_api_client_ruby/models/tag_small_dto.rb +1 -1
- data/lib/songtradr_api_client_ruby/models/taggram_dto.rb +1 -1
- data/lib/songtradr_api_client_ruby/models/tags_summary_dto.rb +1 -1
- data/lib/songtradr_api_client_ruby/models/tagstrength_dto.rb +1 -1
- data/lib/songtradr_api_client_ruby/models/title_dto.rb +1 -1
- data/lib/songtradr_api_client_ruby/models/token_request.rb +1 -1
- data/lib/songtradr_api_client_ruby/models/track_dto.rb +1 -1
- data/lib/songtradr_api_client_ruby/models/track_to_medium_product_dto.rb +1 -1
- data/lib/songtradr_api_client_ruby/models/update_password_dto.rb +1 -1
- data/lib/songtradr_api_client_ruby/models/usage_dto.rb +1 -1
- data/lib/songtradr_api_client_ruby/models/user_dto.rb +1 -1
- data/lib/songtradr_api_client_ruby/version.rb +2 -2
- data/lib/songtradr_api_client_ruby.rb +1 -1
- data/openapi-generator-config.yaml +1 -1
- data/songtradr_api_client_ruby.gemspec +1 -1
- data/spec/api/allowed_values_api_spec.rb +1 -1
- 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 +1 -1
- data/spec/api/user_api_spec.rb +1 -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 +27 -27
- 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 +6 -6
- data/spec/models/product_medium_dto_spec.rb +6 -6
- 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 +3 -3
- data/spec/models/recording_large_dto_spec.rb +3 -3
- data/spec/models/recording_list_dto_spec.rb +1 -1
- data/spec/models/recording_medium_dto_spec.rb +1 -1
- data/spec/models/recording_minimal_with_musical_features_dto_spec.rb +1 -1
- 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 +1 -1
- data/spec/models/recording_tag_small_dto_spec.rb +1 -1
- data/spec/models/save_file_recording_dto_spec.rb +4 -4
- 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 +1 -1
- 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 +1 -1
- data/spec/spec_helper.rb +1 -1
- metadata +59 -59
|
@@ -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.13.
|
|
6
|
+
The version of the OpenAPI document: 1.13.3
|
|
7
7
|
Contact: info@songtradr.com
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
|
9
9
|
OpenAPI Generator version: 7.0.1-SNAPSHOT
|
|
@@ -19,11 +19,13 @@ module SongtradrApiClientRuby
|
|
|
19
19
|
# Search for space
|
|
20
20
|
attr_accessor :space
|
|
21
21
|
|
|
22
|
-
|
|
23
|
-
attr_accessor :arousal
|
|
22
|
+
attr_accessor :harmony_affinity
|
|
24
23
|
|
|
25
24
|
attr_accessor :language_of_performance
|
|
26
25
|
|
|
26
|
+
# Search for an arousal
|
|
27
|
+
attr_accessor :arousal
|
|
28
|
+
|
|
27
29
|
# Search for a dominant instrument
|
|
28
30
|
attr_accessor :dominant_instrument
|
|
29
31
|
|
|
@@ -183,38 +185,36 @@ module SongtradrApiClientRuby
|
|
|
183
185
|
|
|
184
186
|
attr_accessor :audience_region
|
|
185
187
|
|
|
186
|
-
attr_accessor :valence_affinity
|
|
187
|
-
|
|
188
188
|
attr_accessor :arousal_affinity
|
|
189
189
|
|
|
190
|
-
attr_accessor :
|
|
190
|
+
attr_accessor :channel_suitability_affinity
|
|
191
191
|
|
|
192
|
-
|
|
192
|
+
# Search for a harmonic key
|
|
193
|
+
attr_accessor :key
|
|
193
194
|
|
|
194
195
|
attr_accessor :energy_affinity
|
|
195
196
|
|
|
196
|
-
attr_accessor :
|
|
197
|
+
attr_accessor :key_affinity
|
|
197
198
|
|
|
198
|
-
attr_accessor :
|
|
199
|
+
attr_accessor :pleasantness_affinity
|
|
199
200
|
|
|
200
|
-
attr_accessor :
|
|
201
|
+
attr_accessor :engagement_affinity
|
|
201
202
|
|
|
202
203
|
attr_accessor :roughness_affinity
|
|
203
204
|
|
|
204
|
-
attr_accessor :
|
|
205
|
+
attr_accessor :timbre_affinity
|
|
205
206
|
|
|
206
207
|
attr_accessor :texture_affinity
|
|
207
208
|
|
|
208
|
-
attr_accessor :groovyness_affinity
|
|
209
|
-
|
|
210
209
|
attr_accessor :space_affinity
|
|
211
210
|
|
|
212
|
-
attr_accessor :
|
|
211
|
+
attr_accessor :groovyness_affinity
|
|
213
212
|
|
|
214
|
-
attr_accessor :
|
|
213
|
+
attr_accessor :valence_affinity
|
|
215
214
|
|
|
216
|
-
|
|
217
|
-
|
|
215
|
+
attr_accessor :tempo_affinity
|
|
216
|
+
|
|
217
|
+
attr_accessor :scale_affinity
|
|
218
218
|
|
|
219
219
|
class EnumAttributeValidator
|
|
220
220
|
attr_reader :datatype
|
|
@@ -242,8 +242,9 @@ module SongtradrApiClientRuby
|
|
|
242
242
|
def self.attribute_map
|
|
243
243
|
{
|
|
244
244
|
:'space' => :'space',
|
|
245
|
-
:'
|
|
245
|
+
:'harmony_affinity' => :'harmonyAffinity',
|
|
246
246
|
:'language_of_performance' => :'languageOfPerformance',
|
|
247
|
+
:'arousal' => :'arousal',
|
|
247
248
|
:'dominant_instrument' => :'dominantInstrument',
|
|
248
249
|
:'energy' => :'energy',
|
|
249
250
|
:'engagement' => :'engagement',
|
|
@@ -310,22 +311,21 @@ module SongtradrApiClientRuby
|
|
|
310
311
|
:'industry_suitability' => :'industrySuitability',
|
|
311
312
|
:'industry_suitability_affinity' => :'industrySuitabilityAffinity',
|
|
312
313
|
:'audience_region' => :'audienceRegion',
|
|
313
|
-
:'valence_affinity' => :'valenceAffinity',
|
|
314
314
|
:'arousal_affinity' => :'arousalAffinity',
|
|
315
|
+
:'channel_suitability_affinity' => :'channelSuitabilityAffinity',
|
|
316
|
+
:'key' => :'key',
|
|
317
|
+
:'energy_affinity' => :'energyAffinity',
|
|
318
|
+
:'key_affinity' => :'keyAffinity',
|
|
315
319
|
:'pleasantness_affinity' => :'pleasantnessAffinity',
|
|
316
320
|
:'engagement_affinity' => :'engagementAffinity',
|
|
317
|
-
:'energy_affinity' => :'energyAffinity',
|
|
318
|
-
:'tempo_affinity' => :'tempoAffinity',
|
|
319
|
-
:'scale_affinity' => :'scaleAffinity',
|
|
320
|
-
:'timbre_affinity' => :'timbreAffinity',
|
|
321
321
|
:'roughness_affinity' => :'roughnessAffinity',
|
|
322
|
-
:'
|
|
322
|
+
:'timbre_affinity' => :'timbreAffinity',
|
|
323
323
|
:'texture_affinity' => :'textureAffinity',
|
|
324
|
-
:'groovyness_affinity' => :'groovynessAffinity',
|
|
325
324
|
:'space_affinity' => :'spaceAffinity',
|
|
326
|
-
:'
|
|
327
|
-
:'
|
|
328
|
-
:'
|
|
325
|
+
:'groovyness_affinity' => :'groovynessAffinity',
|
|
326
|
+
:'valence_affinity' => :'valenceAffinity',
|
|
327
|
+
:'tempo_affinity' => :'tempoAffinity',
|
|
328
|
+
:'scale_affinity' => :'scaleAffinity'
|
|
329
329
|
}
|
|
330
330
|
end
|
|
331
331
|
|
|
@@ -338,8 +338,9 @@ module SongtradrApiClientRuby
|
|
|
338
338
|
def self.openapi_types
|
|
339
339
|
{
|
|
340
340
|
:'space' => :'String',
|
|
341
|
-
:'
|
|
341
|
+
:'harmony_affinity' => :'Float',
|
|
342
342
|
:'language_of_performance' => :'String',
|
|
343
|
+
:'arousal' => :'String',
|
|
343
344
|
:'dominant_instrument' => :'String',
|
|
344
345
|
:'energy' => :'String',
|
|
345
346
|
:'engagement' => :'String',
|
|
@@ -406,22 +407,21 @@ module SongtradrApiClientRuby
|
|
|
406
407
|
:'industry_suitability' => :'String',
|
|
407
408
|
:'industry_suitability_affinity' => :'Float',
|
|
408
409
|
:'audience_region' => :'String',
|
|
409
|
-
:'valence_affinity' => :'Float',
|
|
410
410
|
:'arousal_affinity' => :'Float',
|
|
411
|
+
:'channel_suitability_affinity' => :'Float',
|
|
412
|
+
:'key' => :'String',
|
|
413
|
+
:'energy_affinity' => :'Float',
|
|
414
|
+
:'key_affinity' => :'Float',
|
|
411
415
|
:'pleasantness_affinity' => :'Float',
|
|
412
416
|
:'engagement_affinity' => :'Float',
|
|
413
|
-
:'energy_affinity' => :'Float',
|
|
414
|
-
:'tempo_affinity' => :'Float',
|
|
415
|
-
:'scale_affinity' => :'Float',
|
|
416
|
-
:'timbre_affinity' => :'Float',
|
|
417
417
|
:'roughness_affinity' => :'Float',
|
|
418
|
-
:'
|
|
418
|
+
:'timbre_affinity' => :'Float',
|
|
419
419
|
:'texture_affinity' => :'Float',
|
|
420
|
-
:'groovyness_affinity' => :'Float',
|
|
421
420
|
:'space_affinity' => :'Float',
|
|
422
|
-
:'
|
|
423
|
-
:'
|
|
424
|
-
:'
|
|
421
|
+
:'groovyness_affinity' => :'Float',
|
|
422
|
+
:'valence_affinity' => :'Float',
|
|
423
|
+
:'tempo_affinity' => :'Float',
|
|
424
|
+
:'scale_affinity' => :'Float'
|
|
425
425
|
}
|
|
426
426
|
end
|
|
427
427
|
|
|
@@ -450,14 +450,18 @@ module SongtradrApiClientRuby
|
|
|
450
450
|
self.space = attributes[:'space']
|
|
451
451
|
end
|
|
452
452
|
|
|
453
|
-
if attributes.key?(:'
|
|
454
|
-
self.
|
|
453
|
+
if attributes.key?(:'harmony_affinity')
|
|
454
|
+
self.harmony_affinity = attributes[:'harmony_affinity']
|
|
455
455
|
end
|
|
456
456
|
|
|
457
457
|
if attributes.key?(:'language_of_performance')
|
|
458
458
|
self.language_of_performance = attributes[:'language_of_performance']
|
|
459
459
|
end
|
|
460
460
|
|
|
461
|
+
if attributes.key?(:'arousal')
|
|
462
|
+
self.arousal = attributes[:'arousal']
|
|
463
|
+
end
|
|
464
|
+
|
|
461
465
|
if attributes.key?(:'dominant_instrument')
|
|
462
466
|
self.dominant_instrument = attributes[:'dominant_instrument']
|
|
463
467
|
end
|
|
@@ -722,68 +726,64 @@ module SongtradrApiClientRuby
|
|
|
722
726
|
self.audience_region = attributes[:'audience_region']
|
|
723
727
|
end
|
|
724
728
|
|
|
725
|
-
if attributes.key?(:'valence_affinity')
|
|
726
|
-
self.valence_affinity = attributes[:'valence_affinity']
|
|
727
|
-
end
|
|
728
|
-
|
|
729
729
|
if attributes.key?(:'arousal_affinity')
|
|
730
730
|
self.arousal_affinity = attributes[:'arousal_affinity']
|
|
731
731
|
end
|
|
732
732
|
|
|
733
|
-
if attributes.key?(:'
|
|
734
|
-
self.
|
|
733
|
+
if attributes.key?(:'channel_suitability_affinity')
|
|
734
|
+
self.channel_suitability_affinity = attributes[:'channel_suitability_affinity']
|
|
735
735
|
end
|
|
736
736
|
|
|
737
|
-
if attributes.key?(:'
|
|
738
|
-
self.
|
|
737
|
+
if attributes.key?(:'key')
|
|
738
|
+
self.key = attributes[:'key']
|
|
739
739
|
end
|
|
740
740
|
|
|
741
741
|
if attributes.key?(:'energy_affinity')
|
|
742
742
|
self.energy_affinity = attributes[:'energy_affinity']
|
|
743
743
|
end
|
|
744
744
|
|
|
745
|
-
if attributes.key?(:'
|
|
746
|
-
self.
|
|
745
|
+
if attributes.key?(:'key_affinity')
|
|
746
|
+
self.key_affinity = attributes[:'key_affinity']
|
|
747
747
|
end
|
|
748
748
|
|
|
749
|
-
if attributes.key?(:'
|
|
750
|
-
self.
|
|
749
|
+
if attributes.key?(:'pleasantness_affinity')
|
|
750
|
+
self.pleasantness_affinity = attributes[:'pleasantness_affinity']
|
|
751
751
|
end
|
|
752
752
|
|
|
753
|
-
if attributes.key?(:'
|
|
754
|
-
self.
|
|
753
|
+
if attributes.key?(:'engagement_affinity')
|
|
754
|
+
self.engagement_affinity = attributes[:'engagement_affinity']
|
|
755
755
|
end
|
|
756
756
|
|
|
757
757
|
if attributes.key?(:'roughness_affinity')
|
|
758
758
|
self.roughness_affinity = attributes[:'roughness_affinity']
|
|
759
759
|
end
|
|
760
760
|
|
|
761
|
-
if attributes.key?(:'
|
|
762
|
-
self.
|
|
761
|
+
if attributes.key?(:'timbre_affinity')
|
|
762
|
+
self.timbre_affinity = attributes[:'timbre_affinity']
|
|
763
763
|
end
|
|
764
764
|
|
|
765
765
|
if attributes.key?(:'texture_affinity')
|
|
766
766
|
self.texture_affinity = attributes[:'texture_affinity']
|
|
767
767
|
end
|
|
768
768
|
|
|
769
|
-
if attributes.key?(:'groovyness_affinity')
|
|
770
|
-
self.groovyness_affinity = attributes[:'groovyness_affinity']
|
|
771
|
-
end
|
|
772
|
-
|
|
773
769
|
if attributes.key?(:'space_affinity')
|
|
774
770
|
self.space_affinity = attributes[:'space_affinity']
|
|
775
771
|
end
|
|
776
772
|
|
|
777
|
-
if attributes.key?(:'
|
|
778
|
-
self.
|
|
773
|
+
if attributes.key?(:'groovyness_affinity')
|
|
774
|
+
self.groovyness_affinity = attributes[:'groovyness_affinity']
|
|
779
775
|
end
|
|
780
776
|
|
|
781
|
-
if attributes.key?(:'
|
|
782
|
-
self.
|
|
777
|
+
if attributes.key?(:'valence_affinity')
|
|
778
|
+
self.valence_affinity = attributes[:'valence_affinity']
|
|
783
779
|
end
|
|
784
780
|
|
|
785
|
-
if attributes.key?(:'
|
|
786
|
-
self.
|
|
781
|
+
if attributes.key?(:'tempo_affinity')
|
|
782
|
+
self.tempo_affinity = attributes[:'tempo_affinity']
|
|
783
|
+
end
|
|
784
|
+
|
|
785
|
+
if attributes.key?(:'scale_affinity')
|
|
786
|
+
self.scale_affinity = attributes[:'scale_affinity']
|
|
787
787
|
end
|
|
788
788
|
end
|
|
789
789
|
|
|
@@ -801,10 +801,10 @@ module SongtradrApiClientRuby
|
|
|
801
801
|
warn '[DEPRECATED] the `valid?` method is obsolete'
|
|
802
802
|
space_validator = EnumAttributeValidator.new('String', ["very compact", "compact", "moderate space", "wide", "very wide"])
|
|
803
803
|
return false unless space_validator.valid?(@space)
|
|
804
|
-
arousal_validator = EnumAttributeValidator.new('String', ["very calm", "calm", "moderate arousal", "energetic", "very energetic", "varying arousal"])
|
|
805
|
-
return false unless arousal_validator.valid?(@arousal)
|
|
806
804
|
language_of_performance_validator = EnumAttributeValidator.new('String', ["en", "de", "no", "fr", "es", "pt", "fi", "ru", "it", "la", "el", "ar", "nl", "ja", "pl", "sv", "zu", "da", "cs", "hu", "af", "hi", "tr", "zh", "ms", "pa", "id", "ko", "vi"])
|
|
807
805
|
return false unless language_of_performance_validator.valid?(@language_of_performance)
|
|
806
|
+
arousal_validator = EnumAttributeValidator.new('String', ["very calm", "calm", "moderate arousal", "energetic", "very energetic", "varying arousal"])
|
|
807
|
+
return false unless arousal_validator.valid?(@arousal)
|
|
808
808
|
dominant_instrument_validator = EnumAttributeValidator.new('String', ["electric guitar", "piano", "electronics", "guitar", "strings", "synthesizer", "wind", "saxophone", "flute", "trumpet", "drum kit", "keys", "accordion", "violin", "harpsichord", "choir", "cello", "electric bass", "organ", "brass", "percussion", "vocals", "double bass", "harp"])
|
|
809
809
|
return false unless dominant_instrument_validator.valid?(@dominant_instrument)
|
|
810
810
|
energy_validator = EnumAttributeValidator.new('String', ["very quiet", "quiet", "moderate", "loud", "very loud", "dynamic"])
|
|
@@ -896,16 +896,6 @@ module SongtradrApiClientRuby
|
|
|
896
896
|
@space = space
|
|
897
897
|
end
|
|
898
898
|
|
|
899
|
-
# Custom attribute writer method checking allowed values (enum).
|
|
900
|
-
# @param [Object] arousal Object to be assigned
|
|
901
|
-
def arousal=(arousal)
|
|
902
|
-
validator = EnumAttributeValidator.new('String', ["very calm", "calm", "moderate arousal", "energetic", "very energetic", "varying arousal"])
|
|
903
|
-
unless validator.valid?(arousal)
|
|
904
|
-
fail ArgumentError, "invalid value for \"arousal\", must be one of #{validator.allowable_values}."
|
|
905
|
-
end
|
|
906
|
-
@arousal = arousal
|
|
907
|
-
end
|
|
908
|
-
|
|
909
899
|
# Custom attribute writer method checking allowed values (enum).
|
|
910
900
|
# @param [Object] language_of_performance Object to be assigned
|
|
911
901
|
def language_of_performance=(language_of_performance)
|
|
@@ -916,6 +906,16 @@ module SongtradrApiClientRuby
|
|
|
916
906
|
@language_of_performance = language_of_performance
|
|
917
907
|
end
|
|
918
908
|
|
|
909
|
+
# Custom attribute writer method checking allowed values (enum).
|
|
910
|
+
# @param [Object] arousal Object to be assigned
|
|
911
|
+
def arousal=(arousal)
|
|
912
|
+
validator = EnumAttributeValidator.new('String', ["very calm", "calm", "moderate arousal", "energetic", "very energetic", "varying arousal"])
|
|
913
|
+
unless validator.valid?(arousal)
|
|
914
|
+
fail ArgumentError, "invalid value for \"arousal\", must be one of #{validator.allowable_values}."
|
|
915
|
+
end
|
|
916
|
+
@arousal = arousal
|
|
917
|
+
end
|
|
918
|
+
|
|
919
919
|
# Custom attribute writer method checking allowed values (enum).
|
|
920
920
|
# @param [Object] dominant_instrument Object to be assigned
|
|
921
921
|
def dominant_instrument=(dominant_instrument)
|
|
@@ -1312,8 +1312,9 @@ module SongtradrApiClientRuby
|
|
|
1312
1312
|
return true if self.equal?(o)
|
|
1313
1313
|
self.class == o.class &&
|
|
1314
1314
|
space == o.space &&
|
|
1315
|
-
|
|
1315
|
+
harmony_affinity == o.harmony_affinity &&
|
|
1316
1316
|
language_of_performance == o.language_of_performance &&
|
|
1317
|
+
arousal == o.arousal &&
|
|
1317
1318
|
dominant_instrument == o.dominant_instrument &&
|
|
1318
1319
|
energy == o.energy &&
|
|
1319
1320
|
engagement == o.engagement &&
|
|
@@ -1380,22 +1381,21 @@ module SongtradrApiClientRuby
|
|
|
1380
1381
|
industry_suitability == o.industry_suitability &&
|
|
1381
1382
|
industry_suitability_affinity == o.industry_suitability_affinity &&
|
|
1382
1383
|
audience_region == o.audience_region &&
|
|
1383
|
-
valence_affinity == o.valence_affinity &&
|
|
1384
1384
|
arousal_affinity == o.arousal_affinity &&
|
|
1385
|
+
channel_suitability_affinity == o.channel_suitability_affinity &&
|
|
1386
|
+
key == o.key &&
|
|
1387
|
+
energy_affinity == o.energy_affinity &&
|
|
1388
|
+
key_affinity == o.key_affinity &&
|
|
1385
1389
|
pleasantness_affinity == o.pleasantness_affinity &&
|
|
1386
1390
|
engagement_affinity == o.engagement_affinity &&
|
|
1387
|
-
energy_affinity == o.energy_affinity &&
|
|
1388
|
-
tempo_affinity == o.tempo_affinity &&
|
|
1389
|
-
scale_affinity == o.scale_affinity &&
|
|
1390
|
-
timbre_affinity == o.timbre_affinity &&
|
|
1391
1391
|
roughness_affinity == o.roughness_affinity &&
|
|
1392
|
-
|
|
1392
|
+
timbre_affinity == o.timbre_affinity &&
|
|
1393
1393
|
texture_affinity == o.texture_affinity &&
|
|
1394
|
-
groovyness_affinity == o.groovyness_affinity &&
|
|
1395
1394
|
space_affinity == o.space_affinity &&
|
|
1396
|
-
|
|
1397
|
-
|
|
1398
|
-
|
|
1395
|
+
groovyness_affinity == o.groovyness_affinity &&
|
|
1396
|
+
valence_affinity == o.valence_affinity &&
|
|
1397
|
+
tempo_affinity == o.tempo_affinity &&
|
|
1398
|
+
scale_affinity == o.scale_affinity
|
|
1399
1399
|
end
|
|
1400
1400
|
|
|
1401
1401
|
# @see the `==` method
|
|
@@ -1407,7 +1407,7 @@ module SongtradrApiClientRuby
|
|
|
1407
1407
|
# Calculates hash code according to all attributes.
|
|
1408
1408
|
# @return [Integer] Hash code
|
|
1409
1409
|
def hash
|
|
1410
|
-
[space,
|
|
1410
|
+
[space, harmony_affinity, language_of_performance, arousal, dominant_instrument, energy, engagement, groovyness, harmony, pleasantness, primary_mood_cluster, primary_sound_character, rhythm, roughness, scale, sound_generation, tempo, texture, timbre, tonality, valence, vocals, origin_decade, curateability, use_case, channel_suitability, primary_mood_cluster_affinity, secondary_mood_cluster, secondary_mood_cluster_affinity, tertiary_mood_cluster, tertiary_mood_cluster_affinity, vocals_affinity, dominant_instrument_affinity, secondary_instrument, secondary_instrument_affinity, tertiary_instrument, tertiary_instrument_affinity, sound_generation_affinity, rhythm_affinity, primary_sound_character_affinity, tonality_affinity, bpm, production_rating, production_rating_affinity, performance_rating, performance_rating_affinity, song_rating, song_rating_affinity, audience_age, audience_age_affinity, secondary_audience_age, secondary_audience_age_affinity, tertiary_audience_age, tertiary_audience_age_affinity, audience_gender, audience_gender_affinity, audience_region_affinity, secondary_audience_region, secondary_audience_region_affinity, tertiary_audience_region, tertiary_audience_region_affinity, origin_region, origin_region_affinity, origin_decade_affinity, language_of_performance_affinity, curateability_affinity, use_case_affinity, industry_suitability, industry_suitability_affinity, audience_region, arousal_affinity, channel_suitability_affinity, key, energy_affinity, key_affinity, pleasantness_affinity, engagement_affinity, roughness_affinity, timbre_affinity, texture_affinity, space_affinity, groovyness_affinity, valence_affinity, tempo_affinity, scale_affinity].hash
|
|
1411
1411
|
end
|
|
1412
1412
|
|
|
1413
1413
|
# Builds the object from hash
|
|
@@ -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.13.
|
|
6
|
+
The version of the OpenAPI document: 1.13.3
|
|
7
7
|
Contact: info@songtradr.com
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
|
9
9
|
OpenAPI Generator version: 7.0.1-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.13.
|
|
6
|
+
The version of the OpenAPI document: 1.13.3
|
|
7
7
|
Contact: info@songtradr.com
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
|
9
9
|
OpenAPI Generator version: 7.0.1-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.13.
|
|
6
|
+
The version of the OpenAPI document: 1.13.3
|
|
7
7
|
Contact: info@songtradr.com
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
|
9
9
|
OpenAPI Generator version: 7.0.1-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.13.
|
|
6
|
+
The version of the OpenAPI document: 1.13.3
|
|
7
7
|
Contact: info@songtradr.com
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
|
9
9
|
OpenAPI Generator version: 7.0.1-SNAPSHOT
|
|
@@ -22,8 +22,6 @@ module SongtradrApiClientRuby
|
|
|
22
22
|
|
|
23
23
|
attr_accessor :usages
|
|
24
24
|
|
|
25
|
-
attr_accessor :songtradr_playlist_guid
|
|
26
|
-
|
|
27
25
|
attr_accessor :asset_url
|
|
28
26
|
|
|
29
27
|
attr_accessor :pretzel_tier
|
|
@@ -32,6 +30,8 @@ module SongtradrApiClientRuby
|
|
|
32
30
|
|
|
33
31
|
attr_accessor :tracks
|
|
34
32
|
|
|
33
|
+
attr_accessor :songtradr_playlist_guid
|
|
34
|
+
|
|
35
35
|
attr_accessor :created
|
|
36
36
|
|
|
37
37
|
attr_accessor :updated
|
|
@@ -66,11 +66,11 @@ module SongtradrApiClientRuby
|
|
|
66
66
|
:'name' => :'name',
|
|
67
67
|
:'state' => :'state',
|
|
68
68
|
:'usages' => :'usages',
|
|
69
|
-
:'songtradr_playlist_guid' => :'songtradrPlaylistGuid',
|
|
70
69
|
:'asset_url' => :'assetURL',
|
|
71
70
|
:'pretzel_tier' => :'pretzelTier',
|
|
72
71
|
:'usage' => :'usage',
|
|
73
72
|
:'tracks' => :'tracks',
|
|
73
|
+
:'songtradr_playlist_guid' => :'songtradrPlaylistGuid',
|
|
74
74
|
:'created' => :'created',
|
|
75
75
|
:'updated' => :'updated',
|
|
76
76
|
:'description' => :'description'
|
|
@@ -88,11 +88,11 @@ module SongtradrApiClientRuby
|
|
|
88
88
|
:'name' => :'String',
|
|
89
89
|
:'state' => :'String',
|
|
90
90
|
:'usages' => :'Array<UsageDTO>',
|
|
91
|
-
:'songtradr_playlist_guid' => :'String',
|
|
92
91
|
:'asset_url' => :'String',
|
|
93
92
|
:'pretzel_tier' => :'String',
|
|
94
93
|
:'usage' => :'String',
|
|
95
94
|
:'tracks' => :'Array<RecordingPlaylistDTO>',
|
|
95
|
+
:'songtradr_playlist_guid' => :'String',
|
|
96
96
|
:'created' => :'Time',
|
|
97
97
|
:'updated' => :'Time',
|
|
98
98
|
:'description' => :'String'
|
|
@@ -136,10 +136,6 @@ module SongtradrApiClientRuby
|
|
|
136
136
|
end
|
|
137
137
|
end
|
|
138
138
|
|
|
139
|
-
if attributes.key?(:'songtradr_playlist_guid')
|
|
140
|
-
self.songtradr_playlist_guid = attributes[:'songtradr_playlist_guid']
|
|
141
|
-
end
|
|
142
|
-
|
|
143
139
|
if attributes.key?(:'asset_url')
|
|
144
140
|
self.asset_url = attributes[:'asset_url']
|
|
145
141
|
end
|
|
@@ -158,6 +154,10 @@ module SongtradrApiClientRuby
|
|
|
158
154
|
end
|
|
159
155
|
end
|
|
160
156
|
|
|
157
|
+
if attributes.key?(:'songtradr_playlist_guid')
|
|
158
|
+
self.songtradr_playlist_guid = attributes[:'songtradr_playlist_guid']
|
|
159
|
+
end
|
|
160
|
+
|
|
161
161
|
if attributes.key?(:'created')
|
|
162
162
|
self.created = attributes[:'created']
|
|
163
163
|
end
|
|
@@ -211,11 +211,11 @@ module SongtradrApiClientRuby
|
|
|
211
211
|
name == o.name &&
|
|
212
212
|
state == o.state &&
|
|
213
213
|
usages == o.usages &&
|
|
214
|
-
songtradr_playlist_guid == o.songtradr_playlist_guid &&
|
|
215
214
|
asset_url == o.asset_url &&
|
|
216
215
|
pretzel_tier == o.pretzel_tier &&
|
|
217
216
|
usage == o.usage &&
|
|
218
217
|
tracks == o.tracks &&
|
|
218
|
+
songtradr_playlist_guid == o.songtradr_playlist_guid &&
|
|
219
219
|
created == o.created &&
|
|
220
220
|
updated == o.updated &&
|
|
221
221
|
description == o.description
|
|
@@ -230,7 +230,7 @@ module SongtradrApiClientRuby
|
|
|
230
230
|
# Calculates hash code according to all attributes.
|
|
231
231
|
# @return [Integer] Hash code
|
|
232
232
|
def hash
|
|
233
|
-
[name, state, usages,
|
|
233
|
+
[name, state, usages, asset_url, pretzel_tier, usage, tracks, songtradr_playlist_guid, created, updated, description].hash
|
|
234
234
|
end
|
|
235
235
|
|
|
236
236
|
# Builds the object from hash
|
|
@@ -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.13.
|
|
6
|
+
The version of the OpenAPI document: 1.13.3
|
|
7
7
|
Contact: info@songtradr.com
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
|
9
9
|
OpenAPI Generator version: 7.0.1-SNAPSHOT
|
|
@@ -24,8 +24,6 @@ module SongtradrApiClientRuby
|
|
|
24
24
|
|
|
25
25
|
attr_accessor :gtin
|
|
26
26
|
|
|
27
|
-
attr_accessor :pline
|
|
28
|
-
|
|
29
27
|
attr_accessor :grid
|
|
30
28
|
|
|
31
29
|
attr_accessor :release_date
|
|
@@ -34,6 +32,8 @@ module SongtradrApiClientRuby
|
|
|
34
32
|
|
|
35
33
|
attr_accessor :parties
|
|
36
34
|
|
|
35
|
+
attr_accessor :pline
|
|
36
|
+
|
|
37
37
|
# Attribute mapping from ruby-style variable name to JSON key.
|
|
38
38
|
def self.attribute_map
|
|
39
39
|
{
|
|
@@ -41,11 +41,11 @@ module SongtradrApiClientRuby
|
|
|
41
41
|
:'genres' => :'genres',
|
|
42
42
|
:'titles' => :'titles',
|
|
43
43
|
:'gtin' => :'gtin',
|
|
44
|
-
:'pline' => :'pline',
|
|
45
44
|
:'grid' => :'grid',
|
|
46
45
|
:'release_date' => :'releaseDate',
|
|
47
46
|
:'takedown_date' => :'takedownDate',
|
|
48
|
-
:'parties' => :'parties'
|
|
47
|
+
:'parties' => :'parties',
|
|
48
|
+
:'pline' => :'pline'
|
|
49
49
|
}
|
|
50
50
|
end
|
|
51
51
|
|
|
@@ -61,11 +61,11 @@ module SongtradrApiClientRuby
|
|
|
61
61
|
:'genres' => :'Array<GenreMinimalDTO>',
|
|
62
62
|
:'titles' => :'Array<TitleDTO>',
|
|
63
63
|
:'gtin' => :'String',
|
|
64
|
-
:'pline' => :'PLineDTO',
|
|
65
64
|
:'grid' => :'String',
|
|
66
65
|
:'release_date' => :'Time',
|
|
67
66
|
:'takedown_date' => :'Time',
|
|
68
|
-
:'parties' => :'Array<ProductPartyDTO>'
|
|
67
|
+
:'parties' => :'Array<ProductPartyDTO>',
|
|
68
|
+
:'pline' => :'PLineDTO'
|
|
69
69
|
}
|
|
70
70
|
end
|
|
71
71
|
|
|
@@ -110,10 +110,6 @@ module SongtradrApiClientRuby
|
|
|
110
110
|
self.gtin = attributes[:'gtin']
|
|
111
111
|
end
|
|
112
112
|
|
|
113
|
-
if attributes.key?(:'pline')
|
|
114
|
-
self.pline = attributes[:'pline']
|
|
115
|
-
end
|
|
116
|
-
|
|
117
113
|
if attributes.key?(:'grid')
|
|
118
114
|
self.grid = attributes[:'grid']
|
|
119
115
|
end
|
|
@@ -131,6 +127,10 @@ module SongtradrApiClientRuby
|
|
|
131
127
|
self.parties = value
|
|
132
128
|
end
|
|
133
129
|
end
|
|
130
|
+
|
|
131
|
+
if attributes.key?(:'pline')
|
|
132
|
+
self.pline = attributes[:'pline']
|
|
133
|
+
end
|
|
134
134
|
end
|
|
135
135
|
|
|
136
136
|
# Show invalid properties with the reasons. Usually used together with valid?
|
|
@@ -187,11 +187,11 @@ module SongtradrApiClientRuby
|
|
|
187
187
|
genres == o.genres &&
|
|
188
188
|
titles == o.titles &&
|
|
189
189
|
gtin == o.gtin &&
|
|
190
|
-
pline == o.pline &&
|
|
191
190
|
grid == o.grid &&
|
|
192
191
|
release_date == o.release_date &&
|
|
193
192
|
takedown_date == o.takedown_date &&
|
|
194
|
-
parties == o.parties
|
|
193
|
+
parties == o.parties &&
|
|
194
|
+
pline == o.pline
|
|
195
195
|
end
|
|
196
196
|
|
|
197
197
|
# @see the `==` method
|
|
@@ -203,7 +203,7 @@ module SongtradrApiClientRuby
|
|
|
203
203
|
# Calculates hash code according to all attributes.
|
|
204
204
|
# @return [Integer] Hash code
|
|
205
205
|
def hash
|
|
206
|
-
[duration, genres, titles, gtin,
|
|
206
|
+
[duration, genres, titles, gtin, grid, release_date, takedown_date, parties, pline].hash
|
|
207
207
|
end
|
|
208
208
|
|
|
209
209
|
# Builds the object from hash
|
|
@@ -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.13.
|
|
6
|
+
The version of the OpenAPI document: 1.13.3
|
|
7
7
|
Contact: info@songtradr.com
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
|
9
9
|
OpenAPI Generator version: 7.0.1-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.13.
|
|
6
|
+
The version of the OpenAPI document: 1.13.3
|
|
7
7
|
Contact: info@songtradr.com
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
|
9
9
|
OpenAPI Generator version: 7.0.1-SNAPSHOT
|