songtradr_api_client_ruby 1.13.7 → 1.15.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/Gemfile.lock +1 -1
- data/README.md +5 -37
- data/docs/FileSmallDTO.md +7 -7
- data/docs/MusicalFeaturesDTO.md +2 -2
- data/docs/PlaylistApi.md +0 -214
- data/docs/RecordingApi.md +0 -204
- data/docs/RecordingMediumDTO.md +2 -2
- data/docs/UserApi.md +0 -456
- data/lib/songtradr_api_client_ruby/api/allowed_values_api.rb +1 -1
- data/lib/songtradr_api_client_ruby/api/playlist_api.rb +1 -201
- data/lib/songtradr_api_client_ruby/api/recording_api.rb +1 -189
- data/lib/songtradr_api_client_ruby/api/user_api.rb +134 -746
- data/lib/songtradr_api_client_ruby/api_client.rb +37 -35
- 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/age_range.rb +2 -2
- data/lib/songtradr_api_client_ruby/models/beard.rb +2 -2
- data/lib/songtradr_api_client_ruby/models/bounding_box.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/curate_playlist_dto.rb +2 -2
- data/lib/songtradr_api_client_ruby/models/curate_playlist_response_dto.rb +2 -2
- data/lib/songtradr_api_client_ruby/models/dominant_color.rb +2 -2
- data/lib/songtradr_api_client_ruby/models/emotion.rb +2 -2
- data/lib/songtradr_api_client_ruby/models/error_response.rb +2 -2
- data/lib/songtradr_api_client_ruby/models/eye_direction.rb +2 -2
- data/lib/songtradr_api_client_ruby/models/eye_open.rb +2 -2
- data/lib/songtradr_api_client_ruby/models/eyeglasses.rb +2 -2
- data/lib/songtradr_api_client_ruby/models/face_detail.rb +2 -2
- data/lib/songtradr_api_client_ruby/models/face_detection.rb +2 -2
- data/lib/songtradr_api_client_ruby/models/face_occluded.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 +36 -36
- 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/gender.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_quality.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/instance.rb +2 -2
- data/lib/songtradr_api_client_ruby/models/jwt_token_dto.rb +2 -2
- data/lib/songtradr_api_client_ruby/models/label.rb +2 -2
- data/lib/songtradr_api_client_ruby/models/label_alias.rb +2 -2
- data/lib/songtradr_api_client_ruby/models/label_category.rb +2 -2
- data/lib/songtradr_api_client_ruby/models/label_detection.rb +2 -2
- data/lib/songtradr_api_client_ruby/models/landmark.rb +2 -2
- data/lib/songtradr_api_client_ruby/models/login_dto.rb +2 -2
- data/lib/songtradr_api_client_ruby/models/mouth_open.rb +2 -2
- data/lib/songtradr_api_client_ruby/models/musical_features_dto.rb +24 -24
- data/lib/songtradr_api_client_ruby/models/mustache.rb +2 -2
- data/lib/songtradr_api_client_ruby/models/parent.rb +2 -2
- data/lib/songtradr_api_client_ruby/models/party_small_dto.rb +2 -2
- data/lib/songtradr_api_client_ruby/models/pose.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 +12 -12
- 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 +2 -2
- 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/search_recording_granular_dto.rb +2 -2
- data/lib/songtradr_api_client_ruby/models/sign_up_dto.rb +2 -2
- data/lib/songtradr_api_client_ruby/models/smile.rb +2 -2
- data/lib/songtradr_api_client_ruby/models/sunglasses.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 +2 -2
- data/lib/songtradr_api_client_ruby.rb +1 -22
- data/openapi-generator-config.yaml +1 -1
- data/songtradr_api_client_ruby.gemspec +2 -1
- data/spec/api/allowed_values_api_spec.rb +1 -1
- data/spec/api/playlist_api_spec.rb +1 -38
- data/spec/api/recording_api_spec.rb +1 -34
- data/spec/api/user_api_spec.rb +1 -110
- data/spec/api_client_spec.rb +1 -1
- data/spec/configuration_spec.rb +1 -1
- data/spec/models/age_range_spec.rb +1 -1
- data/spec/models/beard_spec.rb +1 -1
- data/spec/models/bounding_box_spec.rb +1 -1
- data/spec/models/category_medium_dto_spec.rb +1 -1
- 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/curate_playlist_dto_spec.rb +1 -1
- data/spec/models/curate_playlist_response_dto_spec.rb +1 -1
- data/spec/models/dominant_color_spec.rb +1 -1
- data/spec/models/emotion_spec.rb +1 -1
- data/spec/models/error_response_spec.rb +1 -1
- data/spec/models/eye_direction_spec.rb +1 -1
- data/spec/models/eye_open_spec.rb +1 -1
- data/spec/models/eyeglasses_spec.rb +1 -1
- data/spec/models/face_detail_spec.rb +1 -1
- data/spec/models/face_detection_spec.rb +1 -1
- data/spec/models/face_occluded_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_small_dto_spec.rb +17 -17
- 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/gender_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/image_quality_spec.rb +1 -1
- data/spec/models/image_recognition_response_spec.rb +1 -1
- data/spec/models/init_put_recording_audio_dto_spec.rb +1 -1
- data/spec/models/instance_spec.rb +1 -1
- data/spec/models/jwt_token_dto_spec.rb +1 -1
- data/spec/models/label_alias_spec.rb +1 -1
- data/spec/models/label_category_spec.rb +1 -1
- data/spec/models/label_detection_spec.rb +1 -1
- data/spec/models/label_spec.rb +1 -1
- data/spec/models/landmark_spec.rb +1 -1
- data/spec/models/login_dto_spec.rb +1 -1
- data/spec/models/mouth_open_spec.rb +1 -1
- data/spec/models/musical_features_dto_spec.rb +11 -11
- data/spec/models/mustache_spec.rb +1 -1
- data/spec/models/parent_spec.rb +1 -1
- data/spec/models/party_small_dto_spec.rb +1 -1
- data/spec/models/pose_spec.rb +1 -1
- data/spec/models/recording_for_similarity_search_dto_spec.rb +1 -1
- data/spec/models/recording_genre_prediction_dto_spec.rb +1 -1
- data/spec/models/recording_list_dto_spec.rb +1 -1
- data/spec/models/recording_medium_dto_spec.rb +3 -3
- 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_small_dto_spec.rb +1 -1
- data/spec/models/recording_tag_small_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_dto_spec.rb +1 -1
- data/spec/models/sign_up_dto_spec.rb +1 -1
- data/spec/models/smile_spec.rb +1 -1
- data/spec/models/sunglasses_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/update_password_dto_spec.rb +1 -1
- data/spec/models/user_dto_spec.rb +1 -1
- data/spec/models/video_recognition_response_spec.rb +1 -1
- data/spec/spec_helper.rb +1 -1
- metadata +63 -147
- data/docs/ContextValue.md +0 -18
- data/docs/FileMinimalWithUrlDTO.md +0 -22
- data/docs/PLineDTO.md +0 -20
- data/docs/PartyApi.md +0 -75
- data/docs/PartyLargeDTO.md +0 -32
- data/docs/PlaylistLargeDTO.md +0 -38
- data/docs/ProductMediumDTO.md +0 -34
- data/docs/ProductPartyDTO.md +0 -20
- data/docs/RecordingLargeDTO.md +0 -40
- data/docs/RecordingPlaylistDTO.md +0 -24
- data/docs/SaveFileRecordingDTO.md +0 -240
- data/docs/SavePlaylistDTO.md +0 -34
- data/docs/SaveRecordingGenreDTO.md +0 -22
- data/docs/SaveRecordingPartyDTO.md +0 -20
- data/docs/SaveRecordingPlaylistDTO.md +0 -22
- data/docs/SaveRecordingTagDTO.md +0 -20
- data/docs/SaveReferrerDTO.md +0 -20
- data/docs/SaveTaggramsDTO.md +0 -82
- data/docs/SearchRecordingGranularAbstractionDTO.md +0 -20
- data/docs/TrackToMediumProductDTO.md +0 -22
- data/docs/UsageDTO.md +0 -18
- data/lib/songtradr_api_client_ruby/api/party_api.rb +0 -84
- data/lib/songtradr_api_client_ruby/models/context_value.rb +0 -216
- data/lib/songtradr_api_client_ruby/models/file_minimal_with_url_dto.rb +0 -254
- data/lib/songtradr_api_client_ruby/models/p_line_dto.rb +0 -231
- data/lib/songtradr_api_client_ruby/models/party_large_dto.rb +0 -285
- data/lib/songtradr_api_client_ruby/models/playlist_large_dto.rb +0 -350
- data/lib/songtradr_api_client_ruby/models/product_medium_dto.rb +0 -323
- data/lib/songtradr_api_client_ruby/models/product_party_dto.rb +0 -233
- data/lib/songtradr_api_client_ruby/models/recording_large_dto.rb +0 -383
- data/lib/songtradr_api_client_ruby/models/recording_playlist_dto.rb +0 -242
- data/lib/songtradr_api_client_ruby/models/save_file_recording_dto.rb +0 -1864
- data/lib/songtradr_api_client_ruby/models/save_playlist_dto.rb +0 -353
- data/lib/songtradr_api_client_ruby/models/save_recording_genre_dto.rb +0 -240
- data/lib/songtradr_api_client_ruby/models/save_recording_party_dto.rb +0 -272
- data/lib/songtradr_api_client_ruby/models/save_recording_playlist_dto.rb +0 -247
- data/lib/songtradr_api_client_ruby/models/save_recording_tag_dto.rb +0 -231
- data/lib/songtradr_api_client_ruby/models/save_referrer_dto.rb +0 -224
- data/lib/songtradr_api_client_ruby/models/save_taggrams_dto.rb +0 -569
- data/lib/songtradr_api_client_ruby/models/search_recording_granular_abstraction_dto.rb +0 -267
- data/lib/songtradr_api_client_ruby/models/track_to_medium_product_dto.rb +0 -247
- data/lib/songtradr_api_client_ruby/models/usage_dto.rb +0 -215
- data/spec/api/party_api_spec.rb +0 -46
- data/spec/models/context_value_spec.rb +0 -36
- data/spec/models/file_minimal_with_url_dto_spec.rb +0 -48
- data/spec/models/p_line_dto_spec.rb +0 -42
- data/spec/models/party_large_dto_spec.rb +0 -78
- data/spec/models/playlist_large_dto_spec.rb +0 -100
- data/spec/models/product_medium_dto_spec.rb +0 -84
- data/spec/models/product_party_dto_spec.rb +0 -42
- data/spec/models/recording_large_dto_spec.rb +0 -102
- data/spec/models/recording_playlist_dto_spec.rb +0 -54
- data/spec/models/save_file_recording_dto_spec.rb +0 -894
- data/spec/models/save_playlist_dto_spec.rb +0 -88
- data/spec/models/save_recording_genre_dto_spec.rb +0 -48
- data/spec/models/save_recording_party_dto_spec.rb +0 -46
- data/spec/models/save_recording_playlist_dto_spec.rb +0 -48
- data/spec/models/save_recording_tag_dto_spec.rb +0 -42
- data/spec/models/save_referrer_dto_spec.rb +0 -42
- data/spec/models/save_taggrams_dto_spec.rb +0 -228
- data/spec/models/search_recording_granular_abstraction_dto_spec.rb +0 -46
- data/spec/models/track_to_medium_product_dto_spec.rb +0 -48
- data/spec/models/usage_dto_spec.rb +0 -36
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
|
|
4
4
|
#This is the Songtradr API. Use it to retrieve deep music metadata and trigger processes like auto-tagging. You can also use the API to manage your account and musicube cloud data. **Authentication** 1. Reach out to support@songtradr.com to receive a free account or use your login data if you are already signed up. 2. To authenticate, you need to login via the POST /api/v1/user/login endpoint. 3. The endpoint responds with a jwtToken which you can use in all following API requests as a bearer token. **Rate Limiting** The current limit is 120 Requests per minute. Reach out to us via support@songtradr.com if you need to request more. **Getting Started with auto-tagging** 1. If you want to get your own files auto-tagged, use the POST /api/v1/user/file/{name}/initUpload endpoint. It responds with a presigned S3 link where you can upload your file. 2. You can check the processing status of your file via the GET /api/v1/user/file/{name}/filesStatus endpoint. 3. As soon as processing is done, you can request the generated data via the GET /api/v1/user/files endpoint. **Getting Started with search** You can either search the released music via the /public/recording endpoints or your own private uploaded music via the /user/file/ endpoints. 1. If you want to search the world's released music, a good starting point is the GET /api/v1/public/recording/search endpoint. Please find the extensive list of parameters that serve as semantic search filters. 2. If you want to search your own previously uploaded music, a good starting point is the GET GET /api/v1/user/files endpoint. It has the same extensive list of parameters that serve as semantic search filters.
|
|
5
5
|
|
|
6
|
-
The version of the OpenAPI document: 1.
|
|
6
|
+
The version of the OpenAPI document: 1.15.0
|
|
7
7
|
Contact: info@songtradr.com
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
|
9
9
|
OpenAPI Generator version: 7.1.0-SNAPSHOT
|
|
@@ -22,6 +22,8 @@ module SongtradrApiClientRuby
|
|
|
22
22
|
# Search for an arousal
|
|
23
23
|
attr_accessor :arousal
|
|
24
24
|
|
|
25
|
+
attr_accessor :language_of_performance
|
|
26
|
+
|
|
25
27
|
# Search for a dominant instrument
|
|
26
28
|
attr_accessor :dominant_instrument
|
|
27
29
|
|
|
@@ -88,8 +90,6 @@ module SongtradrApiClientRuby
|
|
|
88
90
|
# Search for social media suitability
|
|
89
91
|
attr_accessor :channel_suitability
|
|
90
92
|
|
|
91
|
-
attr_accessor :language_of_performance
|
|
92
|
-
|
|
93
93
|
attr_accessor :primary_mood_cluster_affinity
|
|
94
94
|
|
|
95
95
|
# Search for a language of the lyrics
|
|
@@ -243,6 +243,7 @@ module SongtradrApiClientRuby
|
|
|
243
243
|
{
|
|
244
244
|
:'space' => :'space',
|
|
245
245
|
:'arousal' => :'arousal',
|
|
246
|
+
:'language_of_performance' => :'languageOfPerformance',
|
|
246
247
|
:'dominant_instrument' => :'dominantInstrument',
|
|
247
248
|
:'energy' => :'energy',
|
|
248
249
|
:'engagement' => :'engagement',
|
|
@@ -265,7 +266,6 @@ module SongtradrApiClientRuby
|
|
|
265
266
|
:'curateability' => :'curateability',
|
|
266
267
|
:'use_case' => :'useCase',
|
|
267
268
|
:'channel_suitability' => :'channelSuitability',
|
|
268
|
-
:'language_of_performance' => :'languageOfPerformance',
|
|
269
269
|
:'primary_mood_cluster_affinity' => :'primaryMoodClusterAffinity',
|
|
270
270
|
:'secondary_mood_cluster' => :'secondaryMoodCluster',
|
|
271
271
|
:'secondary_mood_cluster_affinity' => :'secondaryMoodClusterAffinity',
|
|
@@ -339,6 +339,7 @@ module SongtradrApiClientRuby
|
|
|
339
339
|
{
|
|
340
340
|
:'space' => :'String',
|
|
341
341
|
:'arousal' => :'String',
|
|
342
|
+
:'language_of_performance' => :'String',
|
|
342
343
|
:'dominant_instrument' => :'String',
|
|
343
344
|
:'energy' => :'String',
|
|
344
345
|
:'engagement' => :'String',
|
|
@@ -361,7 +362,6 @@ module SongtradrApiClientRuby
|
|
|
361
362
|
:'curateability' => :'String',
|
|
362
363
|
:'use_case' => :'String',
|
|
363
364
|
:'channel_suitability' => :'String',
|
|
364
|
-
:'language_of_performance' => :'String',
|
|
365
365
|
:'primary_mood_cluster_affinity' => :'Float',
|
|
366
366
|
:'secondary_mood_cluster' => :'String',
|
|
367
367
|
:'secondary_mood_cluster_affinity' => :'Float',
|
|
@@ -454,6 +454,10 @@ module SongtradrApiClientRuby
|
|
|
454
454
|
self.arousal = attributes[:'arousal']
|
|
455
455
|
end
|
|
456
456
|
|
|
457
|
+
if attributes.key?(:'language_of_performance')
|
|
458
|
+
self.language_of_performance = attributes[:'language_of_performance']
|
|
459
|
+
end
|
|
460
|
+
|
|
457
461
|
if attributes.key?(:'dominant_instrument')
|
|
458
462
|
self.dominant_instrument = attributes[:'dominant_instrument']
|
|
459
463
|
end
|
|
@@ -542,10 +546,6 @@ module SongtradrApiClientRuby
|
|
|
542
546
|
self.channel_suitability = attributes[:'channel_suitability']
|
|
543
547
|
end
|
|
544
548
|
|
|
545
|
-
if attributes.key?(:'language_of_performance')
|
|
546
|
-
self.language_of_performance = attributes[:'language_of_performance']
|
|
547
|
-
end
|
|
548
|
-
|
|
549
549
|
if attributes.key?(:'primary_mood_cluster_affinity')
|
|
550
550
|
self.primary_mood_cluster_affinity = attributes[:'primary_mood_cluster_affinity']
|
|
551
551
|
end
|
|
@@ -803,6 +803,8 @@ module SongtradrApiClientRuby
|
|
|
803
803
|
return false unless space_validator.valid?(@space)
|
|
804
804
|
arousal_validator = EnumAttributeValidator.new('String', ["very calm", "calm", "moderate arousal", "energetic", "very energetic", "varying arousal"])
|
|
805
805
|
return false unless arousal_validator.valid?(@arousal)
|
|
806
|
+
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
|
+
return false unless language_of_performance_validator.valid?(@language_of_performance)
|
|
806
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"])
|
|
807
809
|
return false unless dominant_instrument_validator.valid?(@dominant_instrument)
|
|
808
810
|
energy_validator = EnumAttributeValidator.new('String', ["very quiet", "quiet", "moderate", "loud", "very loud", "dynamic"])
|
|
@@ -847,8 +849,6 @@ module SongtradrApiClientRuby
|
|
|
847
849
|
return false unless use_case_validator.valid?(@use_case)
|
|
848
850
|
channel_suitability_validator = EnumAttributeValidator.new('String', ["Spotify", "TikTok", "Unfitting", "YouTube"])
|
|
849
851
|
return false unless channel_suitability_validator.valid?(@channel_suitability)
|
|
850
|
-
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"])
|
|
851
|
-
return false unless language_of_performance_validator.valid?(@language_of_performance)
|
|
852
852
|
secondary_mood_cluster_validator = EnumAttributeValidator.new('String', ["aggressive", "amusing", "anxious", "calm", "devotional", "dreamy", "energetic", "enigmatic", "epic", "erotic", "positive", "sad", "scary", "wild"])
|
|
853
853
|
return false unless secondary_mood_cluster_validator.valid?(@secondary_mood_cluster)
|
|
854
854
|
tertiary_mood_cluster_validator = EnumAttributeValidator.new('String', ["aggressive", "amusing", "anxious", "calm", "devotional", "dreamy", "energetic", "enigmatic", "epic", "erotic", "positive", "sad", "scary", "wild"])
|
|
@@ -906,6 +906,16 @@ module SongtradrApiClientRuby
|
|
|
906
906
|
@arousal = arousal
|
|
907
907
|
end
|
|
908
908
|
|
|
909
|
+
# Custom attribute writer method checking allowed values (enum).
|
|
910
|
+
# @param [Object] language_of_performance Object to be assigned
|
|
911
|
+
def language_of_performance=(language_of_performance)
|
|
912
|
+
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"])
|
|
913
|
+
unless validator.valid?(language_of_performance)
|
|
914
|
+
fail ArgumentError, "invalid value for \"language_of_performance\", must be one of #{validator.allowable_values}."
|
|
915
|
+
end
|
|
916
|
+
@language_of_performance = language_of_performance
|
|
917
|
+
end
|
|
918
|
+
|
|
909
919
|
# Custom attribute writer method checking allowed values (enum).
|
|
910
920
|
# @param [Object] dominant_instrument Object to be assigned
|
|
911
921
|
def dominant_instrument=(dominant_instrument)
|
|
@@ -1126,16 +1136,6 @@ module SongtradrApiClientRuby
|
|
|
1126
1136
|
@channel_suitability = channel_suitability
|
|
1127
1137
|
end
|
|
1128
1138
|
|
|
1129
|
-
# Custom attribute writer method checking allowed values (enum).
|
|
1130
|
-
# @param [Object] language_of_performance Object to be assigned
|
|
1131
|
-
def language_of_performance=(language_of_performance)
|
|
1132
|
-
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"])
|
|
1133
|
-
unless validator.valid?(language_of_performance)
|
|
1134
|
-
fail ArgumentError, "invalid value for \"language_of_performance\", must be one of #{validator.allowable_values}."
|
|
1135
|
-
end
|
|
1136
|
-
@language_of_performance = language_of_performance
|
|
1137
|
-
end
|
|
1138
|
-
|
|
1139
1139
|
# Custom attribute writer method checking allowed values (enum).
|
|
1140
1140
|
# @param [Object] secondary_mood_cluster Object to be assigned
|
|
1141
1141
|
def secondary_mood_cluster=(secondary_mood_cluster)
|
|
@@ -1313,6 +1313,7 @@ module SongtradrApiClientRuby
|
|
|
1313
1313
|
self.class == o.class &&
|
|
1314
1314
|
space == o.space &&
|
|
1315
1315
|
arousal == o.arousal &&
|
|
1316
|
+
language_of_performance == o.language_of_performance &&
|
|
1316
1317
|
dominant_instrument == o.dominant_instrument &&
|
|
1317
1318
|
energy == o.energy &&
|
|
1318
1319
|
engagement == o.engagement &&
|
|
@@ -1335,7 +1336,6 @@ module SongtradrApiClientRuby
|
|
|
1335
1336
|
curateability == o.curateability &&
|
|
1336
1337
|
use_case == o.use_case &&
|
|
1337
1338
|
channel_suitability == o.channel_suitability &&
|
|
1338
|
-
language_of_performance == o.language_of_performance &&
|
|
1339
1339
|
primary_mood_cluster_affinity == o.primary_mood_cluster_affinity &&
|
|
1340
1340
|
secondary_mood_cluster == o.secondary_mood_cluster &&
|
|
1341
1341
|
secondary_mood_cluster_affinity == o.secondary_mood_cluster_affinity &&
|
|
@@ -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, 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,
|
|
1410
|
+
[space, arousal, language_of_performance, 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, valence_affinity, arousal_affinity, pleasantness_affinity, engagement_affinity, energy_affinity, tempo_affinity, scale_affinity, timbre_affinity, roughness_affinity, harmony_affinity, texture_affinity, groovyness_affinity, space_affinity, key_affinity, channel_suitability_affinity, key].hash
|
|
1411
1411
|
end
|
|
1412
1412
|
|
|
1413
1413
|
# Builds the object from hash
|
|
@@ -1472,7 +1472,7 @@ module SongtradrApiClientRuby
|
|
|
1472
1472
|
else # model
|
|
1473
1473
|
# models (e.g. Pet) or oneOf
|
|
1474
1474
|
klass = SongtradrApiClientRuby.const_get(type)
|
|
1475
|
-
klass.respond_to?(:openapi_one_of) ? klass.build(value) : klass.build_from_hash(value)
|
|
1475
|
+
klass.respond_to?(:openapi_any_of) || klass.respond_to?(:openapi_one_of) ? klass.build(value) : klass.build_from_hash(value)
|
|
1476
1476
|
end
|
|
1477
1477
|
end
|
|
1478
1478
|
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
|
|
4
4
|
#This is the Songtradr API. Use it to retrieve deep music metadata and trigger processes like auto-tagging. You can also use the API to manage your account and musicube cloud data. **Authentication** 1. Reach out to support@songtradr.com to receive a free account or use your login data if you are already signed up. 2. To authenticate, you need to login via the POST /api/v1/user/login endpoint. 3. The endpoint responds with a jwtToken which you can use in all following API requests as a bearer token. **Rate Limiting** The current limit is 120 Requests per minute. Reach out to us via support@songtradr.com if you need to request more. **Getting Started with auto-tagging** 1. If you want to get your own files auto-tagged, use the POST /api/v1/user/file/{name}/initUpload endpoint. It responds with a presigned S3 link where you can upload your file. 2. You can check the processing status of your file via the GET /api/v1/user/file/{name}/filesStatus endpoint. 3. As soon as processing is done, you can request the generated data via the GET /api/v1/user/files endpoint. **Getting Started with search** You can either search the released music via the /public/recording endpoints or your own private uploaded music via the /user/file/ endpoints. 1. If you want to search the world's released music, a good starting point is the GET /api/v1/public/recording/search endpoint. Please find the extensive list of parameters that serve as semantic search filters. 2. If you want to search your own previously uploaded music, a good starting point is the GET GET /api/v1/user/files endpoint. It has the same extensive list of parameters that serve as semantic search filters.
|
|
5
5
|
|
|
6
|
-
The version of the OpenAPI document: 1.
|
|
6
|
+
The version of the OpenAPI document: 1.15.0
|
|
7
7
|
Contact: info@songtradr.com
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
|
9
9
|
OpenAPI Generator version: 7.1.0-SNAPSHOT
|
|
@@ -168,7 +168,7 @@ module SongtradrApiClientRuby
|
|
|
168
168
|
else # model
|
|
169
169
|
# models (e.g. Pet) or oneOf
|
|
170
170
|
klass = SongtradrApiClientRuby.const_get(type)
|
|
171
|
-
klass.respond_to?(:openapi_one_of) ? klass.build(value) : klass.build_from_hash(value)
|
|
171
|
+
klass.respond_to?(:openapi_any_of) || klass.respond_to?(:openapi_one_of) ? klass.build(value) : klass.build_from_hash(value)
|
|
172
172
|
end
|
|
173
173
|
end
|
|
174
174
|
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
|
|
4
4
|
#This is the Songtradr API. Use it to retrieve deep music metadata and trigger processes like auto-tagging. You can also use the API to manage your account and musicube cloud data. **Authentication** 1. Reach out to support@songtradr.com to receive a free account or use your login data if you are already signed up. 2. To authenticate, you need to login via the POST /api/v1/user/login endpoint. 3. The endpoint responds with a jwtToken which you can use in all following API requests as a bearer token. **Rate Limiting** The current limit is 120 Requests per minute. Reach out to us via support@songtradr.com if you need to request more. **Getting Started with auto-tagging** 1. If you want to get your own files auto-tagged, use the POST /api/v1/user/file/{name}/initUpload endpoint. It responds with a presigned S3 link where you can upload your file. 2. You can check the processing status of your file via the GET /api/v1/user/file/{name}/filesStatus endpoint. 3. As soon as processing is done, you can request the generated data via the GET /api/v1/user/files endpoint. **Getting Started with search** You can either search the released music via the /public/recording endpoints or your own private uploaded music via the /user/file/ endpoints. 1. If you want to search the world's released music, a good starting point is the GET /api/v1/public/recording/search endpoint. Please find the extensive list of parameters that serve as semantic search filters. 2. If you want to search your own previously uploaded music, a good starting point is the GET GET /api/v1/user/files endpoint. It has the same extensive list of parameters that serve as semantic search filters.
|
|
5
5
|
|
|
6
|
-
The version of the OpenAPI document: 1.
|
|
6
|
+
The version of the OpenAPI document: 1.15.0
|
|
7
7
|
Contact: info@songtradr.com
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
|
9
9
|
OpenAPI Generator version: 7.1.0-SNAPSHOT
|
|
@@ -159,7 +159,7 @@ module SongtradrApiClientRuby
|
|
|
159
159
|
else # model
|
|
160
160
|
# models (e.g. Pet) or oneOf
|
|
161
161
|
klass = SongtradrApiClientRuby.const_get(type)
|
|
162
|
-
klass.respond_to?(:openapi_one_of) ? klass.build(value) : klass.build_from_hash(value)
|
|
162
|
+
klass.respond_to?(:openapi_any_of) || klass.respond_to?(:openapi_one_of) ? klass.build(value) : klass.build_from_hash(value)
|
|
163
163
|
end
|
|
164
164
|
end
|
|
165
165
|
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
|
|
4
4
|
#This is the Songtradr API. Use it to retrieve deep music metadata and trigger processes like auto-tagging. You can also use the API to manage your account and musicube cloud data. **Authentication** 1. Reach out to support@songtradr.com to receive a free account or use your login data if you are already signed up. 2. To authenticate, you need to login via the POST /api/v1/user/login endpoint. 3. The endpoint responds with a jwtToken which you can use in all following API requests as a bearer token. **Rate Limiting** The current limit is 120 Requests per minute. Reach out to us via support@songtradr.com if you need to request more. **Getting Started with auto-tagging** 1. If you want to get your own files auto-tagged, use the POST /api/v1/user/file/{name}/initUpload endpoint. It responds with a presigned S3 link where you can upload your file. 2. You can check the processing status of your file via the GET /api/v1/user/file/{name}/filesStatus endpoint. 3. As soon as processing is done, you can request the generated data via the GET /api/v1/user/files endpoint. **Getting Started with search** You can either search the released music via the /public/recording endpoints or your own private uploaded music via the /user/file/ endpoints. 1. If you want to search the world's released music, a good starting point is the GET /api/v1/public/recording/search endpoint. Please find the extensive list of parameters that serve as semantic search filters. 2. If you want to search your own previously uploaded music, a good starting point is the GET GET /api/v1/user/files endpoint. It has the same extensive list of parameters that serve as semantic search filters.
|
|
5
5
|
|
|
6
|
-
The version of the OpenAPI document: 1.
|
|
6
|
+
The version of the OpenAPI document: 1.15.0
|
|
7
7
|
Contact: info@songtradr.com
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
|
9
9
|
OpenAPI Generator version: 7.1.0-SNAPSHOT
|
|
@@ -183,7 +183,7 @@ module SongtradrApiClientRuby
|
|
|
183
183
|
else # model
|
|
184
184
|
# models (e.g. Pet) or oneOf
|
|
185
185
|
klass = SongtradrApiClientRuby.const_get(type)
|
|
186
|
-
klass.respond_to?(:openapi_one_of) ? klass.build(value) : klass.build_from_hash(value)
|
|
186
|
+
klass.respond_to?(:openapi_any_of) || klass.respond_to?(:openapi_one_of) ? klass.build(value) : klass.build_from_hash(value)
|
|
187
187
|
end
|
|
188
188
|
end
|
|
189
189
|
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
|
|
4
4
|
#This is the Songtradr API. Use it to retrieve deep music metadata and trigger processes like auto-tagging. You can also use the API to manage your account and musicube cloud data. **Authentication** 1. Reach out to support@songtradr.com to receive a free account or use your login data if you are already signed up. 2. To authenticate, you need to login via the POST /api/v1/user/login endpoint. 3. The endpoint responds with a jwtToken which you can use in all following API requests as a bearer token. **Rate Limiting** The current limit is 120 Requests per minute. Reach out to us via support@songtradr.com if you need to request more. **Getting Started with auto-tagging** 1. If you want to get your own files auto-tagged, use the POST /api/v1/user/file/{name}/initUpload endpoint. It responds with a presigned S3 link where you can upload your file. 2. You can check the processing status of your file via the GET /api/v1/user/file/{name}/filesStatus endpoint. 3. As soon as processing is done, you can request the generated data via the GET /api/v1/user/files endpoint. **Getting Started with search** You can either search the released music via the /public/recording endpoints or your own private uploaded music via the /user/file/ endpoints. 1. If you want to search the world's released music, a good starting point is the GET /api/v1/public/recording/search endpoint. Please find the extensive list of parameters that serve as semantic search filters. 2. If you want to search your own previously uploaded music, a good starting point is the GET GET /api/v1/user/files endpoint. It has the same extensive list of parameters that serve as semantic search filters.
|
|
5
5
|
|
|
6
|
-
The version of the OpenAPI document: 1.
|
|
6
|
+
The version of the OpenAPI document: 1.15.0
|
|
7
7
|
Contact: info@songtradr.com
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
|
9
9
|
OpenAPI Generator version: 7.1.0-SNAPSHOT
|
|
@@ -177,7 +177,7 @@ module SongtradrApiClientRuby
|
|
|
177
177
|
else # model
|
|
178
178
|
# models (e.g. Pet) or oneOf
|
|
179
179
|
klass = SongtradrApiClientRuby.const_get(type)
|
|
180
|
-
klass.respond_to?(:openapi_one_of) ? klass.build(value) : klass.build_from_hash(value)
|
|
180
|
+
klass.respond_to?(:openapi_any_of) || klass.respond_to?(:openapi_one_of) ? klass.build(value) : klass.build_from_hash(value)
|
|
181
181
|
end
|
|
182
182
|
end
|
|
183
183
|
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
|
|
4
4
|
#This is the Songtradr API. Use it to retrieve deep music metadata and trigger processes like auto-tagging. You can also use the API to manage your account and musicube cloud data. **Authentication** 1. Reach out to support@songtradr.com to receive a free account or use your login data if you are already signed up. 2. To authenticate, you need to login via the POST /api/v1/user/login endpoint. 3. The endpoint responds with a jwtToken which you can use in all following API requests as a bearer token. **Rate Limiting** The current limit is 120 Requests per minute. Reach out to us via support@songtradr.com if you need to request more. **Getting Started with auto-tagging** 1. If you want to get your own files auto-tagged, use the POST /api/v1/user/file/{name}/initUpload endpoint. It responds with a presigned S3 link where you can upload your file. 2. You can check the processing status of your file via the GET /api/v1/user/file/{name}/filesStatus endpoint. 3. As soon as processing is done, you can request the generated data via the GET /api/v1/user/files endpoint. **Getting Started with search** You can either search the released music via the /public/recording endpoints or your own private uploaded music via the /user/file/ endpoints. 1. If you want to search the world's released music, a good starting point is the GET /api/v1/public/recording/search endpoint. Please find the extensive list of parameters that serve as semantic search filters. 2. If you want to search your own previously uploaded music, a good starting point is the GET GET /api/v1/user/files endpoint. It has the same extensive list of parameters that serve as semantic search filters.
|
|
5
5
|
|
|
6
|
-
The version of the OpenAPI document: 1.
|
|
6
|
+
The version of the OpenAPI document: 1.15.0
|
|
7
7
|
Contact: info@songtradr.com
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
|
9
9
|
OpenAPI Generator version: 7.1.0-SNAPSHOT
|
|
@@ -183,7 +183,7 @@ module SongtradrApiClientRuby
|
|
|
183
183
|
else # model
|
|
184
184
|
# models (e.g. Pet) or oneOf
|
|
185
185
|
klass = SongtradrApiClientRuby.const_get(type)
|
|
186
|
-
klass.respond_to?(:openapi_one_of) ? klass.build(value) : klass.build_from_hash(value)
|
|
186
|
+
klass.respond_to?(:openapi_any_of) || klass.respond_to?(:openapi_one_of) ? klass.build(value) : klass.build_from_hash(value)
|
|
187
187
|
end
|
|
188
188
|
end
|
|
189
189
|
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
|
|
4
4
|
#This is the Songtradr API. Use it to retrieve deep music metadata and trigger processes like auto-tagging. You can also use the API to manage your account and musicube cloud data. **Authentication** 1. Reach out to support@songtradr.com to receive a free account or use your login data if you are already signed up. 2. To authenticate, you need to login via the POST /api/v1/user/login endpoint. 3. The endpoint responds with a jwtToken which you can use in all following API requests as a bearer token. **Rate Limiting** The current limit is 120 Requests per minute. Reach out to us via support@songtradr.com if you need to request more. **Getting Started with auto-tagging** 1. If you want to get your own files auto-tagged, use the POST /api/v1/user/file/{name}/initUpload endpoint. It responds with a presigned S3 link where you can upload your file. 2. You can check the processing status of your file via the GET /api/v1/user/file/{name}/filesStatus endpoint. 3. As soon as processing is done, you can request the generated data via the GET /api/v1/user/files endpoint. **Getting Started with search** You can either search the released music via the /public/recording endpoints or your own private uploaded music via the /user/file/ endpoints. 1. If you want to search the world's released music, a good starting point is the GET /api/v1/public/recording/search endpoint. Please find the extensive list of parameters that serve as semantic search filters. 2. If you want to search your own previously uploaded music, a good starting point is the GET GET /api/v1/user/files endpoint. It has the same extensive list of parameters that serve as semantic search filters.
|
|
5
5
|
|
|
6
|
-
The version of the OpenAPI document: 1.
|
|
6
|
+
The version of the OpenAPI document: 1.15.0
|
|
7
7
|
Contact: info@songtradr.com
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
|
9
9
|
OpenAPI Generator version: 7.1.0-SNAPSHOT
|
|
@@ -199,7 +199,7 @@ module SongtradrApiClientRuby
|
|
|
199
199
|
else # model
|
|
200
200
|
# models (e.g. Pet) or oneOf
|
|
201
201
|
klass = SongtradrApiClientRuby.const_get(type)
|
|
202
|
-
klass.respond_to?(:openapi_one_of) ? klass.build(value) : klass.build_from_hash(value)
|
|
202
|
+
klass.respond_to?(:openapi_any_of) || klass.respond_to?(:openapi_one_of) ? klass.build(value) : klass.build_from_hash(value)
|
|
203
203
|
end
|
|
204
204
|
end
|
|
205
205
|
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
|
|
4
4
|
#This is the Songtradr API. Use it to retrieve deep music metadata and trigger processes like auto-tagging. You can also use the API to manage your account and musicube cloud data. **Authentication** 1. Reach out to support@songtradr.com to receive a free account or use your login data if you are already signed up. 2. To authenticate, you need to login via the POST /api/v1/user/login endpoint. 3. The endpoint responds with a jwtToken which you can use in all following API requests as a bearer token. **Rate Limiting** The current limit is 120 Requests per minute. Reach out to us via support@songtradr.com if you need to request more. **Getting Started with auto-tagging** 1. If you want to get your own files auto-tagged, use the POST /api/v1/user/file/{name}/initUpload endpoint. It responds with a presigned S3 link where you can upload your file. 2. You can check the processing status of your file via the GET /api/v1/user/file/{name}/filesStatus endpoint. 3. As soon as processing is done, you can request the generated data via the GET /api/v1/user/files endpoint. **Getting Started with search** You can either search the released music via the /public/recording endpoints or your own private uploaded music via the /user/file/ endpoints. 1. If you want to search the world's released music, a good starting point is the GET /api/v1/public/recording/search endpoint. Please find the extensive list of parameters that serve as semantic search filters. 2. If you want to search your own previously uploaded music, a good starting point is the GET GET /api/v1/user/files endpoint. It has the same extensive list of parameters that serve as semantic search filters.
|
|
5
5
|
|
|
6
|
-
The version of the OpenAPI document: 1.
|
|
6
|
+
The version of the OpenAPI document: 1.15.0
|
|
7
7
|
Contact: info@songtradr.com
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
|
9
9
|
OpenAPI Generator version: 7.1.0-SNAPSHOT
|
|
@@ -217,7 +217,7 @@ module SongtradrApiClientRuby
|
|
|
217
217
|
else # model
|
|
218
218
|
# models (e.g. Pet) or oneOf
|
|
219
219
|
klass = SongtradrApiClientRuby.const_get(type)
|
|
220
|
-
klass.respond_to?(:openapi_one_of) ? klass.build(value) : klass.build_from_hash(value)
|
|
220
|
+
klass.respond_to?(:openapi_any_of) || klass.respond_to?(:openapi_one_of) ? klass.build(value) : klass.build_from_hash(value)
|
|
221
221
|
end
|
|
222
222
|
end
|
|
223
223
|
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
|
|
4
4
|
#This is the Songtradr API. Use it to retrieve deep music metadata and trigger processes like auto-tagging. You can also use the API to manage your account and musicube cloud data. **Authentication** 1. Reach out to support@songtradr.com to receive a free account or use your login data if you are already signed up. 2. To authenticate, you need to login via the POST /api/v1/user/login endpoint. 3. The endpoint responds with a jwtToken which you can use in all following API requests as a bearer token. **Rate Limiting** The current limit is 120 Requests per minute. Reach out to us via support@songtradr.com if you need to request more. **Getting Started with auto-tagging** 1. If you want to get your own files auto-tagged, use the POST /api/v1/user/file/{name}/initUpload endpoint. It responds with a presigned S3 link where you can upload your file. 2. You can check the processing status of your file via the GET /api/v1/user/file/{name}/filesStatus endpoint. 3. As soon as processing is done, you can request the generated data via the GET /api/v1/user/files endpoint. **Getting Started with search** You can either search the released music via the /public/recording endpoints or your own private uploaded music via the /user/file/ endpoints. 1. If you want to search the world's released music, a good starting point is the GET /api/v1/public/recording/search endpoint. Please find the extensive list of parameters that serve as semantic search filters. 2. If you want to search your own previously uploaded music, a good starting point is the GET GET /api/v1/user/files endpoint. It has the same extensive list of parameters that serve as semantic search filters.
|
|
5
5
|
|
|
6
|
-
The version of the OpenAPI document: 1.
|
|
6
|
+
The version of the OpenAPI document: 1.15.0
|
|
7
7
|
Contact: info@songtradr.com
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
|
9
9
|
OpenAPI Generator version: 7.1.0-SNAPSHOT
|
|
@@ -32,10 +32,10 @@ module SongtradrApiClientRuby
|
|
|
32
32
|
|
|
33
33
|
attr_accessor :musical_features
|
|
34
34
|
|
|
35
|
-
attr_accessor :tags
|
|
36
|
-
|
|
37
35
|
attr_accessor :spotify_id
|
|
38
36
|
|
|
37
|
+
attr_accessor :tags
|
|
38
|
+
|
|
39
39
|
attr_accessor :genre_predictions
|
|
40
40
|
|
|
41
41
|
# Attribute mapping from ruby-style variable name to JSON key.
|
|
@@ -49,8 +49,8 @@ module SongtradrApiClientRuby
|
|
|
49
49
|
:'titles' => :'titles',
|
|
50
50
|
:'tracks' => :'tracks',
|
|
51
51
|
:'musical_features' => :'musicalFeatures',
|
|
52
|
-
:'tags' => :'tags',
|
|
53
52
|
:'spotify_id' => :'spotifyId',
|
|
53
|
+
:'tags' => :'tags',
|
|
54
54
|
:'genre_predictions' => :'genrePredictions'
|
|
55
55
|
}
|
|
56
56
|
end
|
|
@@ -71,8 +71,8 @@ module SongtradrApiClientRuby
|
|
|
71
71
|
:'titles' => :'Array<TitleDTO>',
|
|
72
72
|
:'tracks' => :'Array<TrackDTO>',
|
|
73
73
|
:'musical_features' => :'MusicalFeaturesDTO',
|
|
74
|
-
:'tags' => :'Array<RecordingTagSmallDTO>',
|
|
75
74
|
:'spotify_id' => :'String',
|
|
75
|
+
:'tags' => :'Array<RecordingTagSmallDTO>',
|
|
76
76
|
:'genre_predictions' => :'Array<RecordingGenrePredictionDTO>'
|
|
77
77
|
}
|
|
78
78
|
end
|
|
@@ -140,16 +140,16 @@ module SongtradrApiClientRuby
|
|
|
140
140
|
self.musical_features = attributes[:'musical_features']
|
|
141
141
|
end
|
|
142
142
|
|
|
143
|
+
if attributes.key?(:'spotify_id')
|
|
144
|
+
self.spotify_id = attributes[:'spotify_id']
|
|
145
|
+
end
|
|
146
|
+
|
|
143
147
|
if attributes.key?(:'tags')
|
|
144
148
|
if (value = attributes[:'tags']).is_a?(Array)
|
|
145
149
|
self.tags = value
|
|
146
150
|
end
|
|
147
151
|
end
|
|
148
152
|
|
|
149
|
-
if attributes.key?(:'spotify_id')
|
|
150
|
-
self.spotify_id = attributes[:'spotify_id']
|
|
151
|
-
end
|
|
152
|
-
|
|
153
153
|
if attributes.key?(:'genre_predictions')
|
|
154
154
|
if (value = attributes[:'genre_predictions']).is_a?(Array)
|
|
155
155
|
self.genre_predictions = value
|
|
@@ -230,8 +230,8 @@ module SongtradrApiClientRuby
|
|
|
230
230
|
titles == o.titles &&
|
|
231
231
|
tracks == o.tracks &&
|
|
232
232
|
musical_features == o.musical_features &&
|
|
233
|
-
tags == o.tags &&
|
|
234
233
|
spotify_id == o.spotify_id &&
|
|
234
|
+
tags == o.tags &&
|
|
235
235
|
genre_predictions == o.genre_predictions
|
|
236
236
|
end
|
|
237
237
|
|
|
@@ -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, recording_party_entities, 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
|
|
@@ -309,7 +309,7 @@ module SongtradrApiClientRuby
|
|
|
309
309
|
else # model
|
|
310
310
|
# models (e.g. Pet) or oneOf
|
|
311
311
|
klass = SongtradrApiClientRuby.const_get(type)
|
|
312
|
-
klass.respond_to?(:openapi_one_of) ? klass.build(value) : klass.build_from_hash(value)
|
|
312
|
+
klass.respond_to?(:openapi_any_of) || klass.respond_to?(:openapi_one_of) ? klass.build(value) : klass.build_from_hash(value)
|
|
313
313
|
end
|
|
314
314
|
end
|
|
315
315
|
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
|
|
4
4
|
#This is the Songtradr API. Use it to retrieve deep music metadata and trigger processes like auto-tagging. You can also use the API to manage your account and musicube cloud data. **Authentication** 1. Reach out to support@songtradr.com to receive a free account or use your login data if you are already signed up. 2. To authenticate, you need to login via the POST /api/v1/user/login endpoint. 3. The endpoint responds with a jwtToken which you can use in all following API requests as a bearer token. **Rate Limiting** The current limit is 120 Requests per minute. Reach out to us via support@songtradr.com if you need to request more. **Getting Started with auto-tagging** 1. If you want to get your own files auto-tagged, use the POST /api/v1/user/file/{name}/initUpload endpoint. It responds with a presigned S3 link where you can upload your file. 2. You can check the processing status of your file via the GET /api/v1/user/file/{name}/filesStatus endpoint. 3. As soon as processing is done, you can request the generated data via the GET /api/v1/user/files endpoint. **Getting Started with search** You can either search the released music via the /public/recording endpoints or your own private uploaded music via the /user/file/ endpoints. 1. If you want to search the world's released music, a good starting point is the GET /api/v1/public/recording/search endpoint. Please find the extensive list of parameters that serve as semantic search filters. 2. If you want to search your own previously uploaded music, a good starting point is the GET GET /api/v1/user/files endpoint. It has the same extensive list of parameters that serve as semantic search filters.
|
|
5
5
|
|
|
6
|
-
The version of the OpenAPI document: 1.
|
|
6
|
+
The version of the OpenAPI document: 1.15.0
|
|
7
7
|
Contact: info@songtradr.com
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
|
9
9
|
OpenAPI Generator version: 7.1.0-SNAPSHOT
|
|
@@ -178,7 +178,7 @@ module SongtradrApiClientRuby
|
|
|
178
178
|
else # model
|
|
179
179
|
# models (e.g. Pet) or oneOf
|
|
180
180
|
klass = SongtradrApiClientRuby.const_get(type)
|
|
181
|
-
klass.respond_to?(:openapi_one_of) ? klass.build(value) : klass.build_from_hash(value)
|
|
181
|
+
klass.respond_to?(:openapi_any_of) || klass.respond_to?(:openapi_one_of) ? klass.build(value) : klass.build_from_hash(value)
|
|
182
182
|
end
|
|
183
183
|
end
|
|
184
184
|
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
|
|
4
4
|
#This is the Songtradr API. Use it to retrieve deep music metadata and trigger processes like auto-tagging. You can also use the API to manage your account and musicube cloud data. **Authentication** 1. Reach out to support@songtradr.com to receive a free account or use your login data if you are already signed up. 2. To authenticate, you need to login via the POST /api/v1/user/login endpoint. 3. The endpoint responds with a jwtToken which you can use in all following API requests as a bearer token. **Rate Limiting** The current limit is 120 Requests per minute. Reach out to us via support@songtradr.com if you need to request more. **Getting Started with auto-tagging** 1. If you want to get your own files auto-tagged, use the POST /api/v1/user/file/{name}/initUpload endpoint. It responds with a presigned S3 link where you can upload your file. 2. You can check the processing status of your file via the GET /api/v1/user/file/{name}/filesStatus endpoint. 3. As soon as processing is done, you can request the generated data via the GET /api/v1/user/files endpoint. **Getting Started with search** You can either search the released music via the /public/recording endpoints or your own private uploaded music via the /user/file/ endpoints. 1. If you want to search the world's released music, a good starting point is the GET /api/v1/public/recording/search endpoint. Please find the extensive list of parameters that serve as semantic search filters. 2. If you want to search your own previously uploaded music, a good starting point is the GET GET /api/v1/user/files endpoint. It has the same extensive list of parameters that serve as semantic search filters.
|
|
5
5
|
|
|
6
|
-
The version of the OpenAPI document: 1.
|
|
6
|
+
The version of the OpenAPI document: 1.15.0
|
|
7
7
|
Contact: info@songtradr.com
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
|
9
9
|
OpenAPI Generator version: 7.1.0-SNAPSHOT
|
|
@@ -190,7 +190,7 @@ module SongtradrApiClientRuby
|
|
|
190
190
|
else # model
|
|
191
191
|
# models (e.g. Pet) or oneOf
|
|
192
192
|
klass = SongtradrApiClientRuby.const_get(type)
|
|
193
|
-
klass.respond_to?(:openapi_one_of) ? klass.build(value) : klass.build_from_hash(value)
|
|
193
|
+
klass.respond_to?(:openapi_any_of) || klass.respond_to?(:openapi_one_of) ? klass.build(value) : klass.build_from_hash(value)
|
|
194
194
|
end
|
|
195
195
|
end
|
|
196
196
|
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
|
|
4
4
|
#This is the Songtradr API. Use it to retrieve deep music metadata and trigger processes like auto-tagging. You can also use the API to manage your account and musicube cloud data. **Authentication** 1. Reach out to support@songtradr.com to receive a free account or use your login data if you are already signed up. 2. To authenticate, you need to login via the POST /api/v1/user/login endpoint. 3. The endpoint responds with a jwtToken which you can use in all following API requests as a bearer token. **Rate Limiting** The current limit is 120 Requests per minute. Reach out to us via support@songtradr.com if you need to request more. **Getting Started with auto-tagging** 1. If you want to get your own files auto-tagged, use the POST /api/v1/user/file/{name}/initUpload endpoint. It responds with a presigned S3 link where you can upload your file. 2. You can check the processing status of your file via the GET /api/v1/user/file/{name}/filesStatus endpoint. 3. As soon as processing is done, you can request the generated data via the GET /api/v1/user/files endpoint. **Getting Started with search** You can either search the released music via the /public/recording endpoints or your own private uploaded music via the /user/file/ endpoints. 1. If you want to search the world's released music, a good starting point is the GET /api/v1/public/recording/search endpoint. Please find the extensive list of parameters that serve as semantic search filters. 2. If you want to search your own previously uploaded music, a good starting point is the GET GET /api/v1/user/files endpoint. It has the same extensive list of parameters that serve as semantic search filters.
|
|
5
5
|
|
|
6
|
-
The version of the OpenAPI document: 1.
|
|
6
|
+
The version of the OpenAPI document: 1.15.0
|
|
7
7
|
Contact: info@songtradr.com
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
|
9
9
|
OpenAPI Generator version: 7.1.0-SNAPSHOT
|
|
@@ -178,7 +178,7 @@ module SongtradrApiClientRuby
|
|
|
178
178
|
else # model
|
|
179
179
|
# models (e.g. Pet) or oneOf
|
|
180
180
|
klass = SongtradrApiClientRuby.const_get(type)
|
|
181
|
-
klass.respond_to?(:openapi_one_of) ? klass.build(value) : klass.build_from_hash(value)
|
|
181
|
+
klass.respond_to?(:openapi_any_of) || klass.respond_to?(:openapi_one_of) ? klass.build(value) : klass.build_from_hash(value)
|
|
182
182
|
end
|
|
183
183
|
end
|
|
184
184
|
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
|
|
4
4
|
#This is the Songtradr API. Use it to retrieve deep music metadata and trigger processes like auto-tagging. You can also use the API to manage your account and musicube cloud data. **Authentication** 1. Reach out to support@songtradr.com to receive a free account or use your login data if you are already signed up. 2. To authenticate, you need to login via the POST /api/v1/user/login endpoint. 3. The endpoint responds with a jwtToken which you can use in all following API requests as a bearer token. **Rate Limiting** The current limit is 120 Requests per minute. Reach out to us via support@songtradr.com if you need to request more. **Getting Started with auto-tagging** 1. If you want to get your own files auto-tagged, use the POST /api/v1/user/file/{name}/initUpload endpoint. It responds with a presigned S3 link where you can upload your file. 2. You can check the processing status of your file via the GET /api/v1/user/file/{name}/filesStatus endpoint. 3. As soon as processing is done, you can request the generated data via the GET /api/v1/user/files endpoint. **Getting Started with search** You can either search the released music via the /public/recording endpoints or your own private uploaded music via the /user/file/ endpoints. 1. If you want to search the world's released music, a good starting point is the GET /api/v1/public/recording/search endpoint. Please find the extensive list of parameters that serve as semantic search filters. 2. If you want to search your own previously uploaded music, a good starting point is the GET GET /api/v1/user/files endpoint. It has the same extensive list of parameters that serve as semantic search filters.
|
|
5
5
|
|
|
6
|
-
The version of the OpenAPI document: 1.
|
|
6
|
+
The version of the OpenAPI document: 1.15.0
|
|
7
7
|
Contact: info@songtradr.com
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
|
9
9
|
OpenAPI Generator version: 7.1.0-SNAPSHOT
|
|
@@ -178,7 +178,7 @@ module SongtradrApiClientRuby
|
|
|
178
178
|
else # model
|
|
179
179
|
# models (e.g. Pet) or oneOf
|
|
180
180
|
klass = SongtradrApiClientRuby.const_get(type)
|
|
181
|
-
klass.respond_to?(:openapi_one_of) ? klass.build(value) : klass.build_from_hash(value)
|
|
181
|
+
klass.respond_to?(:openapi_any_of) || klass.respond_to?(:openapi_one_of) ? klass.build(value) : klass.build_from_hash(value)
|
|
182
182
|
end
|
|
183
183
|
end
|
|
184
184
|
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
|
|
4
4
|
#This is the Songtradr API. Use it to retrieve deep music metadata and trigger processes like auto-tagging. You can also use the API to manage your account and musicube cloud data. **Authentication** 1. Reach out to support@songtradr.com to receive a free account or use your login data if you are already signed up. 2. To authenticate, you need to login via the POST /api/v1/user/login endpoint. 3. The endpoint responds with a jwtToken which you can use in all following API requests as a bearer token. **Rate Limiting** The current limit is 120 Requests per minute. Reach out to us via support@songtradr.com if you need to request more. **Getting Started with auto-tagging** 1. If you want to get your own files auto-tagged, use the POST /api/v1/user/file/{name}/initUpload endpoint. It responds with a presigned S3 link where you can upload your file. 2. You can check the processing status of your file via the GET /api/v1/user/file/{name}/filesStatus endpoint. 3. As soon as processing is done, you can request the generated data via the GET /api/v1/user/files endpoint. **Getting Started with search** You can either search the released music via the /public/recording endpoints or your own private uploaded music via the /user/file/ endpoints. 1. If you want to search the world's released music, a good starting point is the GET /api/v1/public/recording/search endpoint. Please find the extensive list of parameters that serve as semantic search filters. 2. If you want to search your own previously uploaded music, a good starting point is the GET GET /api/v1/user/files endpoint. It has the same extensive list of parameters that serve as semantic search filters.
|
|
5
5
|
|
|
6
|
-
The version of the OpenAPI document: 1.
|
|
6
|
+
The version of the OpenAPI document: 1.15.0
|
|
7
7
|
Contact: info@songtradr.com
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
|
9
9
|
OpenAPI Generator version: 7.1.0-SNAPSHOT
|
|
@@ -229,7 +229,7 @@ module SongtradrApiClientRuby
|
|
|
229
229
|
else # model
|
|
230
230
|
# models (e.g. Pet) or oneOf
|
|
231
231
|
klass = SongtradrApiClientRuby.const_get(type)
|
|
232
|
-
klass.respond_to?(:openapi_one_of) ? klass.build(value) : klass.build_from_hash(value)
|
|
232
|
+
klass.respond_to?(:openapi_any_of) || klass.respond_to?(:openapi_one_of) ? klass.build(value) : klass.build_from_hash(value)
|
|
233
233
|
end
|
|
234
234
|
end
|
|
235
235
|
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
|
|
4
4
|
#This is the Songtradr API. Use it to retrieve deep music metadata and trigger processes like auto-tagging. You can also use the API to manage your account and musicube cloud data. **Authentication** 1. Reach out to support@songtradr.com to receive a free account or use your login data if you are already signed up. 2. To authenticate, you need to login via the POST /api/v1/user/login endpoint. 3. The endpoint responds with a jwtToken which you can use in all following API requests as a bearer token. **Rate Limiting** The current limit is 120 Requests per minute. Reach out to us via support@songtradr.com if you need to request more. **Getting Started with auto-tagging** 1. If you want to get your own files auto-tagged, use the POST /api/v1/user/file/{name}/initUpload endpoint. It responds with a presigned S3 link where you can upload your file. 2. You can check the processing status of your file via the GET /api/v1/user/file/{name}/filesStatus endpoint. 3. As soon as processing is done, you can request the generated data via the GET /api/v1/user/files endpoint. **Getting Started with search** You can either search the released music via the /public/recording endpoints or your own private uploaded music via the /user/file/ endpoints. 1. If you want to search the world's released music, a good starting point is the GET /api/v1/public/recording/search endpoint. Please find the extensive list of parameters that serve as semantic search filters. 2. If you want to search your own previously uploaded music, a good starting point is the GET GET /api/v1/user/files endpoint. It has the same extensive list of parameters that serve as semantic search filters.
|
|
5
5
|
|
|
6
|
-
The version of the OpenAPI document: 1.
|
|
6
|
+
The version of the OpenAPI document: 1.15.0
|
|
7
7
|
Contact: info@songtradr.com
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
|
9
9
|
OpenAPI Generator version: 7.1.0-SNAPSHOT
|
|
@@ -167,7 +167,7 @@ module SongtradrApiClientRuby
|
|
|
167
167
|
else # model
|
|
168
168
|
# models (e.g. Pet) or oneOf
|
|
169
169
|
klass = SongtradrApiClientRuby.const_get(type)
|
|
170
|
-
klass.respond_to?(:openapi_one_of) ? klass.build(value) : klass.build_from_hash(value)
|
|
170
|
+
klass.respond_to?(:openapi_any_of) || klass.respond_to?(:openapi_one_of) ? klass.build(value) : klass.build_from_hash(value)
|
|
171
171
|
end
|
|
172
172
|
end
|
|
173
173
|
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
|
|
4
4
|
#This is the Songtradr API. Use it to retrieve deep music metadata and trigger processes like auto-tagging. You can also use the API to manage your account and musicube cloud data. **Authentication** 1. Reach out to support@songtradr.com to receive a free account or use your login data if you are already signed up. 2. To authenticate, you need to login via the POST /api/v1/user/login endpoint. 3. The endpoint responds with a jwtToken which you can use in all following API requests as a bearer token. **Rate Limiting** The current limit is 120 Requests per minute. Reach out to us via support@songtradr.com if you need to request more. **Getting Started with auto-tagging** 1. If you want to get your own files auto-tagged, use the POST /api/v1/user/file/{name}/initUpload endpoint. It responds with a presigned S3 link where you can upload your file. 2. You can check the processing status of your file via the GET /api/v1/user/file/{name}/filesStatus endpoint. 3. As soon as processing is done, you can request the generated data via the GET /api/v1/user/files endpoint. **Getting Started with search** You can either search the released music via the /public/recording endpoints or your own private uploaded music via the /user/file/ endpoints. 1. If you want to search the world's released music, a good starting point is the GET /api/v1/public/recording/search endpoint. Please find the extensive list of parameters that serve as semantic search filters. 2. If you want to search your own previously uploaded music, a good starting point is the GET GET /api/v1/user/files endpoint. It has the same extensive list of parameters that serve as semantic search filters.
|
|
5
5
|
|
|
6
|
-
The version of the OpenAPI document: 1.
|
|
6
|
+
The version of the OpenAPI document: 1.15.0
|
|
7
7
|
Contact: info@songtradr.com
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
|
9
9
|
OpenAPI Generator version: 7.1.0-SNAPSHOT
|
|
@@ -259,7 +259,7 @@ module SongtradrApiClientRuby
|
|
|
259
259
|
else # model
|
|
260
260
|
# models (e.g. Pet) or oneOf
|
|
261
261
|
klass = SongtradrApiClientRuby.const_get(type)
|
|
262
|
-
klass.respond_to?(:openapi_one_of) ? klass.build(value) : klass.build_from_hash(value)
|
|
262
|
+
klass.respond_to?(:openapi_any_of) || klass.respond_to?(:openapi_one_of) ? klass.build(value) : klass.build_from_hash(value)
|
|
263
263
|
end
|
|
264
264
|
end
|
|
265
265
|
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
|
|
4
4
|
#This is the Songtradr API. Use it to retrieve deep music metadata and trigger processes like auto-tagging. You can also use the API to manage your account and musicube cloud data. **Authentication** 1. Reach out to support@songtradr.com to receive a free account or use your login data if you are already signed up. 2. To authenticate, you need to login via the POST /api/v1/user/login endpoint. 3. The endpoint responds with a jwtToken which you can use in all following API requests as a bearer token. **Rate Limiting** The current limit is 120 Requests per minute. Reach out to us via support@songtradr.com if you need to request more. **Getting Started with auto-tagging** 1. If you want to get your own files auto-tagged, use the POST /api/v1/user/file/{name}/initUpload endpoint. It responds with a presigned S3 link where you can upload your file. 2. You can check the processing status of your file via the GET /api/v1/user/file/{name}/filesStatus endpoint. 3. As soon as processing is done, you can request the generated data via the GET /api/v1/user/files endpoint. **Getting Started with search** You can either search the released music via the /public/recording endpoints or your own private uploaded music via the /user/file/ endpoints. 1. If you want to search the world's released music, a good starting point is the GET /api/v1/public/recording/search endpoint. Please find the extensive list of parameters that serve as semantic search filters. 2. If you want to search your own previously uploaded music, a good starting point is the GET GET /api/v1/user/files endpoint. It has the same extensive list of parameters that serve as semantic search filters.
|
|
5
5
|
|
|
6
|
-
The version of the OpenAPI document: 1.
|
|
6
|
+
The version of the OpenAPI document: 1.15.0
|
|
7
7
|
Contact: info@songtradr.com
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
|
9
9
|
OpenAPI Generator version: 7.1.0-SNAPSHOT
|
|
@@ -889,7 +889,7 @@ module SongtradrApiClientRuby
|
|
|
889
889
|
else # model
|
|
890
890
|
# models (e.g. Pet) or oneOf
|
|
891
891
|
klass = SongtradrApiClientRuby.const_get(type)
|
|
892
|
-
klass.respond_to?(:openapi_one_of) ? klass.build(value) : klass.build_from_hash(value)
|
|
892
|
+
klass.respond_to?(:openapi_any_of) || klass.respond_to?(:openapi_one_of) ? klass.build(value) : klass.build_from_hash(value)
|
|
893
893
|
end
|
|
894
894
|
end
|
|
895
895
|
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
|
|
4
4
|
#This is the Songtradr API. Use it to retrieve deep music metadata and trigger processes like auto-tagging. You can also use the API to manage your account and musicube cloud data. **Authentication** 1. Reach out to support@songtradr.com to receive a free account or use your login data if you are already signed up. 2. To authenticate, you need to login via the POST /api/v1/user/login endpoint. 3. The endpoint responds with a jwtToken which you can use in all following API requests as a bearer token. **Rate Limiting** The current limit is 120 Requests per minute. Reach out to us via support@songtradr.com if you need to request more. **Getting Started with auto-tagging** 1. If you want to get your own files auto-tagged, use the POST /api/v1/user/file/{name}/initUpload endpoint. It responds with a presigned S3 link where you can upload your file. 2. You can check the processing status of your file via the GET /api/v1/user/file/{name}/filesStatus endpoint. 3. As soon as processing is done, you can request the generated data via the GET /api/v1/user/files endpoint. **Getting Started with search** You can either search the released music via the /public/recording endpoints or your own private uploaded music via the /user/file/ endpoints. 1. If you want to search the world's released music, a good starting point is the GET /api/v1/public/recording/search endpoint. Please find the extensive list of parameters that serve as semantic search filters. 2. If you want to search your own previously uploaded music, a good starting point is the GET GET /api/v1/user/files endpoint. It has the same extensive list of parameters that serve as semantic search filters.
|
|
5
5
|
|
|
6
|
-
The version of the OpenAPI document: 1.
|
|
6
|
+
The version of the OpenAPI document: 1.15.0
|
|
7
7
|
Contact: info@songtradr.com
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
|
9
9
|
OpenAPI Generator version: 7.1.0-SNAPSHOT
|
|
@@ -177,7 +177,7 @@ module SongtradrApiClientRuby
|
|
|
177
177
|
else # model
|
|
178
178
|
# models (e.g. Pet) or oneOf
|
|
179
179
|
klass = SongtradrApiClientRuby.const_get(type)
|
|
180
|
-
klass.respond_to?(:openapi_one_of) ? klass.build(value) : klass.build_from_hash(value)
|
|
180
|
+
klass.respond_to?(:openapi_any_of) || klass.respond_to?(:openapi_one_of) ? klass.build(value) : klass.build_from_hash(value)
|
|
181
181
|
end
|
|
182
182
|
end
|
|
183
183
|
|