songtradr_api_client_ruby 2.0.0 → 2.1.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +3 -3
- data/README.md +14 -9
- data/docs/FileSmallDTO.md +5 -5
- data/docs/MusicalFeaturesDTO.md +14 -14
- data/docs/RecordingApi.md +36 -36
- data/docs/RecordingMediumDTO.md +2 -2
- data/docs/RecordingSmallDTO.md +3 -3
- data/docs/UserApi.md +308 -0
- data/lib/songtradr_api_client_ruby/api/allowed_values_api.rb +2 -2
- data/lib/songtradr_api_client_ruby/api/recording_api.rb +30 -30
- data/lib/songtradr_api_client_ruby/api/user_api.rb +296 -2
- data/lib/songtradr_api_client_ruby/api_client.rb +4 -5
- data/lib/songtradr_api_client_ruby/api_error.rb +2 -2
- data/lib/songtradr_api_client_ruby/configuration.rb +2 -2
- data/lib/songtradr_api_client_ruby/models/category_medium_dto.rb +2 -2
- data/lib/songtradr_api_client_ruby/models/category_minimal_dto.rb +2 -2
- data/lib/songtradr_api_client_ruby/models/config_access_dto.rb +2 -2
- data/lib/songtradr_api_client_ruby/models/config_identifier_dto.rb +2 -2
- data/lib/songtradr_api_client_ruby/models/contributor_type_dto.rb +2 -2
- data/lib/songtradr_api_client_ruby/models/error_response.rb +2 -2
- data/lib/songtradr_api_client_ruby/models/field_summary_dto.rb +2 -2
- data/lib/songtradr_api_client_ruby/models/file_dto.rb +2 -2
- data/lib/songtradr_api_client_ruby/models/file_list_dto.rb +2 -2
- data/lib/songtradr_api_client_ruby/models/file_small_dto.rb +44 -44
- data/lib/songtradr_api_client_ruby/models/file_upload_dto.rb +2 -2
- data/lib/songtradr_api_client_ruby/models/file_w_ith_url_dto.rb +2 -2
- data/lib/songtradr_api_client_ruby/models/files_summary_dto.rb +2 -2
- data/lib/songtradr_api_client_ruby/models/forgot_password_dto.rb +2 -2
- data/lib/songtradr_api_client_ruby/models/genre_dto.rb +2 -2
- data/lib/songtradr_api_client_ruby/models/genre_minimal_dto.rb +2 -2
- data/lib/songtradr_api_client_ruby/models/genres_summary_dto.rb +2 -2
- data/lib/songtradr_api_client_ruby/models/image_recognition_response.rb +2 -2
- data/lib/songtradr_api_client_ruby/models/init_put_recording_audio_dto.rb +2 -2
- data/lib/songtradr_api_client_ruby/models/jwt_token_dto.rb +2 -2
- data/lib/songtradr_api_client_ruby/models/login_dto.rb +2 -2
- data/lib/songtradr_api_client_ruby/models/musical_features_dto.rb +76 -76
- data/lib/songtradr_api_client_ruby/models/party_small_dto.rb +2 -2
- data/lib/songtradr_api_client_ruby/models/recording_for_similarity_search_dto.rb +2 -2
- data/lib/songtradr_api_client_ruby/models/recording_genre_prediction_dto.rb +2 -2
- data/lib/songtradr_api_client_ruby/models/recording_list_dto.rb +2 -2
- data/lib/songtradr_api_client_ruby/models/recording_medium_dto.rb +24 -24
- data/lib/songtradr_api_client_ruby/models/recording_minimal_with_musical_features_dto.rb +2 -2
- data/lib/songtradr_api_client_ruby/models/recording_minimal_with_taggrams_dto.rb +2 -2
- data/lib/songtradr_api_client_ruby/models/recording_minimal_with_tagstrengths_dto.rb +2 -2
- data/lib/songtradr_api_client_ruby/models/recording_party_dto.rb +2 -2
- data/lib/songtradr_api_client_ruby/models/recording_small_dto.rb +27 -27
- data/lib/songtradr_api_client_ruby/models/recording_tag_small_dto.rb +2 -2
- data/lib/songtradr_api_client_ruby/models/save_user_dto.rb +2 -2
- data/lib/songtradr_api_client_ruby/models/search_filter_values_dto.rb +2 -2
- data/lib/songtradr_api_client_ruby/models/sign_up_dto.rb +2 -2
- data/lib/songtradr_api_client_ruby/models/tag_dto.rb +2 -2
- data/lib/songtradr_api_client_ruby/models/tag_small_dto.rb +2 -2
- data/lib/songtradr_api_client_ruby/models/taggram_dto.rb +2 -2
- data/lib/songtradr_api_client_ruby/models/tags_summary_dto.rb +2 -2
- data/lib/songtradr_api_client_ruby/models/tagstrength_dto.rb +2 -2
- data/lib/songtradr_api_client_ruby/models/title_dto.rb +2 -2
- data/lib/songtradr_api_client_ruby/models/token_request.rb +2 -2
- data/lib/songtradr_api_client_ruby/models/track_dto.rb +2 -2
- data/lib/songtradr_api_client_ruby/models/update_password_dto.rb +2 -2
- data/lib/songtradr_api_client_ruby/models/user_dto.rb +2 -2
- data/lib/songtradr_api_client_ruby/models/video_recognition_response.rb +2 -2
- data/lib/songtradr_api_client_ruby/version.rb +3 -3
- data/lib/songtradr_api_client_ruby.rb +2 -2
- data/openapi-generator-config.yaml +1 -1
- data/songtradr_api_client_ruby.gemspec +3 -3
- data/spec/api/allowed_values_api_spec.rb +2 -2
- data/spec/api/recording_api_spec.rb +10 -10
- data/spec/api/user_api_spec.rb +60 -2
- data/spec/models/category_medium_dto_spec.rb +2 -2
- data/spec/models/category_minimal_dto_spec.rb +2 -2
- data/spec/models/config_access_dto_spec.rb +2 -2
- data/spec/models/config_identifier_dto_spec.rb +2 -2
- data/spec/models/contributor_type_dto_spec.rb +2 -2
- data/spec/models/error_response_spec.rb +2 -2
- data/spec/models/field_summary_dto_spec.rb +2 -2
- data/spec/models/file_dto_spec.rb +2 -2
- data/spec/models/file_list_dto_spec.rb +2 -2
- data/spec/models/file_small_dto_spec.rb +18 -18
- data/spec/models/file_upload_dto_spec.rb +2 -2
- data/spec/models/file_w_ith_url_dto_spec.rb +2 -2
- data/spec/models/files_summary_dto_spec.rb +2 -2
- data/spec/models/forgot_password_dto_spec.rb +2 -2
- data/spec/models/genre_dto_spec.rb +2 -2
- data/spec/models/genre_minimal_dto_spec.rb +2 -2
- data/spec/models/genres_summary_dto_spec.rb +2 -2
- data/spec/models/image_recognition_response_spec.rb +2 -2
- data/spec/models/init_put_recording_audio_dto_spec.rb +2 -2
- data/spec/models/jwt_token_dto_spec.rb +2 -2
- data/spec/models/login_dto_spec.rb +2 -2
- data/spec/models/musical_features_dto_spec.rb +32 -32
- data/spec/models/party_small_dto_spec.rb +2 -2
- data/spec/models/recording_for_similarity_search_dto_spec.rb +2 -2
- data/spec/models/recording_genre_prediction_dto_spec.rb +2 -2
- data/spec/models/recording_list_dto_spec.rb +2 -2
- data/spec/models/recording_medium_dto_spec.rb +8 -8
- data/spec/models/recording_minimal_with_musical_features_dto_spec.rb +2 -2
- data/spec/models/recording_minimal_with_taggrams_dto_spec.rb +2 -2
- data/spec/models/recording_minimal_with_tagstrengths_dto_spec.rb +2 -2
- data/spec/models/recording_party_dto_spec.rb +2 -2
- data/spec/models/recording_small_dto_spec.rb +5 -5
- data/spec/models/recording_tag_small_dto_spec.rb +2 -2
- data/spec/models/save_user_dto_spec.rb +2 -2
- data/spec/models/search_filter_values_dto_spec.rb +2 -2
- data/spec/models/sign_up_dto_spec.rb +2 -2
- data/spec/models/tag_dto_spec.rb +2 -2
- data/spec/models/tag_small_dto_spec.rb +2 -2
- data/spec/models/taggram_dto_spec.rb +2 -2
- data/spec/models/tags_summary_dto_spec.rb +2 -2
- data/spec/models/tagstrength_dto_spec.rb +2 -2
- data/spec/models/title_dto_spec.rb +2 -2
- data/spec/models/token_request_spec.rb +2 -2
- data/spec/models/track_dto_spec.rb +2 -2
- data/spec/models/update_password_dto_spec.rb +2 -2
- data/spec/models/user_dto_spec.rb +2 -2
- data/spec/models/video_recognition_response_spec.rb +2 -2
- data/spec/spec_helper.rb +2 -2
- metadata +42 -42
@@ -3,10 +3,10 @@
|
|
3
3
|
|
4
4
|
#This is the Songtradr API. Use it to retrieve deep music metadata and trigger processes like auto-tagging. You can also use the API to manage your account and musicube cloud data. **Authentication** 1. Reach out to support@songtradr.com to receive a free account or use your login data if you are already signed up. 2. To authenticate, you need to login via the POST /api/v1/user/login endpoint. 3. The endpoint responds with a jwtToken which you can use in all following API requests as a bearer token. **Rate Limiting** The current limit is 120 Requests per minute. Reach out to us via support@songtradr.com if you need to request more. **Getting Started with auto-tagging** 1. If you want to get your own files auto-tagged, use the POST /api/v1/user/file/{name}/initUpload endpoint. It responds with a presigned S3 link where you can upload your file. 2. You can check the processing status of your file via the GET /api/v1/user/file/{name}/filesStatus endpoint. 3. As soon as processing is done, you can request the generated data via the GET /api/v1/user/files endpoint. **Getting Started with search** You can either search the released music via the /public/recording endpoints or your own private uploaded music via the /user/file/ endpoints. 1. If you want to search the world's released music, a good starting point is the GET /api/v1/public/recording/search endpoint. Please find the extensive list of parameters that serve as semantic search filters. 2. If you want to search your own previously uploaded music, a good starting point is the GET GET /api/v1/user/files endpoint. It has the same extensive list of parameters that serve as semantic search filters.
|
5
5
|
|
6
|
-
The version of the OpenAPI document: 2.
|
6
|
+
The version of the OpenAPI document: 2.1.0
|
7
7
|
Contact: info@songtradr.com
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
|
-
|
9
|
+
Generator version: 7.5.0-SNAPSHOT
|
10
10
|
|
11
11
|
=end
|
12
12
|
|
@@ -19,8 +19,15 @@ module SongtradrApiClientRuby
|
|
19
19
|
# Search for space
|
20
20
|
attr_accessor :space
|
21
21
|
|
22
|
-
|
23
|
-
|
22
|
+
attr_accessor :groovyness_affinity
|
23
|
+
|
24
|
+
attr_accessor :space_affinity
|
25
|
+
|
26
|
+
attr_accessor :loudness_affinity
|
27
|
+
|
28
|
+
attr_accessor :key_affinity
|
29
|
+
|
30
|
+
attr_accessor :channel_suitability_affinity
|
24
31
|
|
25
32
|
attr_accessor :valence_affinity
|
26
33
|
|
@@ -44,18 +51,11 @@ module SongtradrApiClientRuby
|
|
44
51
|
|
45
52
|
attr_accessor :texture_affinity
|
46
53
|
|
47
|
-
attr_accessor :groovyness_affinity
|
48
|
-
|
49
|
-
attr_accessor :space_affinity
|
50
|
-
|
51
|
-
attr_accessor :loudness_affinity
|
52
|
-
|
53
|
-
attr_accessor :key_affinity
|
54
|
-
|
55
|
-
attr_accessor :channel_suitability_affinity
|
56
|
-
|
57
54
|
attr_accessor :language_of_performance
|
58
55
|
|
56
|
+
# Search for an arousal
|
57
|
+
attr_accessor :arousal
|
58
|
+
|
59
59
|
# Search for a dominant instrument
|
60
60
|
attr_accessor :dominant_instrument
|
61
61
|
|
@@ -128,6 +128,8 @@ module SongtradrApiClientRuby
|
|
128
128
|
# Search for loudness
|
129
129
|
attr_accessor :loudness
|
130
130
|
|
131
|
+
attr_accessor :bpm
|
132
|
+
|
131
133
|
attr_accessor :primary_mood_cluster_affinity
|
132
134
|
|
133
135
|
# Search for a language of the lyrics
|
@@ -162,8 +164,6 @@ module SongtradrApiClientRuby
|
|
162
164
|
|
163
165
|
attr_accessor :tonality_affinity
|
164
166
|
|
165
|
-
attr_accessor :bpm
|
166
|
-
|
167
167
|
attr_accessor :production_rating
|
168
168
|
|
169
169
|
attr_accessor :production_rating_affinity
|
@@ -247,7 +247,11 @@ module SongtradrApiClientRuby
|
|
247
247
|
def self.attribute_map
|
248
248
|
{
|
249
249
|
:'space' => :'space',
|
250
|
-
:'
|
250
|
+
:'groovyness_affinity' => :'groovynessAffinity',
|
251
|
+
:'space_affinity' => :'spaceAffinity',
|
252
|
+
:'loudness_affinity' => :'loudnessAffinity',
|
253
|
+
:'key_affinity' => :'keyAffinity',
|
254
|
+
:'channel_suitability_affinity' => :'channelSuitabilityAffinity',
|
251
255
|
:'valence_affinity' => :'valenceAffinity',
|
252
256
|
:'arousal_affinity' => :'arousalAffinity',
|
253
257
|
:'pleasantness_affinity' => :'pleasantnessAffinity',
|
@@ -259,12 +263,8 @@ module SongtradrApiClientRuby
|
|
259
263
|
:'roughness_affinity' => :'roughnessAffinity',
|
260
264
|
:'harmony_affinity' => :'harmonyAffinity',
|
261
265
|
:'texture_affinity' => :'textureAffinity',
|
262
|
-
:'groovyness_affinity' => :'groovynessAffinity',
|
263
|
-
:'space_affinity' => :'spaceAffinity',
|
264
|
-
:'loudness_affinity' => :'loudnessAffinity',
|
265
|
-
:'key_affinity' => :'keyAffinity',
|
266
|
-
:'channel_suitability_affinity' => :'channelSuitabilityAffinity',
|
267
266
|
:'language_of_performance' => :'languageOfPerformance',
|
267
|
+
:'arousal' => :'arousal',
|
268
268
|
:'dominant_instrument' => :'dominantInstrument',
|
269
269
|
:'energy' => :'energy',
|
270
270
|
:'engagement' => :'engagement',
|
@@ -289,6 +289,7 @@ module SongtradrApiClientRuby
|
|
289
289
|
:'use_case' => :'useCase',
|
290
290
|
:'channel_suitability' => :'channelSuitability',
|
291
291
|
:'loudness' => :'loudness',
|
292
|
+
:'bpm' => :'bpm',
|
292
293
|
:'primary_mood_cluster_affinity' => :'primaryMoodClusterAffinity',
|
293
294
|
:'secondary_mood_cluster' => :'secondaryMoodCluster',
|
294
295
|
:'secondary_mood_cluster_affinity' => :'secondaryMoodClusterAffinity',
|
@@ -304,7 +305,6 @@ module SongtradrApiClientRuby
|
|
304
305
|
:'rhythm_affinity' => :'rhythmAffinity',
|
305
306
|
:'primary_sound_character_affinity' => :'primarySoundCharacterAffinity',
|
306
307
|
:'tonality_affinity' => :'tonalityAffinity',
|
307
|
-
:'bpm' => :'bpm',
|
308
308
|
:'production_rating' => :'productionRating',
|
309
309
|
:'production_rating_affinity' => :'productionRatingAffinity',
|
310
310
|
:'performance_rating' => :'performanceRating',
|
@@ -345,7 +345,11 @@ module SongtradrApiClientRuby
|
|
345
345
|
def self.openapi_types
|
346
346
|
{
|
347
347
|
:'space' => :'String',
|
348
|
-
:'
|
348
|
+
:'groovyness_affinity' => :'Float',
|
349
|
+
:'space_affinity' => :'Float',
|
350
|
+
:'loudness_affinity' => :'Float',
|
351
|
+
:'key_affinity' => :'Float',
|
352
|
+
:'channel_suitability_affinity' => :'Float',
|
349
353
|
:'valence_affinity' => :'Float',
|
350
354
|
:'arousal_affinity' => :'Float',
|
351
355
|
:'pleasantness_affinity' => :'Float',
|
@@ -357,12 +361,8 @@ module SongtradrApiClientRuby
|
|
357
361
|
:'roughness_affinity' => :'Float',
|
358
362
|
:'harmony_affinity' => :'Float',
|
359
363
|
:'texture_affinity' => :'Float',
|
360
|
-
:'groovyness_affinity' => :'Float',
|
361
|
-
:'space_affinity' => :'Float',
|
362
|
-
:'loudness_affinity' => :'Float',
|
363
|
-
:'key_affinity' => :'Float',
|
364
|
-
:'channel_suitability_affinity' => :'Float',
|
365
364
|
:'language_of_performance' => :'String',
|
365
|
+
:'arousal' => :'String',
|
366
366
|
:'dominant_instrument' => :'String',
|
367
367
|
:'energy' => :'String',
|
368
368
|
:'engagement' => :'String',
|
@@ -387,6 +387,7 @@ module SongtradrApiClientRuby
|
|
387
387
|
:'use_case' => :'String',
|
388
388
|
:'channel_suitability' => :'String',
|
389
389
|
:'loudness' => :'String',
|
390
|
+
:'bpm' => :'Float',
|
390
391
|
:'primary_mood_cluster_affinity' => :'Float',
|
391
392
|
:'secondary_mood_cluster' => :'String',
|
392
393
|
:'secondary_mood_cluster_affinity' => :'Float',
|
@@ -402,7 +403,6 @@ module SongtradrApiClientRuby
|
|
402
403
|
:'rhythm_affinity' => :'Float',
|
403
404
|
:'primary_sound_character_affinity' => :'Float',
|
404
405
|
:'tonality_affinity' => :'Float',
|
405
|
-
:'bpm' => :'Float',
|
406
406
|
:'production_rating' => :'String',
|
407
407
|
:'production_rating_affinity' => :'Float',
|
408
408
|
:'performance_rating' => :'String',
|
@@ -459,8 +459,24 @@ module SongtradrApiClientRuby
|
|
459
459
|
self.space = attributes[:'space']
|
460
460
|
end
|
461
461
|
|
462
|
-
if attributes.key?(:'
|
463
|
-
self.
|
462
|
+
if attributes.key?(:'groovyness_affinity')
|
463
|
+
self.groovyness_affinity = attributes[:'groovyness_affinity']
|
464
|
+
end
|
465
|
+
|
466
|
+
if attributes.key?(:'space_affinity')
|
467
|
+
self.space_affinity = attributes[:'space_affinity']
|
468
|
+
end
|
469
|
+
|
470
|
+
if attributes.key?(:'loudness_affinity')
|
471
|
+
self.loudness_affinity = attributes[:'loudness_affinity']
|
472
|
+
end
|
473
|
+
|
474
|
+
if attributes.key?(:'key_affinity')
|
475
|
+
self.key_affinity = attributes[:'key_affinity']
|
476
|
+
end
|
477
|
+
|
478
|
+
if attributes.key?(:'channel_suitability_affinity')
|
479
|
+
self.channel_suitability_affinity = attributes[:'channel_suitability_affinity']
|
464
480
|
end
|
465
481
|
|
466
482
|
if attributes.key?(:'valence_affinity')
|
@@ -507,30 +523,14 @@ module SongtradrApiClientRuby
|
|
507
523
|
self.texture_affinity = attributes[:'texture_affinity']
|
508
524
|
end
|
509
525
|
|
510
|
-
if attributes.key?(:'groovyness_affinity')
|
511
|
-
self.groovyness_affinity = attributes[:'groovyness_affinity']
|
512
|
-
end
|
513
|
-
|
514
|
-
if attributes.key?(:'space_affinity')
|
515
|
-
self.space_affinity = attributes[:'space_affinity']
|
516
|
-
end
|
517
|
-
|
518
|
-
if attributes.key?(:'loudness_affinity')
|
519
|
-
self.loudness_affinity = attributes[:'loudness_affinity']
|
520
|
-
end
|
521
|
-
|
522
|
-
if attributes.key?(:'key_affinity')
|
523
|
-
self.key_affinity = attributes[:'key_affinity']
|
524
|
-
end
|
525
|
-
|
526
|
-
if attributes.key?(:'channel_suitability_affinity')
|
527
|
-
self.channel_suitability_affinity = attributes[:'channel_suitability_affinity']
|
528
|
-
end
|
529
|
-
|
530
526
|
if attributes.key?(:'language_of_performance')
|
531
527
|
self.language_of_performance = attributes[:'language_of_performance']
|
532
528
|
end
|
533
529
|
|
530
|
+
if attributes.key?(:'arousal')
|
531
|
+
self.arousal = attributes[:'arousal']
|
532
|
+
end
|
533
|
+
|
534
534
|
if attributes.key?(:'dominant_instrument')
|
535
535
|
self.dominant_instrument = attributes[:'dominant_instrument']
|
536
536
|
end
|
@@ -627,6 +627,10 @@ module SongtradrApiClientRuby
|
|
627
627
|
self.loudness = attributes[:'loudness']
|
628
628
|
end
|
629
629
|
|
630
|
+
if attributes.key?(:'bpm')
|
631
|
+
self.bpm = attributes[:'bpm']
|
632
|
+
end
|
633
|
+
|
630
634
|
if attributes.key?(:'primary_mood_cluster_affinity')
|
631
635
|
self.primary_mood_cluster_affinity = attributes[:'primary_mood_cluster_affinity']
|
632
636
|
end
|
@@ -687,10 +691,6 @@ module SongtradrApiClientRuby
|
|
687
691
|
self.tonality_affinity = attributes[:'tonality_affinity']
|
688
692
|
end
|
689
693
|
|
690
|
-
if attributes.key?(:'bpm')
|
691
|
-
self.bpm = attributes[:'bpm']
|
692
|
-
end
|
693
|
-
|
694
694
|
if attributes.key?(:'production_rating')
|
695
695
|
self.production_rating = attributes[:'production_rating']
|
696
696
|
end
|
@@ -818,10 +818,10 @@ module SongtradrApiClientRuby
|
|
818
818
|
warn '[DEPRECATED] the `valid?` method is obsolete'
|
819
819
|
space_validator = EnumAttributeValidator.new('String', ["very compact", "compact", "moderate space", "wide", "very wide"])
|
820
820
|
return false unless space_validator.valid?(@space)
|
821
|
-
arousal_validator = EnumAttributeValidator.new('String', ["very calm", "calm", "moderate arousal", "energetic", "very energetic", "varying arousal"])
|
822
|
-
return false unless arousal_validator.valid?(@arousal)
|
823
821
|
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"])
|
824
822
|
return false unless language_of_performance_validator.valid?(@language_of_performance)
|
823
|
+
arousal_validator = EnumAttributeValidator.new('String', ["very calm", "calm", "moderate arousal", "energetic", "very energetic", "varying arousal"])
|
824
|
+
return false unless arousal_validator.valid?(@arousal)
|
825
825
|
dominant_instrument_validator = EnumAttributeValidator.new('String', ["piano", "electronics", "guitar", "strings", "synthesizer", "wind", "drum kit", "keys", "harpsichord", "choir", "electric bass", "organ", "brass", "percussion", "vocals", "double bass", "harp"])
|
826
826
|
return false unless dominant_instrument_validator.valid?(@dominant_instrument)
|
827
827
|
energy_validator = EnumAttributeValidator.new('String', ["very quiet", "quiet", "moderate", "loud", "very loud", "dynamic"])
|
@@ -915,16 +915,6 @@ module SongtradrApiClientRuby
|
|
915
915
|
@space = space
|
916
916
|
end
|
917
917
|
|
918
|
-
# Custom attribute writer method checking allowed values (enum).
|
919
|
-
# @param [Object] arousal Object to be assigned
|
920
|
-
def arousal=(arousal)
|
921
|
-
validator = EnumAttributeValidator.new('String', ["very calm", "calm", "moderate arousal", "energetic", "very energetic", "varying arousal"])
|
922
|
-
unless validator.valid?(arousal)
|
923
|
-
fail ArgumentError, "invalid value for \"arousal\", must be one of #{validator.allowable_values}."
|
924
|
-
end
|
925
|
-
@arousal = arousal
|
926
|
-
end
|
927
|
-
|
928
918
|
# Custom attribute writer method checking allowed values (enum).
|
929
919
|
# @param [Object] language_of_performance Object to be assigned
|
930
920
|
def language_of_performance=(language_of_performance)
|
@@ -935,6 +925,16 @@ module SongtradrApiClientRuby
|
|
935
925
|
@language_of_performance = language_of_performance
|
936
926
|
end
|
937
927
|
|
928
|
+
# Custom attribute writer method checking allowed values (enum).
|
929
|
+
# @param [Object] arousal Object to be assigned
|
930
|
+
def arousal=(arousal)
|
931
|
+
validator = EnumAttributeValidator.new('String', ["very calm", "calm", "moderate arousal", "energetic", "very energetic", "varying arousal"])
|
932
|
+
unless validator.valid?(arousal)
|
933
|
+
fail ArgumentError, "invalid value for \"arousal\", must be one of #{validator.allowable_values}."
|
934
|
+
end
|
935
|
+
@arousal = arousal
|
936
|
+
end
|
937
|
+
|
938
938
|
# Custom attribute writer method checking allowed values (enum).
|
939
939
|
# @param [Object] dominant_instrument Object to be assigned
|
940
940
|
def dominant_instrument=(dominant_instrument)
|
@@ -1341,7 +1341,11 @@ module SongtradrApiClientRuby
|
|
1341
1341
|
return true if self.equal?(o)
|
1342
1342
|
self.class == o.class &&
|
1343
1343
|
space == o.space &&
|
1344
|
-
|
1344
|
+
groovyness_affinity == o.groovyness_affinity &&
|
1345
|
+
space_affinity == o.space_affinity &&
|
1346
|
+
loudness_affinity == o.loudness_affinity &&
|
1347
|
+
key_affinity == o.key_affinity &&
|
1348
|
+
channel_suitability_affinity == o.channel_suitability_affinity &&
|
1345
1349
|
valence_affinity == o.valence_affinity &&
|
1346
1350
|
arousal_affinity == o.arousal_affinity &&
|
1347
1351
|
pleasantness_affinity == o.pleasantness_affinity &&
|
@@ -1353,12 +1357,8 @@ module SongtradrApiClientRuby
|
|
1353
1357
|
roughness_affinity == o.roughness_affinity &&
|
1354
1358
|
harmony_affinity == o.harmony_affinity &&
|
1355
1359
|
texture_affinity == o.texture_affinity &&
|
1356
|
-
groovyness_affinity == o.groovyness_affinity &&
|
1357
|
-
space_affinity == o.space_affinity &&
|
1358
|
-
loudness_affinity == o.loudness_affinity &&
|
1359
|
-
key_affinity == o.key_affinity &&
|
1360
|
-
channel_suitability_affinity == o.channel_suitability_affinity &&
|
1361
1360
|
language_of_performance == o.language_of_performance &&
|
1361
|
+
arousal == o.arousal &&
|
1362
1362
|
dominant_instrument == o.dominant_instrument &&
|
1363
1363
|
energy == o.energy &&
|
1364
1364
|
engagement == o.engagement &&
|
@@ -1383,6 +1383,7 @@ module SongtradrApiClientRuby
|
|
1383
1383
|
use_case == o.use_case &&
|
1384
1384
|
channel_suitability == o.channel_suitability &&
|
1385
1385
|
loudness == o.loudness &&
|
1386
|
+
bpm == o.bpm &&
|
1386
1387
|
primary_mood_cluster_affinity == o.primary_mood_cluster_affinity &&
|
1387
1388
|
secondary_mood_cluster == o.secondary_mood_cluster &&
|
1388
1389
|
secondary_mood_cluster_affinity == o.secondary_mood_cluster_affinity &&
|
@@ -1398,7 +1399,6 @@ module SongtradrApiClientRuby
|
|
1398
1399
|
rhythm_affinity == o.rhythm_affinity &&
|
1399
1400
|
primary_sound_character_affinity == o.primary_sound_character_affinity &&
|
1400
1401
|
tonality_affinity == o.tonality_affinity &&
|
1401
|
-
bpm == o.bpm &&
|
1402
1402
|
production_rating == o.production_rating &&
|
1403
1403
|
production_rating_affinity == o.production_rating_affinity &&
|
1404
1404
|
performance_rating == o.performance_rating &&
|
@@ -1438,7 +1438,7 @@ module SongtradrApiClientRuby
|
|
1438
1438
|
# Calculates hash code according to all attributes.
|
1439
1439
|
# @return [Integer] Hash code
|
1440
1440
|
def hash
|
1441
|
-
[space,
|
1441
|
+
[space, groovyness_affinity, space_affinity, loudness_affinity, key_affinity, channel_suitability_affinity, valence_affinity, arousal_affinity, pleasantness_affinity, engagement_affinity, energy_affinity, tempo_affinity, scale_affinity, timbre_affinity, roughness_affinity, harmony_affinity, texture_affinity, language_of_performance, arousal, dominant_instrument, energy, engagement, groovyness, harmony, pleasantness, primary_mood_cluster, primary_sound_character, rhythm, roughness, scale, key, sound_generation, tempo, texture, timbre, tonality, valence, vocals, origin_decade, curateability, use_case, channel_suitability, loudness, bpm, 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, 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].hash
|
1442
1442
|
end
|
1443
1443
|
|
1444
1444
|
# Builds the object from hash
|
@@ -3,10 +3,10 @@
|
|
3
3
|
|
4
4
|
#This is the Songtradr API. Use it to retrieve deep music metadata and trigger processes like auto-tagging. You can also use the API to manage your account and musicube cloud data. **Authentication** 1. Reach out to support@songtradr.com to receive a free account or use your login data if you are already signed up. 2. To authenticate, you need to login via the POST /api/v1/user/login endpoint. 3. The endpoint responds with a jwtToken which you can use in all following API requests as a bearer token. **Rate Limiting** The current limit is 120 Requests per minute. Reach out to us via support@songtradr.com if you need to request more. **Getting Started with auto-tagging** 1. If you want to get your own files auto-tagged, use the POST /api/v1/user/file/{name}/initUpload endpoint. It responds with a presigned S3 link where you can upload your file. 2. You can check the processing status of your file via the GET /api/v1/user/file/{name}/filesStatus endpoint. 3. As soon as processing is done, you can request the generated data via the GET /api/v1/user/files endpoint. **Getting Started with search** You can either search the released music via the /public/recording endpoints or your own private uploaded music via the /user/file/ endpoints. 1. If you want to search the world's released music, a good starting point is the GET /api/v1/public/recording/search endpoint. Please find the extensive list of parameters that serve as semantic search filters. 2. If you want to search your own previously uploaded music, a good starting point is the GET GET /api/v1/user/files endpoint. It has the same extensive list of parameters that serve as semantic search filters.
|
5
5
|
|
6
|
-
The version of the OpenAPI document: 2.
|
6
|
+
The version of the OpenAPI document: 2.1.0
|
7
7
|
Contact: info@songtradr.com
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
|
-
|
9
|
+
Generator version: 7.5.0-SNAPSHOT
|
10
10
|
|
11
11
|
=end
|
12
12
|
|
@@ -3,10 +3,10 @@
|
|
3
3
|
|
4
4
|
#This is the Songtradr API. Use it to retrieve deep music metadata and trigger processes like auto-tagging. You can also use the API to manage your account and musicube cloud data. **Authentication** 1. Reach out to support@songtradr.com to receive a free account or use your login data if you are already signed up. 2. To authenticate, you need to login via the POST /api/v1/user/login endpoint. 3. The endpoint responds with a jwtToken which you can use in all following API requests as a bearer token. **Rate Limiting** The current limit is 120 Requests per minute. Reach out to us via support@songtradr.com if you need to request more. **Getting Started with auto-tagging** 1. If you want to get your own files auto-tagged, use the POST /api/v1/user/file/{name}/initUpload endpoint. It responds with a presigned S3 link where you can upload your file. 2. You can check the processing status of your file via the GET /api/v1/user/file/{name}/filesStatus endpoint. 3. As soon as processing is done, you can request the generated data via the GET /api/v1/user/files endpoint. **Getting Started with search** You can either search the released music via the /public/recording endpoints or your own private uploaded music via the /user/file/ endpoints. 1. If you want to search the world's released music, a good starting point is the GET /api/v1/public/recording/search endpoint. Please find the extensive list of parameters that serve as semantic search filters. 2. If you want to search your own previously uploaded music, a good starting point is the GET GET /api/v1/user/files endpoint. It has the same extensive list of parameters that serve as semantic search filters.
|
5
5
|
|
6
|
-
The version of the OpenAPI document: 2.
|
6
|
+
The version of the OpenAPI document: 2.1.0
|
7
7
|
Contact: info@songtradr.com
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
|
-
|
9
|
+
Generator version: 7.5.0-SNAPSHOT
|
10
10
|
|
11
11
|
=end
|
12
12
|
|
@@ -3,10 +3,10 @@
|
|
3
3
|
|
4
4
|
#This is the Songtradr API. Use it to retrieve deep music metadata and trigger processes like auto-tagging. You can also use the API to manage your account and musicube cloud data. **Authentication** 1. Reach out to support@songtradr.com to receive a free account or use your login data if you are already signed up. 2. To authenticate, you need to login via the POST /api/v1/user/login endpoint. 3. The endpoint responds with a jwtToken which you can use in all following API requests as a bearer token. **Rate Limiting** The current limit is 120 Requests per minute. Reach out to us via support@songtradr.com if you need to request more. **Getting Started with auto-tagging** 1. If you want to get your own files auto-tagged, use the POST /api/v1/user/file/{name}/initUpload endpoint. It responds with a presigned S3 link where you can upload your file. 2. You can check the processing status of your file via the GET /api/v1/user/file/{name}/filesStatus endpoint. 3. As soon as processing is done, you can request the generated data via the GET /api/v1/user/files endpoint. **Getting Started with search** You can either search the released music via the /public/recording endpoints or your own private uploaded music via the /user/file/ endpoints. 1. If you want to search the world's released music, a good starting point is the GET /api/v1/public/recording/search endpoint. Please find the extensive list of parameters that serve as semantic search filters. 2. If you want to search your own previously uploaded music, a good starting point is the GET GET /api/v1/user/files endpoint. It has the same extensive list of parameters that serve as semantic search filters.
|
5
5
|
|
6
|
-
The version of the OpenAPI document: 2.
|
6
|
+
The version of the OpenAPI document: 2.1.0
|
7
7
|
Contact: info@songtradr.com
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
|
-
|
9
|
+
Generator version: 7.5.0-SNAPSHOT
|
10
10
|
|
11
11
|
=end
|
12
12
|
|
@@ -3,10 +3,10 @@
|
|
3
3
|
|
4
4
|
#This is the Songtradr API. Use it to retrieve deep music metadata and trigger processes like auto-tagging. You can also use the API to manage your account and musicube cloud data. **Authentication** 1. Reach out to support@songtradr.com to receive a free account or use your login data if you are already signed up. 2. To authenticate, you need to login via the POST /api/v1/user/login endpoint. 3. The endpoint responds with a jwtToken which you can use in all following API requests as a bearer token. **Rate Limiting** The current limit is 120 Requests per minute. Reach out to us via support@songtradr.com if you need to request more. **Getting Started with auto-tagging** 1. If you want to get your own files auto-tagged, use the POST /api/v1/user/file/{name}/initUpload endpoint. It responds with a presigned S3 link where you can upload your file. 2. You can check the processing status of your file via the GET /api/v1/user/file/{name}/filesStatus endpoint. 3. As soon as processing is done, you can request the generated data via the GET /api/v1/user/files endpoint. **Getting Started with search** You can either search the released music via the /public/recording endpoints or your own private uploaded music via the /user/file/ endpoints. 1. If you want to search the world's released music, a good starting point is the GET /api/v1/public/recording/search endpoint. Please find the extensive list of parameters that serve as semantic search filters. 2. If you want to search your own previously uploaded music, a good starting point is the GET GET /api/v1/user/files endpoint. It has the same extensive list of parameters that serve as semantic search filters.
|
5
5
|
|
6
|
-
The version of the OpenAPI document: 2.
|
6
|
+
The version of the OpenAPI document: 2.1.0
|
7
7
|
Contact: info@songtradr.com
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
|
-
|
9
|
+
Generator version: 7.5.0-SNAPSHOT
|
10
10
|
|
11
11
|
=end
|
12
12
|
|
@@ -3,10 +3,10 @@
|
|
3
3
|
|
4
4
|
#This is the Songtradr API. Use it to retrieve deep music metadata and trigger processes like auto-tagging. You can also use the API to manage your account and musicube cloud data. **Authentication** 1. Reach out to support@songtradr.com to receive a free account or use your login data if you are already signed up. 2. To authenticate, you need to login via the POST /api/v1/user/login endpoint. 3. The endpoint responds with a jwtToken which you can use in all following API requests as a bearer token. **Rate Limiting** The current limit is 120 Requests per minute. Reach out to us via support@songtradr.com if you need to request more. **Getting Started with auto-tagging** 1. If you want to get your own files auto-tagged, use the POST /api/v1/user/file/{name}/initUpload endpoint. It responds with a presigned S3 link where you can upload your file. 2. You can check the processing status of your file via the GET /api/v1/user/file/{name}/filesStatus endpoint. 3. As soon as processing is done, you can request the generated data via the GET /api/v1/user/files endpoint. **Getting Started with search** You can either search the released music via the /public/recording endpoints or your own private uploaded music via the /user/file/ endpoints. 1. If you want to search the world's released music, a good starting point is the GET /api/v1/public/recording/search endpoint. Please find the extensive list of parameters that serve as semantic search filters. 2. If you want to search your own previously uploaded music, a good starting point is the GET GET /api/v1/user/files endpoint. It has the same extensive list of parameters that serve as semantic search filters.
|
5
5
|
|
6
|
-
The version of the OpenAPI document: 2.
|
6
|
+
The version of the OpenAPI document: 2.1.0
|
7
7
|
Contact: info@songtradr.com
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
|
-
|
9
|
+
Generator version: 7.5.0-SNAPSHOT
|
10
10
|
|
11
11
|
=end
|
12
12
|
|
@@ -18,6 +18,8 @@ module SongtradrApiClientRuby
|
|
18
18
|
class RecordingMediumDTO
|
19
19
|
attr_accessor :isrc
|
20
20
|
|
21
|
+
attr_accessor :recording_party_entities
|
22
|
+
|
21
23
|
attr_accessor :genres
|
22
24
|
|
23
25
|
attr_accessor :language_of_performance
|
@@ -30,8 +32,6 @@ module SongtradrApiClientRuby
|
|
30
32
|
|
31
33
|
attr_accessor :musical_features
|
32
34
|
|
33
|
-
attr_accessor :recording_party_entities
|
34
|
-
|
35
35
|
attr_accessor :spotify_id
|
36
36
|
|
37
37
|
attr_accessor :tags
|
@@ -42,13 +42,13 @@ module SongtradrApiClientRuby
|
|
42
42
|
def self.attribute_map
|
43
43
|
{
|
44
44
|
:'isrc' => :'isrc',
|
45
|
+
:'recording_party_entities' => :'recordingPartyEntities',
|
45
46
|
:'genres' => :'genres',
|
46
47
|
:'language_of_performance' => :'languageOfPerformance',
|
47
48
|
:'release_date' => :'releaseDate',
|
48
49
|
:'titles' => :'titles',
|
49
50
|
:'tracks' => :'tracks',
|
50
51
|
:'musical_features' => :'musicalFeatures',
|
51
|
-
:'recording_party_entities' => :'recordingPartyEntities',
|
52
52
|
:'spotify_id' => :'spotifyId',
|
53
53
|
:'tags' => :'tags',
|
54
54
|
:'genre_predictions' => :'genrePredictions'
|
@@ -64,13 +64,13 @@ module SongtradrApiClientRuby
|
|
64
64
|
def self.openapi_types
|
65
65
|
{
|
66
66
|
:'isrc' => :'String',
|
67
|
+
:'recording_party_entities' => :'Array<RecordingPartyDTO>',
|
67
68
|
:'genres' => :'Array<GenreDTO>',
|
68
69
|
:'language_of_performance' => :'String',
|
69
70
|
:'release_date' => :'Time',
|
70
71
|
:'titles' => :'Array<TitleDTO>',
|
71
72
|
:'tracks' => :'Array<TrackDTO>',
|
72
73
|
:'musical_features' => :'MusicalFeaturesDTO',
|
73
|
-
:'recording_party_entities' => :'Array<RecordingPartyDTO>',
|
74
74
|
:'spotify_id' => :'String',
|
75
75
|
:'tags' => :'Array<RecordingTagSmallDTO>',
|
76
76
|
:'genre_predictions' => :'Array<RecordingGenrePredictionDTO>'
|
@@ -104,6 +104,12 @@ module SongtradrApiClientRuby
|
|
104
104
|
self.isrc = nil
|
105
105
|
end
|
106
106
|
|
107
|
+
if attributes.key?(:'recording_party_entities')
|
108
|
+
if (value = attributes[:'recording_party_entities']).is_a?(Array)
|
109
|
+
self.recording_party_entities = value
|
110
|
+
end
|
111
|
+
end
|
112
|
+
|
107
113
|
if attributes.key?(:'genres')
|
108
114
|
if (value = attributes[:'genres']).is_a?(Array)
|
109
115
|
self.genres = value
|
@@ -134,12 +140,6 @@ module SongtradrApiClientRuby
|
|
134
140
|
self.musical_features = attributes[:'musical_features']
|
135
141
|
end
|
136
142
|
|
137
|
-
if attributes.key?(:'recording_party_entities')
|
138
|
-
if (value = attributes[:'recording_party_entities']).is_a?(Array)
|
139
|
-
self.recording_party_entities = value
|
140
|
-
end
|
141
|
-
end
|
142
|
-
|
143
143
|
if attributes.key?(:'spotify_id')
|
144
144
|
self.spotify_id = attributes[:'spotify_id']
|
145
145
|
end
|
@@ -177,6 +177,16 @@ module SongtradrApiClientRuby
|
|
177
177
|
true
|
178
178
|
end
|
179
179
|
|
180
|
+
# Custom attribute writer method with validation
|
181
|
+
# @param [Object] recording_party_entities Value to be assigned
|
182
|
+
def recording_party_entities=(recording_party_entities)
|
183
|
+
if recording_party_entities.nil?
|
184
|
+
fail ArgumentError, 'recording_party_entities cannot be nil'
|
185
|
+
end
|
186
|
+
|
187
|
+
@recording_party_entities = recording_party_entities
|
188
|
+
end
|
189
|
+
|
180
190
|
# Custom attribute writer method with validation
|
181
191
|
# @param [Object] genres Value to be assigned
|
182
192
|
def genres=(genres)
|
@@ -197,16 +207,6 @@ module SongtradrApiClientRuby
|
|
197
207
|
@titles = titles
|
198
208
|
end
|
199
209
|
|
200
|
-
# Custom attribute writer method with validation
|
201
|
-
# @param [Object] recording_party_entities Value to be assigned
|
202
|
-
def recording_party_entities=(recording_party_entities)
|
203
|
-
if recording_party_entities.nil?
|
204
|
-
fail ArgumentError, 'recording_party_entities cannot be nil'
|
205
|
-
end
|
206
|
-
|
207
|
-
@recording_party_entities = recording_party_entities
|
208
|
-
end
|
209
|
-
|
210
210
|
# Custom attribute writer method with validation
|
211
211
|
# @param [Object] genre_predictions Value to be assigned
|
212
212
|
def genre_predictions=(genre_predictions)
|
@@ -223,13 +223,13 @@ module SongtradrApiClientRuby
|
|
223
223
|
return true if self.equal?(o)
|
224
224
|
self.class == o.class &&
|
225
225
|
isrc == o.isrc &&
|
226
|
+
recording_party_entities == o.recording_party_entities &&
|
226
227
|
genres == o.genres &&
|
227
228
|
language_of_performance == o.language_of_performance &&
|
228
229
|
release_date == o.release_date &&
|
229
230
|
titles == o.titles &&
|
230
231
|
tracks == o.tracks &&
|
231
232
|
musical_features == o.musical_features &&
|
232
|
-
recording_party_entities == o.recording_party_entities &&
|
233
233
|
spotify_id == o.spotify_id &&
|
234
234
|
tags == o.tags &&
|
235
235
|
genre_predictions == o.genre_predictions
|
@@ -244,7 +244,7 @@ module SongtradrApiClientRuby
|
|
244
244
|
# Calculates hash code according to all attributes.
|
245
245
|
# @return [Integer] Hash code
|
246
246
|
def hash
|
247
|
-
[isrc, genres, language_of_performance, release_date, titles, tracks, musical_features,
|
247
|
+
[isrc, recording_party_entities, genres, language_of_performance, release_date, titles, tracks, musical_features, spotify_id, tags, genre_predictions].hash
|
248
248
|
end
|
249
249
|
|
250
250
|
# Builds the object from hash
|
@@ -3,10 +3,10 @@
|
|
3
3
|
|
4
4
|
#This is the Songtradr API. Use it to retrieve deep music metadata and trigger processes like auto-tagging. You can also use the API to manage your account and musicube cloud data. **Authentication** 1. Reach out to support@songtradr.com to receive a free account or use your login data if you are already signed up. 2. To authenticate, you need to login via the POST /api/v1/user/login endpoint. 3. The endpoint responds with a jwtToken which you can use in all following API requests as a bearer token. **Rate Limiting** The current limit is 120 Requests per minute. Reach out to us via support@songtradr.com if you need to request more. **Getting Started with auto-tagging** 1. If you want to get your own files auto-tagged, use the POST /api/v1/user/file/{name}/initUpload endpoint. It responds with a presigned S3 link where you can upload your file. 2. You can check the processing status of your file via the GET /api/v1/user/file/{name}/filesStatus endpoint. 3. As soon as processing is done, you can request the generated data via the GET /api/v1/user/files endpoint. **Getting Started with search** You can either search the released music via the /public/recording endpoints or your own private uploaded music via the /user/file/ endpoints. 1. If you want to search the world's released music, a good starting point is the GET /api/v1/public/recording/search endpoint. Please find the extensive list of parameters that serve as semantic search filters. 2. If you want to search your own previously uploaded music, a good starting point is the GET GET /api/v1/user/files endpoint. It has the same extensive list of parameters that serve as semantic search filters.
|
5
5
|
|
6
|
-
The version of the OpenAPI document: 2.
|
6
|
+
The version of the OpenAPI document: 2.1.0
|
7
7
|
Contact: info@songtradr.com
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
|
-
|
9
|
+
Generator version: 7.5.0-SNAPSHOT
|
10
10
|
|
11
11
|
=end
|
12
12
|
|
@@ -3,10 +3,10 @@
|
|
3
3
|
|
4
4
|
#This is the Songtradr API. Use it to retrieve deep music metadata and trigger processes like auto-tagging. You can also use the API to manage your account and musicube cloud data. **Authentication** 1. Reach out to support@songtradr.com to receive a free account or use your login data if you are already signed up. 2. To authenticate, you need to login via the POST /api/v1/user/login endpoint. 3. The endpoint responds with a jwtToken which you can use in all following API requests as a bearer token. **Rate Limiting** The current limit is 120 Requests per minute. Reach out to us via support@songtradr.com if you need to request more. **Getting Started with auto-tagging** 1. If you want to get your own files auto-tagged, use the POST /api/v1/user/file/{name}/initUpload endpoint. It responds with a presigned S3 link where you can upload your file. 2. You can check the processing status of your file via the GET /api/v1/user/file/{name}/filesStatus endpoint. 3. As soon as processing is done, you can request the generated data via the GET /api/v1/user/files endpoint. **Getting Started with search** You can either search the released music via the /public/recording endpoints or your own private uploaded music via the /user/file/ endpoints. 1. If you want to search the world's released music, a good starting point is the GET /api/v1/public/recording/search endpoint. Please find the extensive list of parameters that serve as semantic search filters. 2. If you want to search your own previously uploaded music, a good starting point is the GET GET /api/v1/user/files endpoint. It has the same extensive list of parameters that serve as semantic search filters.
|
5
5
|
|
6
|
-
The version of the OpenAPI document: 2.
|
6
|
+
The version of the OpenAPI document: 2.1.0
|
7
7
|
Contact: info@songtradr.com
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
|
-
|
9
|
+
Generator version: 7.5.0-SNAPSHOT
|
10
10
|
|
11
11
|
=end
|
12
12
|
|
@@ -3,10 +3,10 @@
|
|
3
3
|
|
4
4
|
#This is the Songtradr API. Use it to retrieve deep music metadata and trigger processes like auto-tagging. You can also use the API to manage your account and musicube cloud data. **Authentication** 1. Reach out to support@songtradr.com to receive a free account or use your login data if you are already signed up. 2. To authenticate, you need to login via the POST /api/v1/user/login endpoint. 3. The endpoint responds with a jwtToken which you can use in all following API requests as a bearer token. **Rate Limiting** The current limit is 120 Requests per minute. Reach out to us via support@songtradr.com if you need to request more. **Getting Started with auto-tagging** 1. If you want to get your own files auto-tagged, use the POST /api/v1/user/file/{name}/initUpload endpoint. It responds with a presigned S3 link where you can upload your file. 2. You can check the processing status of your file via the GET /api/v1/user/file/{name}/filesStatus endpoint. 3. As soon as processing is done, you can request the generated data via the GET /api/v1/user/files endpoint. **Getting Started with search** You can either search the released music via the /public/recording endpoints or your own private uploaded music via the /user/file/ endpoints. 1. If you want to search the world's released music, a good starting point is the GET /api/v1/public/recording/search endpoint. Please find the extensive list of parameters that serve as semantic search filters. 2. If you want to search your own previously uploaded music, a good starting point is the GET GET /api/v1/user/files endpoint. It has the same extensive list of parameters that serve as semantic search filters.
|
5
5
|
|
6
|
-
The version of the OpenAPI document: 2.
|
6
|
+
The version of the OpenAPI document: 2.1.0
|
7
7
|
Contact: info@songtradr.com
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
|
-
|
9
|
+
Generator version: 7.5.0-SNAPSHOT
|
10
10
|
|
11
11
|
=end
|
12
12
|
|
@@ -3,10 +3,10 @@
|
|
3
3
|
|
4
4
|
#This is the Songtradr API. Use it to retrieve deep music metadata and trigger processes like auto-tagging. You can also use the API to manage your account and musicube cloud data. **Authentication** 1. Reach out to support@songtradr.com to receive a free account or use your login data if you are already signed up. 2. To authenticate, you need to login via the POST /api/v1/user/login endpoint. 3. The endpoint responds with a jwtToken which you can use in all following API requests as a bearer token. **Rate Limiting** The current limit is 120 Requests per minute. Reach out to us via support@songtradr.com if you need to request more. **Getting Started with auto-tagging** 1. If you want to get your own files auto-tagged, use the POST /api/v1/user/file/{name}/initUpload endpoint. It responds with a presigned S3 link where you can upload your file. 2. You can check the processing status of your file via the GET /api/v1/user/file/{name}/filesStatus endpoint. 3. As soon as processing is done, you can request the generated data via the GET /api/v1/user/files endpoint. **Getting Started with search** You can either search the released music via the /public/recording endpoints or your own private uploaded music via the /user/file/ endpoints. 1. If you want to search the world's released music, a good starting point is the GET /api/v1/public/recording/search endpoint. Please find the extensive list of parameters that serve as semantic search filters. 2. If you want to search your own previously uploaded music, a good starting point is the GET GET /api/v1/user/files endpoint. It has the same extensive list of parameters that serve as semantic search filters.
|
5
5
|
|
6
|
-
The version of the OpenAPI document: 2.
|
6
|
+
The version of the OpenAPI document: 2.1.0
|
7
7
|
Contact: info@songtradr.com
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
|
-
|
9
|
+
Generator version: 7.5.0-SNAPSHOT
|
10
10
|
|
11
11
|
=end
|
12
12
|
|