songtradr_api_client_ruby 1.16.0 → 1.18.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 +26 -24
- data/README.md +7 -34
- data/docs/CategoryMediumDTO.md +3 -3
- data/docs/ImageRecognitionResponse.md +2 -2
- data/docs/MusicalFeaturesDTO.md +41 -37
- data/docs/RecordingApi.md +71 -1
- data/docs/RecordingGenrePredictionDTO.md +3 -3
- data/docs/RecordingMediumDTO.md +4 -4
- data/docs/RecordingMinimalWithMusicalFeaturesDTO.md +3 -3
- data/docs/RecordingSmallDTO.md +5 -5
- data/docs/SearchFilterValuesDTO.md +2 -0
- data/docs/UserApi.md +67 -187
- data/docs/UserDTO.md +2 -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/recording_api.rb +74 -5
- data/lib/songtradr_api_client_ruby/api/user_api.rb +86 -403
- data/lib/songtradr_api_client_ruby/api_client.rb +7 -6
- 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 +17 -17
- data/lib/songtradr_api_client_ruby/models/category_minimal_dto.rb +2 -2
- data/lib/songtradr_api_client_ruby/models/config_access_dto.rb +2 -2
- data/lib/songtradr_api_client_ruby/models/config_identifier_dto.rb +2 -2
- data/lib/songtradr_api_client_ruby/models/contributor_type_dto.rb +2 -2
- data/lib/songtradr_api_client_ruby/models/error_response.rb +2 -2
- data/lib/songtradr_api_client_ruby/models/field_summary_dto.rb +2 -2
- data/lib/songtradr_api_client_ruby/models/file_dto.rb +2 -2
- data/lib/songtradr_api_client_ruby/models/file_list_dto.rb +2 -2
- data/lib/songtradr_api_client_ruby/models/file_small_dto.rb +2 -2
- 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 +346 -315
- 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 +22 -22
- 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 +17 -17
- 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 +38 -38
- 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 +21 -3
- 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 +19 -3
- 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 -30
- data/openapi-generator-config.yaml +1 -1
- data/songtradr_api_client_ruby.gemspec +3 -2
- data/spec/api/allowed_values_api_spec.rb +2 -2
- data/spec/api/recording_api_spec.rb +14 -2
- data/spec/api/user_api_spec.rb +15 -74
- data/spec/models/category_medium_dto_spec.rb +4 -4
- data/spec/models/category_minimal_dto_spec.rb +2 -2
- data/spec/models/config_access_dto_spec.rb +2 -2
- data/spec/models/config_identifier_dto_spec.rb +2 -2
- data/spec/models/contributor_type_dto_spec.rb +2 -2
- data/spec/models/error_response_spec.rb +2 -2
- data/spec/models/field_summary_dto_spec.rb +2 -2
- data/spec/models/file_dto_spec.rb +2 -2
- data/spec/models/file_list_dto_spec.rb +2 -2
- data/spec/models/file_small_dto_spec.rb +2 -2
- 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 +111 -95
- 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 +5 -5
- data/spec/models/recording_list_dto_spec.rb +2 -2
- data/spec/models/recording_medium_dto_spec.rb +10 -10
- data/spec/models/recording_minimal_with_musical_features_dto_spec.rb +4 -4
- 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 +6 -6
- 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 +8 -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 +8 -2
- data/spec/models/video_recognition_response_spec.rb +2 -2
- data/spec/spec_helper.rb +2 -2
- metadata +56 -158
- data/docs/AgeRange.md +0 -20
- data/docs/Beard.md +0 -20
- data/docs/BoundingBox.md +0 -24
- data/docs/CuratePlaylistDTO.md +0 -26
- data/docs/CuratePlaylistResponseDTO.md +0 -18
- 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/PlaylistApi.md +0 -77
- data/docs/Pose.md +0 -22
- data/docs/Smile.md +0 -20
- data/docs/Sunglasses.md +0 -20
- data/lib/songtradr_api_client_ruby/api/playlist_api.rb +0 -99
- 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/curate_playlist_dto.rb +0 -256
- data/lib/songtradr_api_client_ruby/models/curate_playlist_response_dto.rb +0 -216
- 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/playlist_api_spec.rb +0 -47
- 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/curate_playlist_dto_spec.rb +0 -60
- data/spec/models/curate_playlist_response_dto_spec.rb +0 -36
- 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.18.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.4.0-SNAPSHOT
|
|
10
10
|
|
|
11
11
|
=end
|
|
12
12
|
|
|
@@ -37,259 +37,263 @@ describe SongtradrApiClientRuby::MusicalFeaturesDTO do
|
|
|
37
37
|
end
|
|
38
38
|
end
|
|
39
39
|
|
|
40
|
-
describe 'test attribute "
|
|
40
|
+
describe 'test attribute "language_of_performance"' do
|
|
41
41
|
it 'should work' do
|
|
42
42
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
43
|
-
# validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["
|
|
43
|
+
# validator = Petstore::EnumTest::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"])
|
|
44
44
|
# validator.allowable_values.each do |value|
|
|
45
|
-
# expect { instance.
|
|
45
|
+
# expect { instance.language_of_performance = value }.not_to raise_error
|
|
46
46
|
# end
|
|
47
47
|
end
|
|
48
48
|
end
|
|
49
49
|
|
|
50
|
-
describe 'test attribute "
|
|
50
|
+
describe 'test attribute "arousal"' do
|
|
51
51
|
it 'should work' do
|
|
52
52
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
53
|
-
# validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["very
|
|
53
|
+
# validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["very calm", "calm", "moderate arousal", "energetic", "very energetic", "varying arousal"])
|
|
54
54
|
# validator.allowable_values.each do |value|
|
|
55
|
-
# expect { instance.
|
|
55
|
+
# expect { instance.arousal = value }.not_to raise_error
|
|
56
56
|
# end
|
|
57
57
|
end
|
|
58
58
|
end
|
|
59
59
|
|
|
60
|
-
describe 'test attribute "
|
|
60
|
+
describe 'test attribute "dominant_instrument"' do
|
|
61
61
|
it 'should work' do
|
|
62
62
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
63
|
-
# validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["
|
|
63
|
+
# validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["piano", "electronics", "guitar", "strings", "synthesizer", "wind", "drum kit", "keys", "harpsichord", "choir", "electric bass", "organ", "brass", "percussion", "vocals", "double bass", "harp"])
|
|
64
64
|
# validator.allowable_values.each do |value|
|
|
65
|
-
# expect { instance.
|
|
65
|
+
# expect { instance.dominant_instrument = value }.not_to raise_error
|
|
66
66
|
# end
|
|
67
67
|
end
|
|
68
68
|
end
|
|
69
69
|
|
|
70
|
-
describe 'test attribute "
|
|
70
|
+
describe 'test attribute "energy"' do
|
|
71
71
|
it 'should work' do
|
|
72
72
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
73
|
-
# validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["very
|
|
73
|
+
# validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["very quiet", "quiet", "moderate", "loud", "very loud", "dynamic"])
|
|
74
74
|
# validator.allowable_values.each do |value|
|
|
75
|
-
# expect { instance.
|
|
75
|
+
# expect { instance.energy = value }.not_to raise_error
|
|
76
76
|
# end
|
|
77
77
|
end
|
|
78
78
|
end
|
|
79
79
|
|
|
80
|
-
describe 'test attribute "
|
|
80
|
+
describe 'test attribute "engagement"' do
|
|
81
81
|
it 'should work' do
|
|
82
82
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
83
|
-
# validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["
|
|
83
|
+
# validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["very unengaging", "unengaging", "neutral engagement", "engaging", "very engaging", "varying engagement"])
|
|
84
84
|
# validator.allowable_values.each do |value|
|
|
85
|
-
# expect { instance.
|
|
85
|
+
# expect { instance.engagement = value }.not_to raise_error
|
|
86
86
|
# end
|
|
87
87
|
end
|
|
88
88
|
end
|
|
89
89
|
|
|
90
|
-
describe 'test attribute "
|
|
90
|
+
describe 'test attribute "groovyness"' do
|
|
91
91
|
it 'should work' do
|
|
92
92
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
93
|
-
# validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["very
|
|
93
|
+
# validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["very steady", "steady", "moderate rhythm feel", "groovy", "very groovy"])
|
|
94
94
|
# validator.allowable_values.each do |value|
|
|
95
|
-
# expect { instance.
|
|
95
|
+
# expect { instance.groovyness = value }.not_to raise_error
|
|
96
96
|
# end
|
|
97
97
|
end
|
|
98
98
|
end
|
|
99
99
|
|
|
100
|
-
describe 'test attribute "
|
|
100
|
+
describe 'test attribute "harmony"' do
|
|
101
101
|
it 'should work' do
|
|
102
102
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
103
|
-
# validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["
|
|
103
|
+
# validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["very dissonant", "dissonant", "moderate harmonies", "harmonious", "very harmonious"])
|
|
104
104
|
# validator.allowable_values.each do |value|
|
|
105
|
-
# expect { instance.
|
|
105
|
+
# expect { instance.harmony = value }.not_to raise_error
|
|
106
106
|
# end
|
|
107
107
|
end
|
|
108
108
|
end
|
|
109
109
|
|
|
110
|
-
describe 'test attribute "
|
|
110
|
+
describe 'test attribute "pleasantness"' do
|
|
111
111
|
it 'should work' do
|
|
112
112
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
113
|
-
# validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["
|
|
113
|
+
# validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["very unpleasant", "unpleasant", "neutral pleasantness", "pleasant", "very pleasant", "varying pleasantness"])
|
|
114
114
|
# validator.allowable_values.each do |value|
|
|
115
|
-
# expect { instance.
|
|
115
|
+
# expect { instance.pleasantness = value }.not_to raise_error
|
|
116
116
|
# end
|
|
117
117
|
end
|
|
118
118
|
end
|
|
119
119
|
|
|
120
|
-
describe 'test attribute "
|
|
120
|
+
describe 'test attribute "primary_mood_cluster"' do
|
|
121
121
|
it 'should work' do
|
|
122
122
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
123
|
-
# validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["
|
|
123
|
+
# validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["aggressive", "amusing", "anxious", "calm", "devotional", "dreamy", "energetic", "enigmatic", "epic", "erotic", "positive", "sad", "scary", "wild"])
|
|
124
124
|
# validator.allowable_values.each do |value|
|
|
125
|
-
# expect { instance.
|
|
125
|
+
# expect { instance.primary_mood_cluster = value }.not_to raise_error
|
|
126
126
|
# end
|
|
127
127
|
end
|
|
128
128
|
end
|
|
129
129
|
|
|
130
|
-
describe 'test attribute "
|
|
130
|
+
describe 'test attribute "primary_sound_character"' do
|
|
131
131
|
it 'should work' do
|
|
132
132
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
133
|
-
# validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["
|
|
133
|
+
# validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["brassy", "bright", "clear", "deep", "distorted", "flat", "full", "groovy", "melodious", "natural", "resonant", "shrill", "steady", "thin", "warm"])
|
|
134
134
|
# validator.allowable_values.each do |value|
|
|
135
|
-
# expect { instance.
|
|
135
|
+
# expect { instance.primary_sound_character = value }.not_to raise_error
|
|
136
136
|
# end
|
|
137
137
|
end
|
|
138
138
|
end
|
|
139
139
|
|
|
140
|
-
describe 'test attribute "
|
|
140
|
+
describe 'test attribute "rhythm"' do
|
|
141
141
|
it 'should work' do
|
|
142
142
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
143
|
-
# validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["
|
|
143
|
+
# validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["common time", "triple meter", "complex time signature", "binary rhythm", "ternary rhythm"])
|
|
144
144
|
# validator.allowable_values.each do |value|
|
|
145
|
-
# expect { instance.
|
|
145
|
+
# expect { instance.rhythm = value }.not_to raise_error
|
|
146
146
|
# end
|
|
147
147
|
end
|
|
148
148
|
end
|
|
149
149
|
|
|
150
|
-
describe 'test attribute "
|
|
150
|
+
describe 'test attribute "roughness"' do
|
|
151
151
|
it 'should work' do
|
|
152
152
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
153
|
-
# validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["
|
|
153
|
+
# validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["very clear", "clear", "moderate roughness", "distorted", "very distorted"])
|
|
154
154
|
# validator.allowable_values.each do |value|
|
|
155
|
-
# expect { instance.
|
|
155
|
+
# expect { instance.roughness = value }.not_to raise_error
|
|
156
156
|
# end
|
|
157
157
|
end
|
|
158
158
|
end
|
|
159
159
|
|
|
160
|
-
describe 'test attribute "
|
|
160
|
+
describe 'test attribute "scale"' do
|
|
161
161
|
it 'should work' do
|
|
162
162
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
163
|
-
# validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["
|
|
163
|
+
# validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["major key", "minor key", "neutral key"])
|
|
164
164
|
# validator.allowable_values.each do |value|
|
|
165
|
-
# expect { instance.
|
|
165
|
+
# expect { instance.scale = value }.not_to raise_error
|
|
166
166
|
# end
|
|
167
167
|
end
|
|
168
168
|
end
|
|
169
169
|
|
|
170
|
-
describe 'test attribute "
|
|
170
|
+
describe 'test attribute "key"' do
|
|
171
171
|
it 'should work' do
|
|
172
172
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
173
|
-
# validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["
|
|
173
|
+
# validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["C", "C#", "D", "D#", "E", "F", "F#", "G", "G#", "A", "A#", "B", "unclear"])
|
|
174
174
|
# validator.allowable_values.each do |value|
|
|
175
|
-
# expect { instance.
|
|
175
|
+
# expect { instance.key = value }.not_to raise_error
|
|
176
176
|
# end
|
|
177
177
|
end
|
|
178
178
|
end
|
|
179
179
|
|
|
180
|
-
describe 'test attribute "
|
|
180
|
+
describe 'test attribute "sound_generation"' do
|
|
181
181
|
it 'should work' do
|
|
182
182
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
183
|
-
# validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["
|
|
183
|
+
# validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["acoustic", "electric", "electronic", "mixed sound generation"])
|
|
184
184
|
# validator.allowable_values.each do |value|
|
|
185
|
-
# expect { instance.
|
|
185
|
+
# expect { instance.sound_generation = value }.not_to raise_error
|
|
186
186
|
# end
|
|
187
187
|
end
|
|
188
188
|
end
|
|
189
189
|
|
|
190
|
-
describe 'test attribute "
|
|
190
|
+
describe 'test attribute "tempo"' do
|
|
191
191
|
it 'should work' do
|
|
192
192
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
193
|
-
# validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["very
|
|
193
|
+
# validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["very slow", "slow", "mid-tempo", "fast", "very fast", "varying tempo"])
|
|
194
194
|
# validator.allowable_values.each do |value|
|
|
195
|
-
# expect { instance.
|
|
195
|
+
# expect { instance.tempo = value }.not_to raise_error
|
|
196
196
|
# end
|
|
197
197
|
end
|
|
198
198
|
end
|
|
199
199
|
|
|
200
|
-
describe 'test attribute "
|
|
200
|
+
describe 'test attribute "texture"' do
|
|
201
201
|
it 'should work' do
|
|
202
202
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
203
|
-
# validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["very
|
|
203
|
+
# validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["very thin", "thin", "moderate texture", "full", "very full"])
|
|
204
204
|
# validator.allowable_values.each do |value|
|
|
205
|
-
# expect { instance.
|
|
205
|
+
# expect { instance.texture = value }.not_to raise_error
|
|
206
206
|
# end
|
|
207
207
|
end
|
|
208
208
|
end
|
|
209
209
|
|
|
210
|
-
describe 'test attribute "
|
|
210
|
+
describe 'test attribute "timbre"' do
|
|
211
211
|
it 'should work' do
|
|
212
212
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
213
|
-
# validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["very
|
|
213
|
+
# validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["very warm", "warm", "moderate timbre", "bright", "very bright"])
|
|
214
214
|
# validator.allowable_values.each do |value|
|
|
215
|
-
# expect { instance.
|
|
215
|
+
# expect { instance.timbre = value }.not_to raise_error
|
|
216
216
|
# end
|
|
217
217
|
end
|
|
218
218
|
end
|
|
219
219
|
|
|
220
|
-
describe 'test attribute "
|
|
220
|
+
describe 'test attribute "tonality"' do
|
|
221
221
|
it 'should work' do
|
|
222
222
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
223
|
-
# validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["
|
|
223
|
+
# validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["monotonous", "moderate melodiousness", "melodious", "atonal"])
|
|
224
224
|
# validator.allowable_values.each do |value|
|
|
225
|
-
# expect { instance.
|
|
225
|
+
# expect { instance.tonality = value }.not_to raise_error
|
|
226
226
|
# end
|
|
227
227
|
end
|
|
228
228
|
end
|
|
229
229
|
|
|
230
|
-
describe 'test attribute "
|
|
230
|
+
describe 'test attribute "valence"' do
|
|
231
231
|
it 'should work' do
|
|
232
232
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
233
|
-
# validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["
|
|
233
|
+
# validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["very sad", "sad", "moderate valence", "positive", "very positive", "varying valence"])
|
|
234
234
|
# validator.allowable_values.each do |value|
|
|
235
|
-
# expect { instance.
|
|
235
|
+
# expect { instance.valence = value }.not_to raise_error
|
|
236
236
|
# end
|
|
237
237
|
end
|
|
238
238
|
end
|
|
239
239
|
|
|
240
|
-
describe 'test attribute "
|
|
240
|
+
describe 'test attribute "vocals"' do
|
|
241
241
|
it 'should work' do
|
|
242
242
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
243
|
-
# validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["
|
|
243
|
+
# validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["instrumental", "female vocals", "male vocals", "mixed vocals", "diverse gender vocals"])
|
|
244
244
|
# validator.allowable_values.each do |value|
|
|
245
|
-
# expect { instance.
|
|
245
|
+
# expect { instance.vocals = value }.not_to raise_error
|
|
246
246
|
# end
|
|
247
247
|
end
|
|
248
248
|
end
|
|
249
249
|
|
|
250
|
-
describe 'test attribute "
|
|
250
|
+
describe 'test attribute "origin_decade"' do
|
|
251
251
|
it 'should work' do
|
|
252
252
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
253
|
-
# validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["
|
|
253
|
+
# validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["pre-1950s", "1950s", "1960s", "1970s", "1980s", "1990s", "2000s", "2010s", "2020s"])
|
|
254
254
|
# validator.allowable_values.each do |value|
|
|
255
|
-
# expect { instance.
|
|
255
|
+
# expect { instance.origin_decade = value }.not_to raise_error
|
|
256
256
|
# end
|
|
257
257
|
end
|
|
258
258
|
end
|
|
259
259
|
|
|
260
|
-
describe 'test attribute "
|
|
260
|
+
describe 'test attribute "curateability"' do
|
|
261
261
|
it 'should work' do
|
|
262
262
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
263
|
-
# validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["
|
|
263
|
+
# validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["curateable", "uncurateable"])
|
|
264
264
|
# validator.allowable_values.each do |value|
|
|
265
|
-
# expect { instance.
|
|
265
|
+
# expect { instance.curateability = value }.not_to raise_error
|
|
266
266
|
# end
|
|
267
267
|
end
|
|
268
268
|
end
|
|
269
269
|
|
|
270
|
-
describe 'test attribute "
|
|
270
|
+
describe 'test attribute "use_case"' do
|
|
271
271
|
it 'should work' do
|
|
272
272
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
273
|
-
# validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["
|
|
273
|
+
# validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["background", "sport", "focus", "christmas", "film", "summer", "adverts", "party", "relax", "karaoke"])
|
|
274
274
|
# validator.allowable_values.each do |value|
|
|
275
|
-
# expect { instance.
|
|
275
|
+
# expect { instance.use_case = value }.not_to raise_error
|
|
276
276
|
# end
|
|
277
277
|
end
|
|
278
278
|
end
|
|
279
279
|
|
|
280
|
-
describe 'test attribute "
|
|
280
|
+
describe 'test attribute "channel_suitability"' do
|
|
281
281
|
it 'should work' do
|
|
282
282
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
283
|
-
# validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["
|
|
283
|
+
# validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["Spotify", "TikTok", "Unfitting", "YouTube"])
|
|
284
284
|
# validator.allowable_values.each do |value|
|
|
285
|
-
# expect { instance.
|
|
285
|
+
# expect { instance.channel_suitability = value }.not_to raise_error
|
|
286
286
|
# end
|
|
287
287
|
end
|
|
288
288
|
end
|
|
289
289
|
|
|
290
|
-
describe 'test attribute "
|
|
290
|
+
describe 'test attribute "loudness"' do
|
|
291
291
|
it 'should work' do
|
|
292
292
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
293
|
+
# validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["very low", "low", "moderate", "high", "very high"])
|
|
294
|
+
# validator.allowable_values.each do |value|
|
|
295
|
+
# expect { instance.loudness = value }.not_to raise_error
|
|
296
|
+
# end
|
|
293
297
|
end
|
|
294
298
|
end
|
|
295
299
|
|
|
@@ -340,7 +344,7 @@ describe SongtradrApiClientRuby::MusicalFeaturesDTO do
|
|
|
340
344
|
describe 'test attribute "secondary_instrument"' do
|
|
341
345
|
it 'should work' do
|
|
342
346
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
343
|
-
# validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["
|
|
347
|
+
# validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["piano", "electronics", "guitar", "strings", "synthesizer", "wind", "drum kit", "keys", "harpsichord", "choir", "electric bass", "organ", "brass", "percussion", "vocals", "double bass", "harp"])
|
|
344
348
|
# validator.allowable_values.each do |value|
|
|
345
349
|
# expect { instance.secondary_instrument = value }.not_to raise_error
|
|
346
350
|
# end
|
|
@@ -356,7 +360,7 @@ describe SongtradrApiClientRuby::MusicalFeaturesDTO do
|
|
|
356
360
|
describe 'test attribute "tertiary_instrument"' do
|
|
357
361
|
it 'should work' do
|
|
358
362
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
359
|
-
# validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["
|
|
363
|
+
# validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["piano", "electronics", "guitar", "strings", "synthesizer", "wind", "drum kit", "keys", "harpsichord", "choir", "electric bass", "organ", "brass", "percussion", "vocals", "double bass", "harp"])
|
|
360
364
|
# validator.allowable_values.each do |value|
|
|
361
365
|
# expect { instance.tertiary_instrument = value }.not_to raise_error
|
|
362
366
|
# end
|
|
@@ -447,6 +451,12 @@ describe SongtradrApiClientRuby::MusicalFeaturesDTO do
|
|
|
447
451
|
end
|
|
448
452
|
end
|
|
449
453
|
|
|
454
|
+
describe 'test attribute "primary_mood_cluster_affinity"' do
|
|
455
|
+
it 'should work' do
|
|
456
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
457
|
+
end
|
|
458
|
+
end
|
|
459
|
+
|
|
450
460
|
describe 'test attribute "audience_age"' do
|
|
451
461
|
it 'should work' do
|
|
452
462
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
@@ -615,91 +625,97 @@ describe SongtradrApiClientRuby::MusicalFeaturesDTO do
|
|
|
615
625
|
end
|
|
616
626
|
end
|
|
617
627
|
|
|
618
|
-
describe 'test attribute "
|
|
628
|
+
describe 'test attribute "harmony_affinity"' do
|
|
619
629
|
it 'should work' do
|
|
620
630
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
621
631
|
end
|
|
622
632
|
end
|
|
623
633
|
|
|
624
|
-
describe 'test attribute "
|
|
634
|
+
describe 'test attribute "texture_affinity"' do
|
|
625
635
|
it 'should work' do
|
|
626
636
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
627
637
|
end
|
|
628
638
|
end
|
|
629
639
|
|
|
630
|
-
describe 'test attribute "
|
|
640
|
+
describe 'test attribute "groovyness_affinity"' do
|
|
631
641
|
it 'should work' do
|
|
632
642
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
633
643
|
end
|
|
634
644
|
end
|
|
635
645
|
|
|
636
|
-
describe 'test attribute "
|
|
646
|
+
describe 'test attribute "space_affinity"' do
|
|
637
647
|
it 'should work' do
|
|
638
648
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
639
649
|
end
|
|
640
650
|
end
|
|
641
651
|
|
|
642
|
-
describe 'test attribute "
|
|
652
|
+
describe 'test attribute "loudness_affinity"' do
|
|
643
653
|
it 'should work' do
|
|
644
654
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
645
655
|
end
|
|
646
656
|
end
|
|
647
657
|
|
|
648
|
-
describe 'test attribute "
|
|
658
|
+
describe 'test attribute "key_affinity"' do
|
|
649
659
|
it 'should work' do
|
|
650
660
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
651
661
|
end
|
|
652
662
|
end
|
|
653
663
|
|
|
654
|
-
describe 'test attribute "
|
|
664
|
+
describe 'test attribute "channel_suitability_affinity"' do
|
|
655
665
|
it 'should work' do
|
|
656
666
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
657
667
|
end
|
|
658
668
|
end
|
|
659
669
|
|
|
660
|
-
describe 'test attribute "
|
|
670
|
+
describe 'test attribute "valence_affinity"' do
|
|
661
671
|
it 'should work' do
|
|
662
672
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
663
673
|
end
|
|
664
674
|
end
|
|
665
675
|
|
|
666
|
-
describe 'test attribute "
|
|
676
|
+
describe 'test attribute "arousal_affinity"' do
|
|
667
677
|
it 'should work' do
|
|
668
678
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
669
679
|
end
|
|
670
680
|
end
|
|
671
681
|
|
|
672
|
-
describe 'test attribute "
|
|
682
|
+
describe 'test attribute "pleasantness_affinity"' do
|
|
673
683
|
it 'should work' do
|
|
674
684
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
675
685
|
end
|
|
676
686
|
end
|
|
677
687
|
|
|
678
|
-
describe 'test attribute "
|
|
688
|
+
describe 'test attribute "engagement_affinity"' do
|
|
679
689
|
it 'should work' do
|
|
680
690
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
681
691
|
end
|
|
682
692
|
end
|
|
683
693
|
|
|
684
|
-
describe 'test attribute "
|
|
694
|
+
describe 'test attribute "energy_affinity"' do
|
|
685
695
|
it 'should work' do
|
|
686
696
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
687
697
|
end
|
|
688
698
|
end
|
|
689
699
|
|
|
690
|
-
describe 'test attribute "
|
|
700
|
+
describe 'test attribute "tempo_affinity"' do
|
|
691
701
|
it 'should work' do
|
|
692
702
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
693
703
|
end
|
|
694
704
|
end
|
|
695
705
|
|
|
696
|
-
describe 'test attribute "
|
|
706
|
+
describe 'test attribute "scale_affinity"' do
|
|
697
707
|
it 'should work' do
|
|
698
708
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
699
709
|
end
|
|
700
710
|
end
|
|
701
711
|
|
|
702
|
-
describe 'test attribute "
|
|
712
|
+
describe 'test attribute "timbre_affinity"' do
|
|
713
|
+
it 'should work' do
|
|
714
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
715
|
+
end
|
|
716
|
+
end
|
|
717
|
+
|
|
718
|
+
describe 'test attribute "roughness_affinity"' do
|
|
703
719
|
it 'should work' do
|
|
704
720
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
705
721
|
end
|
|
@@ -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.18.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.4.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.18.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.4.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.18.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.4.0-SNAPSHOT
|
|
10
10
|
|
|
11
11
|
=end
|
|
12
12
|
|
|
@@ -27,19 +27,19 @@ describe SongtradrApiClientRuby::RecordingGenrePredictionDTO do
|
|
|
27
27
|
end
|
|
28
28
|
end
|
|
29
29
|
|
|
30
|
-
describe 'test attribute "
|
|
30
|
+
describe 'test attribute "genre_type"' do
|
|
31
31
|
it 'should work' do
|
|
32
32
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
33
33
|
end
|
|
34
34
|
end
|
|
35
35
|
|
|
36
|
-
describe 'test attribute "
|
|
36
|
+
describe 'test attribute "genre"' do
|
|
37
37
|
it 'should work' do
|
|
38
38
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
39
39
|
end
|
|
40
40
|
end
|
|
41
41
|
|
|
42
|
-
describe 'test attribute "
|
|
42
|
+
describe 'test attribute "probability"' do
|
|
43
43
|
it 'should work' do
|
|
44
44
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
45
45
|
end
|
|
@@ -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.18.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.4.0-SNAPSHOT
|
|
10
10
|
|
|
11
11
|
=end
|
|
12
12
|
|