songtradr_api_client_ruby 1.15.0 → 1.17.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 +8 -8
- data/README.md +5 -30
- data/docs/FileSmallDTO.md +7 -7
- data/docs/ImageRecognitionResponse.md +2 -2
- data/docs/MusicalFeaturesDTO.md +79 -79
- data/docs/RecordingApi.md +2 -0
- data/docs/RecordingMediumDTO.md +4 -4
- data/docs/RecordingSmallDTO.md +3 -3
- data/docs/UserApi.md +8 -0
- data/docs/VideoRecognitionResponse.md +2 -2
- data/lib/songtradr_api_client_ruby/api/allowed_values_api.rb +2 -2
- data/lib/songtradr_api_client_ruby/api/playlist_api.rb +2 -2
- data/lib/songtradr_api_client_ruby/api/recording_api.rb +6 -3
- data/lib/songtradr_api_client_ruby/api/user_api.rb +29 -5
- data/lib/songtradr_api_client_ruby/api_client.rb +4 -4
- 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/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/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 +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/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 +4 -4
- 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 +599 -599
- 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 +35 -35
- 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/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/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 +4 -4
- data/lib/songtradr_api_client_ruby/version.rb +3 -3
- data/lib/songtradr_api_client_ruby.rb +2 -27
- data/openapi-generator-config.yaml +1 -1
- data/songtradr_api_client_ruby.gemspec +2 -2
- data/spec/api/allowed_values_api_spec.rb +2 -2
- data/spec/api/playlist_api_spec.rb +2 -2
- data/spec/api/recording_api_spec.rb +3 -2
- data/spec/api/user_api_spec.rb +6 -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/curate_playlist_dto_spec.rb +2 -2
- data/spec/models/curate_playlist_response_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 +176 -176
- 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 +9 -9
- 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/search_recording_granular_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 -146
- data/docs/AgeRange.md +0 -20
- data/docs/Beard.md +0 -20
- data/docs/BoundingBox.md +0 -24
- data/docs/DominantColor.md +0 -30
- data/docs/Emotion.md +0 -20
- data/docs/EyeDirection.md +0 -22
- data/docs/EyeOpen.md +0 -20
- data/docs/Eyeglasses.md +0 -20
- data/docs/FaceDetail.md +0 -50
- data/docs/FaceDetection.md +0 -20
- data/docs/FaceOccluded.md +0 -20
- data/docs/Gender.md +0 -20
- data/docs/ImageQuality.md +0 -20
- data/docs/Instance.md +0 -22
- data/docs/Label.md +0 -28
- data/docs/LabelAlias.md +0 -18
- data/docs/LabelCategory.md +0 -18
- data/docs/LabelDetection.md +0 -26
- data/docs/Landmark.md +0 -22
- data/docs/MouthOpen.md +0 -20
- data/docs/Mustache.md +0 -20
- data/docs/Parent.md +0 -18
- data/docs/Pose.md +0 -22
- data/docs/Smile.md +0 -20
- data/docs/Sunglasses.md +0 -20
- data/lib/songtradr_api_client_ruby/models/age_range.rb +0 -223
- data/lib/songtradr_api_client_ruby/models/beard.rb +0 -223
- data/lib/songtradr_api_client_ruby/models/bounding_box.rb +0 -241
- data/lib/songtradr_api_client_ruby/models/dominant_color.rb +0 -268
- data/lib/songtradr_api_client_ruby/models/emotion.rb +0 -223
- data/lib/songtradr_api_client_ruby/models/eye_direction.rb +0 -232
- data/lib/songtradr_api_client_ruby/models/eye_open.rb +0 -223
- data/lib/songtradr_api_client_ruby/models/eyeglasses.rb +0 -223
- data/lib/songtradr_api_client_ruby/models/face_detail.rb +0 -362
- data/lib/songtradr_api_client_ruby/models/face_detection.rb +0 -223
- data/lib/songtradr_api_client_ruby/models/face_occluded.rb +0 -223
- data/lib/songtradr_api_client_ruby/models/gender.rb +0 -223
- data/lib/songtradr_api_client_ruby/models/image_quality.rb +0 -223
- data/lib/songtradr_api_client_ruby/models/instance.rb +0 -234
- data/lib/songtradr_api_client_ruby/models/label.rb +0 -267
- data/lib/songtradr_api_client_ruby/models/label_alias.rb +0 -214
- data/lib/songtradr_api_client_ruby/models/label_category.rb +0 -214
- data/lib/songtradr_api_client_ruby/models/label_detection.rb +0 -250
- data/lib/songtradr_api_client_ruby/models/landmark.rb +0 -232
- data/lib/songtradr_api_client_ruby/models/mouth_open.rb +0 -223
- data/lib/songtradr_api_client_ruby/models/mustache.rb +0 -223
- data/lib/songtradr_api_client_ruby/models/parent.rb +0 -214
- data/lib/songtradr_api_client_ruby/models/pose.rb +0 -232
- data/lib/songtradr_api_client_ruby/models/smile.rb +0 -223
- data/lib/songtradr_api_client_ruby/models/sunglasses.rb +0 -223
- data/spec/api_client_spec.rb +0 -223
- data/spec/configuration_spec.rb +0 -82
- data/spec/models/age_range_spec.rb +0 -42
- data/spec/models/beard_spec.rb +0 -42
- data/spec/models/bounding_box_spec.rb +0 -54
- data/spec/models/dominant_color_spec.rb +0 -72
- data/spec/models/emotion_spec.rb +0 -42
- data/spec/models/eye_direction_spec.rb +0 -48
- data/spec/models/eye_open_spec.rb +0 -42
- data/spec/models/eyeglasses_spec.rb +0 -42
- data/spec/models/face_detail_spec.rb +0 -132
- data/spec/models/face_detection_spec.rb +0 -42
- data/spec/models/face_occluded_spec.rb +0 -42
- data/spec/models/gender_spec.rb +0 -42
- data/spec/models/image_quality_spec.rb +0 -42
- data/spec/models/instance_spec.rb +0 -48
- data/spec/models/label_alias_spec.rb +0 -36
- data/spec/models/label_category_spec.rb +0 -36
- data/spec/models/label_detection_spec.rb +0 -60
- data/spec/models/label_spec.rb +0 -66
- data/spec/models/landmark_spec.rb +0 -48
- data/spec/models/mouth_open_spec.rb +0 -42
- data/spec/models/mustache_spec.rb +0 -42
- data/spec/models/parent_spec.rb +0 -36
- data/spec/models/pose_spec.rb +0 -48
- data/spec/models/smile_spec.rb +0 -42
- data/spec/models/sunglasses_spec.rb +0 -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: 1.
|
|
6
|
+
The version of the OpenAPI document: 1.17.0
|
|
7
7
|
Contact: info@songtradr.com
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
|
9
|
-
OpenAPI Generator version: 7.
|
|
9
|
+
OpenAPI Generator version: 7.3.0-SNAPSHOT
|
|
10
10
|
|
|
11
11
|
=end
|
|
12
12
|
|
|
@@ -551,6 +551,7 @@ module SongtradrApiClientRuby
|
|
|
551
551
|
# @option opts [String] :tag_name Show only taggrams for one tag.
|
|
552
552
|
# @option opts [String] :genre_name Show only taggrams for one genre.
|
|
553
553
|
# @option opts [Float] :from_timestamp Show only taggrams data starting from from this timestamp in seconds.
|
|
554
|
+
# @option opts [Float] :to_timestamp Show only taggrams data before this timestamp in seconds.
|
|
554
555
|
# @option opts [Boolean] :fill_with_zero If set to true, empty timeseries are filled with timeseries of 0.0 values.
|
|
555
556
|
# @option opts [Integer] :page Zero-based page index (0..N) (default to 0)
|
|
556
557
|
# @option opts [Integer] :size The size of the page to be returned (default to 20)
|
|
@@ -568,6 +569,7 @@ module SongtradrApiClientRuby
|
|
|
568
569
|
# @option opts [String] :tag_name Show only taggrams for one tag.
|
|
569
570
|
# @option opts [String] :genre_name Show only taggrams for one genre.
|
|
570
571
|
# @option opts [Float] :from_timestamp Show only taggrams data starting from from this timestamp in seconds.
|
|
572
|
+
# @option opts [Float] :to_timestamp Show only taggrams data before this timestamp in seconds.
|
|
571
573
|
# @option opts [Boolean] :fill_with_zero If set to true, empty timeseries are filled with timeseries of 0.0 values.
|
|
572
574
|
# @option opts [Integer] :page Zero-based page index (0..N) (default to 0)
|
|
573
575
|
# @option opts [Integer] :size The size of the page to be returned (default to 20)
|
|
@@ -594,6 +596,7 @@ module SongtradrApiClientRuby
|
|
|
594
596
|
query_params[:'tagName'] = opts[:'tag_name'] if !opts[:'tag_name'].nil?
|
|
595
597
|
query_params[:'genreName'] = opts[:'genre_name'] if !opts[:'genre_name'].nil?
|
|
596
598
|
query_params[:'fromTimestamp'] = opts[:'from_timestamp'] if !opts[:'from_timestamp'].nil?
|
|
599
|
+
query_params[:'toTimestamp'] = opts[:'to_timestamp'] if !opts[:'to_timestamp'].nil?
|
|
597
600
|
query_params[:'fillWithZero'] = opts[:'fill_with_zero'] if !opts[:'fill_with_zero'].nil?
|
|
598
601
|
query_params[:'page'] = opts[:'page'] if !opts[:'page'].nil?
|
|
599
602
|
query_params[:'size'] = opts[:'size'] if !opts[:'size'].nil?
|
|
@@ -743,6 +746,7 @@ module SongtradrApiClientRuby
|
|
|
743
746
|
# @option opts [String] :sound_generation
|
|
744
747
|
# @option opts [String] :tempo
|
|
745
748
|
# @option opts [String] :scale
|
|
749
|
+
# @option opts [String] :key
|
|
746
750
|
# @option opts [String] :rhythm
|
|
747
751
|
# @option opts [String] :primary_sound_character
|
|
748
752
|
# @option opts [String] :timbre
|
|
@@ -812,6 +816,7 @@ module SongtradrApiClientRuby
|
|
|
812
816
|
# @option opts [String] :sound_generation
|
|
813
817
|
# @option opts [String] :tempo
|
|
814
818
|
# @option opts [String] :scale
|
|
819
|
+
# @option opts [String] :key
|
|
815
820
|
# @option opts [String] :rhythm
|
|
816
821
|
# @option opts [String] :primary_sound_character
|
|
817
822
|
# @option opts [String] :timbre
|
|
@@ -917,6 +922,10 @@ module SongtradrApiClientRuby
|
|
|
917
922
|
if @api_client.config.client_side_validation && opts[:'scale'] && !allowable_values.include?(opts[:'scale'])
|
|
918
923
|
fail ArgumentError, "invalid value for \"scale\", must be one of #{allowable_values}"
|
|
919
924
|
end
|
|
925
|
+
allowable_values = ["C", "C#", "D", "D#", "E", "F", "F#", "G", "G#", "A", "A#", "B", "unclear"]
|
|
926
|
+
if @api_client.config.client_side_validation && opts[:'key'] && !allowable_values.include?(opts[:'key'])
|
|
927
|
+
fail ArgumentError, "invalid value for \"key\", must be one of #{allowable_values}"
|
|
928
|
+
end
|
|
920
929
|
allowable_values = ["common time", "triple meter", "complex time signature", "binary rhythm", "ternary rhythm"]
|
|
921
930
|
if @api_client.config.client_side_validation && opts[:'rhythm'] && !allowable_values.include?(opts[:'rhythm'])
|
|
922
931
|
fail ArgumentError, "invalid value for \"rhythm\", must be one of #{allowable_values}"
|
|
@@ -985,7 +994,7 @@ module SongtradrApiClientRuby
|
|
|
985
994
|
if @api_client.config.client_side_validation && opts[:'curateability'] && !allowable_values.include?(opts[:'curateability'])
|
|
986
995
|
fail ArgumentError, "invalid value for \"curateability\", must be one of #{allowable_values}"
|
|
987
996
|
end
|
|
988
|
-
allowable_values = ["background", "sport", "focus", "christmas", "film", "summer", "adverts", "party", "relax"]
|
|
997
|
+
allowable_values = ["background", "sport", "focus", "christmas", "film", "summer", "adverts", "party", "relax", "karaoke"]
|
|
989
998
|
if @api_client.config.client_side_validation && opts[:'use_case'] && !allowable_values.include?(opts[:'use_case'])
|
|
990
999
|
fail ArgumentError, "invalid value for \"use_case\", must be one of #{allowable_values}"
|
|
991
1000
|
end
|
|
@@ -1031,6 +1040,7 @@ module SongtradrApiClientRuby
|
|
|
1031
1040
|
query_params[:'soundGeneration'] = opts[:'sound_generation'] if !opts[:'sound_generation'].nil?
|
|
1032
1041
|
query_params[:'tempo'] = opts[:'tempo'] if !opts[:'tempo'].nil?
|
|
1033
1042
|
query_params[:'scale'] = opts[:'scale'] if !opts[:'scale'].nil?
|
|
1043
|
+
query_params[:'key'] = opts[:'key'] if !opts[:'key'].nil?
|
|
1034
1044
|
query_params[:'rhythm'] = opts[:'rhythm'] if !opts[:'rhythm'].nil?
|
|
1035
1045
|
query_params[:'primarySoundCharacter'] = opts[:'primary_sound_character'] if !opts[:'primary_sound_character'].nil?
|
|
1036
1046
|
query_params[:'timbre'] = opts[:'timbre'] if !opts[:'timbre'].nil?
|
|
@@ -1388,6 +1398,7 @@ module SongtradrApiClientRuby
|
|
|
1388
1398
|
# @option opts [String] :sound_generation
|
|
1389
1399
|
# @option opts [String] :tempo
|
|
1390
1400
|
# @option opts [String] :scale
|
|
1401
|
+
# @option opts [String] :key
|
|
1391
1402
|
# @option opts [String] :rhythm
|
|
1392
1403
|
# @option opts [String] :primary_sound_character
|
|
1393
1404
|
# @option opts [String] :timbre
|
|
@@ -1456,6 +1467,7 @@ module SongtradrApiClientRuby
|
|
|
1456
1467
|
# @option opts [String] :sound_generation
|
|
1457
1468
|
# @option opts [String] :tempo
|
|
1458
1469
|
# @option opts [String] :scale
|
|
1470
|
+
# @option opts [String] :key
|
|
1459
1471
|
# @option opts [String] :rhythm
|
|
1460
1472
|
# @option opts [String] :primary_sound_character
|
|
1461
1473
|
# @option opts [String] :timbre
|
|
@@ -1560,6 +1572,10 @@ module SongtradrApiClientRuby
|
|
|
1560
1572
|
if @api_client.config.client_side_validation && opts[:'scale'] && !allowable_values.include?(opts[:'scale'])
|
|
1561
1573
|
fail ArgumentError, "invalid value for \"scale\", must be one of #{allowable_values}"
|
|
1562
1574
|
end
|
|
1575
|
+
allowable_values = ["C", "C#", "D", "D#", "E", "F", "F#", "G", "G#", "A", "A#", "B", "unclear"]
|
|
1576
|
+
if @api_client.config.client_side_validation && opts[:'key'] && !allowable_values.include?(opts[:'key'])
|
|
1577
|
+
fail ArgumentError, "invalid value for \"key\", must be one of #{allowable_values}"
|
|
1578
|
+
end
|
|
1563
1579
|
allowable_values = ["common time", "triple meter", "complex time signature", "binary rhythm", "ternary rhythm"]
|
|
1564
1580
|
if @api_client.config.client_side_validation && opts[:'rhythm'] && !allowable_values.include?(opts[:'rhythm'])
|
|
1565
1581
|
fail ArgumentError, "invalid value for \"rhythm\", must be one of #{allowable_values}"
|
|
@@ -1628,7 +1644,7 @@ module SongtradrApiClientRuby
|
|
|
1628
1644
|
if @api_client.config.client_side_validation && opts[:'curateability'] && !allowable_values.include?(opts[:'curateability'])
|
|
1629
1645
|
fail ArgumentError, "invalid value for \"curateability\", must be one of #{allowable_values}"
|
|
1630
1646
|
end
|
|
1631
|
-
allowable_values = ["background", "sport", "focus", "christmas", "film", "summer", "adverts", "party", "relax"]
|
|
1647
|
+
allowable_values = ["background", "sport", "focus", "christmas", "film", "summer", "adverts", "party", "relax", "karaoke"]
|
|
1632
1648
|
if @api_client.config.client_side_validation && opts[:'use_case'] && !allowable_values.include?(opts[:'use_case'])
|
|
1633
1649
|
fail ArgumentError, "invalid value for \"use_case\", must be one of #{allowable_values}"
|
|
1634
1650
|
end
|
|
@@ -1674,6 +1690,7 @@ module SongtradrApiClientRuby
|
|
|
1674
1690
|
query_params[:'soundGeneration'] = opts[:'sound_generation'] if !opts[:'sound_generation'].nil?
|
|
1675
1691
|
query_params[:'tempo'] = opts[:'tempo'] if !opts[:'tempo'].nil?
|
|
1676
1692
|
query_params[:'scale'] = opts[:'scale'] if !opts[:'scale'].nil?
|
|
1693
|
+
query_params[:'key'] = opts[:'key'] if !opts[:'key'].nil?
|
|
1677
1694
|
query_params[:'rhythm'] = opts[:'rhythm'] if !opts[:'rhythm'].nil?
|
|
1678
1695
|
query_params[:'primarySoundCharacter'] = opts[:'primary_sound_character'] if !opts[:'primary_sound_character'].nil?
|
|
1679
1696
|
query_params[:'timbre'] = opts[:'timbre'] if !opts[:'timbre'].nil?
|
|
@@ -1832,6 +1849,7 @@ module SongtradrApiClientRuby
|
|
|
1832
1849
|
# @option opts [String] :sound_generation
|
|
1833
1850
|
# @option opts [String] :tempo
|
|
1834
1851
|
# @option opts [String] :scale
|
|
1852
|
+
# @option opts [String] :key
|
|
1835
1853
|
# @option opts [String] :rhythm
|
|
1836
1854
|
# @option opts [String] :primary_sound_character
|
|
1837
1855
|
# @option opts [String] :timbre
|
|
@@ -1896,6 +1914,7 @@ module SongtradrApiClientRuby
|
|
|
1896
1914
|
# @option opts [String] :sound_generation
|
|
1897
1915
|
# @option opts [String] :tempo
|
|
1898
1916
|
# @option opts [String] :scale
|
|
1917
|
+
# @option opts [String] :key
|
|
1899
1918
|
# @option opts [String] :rhythm
|
|
1900
1919
|
# @option opts [String] :primary_sound_character
|
|
1901
1920
|
# @option opts [String] :timbre
|
|
@@ -1997,6 +2016,10 @@ module SongtradrApiClientRuby
|
|
|
1997
2016
|
if @api_client.config.client_side_validation && opts[:'scale'] && !allowable_values.include?(opts[:'scale'])
|
|
1998
2017
|
fail ArgumentError, "invalid value for \"scale\", must be one of #{allowable_values}"
|
|
1999
2018
|
end
|
|
2019
|
+
allowable_values = ["C", "C#", "D", "D#", "E", "F", "F#", "G", "G#", "A", "A#", "B", "unclear"]
|
|
2020
|
+
if @api_client.config.client_side_validation && opts[:'key'] && !allowable_values.include?(opts[:'key'])
|
|
2021
|
+
fail ArgumentError, "invalid value for \"key\", must be one of #{allowable_values}"
|
|
2022
|
+
end
|
|
2000
2023
|
allowable_values = ["common time", "triple meter", "complex time signature", "binary rhythm", "ternary rhythm"]
|
|
2001
2024
|
if @api_client.config.client_side_validation && opts[:'rhythm'] && !allowable_values.include?(opts[:'rhythm'])
|
|
2002
2025
|
fail ArgumentError, "invalid value for \"rhythm\", must be one of #{allowable_values}"
|
|
@@ -2065,7 +2088,7 @@ module SongtradrApiClientRuby
|
|
|
2065
2088
|
if @api_client.config.client_side_validation && opts[:'curateability'] && !allowable_values.include?(opts[:'curateability'])
|
|
2066
2089
|
fail ArgumentError, "invalid value for \"curateability\", must be one of #{allowable_values}"
|
|
2067
2090
|
end
|
|
2068
|
-
allowable_values = ["background", "sport", "focus", "christmas", "film", "summer", "adverts", "party", "relax"]
|
|
2091
|
+
allowable_values = ["background", "sport", "focus", "christmas", "film", "summer", "adverts", "party", "relax", "karaoke"]
|
|
2069
2092
|
if @api_client.config.client_side_validation && opts[:'use_case'] && !allowable_values.include?(opts[:'use_case'])
|
|
2070
2093
|
fail ArgumentError, "invalid value for \"use_case\", must be one of #{allowable_values}"
|
|
2071
2094
|
end
|
|
@@ -2102,6 +2125,7 @@ module SongtradrApiClientRuby
|
|
|
2102
2125
|
query_params[:'soundGeneration'] = opts[:'sound_generation'] if !opts[:'sound_generation'].nil?
|
|
2103
2126
|
query_params[:'tempo'] = opts[:'tempo'] if !opts[:'tempo'].nil?
|
|
2104
2127
|
query_params[:'scale'] = opts[:'scale'] if !opts[:'scale'].nil?
|
|
2128
|
+
query_params[:'key'] = opts[:'key'] if !opts[:'key'].nil?
|
|
2105
2129
|
query_params[:'rhythm'] = opts[:'rhythm'] if !opts[:'rhythm'].nil?
|
|
2106
2130
|
query_params[:'primarySoundCharacter'] = opts[:'primary_sound_character'] if !opts[:'primary_sound_character'].nil?
|
|
2107
2131
|
query_params[:'timbre'] = opts[:'timbre'] if !opts[:'timbre'].nil?
|
|
@@ -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: 1.
|
|
6
|
+
The version of the OpenAPI document: 1.17.0
|
|
7
7
|
Contact: info@songtradr.com
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
|
9
|
-
OpenAPI Generator version: 7.
|
|
9
|
+
OpenAPI Generator version: 7.3.0-SNAPSHOT
|
|
10
10
|
|
|
11
11
|
=end
|
|
12
12
|
|
|
@@ -52,7 +52,7 @@ module SongtradrApiClientRuby
|
|
|
52
52
|
stream = nil
|
|
53
53
|
begin
|
|
54
54
|
response = connection(opts).public_send(http_method.to_sym.downcase) do |req|
|
|
55
|
-
build_request(http_method, path, req, opts)
|
|
55
|
+
request = build_request(http_method, path, req, opts)
|
|
56
56
|
stream = download_file(request) if opts[:return_type] == 'File' || opts[:return_type] == 'Binary'
|
|
57
57
|
end
|
|
58
58
|
|
|
@@ -79,7 +79,7 @@ module SongtradrApiClientRuby
|
|
|
79
79
|
end
|
|
80
80
|
|
|
81
81
|
if opts[:return_type] == 'File' || opts[:return_type] == 'Binary'
|
|
82
|
-
data = deserialize_file(stream)
|
|
82
|
+
data = deserialize_file(response, stream)
|
|
83
83
|
elsif opts[:return_type]
|
|
84
84
|
data = deserialize(response, opts[:return_type])
|
|
85
85
|
else
|
|
@@ -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: 1.
|
|
6
|
+
The version of the OpenAPI document: 1.17.0
|
|
7
7
|
Contact: info@songtradr.com
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
|
9
|
-
OpenAPI Generator version: 7.
|
|
9
|
+
OpenAPI Generator version: 7.3.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: 1.
|
|
6
|
+
The version of the OpenAPI document: 1.17.0
|
|
7
7
|
Contact: info@songtradr.com
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
|
9
|
-
OpenAPI Generator version: 7.
|
|
9
|
+
OpenAPI Generator version: 7.3.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: 1.
|
|
6
|
+
The version of the OpenAPI document: 1.17.0
|
|
7
7
|
Contact: info@songtradr.com
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
|
9
|
-
OpenAPI Generator version: 7.
|
|
9
|
+
OpenAPI Generator version: 7.3.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: 1.
|
|
6
|
+
The version of the OpenAPI document: 1.17.0
|
|
7
7
|
Contact: info@songtradr.com
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
|
9
|
-
OpenAPI Generator version: 7.
|
|
9
|
+
OpenAPI Generator version: 7.3.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: 1.
|
|
6
|
+
The version of the OpenAPI document: 1.17.0
|
|
7
7
|
Contact: info@songtradr.com
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
|
9
|
-
OpenAPI Generator version: 7.
|
|
9
|
+
OpenAPI Generator version: 7.3.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: 1.
|
|
6
|
+
The version of the OpenAPI document: 1.17.0
|
|
7
7
|
Contact: info@songtradr.com
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
|
9
|
-
OpenAPI Generator version: 7.
|
|
9
|
+
OpenAPI Generator version: 7.3.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: 1.
|
|
6
|
+
The version of the OpenAPI document: 1.17.0
|
|
7
7
|
Contact: info@songtradr.com
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
|
9
|
-
OpenAPI Generator version: 7.
|
|
9
|
+
OpenAPI Generator version: 7.3.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: 1.
|
|
6
|
+
The version of the OpenAPI document: 1.17.0
|
|
7
7
|
Contact: info@songtradr.com
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
|
9
|
-
OpenAPI Generator version: 7.
|
|
9
|
+
OpenAPI Generator version: 7.3.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: 1.
|
|
6
|
+
The version of the OpenAPI document: 1.17.0
|
|
7
7
|
Contact: info@songtradr.com
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
|
9
|
-
OpenAPI Generator version: 7.
|
|
9
|
+
OpenAPI Generator version: 7.3.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: 1.
|
|
6
|
+
The version of the OpenAPI document: 1.17.0
|
|
7
7
|
Contact: info@songtradr.com
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
|
9
|
-
OpenAPI Generator version: 7.
|
|
9
|
+
OpenAPI Generator version: 7.3.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: 1.
|
|
6
|
+
The version of the OpenAPI document: 1.17.0
|
|
7
7
|
Contact: info@songtradr.com
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
|
9
|
-
OpenAPI Generator version: 7.
|
|
9
|
+
OpenAPI Generator version: 7.3.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: 1.
|
|
6
|
+
The version of the OpenAPI document: 1.17.0
|
|
7
7
|
Contact: info@songtradr.com
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
|
9
|
-
OpenAPI Generator version: 7.
|
|
9
|
+
OpenAPI Generator version: 7.3.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: 1.
|
|
6
|
+
The version of the OpenAPI document: 1.17.0
|
|
7
7
|
Contact: info@songtradr.com
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
|
9
|
-
OpenAPI Generator version: 7.
|
|
9
|
+
OpenAPI Generator version: 7.3.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: 1.
|
|
6
|
+
The version of the OpenAPI document: 1.17.0
|
|
7
7
|
Contact: info@songtradr.com
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
|
9
|
-
OpenAPI Generator version: 7.
|
|
9
|
+
OpenAPI Generator version: 7.3.0-SNAPSHOT
|
|
10
10
|
|
|
11
11
|
=end
|
|
12
12
|
|
|
@@ -27,6 +27,12 @@ module SongtradrApiClientRuby
|
|
|
27
27
|
|
|
28
28
|
attr_accessor :folder
|
|
29
29
|
|
|
30
|
+
attr_accessor :object_key
|
|
31
|
+
|
|
32
|
+
attr_accessor :upload_start_time
|
|
33
|
+
|
|
34
|
+
attr_accessor :upload_end_time
|
|
35
|
+
|
|
30
36
|
# status of the audio recognition
|
|
31
37
|
attr_accessor :fingerprint_status
|
|
32
38
|
|
|
@@ -43,12 +49,6 @@ module SongtradrApiClientRuby
|
|
|
43
49
|
|
|
44
50
|
attr_accessor :error_time
|
|
45
51
|
|
|
46
|
-
attr_accessor :object_key
|
|
47
|
-
|
|
48
|
-
attr_accessor :upload_start_time
|
|
49
|
-
|
|
50
|
-
attr_accessor :upload_end_time
|
|
51
|
-
|
|
52
52
|
class EnumAttributeValidator
|
|
53
53
|
attr_reader :datatype
|
|
54
54
|
attr_reader :allowable_values
|
|
@@ -79,16 +79,16 @@ module SongtradrApiClientRuby
|
|
|
79
79
|
:'extension' => :'extension',
|
|
80
80
|
:'error_message' => :'error_message',
|
|
81
81
|
:'folder' => :'folder',
|
|
82
|
+
:'object_key' => :'objectKey',
|
|
83
|
+
:'upload_start_time' => :'uploadStartTime',
|
|
84
|
+
:'upload_end_time' => :'uploadEndTime',
|
|
82
85
|
:'fingerprint_status' => :'fingerprintStatus',
|
|
83
86
|
:'fingerprint_start_time' => :'fingerprintStartTime',
|
|
84
87
|
:'fingerprint_end_time' => :'fingerprintEndTime',
|
|
85
88
|
:'inference_status' => :'inferenceStatus',
|
|
86
89
|
:'inference_start_time' => :'inferenceStartTime',
|
|
87
90
|
:'inference_end_time' => :'inferenceEndTime',
|
|
88
|
-
:'error_time' => :'error_time'
|
|
89
|
-
:'object_key' => :'objectKey',
|
|
90
|
-
:'upload_start_time' => :'uploadStartTime',
|
|
91
|
-
:'upload_end_time' => :'uploadEndTime'
|
|
91
|
+
:'error_time' => :'error_time'
|
|
92
92
|
}
|
|
93
93
|
end
|
|
94
94
|
|
|
@@ -105,16 +105,16 @@ module SongtradrApiClientRuby
|
|
|
105
105
|
:'extension' => :'String',
|
|
106
106
|
:'error_message' => :'String',
|
|
107
107
|
:'folder' => :'String',
|
|
108
|
+
:'object_key' => :'String',
|
|
109
|
+
:'upload_start_time' => :'Time',
|
|
110
|
+
:'upload_end_time' => :'Time',
|
|
108
111
|
:'fingerprint_status' => :'String',
|
|
109
112
|
:'fingerprint_start_time' => :'Time',
|
|
110
113
|
:'fingerprint_end_time' => :'Time',
|
|
111
114
|
:'inference_status' => :'String',
|
|
112
115
|
:'inference_start_time' => :'Time',
|
|
113
116
|
:'inference_end_time' => :'Time',
|
|
114
|
-
:'error_time' => :'Time'
|
|
115
|
-
:'object_key' => :'String',
|
|
116
|
-
:'upload_start_time' => :'Time',
|
|
117
|
-
:'upload_end_time' => :'Time'
|
|
117
|
+
:'error_time' => :'Time'
|
|
118
118
|
}
|
|
119
119
|
end
|
|
120
120
|
|
|
@@ -167,6 +167,20 @@ module SongtradrApiClientRuby
|
|
|
167
167
|
self.folder = nil
|
|
168
168
|
end
|
|
169
169
|
|
|
170
|
+
if attributes.key?(:'object_key')
|
|
171
|
+
self.object_key = attributes[:'object_key']
|
|
172
|
+
else
|
|
173
|
+
self.object_key = nil
|
|
174
|
+
end
|
|
175
|
+
|
|
176
|
+
if attributes.key?(:'upload_start_time')
|
|
177
|
+
self.upload_start_time = attributes[:'upload_start_time']
|
|
178
|
+
end
|
|
179
|
+
|
|
180
|
+
if attributes.key?(:'upload_end_time')
|
|
181
|
+
self.upload_end_time = attributes[:'upload_end_time']
|
|
182
|
+
end
|
|
183
|
+
|
|
170
184
|
if attributes.key?(:'fingerprint_status')
|
|
171
185
|
self.fingerprint_status = attributes[:'fingerprint_status']
|
|
172
186
|
end
|
|
@@ -194,20 +208,6 @@ module SongtradrApiClientRuby
|
|
|
194
208
|
if attributes.key?(:'error_time')
|
|
195
209
|
self.error_time = attributes[:'error_time']
|
|
196
210
|
end
|
|
197
|
-
|
|
198
|
-
if attributes.key?(:'object_key')
|
|
199
|
-
self.object_key = attributes[:'object_key']
|
|
200
|
-
else
|
|
201
|
-
self.object_key = nil
|
|
202
|
-
end
|
|
203
|
-
|
|
204
|
-
if attributes.key?(:'upload_start_time')
|
|
205
|
-
self.upload_start_time = attributes[:'upload_start_time']
|
|
206
|
-
end
|
|
207
|
-
|
|
208
|
-
if attributes.key?(:'upload_end_time')
|
|
209
|
-
self.upload_end_time = attributes[:'upload_end_time']
|
|
210
|
-
end
|
|
211
211
|
end
|
|
212
212
|
|
|
213
213
|
# Show invalid properties with the reasons. Usually used together with valid?
|
|
@@ -248,11 +248,11 @@ module SongtradrApiClientRuby
|
|
|
248
248
|
extension_validator = EnumAttributeValidator.new('String', ["mp3", "wav", "flac"])
|
|
249
249
|
return false unless extension_validator.valid?(@extension)
|
|
250
250
|
return false if @folder.nil?
|
|
251
|
+
return false if @object_key.nil?
|
|
251
252
|
fingerprint_status_validator = EnumAttributeValidator.new('String', ["processing", "error", "found", "not_found", "not_started"])
|
|
252
253
|
return false unless fingerprint_status_validator.valid?(@fingerprint_status)
|
|
253
254
|
inference_status_validator = EnumAttributeValidator.new('String', ["processing", "error", "done", "not_started"])
|
|
254
255
|
return false unless inference_status_validator.valid?(@inference_status)
|
|
255
|
-
return false if @object_key.nil?
|
|
256
256
|
true
|
|
257
257
|
end
|
|
258
258
|
|
|
@@ -296,16 +296,16 @@ module SongtradrApiClientRuby
|
|
|
296
296
|
extension == o.extension &&
|
|
297
297
|
error_message == o.error_message &&
|
|
298
298
|
folder == o.folder &&
|
|
299
|
+
object_key == o.object_key &&
|
|
300
|
+
upload_start_time == o.upload_start_time &&
|
|
301
|
+
upload_end_time == o.upload_end_time &&
|
|
299
302
|
fingerprint_status == o.fingerprint_status &&
|
|
300
303
|
fingerprint_start_time == o.fingerprint_start_time &&
|
|
301
304
|
fingerprint_end_time == o.fingerprint_end_time &&
|
|
302
305
|
inference_status == o.inference_status &&
|
|
303
306
|
inference_start_time == o.inference_start_time &&
|
|
304
307
|
inference_end_time == o.inference_end_time &&
|
|
305
|
-
error_time == o.error_time
|
|
306
|
-
object_key == o.object_key &&
|
|
307
|
-
upload_start_time == o.upload_start_time &&
|
|
308
|
-
upload_end_time == o.upload_end_time
|
|
308
|
+
error_time == o.error_time
|
|
309
309
|
end
|
|
310
310
|
|
|
311
311
|
# @see the `==` method
|
|
@@ -317,7 +317,7 @@ module SongtradrApiClientRuby
|
|
|
317
317
|
# Calculates hash code according to all attributes.
|
|
318
318
|
# @return [Integer] Hash code
|
|
319
319
|
def hash
|
|
320
|
-
[name, id, extension, error_message, folder, fingerprint_status, fingerprint_start_time, fingerprint_end_time, inference_status, inference_start_time, inference_end_time, error_time
|
|
320
|
+
[name, id, extension, error_message, folder, object_key, upload_start_time, upload_end_time, fingerprint_status, fingerprint_start_time, fingerprint_end_time, inference_status, inference_start_time, inference_end_time, error_time].hash
|
|
321
321
|
end
|
|
322
322
|
|
|
323
323
|
# 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: 1.
|
|
6
|
+
The version of the OpenAPI document: 1.17.0
|
|
7
7
|
Contact: info@songtradr.com
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
|
9
|
-
OpenAPI Generator version: 7.
|
|
9
|
+
OpenAPI Generator version: 7.3.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: 1.
|
|
6
|
+
The version of the OpenAPI document: 1.17.0
|
|
7
7
|
Contact: info@songtradr.com
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
|
9
|
-
OpenAPI Generator version: 7.
|
|
9
|
+
OpenAPI Generator version: 7.3.0-SNAPSHOT
|
|
10
10
|
|
|
11
11
|
=end
|
|
12
12
|
|