songtradr_api_client_ruby 1.12.21 → 1.12.23
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +5 -5
- data/README.md +26 -12
- data/docs/APIKeysApi.md +217 -0
- data/docs/AdminApiUserDTO.md +70 -0
- data/docs/ApiKeyDTO.md +24 -0
- data/docs/CategoryMediumDTO.md +3 -3
- data/docs/CreateApiKeyDTO.md +18 -0
- data/docs/MusicalFeaturesDTO.md +54 -54
- data/docs/PlaylistLargeDTO.md +3 -3
- data/docs/ProductMediumDTO.md +9 -9
- data/docs/RecordingLargeDTO.md +14 -14
- data/docs/RecordingMediumDTO.md +14 -14
- data/docs/RecordingMinimalWithMusicalFeaturesDTO.md +3 -3
- data/docs/RecordingPlaylistDTO.md +3 -3
- data/docs/RecordingSmallDTO.md +4 -4
- data/docs/UserDTO.md +2 -0
- data/getspec.rb +28 -5
- data/lib/songtradr_api_client_ruby/api/allowed_values_api.rb +1 -1
- data/lib/songtradr_api_client_ruby/api/api_keys_api.rb +213 -0
- data/lib/songtradr_api_client_ruby/api/party_api.rb +1 -1
- data/lib/songtradr_api_client_ruby/api/playlist_api.rb +1 -1
- data/lib/songtradr_api_client_ruby/api/recording_api.rb +1 -1
- data/lib/songtradr_api_client_ruby/api/user_api.rb +1 -1
- data/lib/songtradr_api_client_ruby/api_client.rb +1 -1
- data/lib/songtradr_api_client_ruby/api_error.rb +1 -1
- data/lib/songtradr_api_client_ruby/configuration.rb +1 -1
- data/lib/songtradr_api_client_ruby/models/admin_api_user_dto.rb +453 -0
- data/lib/songtradr_api_client_ruby/models/api_key_dto.rb +261 -0
- data/lib/songtradr_api_client_ruby/models/category_medium_dto.rb +14 -14
- data/lib/songtradr_api_client_ruby/models/category_minimal_dto.rb +1 -1
- data/lib/songtradr_api_client_ruby/models/config_access_dto.rb +1 -1
- data/lib/songtradr_api_client_ruby/models/config_identifier_dto.rb +1 -1
- data/lib/songtradr_api_client_ruby/models/contributor_type_dto.rb +1 -1
- data/lib/songtradr_api_client_ruby/models/create_api_key_dto.rb +219 -0
- data/lib/songtradr_api_client_ruby/models/error_response.rb +1 -1
- data/lib/songtradr_api_client_ruby/models/field_summary_dto.rb +1 -1
- data/lib/songtradr_api_client_ruby/models/file_dto.rb +1 -1
- data/lib/songtradr_api_client_ruby/models/file_list_dto.rb +1 -1
- data/lib/songtradr_api_client_ruby/models/file_minimal_with_url_dto.rb +1 -1
- data/lib/songtradr_api_client_ruby/models/file_small_dto.rb +1 -1
- data/lib/songtradr_api_client_ruby/models/file_upload_dto.rb +1 -1
- data/lib/songtradr_api_client_ruby/models/file_w_ith_url_dto.rb +1 -1
- data/lib/songtradr_api_client_ruby/models/files_summary_dto.rb +1 -1
- data/lib/songtradr_api_client_ruby/models/forgot_password_dto.rb +1 -1
- data/lib/songtradr_api_client_ruby/models/genre_dto.rb +1 -1
- data/lib/songtradr_api_client_ruby/models/genre_minimal_dto.rb +1 -1
- data/lib/songtradr_api_client_ruby/models/genres_summary_dto.rb +1 -1
- data/lib/songtradr_api_client_ruby/models/init_put_recording_audio_dto.rb +1 -1
- data/lib/songtradr_api_client_ruby/models/jwt_token_dto.rb +1 -1
- data/lib/songtradr_api_client_ruby/models/login_dto.rb +1 -1
- data/lib/songtradr_api_client_ruby/models/musical_features_dto.rb +448 -448
- data/lib/songtradr_api_client_ruby/models/p_line_dto.rb +1 -1
- data/lib/songtradr_api_client_ruby/models/party_large_dto.rb +1 -1
- data/lib/songtradr_api_client_ruby/models/party_small_dto.rb +1 -1
- data/lib/songtradr_api_client_ruby/models/playlist_large_dto.rb +16 -16
- data/lib/songtradr_api_client_ruby/models/product_medium_dto.rb +51 -51
- data/lib/songtradr_api_client_ruby/models/product_party_dto.rb +1 -1
- data/lib/songtradr_api_client_ruby/models/recording_for_similarity_search_dto.rb +1 -1
- data/lib/songtradr_api_client_ruby/models/recording_genre_prediction_dto.rb +1 -1
- data/lib/songtradr_api_client_ruby/models/recording_large_dto.rb +71 -71
- data/lib/songtradr_api_client_ruby/models/recording_list_dto.rb +1 -1
- data/lib/songtradr_api_client_ruby/models/recording_medium_dto.rb +63 -63
- data/lib/songtradr_api_client_ruby/models/recording_minimal_with_musical_features_dto.rb +14 -14
- data/lib/songtradr_api_client_ruby/models/recording_minimal_with_taggrams_dto.rb +1 -1
- data/lib/songtradr_api_client_ruby/models/recording_minimal_with_tagstrengths_dto.rb +1 -1
- data/lib/songtradr_api_client_ruby/models/recording_party_dto.rb +1 -1
- data/lib/songtradr_api_client_ruby/models/recording_playlist_dto.rb +14 -14
- data/lib/songtradr_api_client_ruby/models/recording_small_dto.rb +22 -22
- data/lib/songtradr_api_client_ruby/models/recording_tag_small_dto.rb +1 -1
- data/lib/songtradr_api_client_ruby/models/save_file_recording_dto.rb +1 -1
- data/lib/songtradr_api_client_ruby/models/save_playlist_dto.rb +1 -1
- data/lib/songtradr_api_client_ruby/models/save_recording_genre_dto.rb +1 -1
- data/lib/songtradr_api_client_ruby/models/save_recording_party_dto.rb +1 -1
- data/lib/songtradr_api_client_ruby/models/save_recording_playlist_dto.rb +1 -1
- data/lib/songtradr_api_client_ruby/models/save_recording_tag_dto.rb +1 -1
- data/lib/songtradr_api_client_ruby/models/save_referrer_dto.rb +1 -1
- data/lib/songtradr_api_client_ruby/models/save_taggrams_dto.rb +1 -1
- data/lib/songtradr_api_client_ruby/models/save_user_dto.rb +1 -1
- data/lib/songtradr_api_client_ruby/models/search_filter_values_dto.rb +1 -1
- data/lib/songtradr_api_client_ruby/models/search_recording_granular_abstraction_dto.rb +1 -1
- data/lib/songtradr_api_client_ruby/models/search_recording_granular_dto.rb +1 -1
- data/lib/songtradr_api_client_ruby/models/sign_up_dto.rb +1 -1
- data/lib/songtradr_api_client_ruby/models/tag_dto.rb +1 -1
- data/lib/songtradr_api_client_ruby/models/tag_small_dto.rb +1 -1
- data/lib/songtradr_api_client_ruby/models/taggram_dto.rb +1 -1
- data/lib/songtradr_api_client_ruby/models/tags_summary_dto.rb +1 -1
- data/lib/songtradr_api_client_ruby/models/tagstrength_dto.rb +1 -1
- data/lib/songtradr_api_client_ruby/models/title_dto.rb +1 -1
- data/lib/songtradr_api_client_ruby/models/token_request.rb +1 -1
- data/lib/songtradr_api_client_ruby/models/track_to_medium_product_dto.rb +1 -1
- data/lib/songtradr_api_client_ruby/models/update_password_dto.rb +1 -1
- data/lib/songtradr_api_client_ruby/models/usage_dto.rb +1 -1
- data/lib/songtradr_api_client_ruby/models/user_dto.rb +16 -2
- data/lib/songtradr_api_client_ruby/version.rb +2 -2
- data/lib/songtradr_api_client_ruby.rb +5 -1
- data/openapi-generator-config.yaml +4 -3
- data/songtradr_api_client_ruby.gemspec +4 -4
- data/spec/api/allowed_values_api_spec.rb +1 -1
- data/spec/api/api_keys_api_spec.rb +70 -0
- data/spec/api/party_api_spec.rb +1 -1
- data/spec/api/playlist_api_spec.rb +1 -1
- data/spec/api/recording_api_spec.rb +1 -1
- data/spec/api/user_api_spec.rb +1 -1
- data/spec/api_client_spec.rb +1 -1
- data/spec/configuration_spec.rb +1 -1
- data/spec/models/admin_api_user_dto_spec.rb +190 -0
- data/spec/models/api_key_dto_spec.rb +52 -0
- data/spec/models/category_medium_dto_spec.rb +3 -3
- data/spec/models/category_minimal_dto_spec.rb +1 -1
- data/spec/models/config_access_dto_spec.rb +1 -1
- data/spec/models/config_identifier_dto_spec.rb +1 -1
- data/spec/models/contributor_type_dto_spec.rb +1 -1
- data/spec/models/create_api_key_dto_spec.rb +34 -0
- data/spec/models/error_response_spec.rb +1 -1
- data/spec/models/field_summary_dto_spec.rb +1 -1
- data/spec/models/file_dto_spec.rb +1 -1
- data/spec/models/file_list_dto_spec.rb +1 -1
- data/spec/models/file_minimal_with_url_dto_spec.rb +1 -1
- data/spec/models/file_small_dto_spec.rb +1 -1
- data/spec/models/file_upload_dto_spec.rb +1 -1
- data/spec/models/file_w_ith_url_dto_spec.rb +1 -1
- data/spec/models/files_summary_dto_spec.rb +1 -1
- data/spec/models/forgot_password_dto_spec.rb +1 -1
- data/spec/models/genre_dto_spec.rb +1 -1
- data/spec/models/genre_minimal_dto_spec.rb +1 -1
- data/spec/models/genres_summary_dto_spec.rb +1 -1
- data/spec/models/init_put_recording_audio_dto_spec.rb +1 -1
- data/spec/models/jwt_token_dto_spec.rb +1 -1
- data/spec/models/login_dto_spec.rb +1 -1
- data/spec/models/musical_features_dto_spec.rb +165 -165
- data/spec/models/p_line_dto_spec.rb +1 -1
- data/spec/models/party_large_dto_spec.rb +1 -1
- data/spec/models/party_small_dto_spec.rb +1 -1
- data/spec/models/playlist_large_dto_spec.rb +7 -7
- data/spec/models/product_medium_dto_spec.rb +9 -9
- data/spec/models/product_party_dto_spec.rb +1 -1
- data/spec/models/recording_for_similarity_search_dto_spec.rb +1 -1
- data/spec/models/recording_genre_prediction_dto_spec.rb +1 -1
- data/spec/models/recording_large_dto_spec.rb +12 -12
- data/spec/models/recording_list_dto_spec.rb +1 -1
- data/spec/models/recording_medium_dto_spec.rb +11 -11
- data/spec/models/recording_minimal_with_musical_features_dto_spec.rb +3 -3
- data/spec/models/recording_minimal_with_taggrams_dto_spec.rb +1 -1
- data/spec/models/recording_minimal_with_tagstrengths_dto_spec.rb +1 -1
- data/spec/models/recording_party_dto_spec.rb +1 -1
- data/spec/models/recording_playlist_dto_spec.rb +4 -4
- data/spec/models/recording_small_dto_spec.rb +3 -3
- data/spec/models/recording_tag_small_dto_spec.rb +1 -1
- data/spec/models/save_file_recording_dto_spec.rb +1 -1
- data/spec/models/save_playlist_dto_spec.rb +1 -1
- data/spec/models/save_recording_genre_dto_spec.rb +1 -1
- data/spec/models/save_recording_party_dto_spec.rb +1 -1
- data/spec/models/save_recording_playlist_dto_spec.rb +1 -1
- data/spec/models/save_recording_tag_dto_spec.rb +1 -1
- data/spec/models/save_referrer_dto_spec.rb +1 -1
- data/spec/models/save_taggrams_dto_spec.rb +1 -1
- data/spec/models/save_user_dto_spec.rb +1 -1
- data/spec/models/search_filter_values_dto_spec.rb +1 -1
- data/spec/models/search_recording_granular_abstraction_dto_spec.rb +1 -1
- data/spec/models/search_recording_granular_dto_spec.rb +1 -1
- data/spec/models/sign_up_dto_spec.rb +1 -1
- data/spec/models/tag_dto_spec.rb +1 -1
- data/spec/models/tag_small_dto_spec.rb +1 -1
- data/spec/models/taggram_dto_spec.rb +1 -1
- data/spec/models/tags_summary_dto_spec.rb +1 -1
- data/spec/models/tagstrength_dto_spec.rb +1 -1
- data/spec/models/title_dto_spec.rb +1 -1
- data/spec/models/token_request_spec.rb +1 -1
- data/spec/models/track_to_medium_product_dto_spec.rb +1 -1
- data/spec/models/update_password_dto_spec.rb +1 -1
- data/spec/models/usage_dto_spec.rb +1 -1
- data/spec/models/user_dto_spec.rb +7 -1
- data/spec/spec_helper.rb +1 -1
- metadata +72 -76
@@ -3,7 +3,7 @@
|
|
3
3
|
|
4
4
|
#This is the Songtradr API. Use it to retrieve deep music metadata and trigger processes like auto-tagging. You can also use the API to manage your account and musicube cloud data. **Authentication** 1. Reach out to support@songtradr.com to receive a free account or use your login data if you are already signed up. 2. To authenticate, you need to login via the POST /api/v1/user/login endpoint. 3. The endpoint responds with a jwtToken which you can use in all following API requests as a bearer token. **Rate Limiting** The current limit is 120 Requests per minute. Reach out to us via support@songtradr.com if you need to request more. **Getting Started with auto-tagging** 1. If you want to get your own files auto-tagged, use the POST /api/v1/user/file/{name}/initUpload endpoint. It responds with a presigned S3 link where you can upload your file. 2. You can check the processing status of your file via the GET /api/v1/user/file/{name}/filesStatus endpoint. 3. As soon as processing is done, you can request the generated data via the GET /api/v1/user/files endpoint. **Getting Started with search** You can either search the released music via the /public/recording endpoints or your own private uploaded music via the /user/file/ endpoints. 1. If you want to search the world's released music, a good starting point is the GET /api/v1/public/recording/search endpoint. Please find the extensive list of parameters that serve as semantic search filters. 2. If you want to search your own previously uploaded music, a good starting point is the GET GET /api/v1/user/files endpoint. It has the same extensive list of parameters that serve as semantic search filters.
|
5
5
|
|
6
|
-
The version of the OpenAPI document: 1.12.
|
6
|
+
The version of the OpenAPI document: 1.12.23
|
7
7
|
Contact: info@songtradr.com
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
9
|
OpenAPI Generator version: 7.0.0-SNAPSHOT
|
@@ -35,56 +35,6 @@ describe SongtradrApiClientRuby::MusicalFeaturesDTO do
|
|
35
35
|
end
|
36
36
|
end
|
37
37
|
|
38
|
-
describe 'test attribute "curateability"' do
|
39
|
-
it 'should work' do
|
40
|
-
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
41
|
-
# validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["curateable", "uncurateable"])
|
42
|
-
# validator.allowable_values.each do |value|
|
43
|
-
# expect { instance.curateability = value }.not_to raise_error
|
44
|
-
# end
|
45
|
-
end
|
46
|
-
end
|
47
|
-
|
48
|
-
describe 'test attribute "use_case"' do
|
49
|
-
it 'should work' do
|
50
|
-
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
51
|
-
# validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["background", "sport", "focus", "christmas", "film", "summer", "adverts", "party", "relax"])
|
52
|
-
# validator.allowable_values.each do |value|
|
53
|
-
# expect { instance.use_case = value }.not_to raise_error
|
54
|
-
# end
|
55
|
-
end
|
56
|
-
end
|
57
|
-
|
58
|
-
describe 'test attribute "channel_suitability"' do
|
59
|
-
it 'should work' do
|
60
|
-
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
61
|
-
# validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["Spotify", "TikTok", "Unfitting", "YouTube"])
|
62
|
-
# validator.allowable_values.each do |value|
|
63
|
-
# expect { instance.channel_suitability = value }.not_to raise_error
|
64
|
-
# end
|
65
|
-
end
|
66
|
-
end
|
67
|
-
|
68
|
-
describe 'test attribute "arousal"' do
|
69
|
-
it 'should work' do
|
70
|
-
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
71
|
-
# validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["very calm", "calm", "moderate arousal", "energetic", "very energetic", "varying arousal"])
|
72
|
-
# validator.allowable_values.each do |value|
|
73
|
-
# expect { instance.arousal = value }.not_to raise_error
|
74
|
-
# end
|
75
|
-
end
|
76
|
-
end
|
77
|
-
|
78
|
-
describe 'test attribute "dominant_instrument"' do
|
79
|
-
it 'should work' do
|
80
|
-
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
81
|
-
# validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["electric guitar", "piano", "electronics", "guitar", "strings", "synthesizer", "wind", "saxophone", "flute", "trumpet", "drum kit", "keys", "accordion", "violin", "harpsichord", "choir", "cello", "electric bass", "organ", "brass", "percussion", "vocals", "double bass", "harp"])
|
82
|
-
# validator.allowable_values.each do |value|
|
83
|
-
# expect { instance.dominant_instrument = value }.not_to raise_error
|
84
|
-
# end
|
85
|
-
end
|
86
|
-
end
|
87
|
-
|
88
38
|
describe 'test attribute "language_of_performance"' do
|
89
39
|
it 'should work' do
|
90
40
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
@@ -95,76 +45,6 @@ describe SongtradrApiClientRuby::MusicalFeaturesDTO do
|
|
95
45
|
end
|
96
46
|
end
|
97
47
|
|
98
|
-
describe 'test attribute "energy"' do
|
99
|
-
it 'should work' do
|
100
|
-
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
101
|
-
# validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["very quiet", "quiet", "moderate", "loud", "very loud", "dynamic"])
|
102
|
-
# validator.allowable_values.each do |value|
|
103
|
-
# expect { instance.energy = value }.not_to raise_error
|
104
|
-
# end
|
105
|
-
end
|
106
|
-
end
|
107
|
-
|
108
|
-
describe 'test attribute "engagement"' do
|
109
|
-
it 'should work' do
|
110
|
-
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
111
|
-
# validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["very unengaging", "unengaging", "neutral engagement", "engaging", "very engaging", "varying engagement"])
|
112
|
-
# validator.allowable_values.each do |value|
|
113
|
-
# expect { instance.engagement = value }.not_to raise_error
|
114
|
-
# end
|
115
|
-
end
|
116
|
-
end
|
117
|
-
|
118
|
-
describe 'test attribute "groovyness"' do
|
119
|
-
it 'should work' do
|
120
|
-
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
121
|
-
# validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["very steady", "steady", "moderate rhythm feel", "groovy", "very groovy"])
|
122
|
-
# validator.allowable_values.each do |value|
|
123
|
-
# expect { instance.groovyness = value }.not_to raise_error
|
124
|
-
# end
|
125
|
-
end
|
126
|
-
end
|
127
|
-
|
128
|
-
describe 'test attribute "harmony"' do
|
129
|
-
it 'should work' do
|
130
|
-
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
131
|
-
# validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["very dissonant", "dissonant", "moderate harmonies", "harmonious", "very harmonious"])
|
132
|
-
# validator.allowable_values.each do |value|
|
133
|
-
# expect { instance.harmony = value }.not_to raise_error
|
134
|
-
# end
|
135
|
-
end
|
136
|
-
end
|
137
|
-
|
138
|
-
describe 'test attribute "pleasantness"' do
|
139
|
-
it 'should work' do
|
140
|
-
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
141
|
-
# validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["very unpleasant", "unpleasant", "neutral pleasantness", "pleasant", "very pleasant", "varying pleasantness"])
|
142
|
-
# validator.allowable_values.each do |value|
|
143
|
-
# expect { instance.pleasantness = value }.not_to raise_error
|
144
|
-
# end
|
145
|
-
end
|
146
|
-
end
|
147
|
-
|
148
|
-
describe 'test attribute "primary_mood_cluster"' do
|
149
|
-
it 'should work' do
|
150
|
-
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
151
|
-
# validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["aggressive", "amusing", "anxious", "calm", "devotional", "dreamy", "energetic", "enigmatic", "epic", "erotic", "positive", "sad", "scary", "wild"])
|
152
|
-
# validator.allowable_values.each do |value|
|
153
|
-
# expect { instance.primary_mood_cluster = value }.not_to raise_error
|
154
|
-
# end
|
155
|
-
end
|
156
|
-
end
|
157
|
-
|
158
|
-
describe 'test attribute "primary_sound_character"' do
|
159
|
-
it 'should work' do
|
160
|
-
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
161
|
-
# validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["brassy", "bright", "clear", "deep", "distorted", "flat", "full", "groovy", "melodious", "natural", "resonant", "shrill", "steady", "thin", "warm"])
|
162
|
-
# validator.allowable_values.each do |value|
|
163
|
-
# expect { instance.primary_sound_character = value }.not_to raise_error
|
164
|
-
# end
|
165
|
-
end
|
166
|
-
end
|
167
|
-
|
168
48
|
describe 'test attribute "rhythm"' do
|
169
49
|
it 'should work' do
|
170
50
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
@@ -275,45 +155,61 @@ describe SongtradrApiClientRuby::MusicalFeaturesDTO do
|
|
275
155
|
end
|
276
156
|
end
|
277
157
|
|
278
|
-
describe 'test attribute "
|
158
|
+
describe 'test attribute "curateability"' do
|
159
|
+
it 'should work' do
|
160
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
161
|
+
# validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["curateable", "uncurateable"])
|
162
|
+
# validator.allowable_values.each do |value|
|
163
|
+
# expect { instance.curateability = value }.not_to raise_error
|
164
|
+
# end
|
165
|
+
end
|
166
|
+
end
|
167
|
+
|
168
|
+
describe 'test attribute "use_case"' do
|
279
169
|
it 'should work' do
|
280
170
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
171
|
+
# validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["background", "sport", "focus", "christmas", "film", "summer", "adverts", "party", "relax"])
|
172
|
+
# validator.allowable_values.each do |value|
|
173
|
+
# expect { instance.use_case = value }.not_to raise_error
|
174
|
+
# end
|
281
175
|
end
|
282
176
|
end
|
283
177
|
|
284
|
-
describe 'test attribute "
|
178
|
+
describe 'test attribute "channel_suitability"' do
|
285
179
|
it 'should work' do
|
286
180
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
287
|
-
# validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["
|
181
|
+
# validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["Spotify", "TikTok", "Unfitting", "YouTube"])
|
288
182
|
# validator.allowable_values.each do |value|
|
289
|
-
# expect { instance.
|
183
|
+
# expect { instance.channel_suitability = value }.not_to raise_error
|
290
184
|
# end
|
291
185
|
end
|
292
186
|
end
|
293
187
|
|
294
|
-
describe 'test attribute "
|
188
|
+
describe 'test attribute "tertiary_instrument_affinity"' do
|
295
189
|
it 'should work' do
|
296
190
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
297
191
|
end
|
298
192
|
end
|
299
193
|
|
300
|
-
describe 'test attribute "
|
194
|
+
describe 'test attribute "sound_generation_affinity"' do
|
301
195
|
it 'should work' do
|
302
196
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
303
|
-
# validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["aggressive", "amusing", "anxious", "calm", "devotional", "dreamy", "energetic", "enigmatic", "epic", "erotic", "positive", "sad", "scary", "wild"])
|
304
|
-
# validator.allowable_values.each do |value|
|
305
|
-
# expect { instance.tertiary_mood_cluster = value }.not_to raise_error
|
306
|
-
# end
|
307
197
|
end
|
308
198
|
end
|
309
199
|
|
310
|
-
describe 'test attribute "
|
200
|
+
describe 'test attribute "rhythm_affinity"' do
|
311
201
|
it 'should work' do
|
312
202
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
313
203
|
end
|
314
204
|
end
|
315
205
|
|
316
|
-
describe 'test attribute "
|
206
|
+
describe 'test attribute "primary_sound_character_affinity"' do
|
207
|
+
it 'should work' do
|
208
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
209
|
+
end
|
210
|
+
end
|
211
|
+
|
212
|
+
describe 'test attribute "tonality_affinity"' do
|
317
213
|
it 'should work' do
|
318
214
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
319
215
|
end
|
@@ -437,143 +333,171 @@ describe SongtradrApiClientRuby::MusicalFeaturesDTO do
|
|
437
333
|
end
|
438
334
|
end
|
439
335
|
|
440
|
-
describe 'test attribute "
|
336
|
+
describe 'test attribute "audience_region_affinity"' do
|
441
337
|
it 'should work' do
|
442
338
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
443
339
|
end
|
444
340
|
end
|
445
341
|
|
446
|
-
describe 'test attribute "
|
342
|
+
describe 'test attribute "secondary_audience_region"' do
|
447
343
|
it 'should work' do
|
448
344
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
449
|
-
# validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["
|
345
|
+
# validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["Australia and New Zealand", "Central America and the Carribean", "Central and Southern Asia", "Eastern Asia", "Eastern Europe", "Northern Africa and Western Asia", "Northern America", "Oceania", "South America", "South-Eastern Asia", "Southern Europe", "Sub-Saharan Africa", "Western and Northern Europe"])
|
450
346
|
# validator.allowable_values.each do |value|
|
451
|
-
# expect { instance.
|
347
|
+
# expect { instance.secondary_audience_region = value }.not_to raise_error
|
452
348
|
# end
|
453
349
|
end
|
454
350
|
end
|
455
351
|
|
456
|
-
describe 'test attribute "
|
352
|
+
describe 'test attribute "secondary_audience_region_affinity"' do
|
457
353
|
it 'should work' do
|
458
354
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
459
355
|
end
|
460
356
|
end
|
461
357
|
|
462
|
-
describe 'test attribute "
|
358
|
+
describe 'test attribute "tertiary_audience_region"' do
|
463
359
|
it 'should work' do
|
464
360
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
465
|
-
# validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["
|
361
|
+
# validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["Australia and New Zealand", "Central America and the Carribean", "Central and Southern Asia", "Eastern Asia", "Eastern Europe", "Northern Africa and Western Asia", "Northern America", "Oceania", "South America", "South-Eastern Asia", "Southern Europe", "Sub-Saharan Africa", "Western and Northern Europe"])
|
466
362
|
# validator.allowable_values.each do |value|
|
467
|
-
# expect { instance.
|
363
|
+
# expect { instance.tertiary_audience_region = value }.not_to raise_error
|
468
364
|
# end
|
469
365
|
end
|
470
366
|
end
|
471
367
|
|
472
|
-
describe 'test attribute "
|
368
|
+
describe 'test attribute "tertiary_audience_region_affinity"' do
|
473
369
|
it 'should work' do
|
474
370
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
475
371
|
end
|
476
372
|
end
|
477
373
|
|
478
|
-
describe 'test attribute "
|
374
|
+
describe 'test attribute "origin_region"' do
|
479
375
|
it 'should work' do
|
480
376
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
377
|
+
# validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["Australia and New Zealand", "Central America and the Carribean", "Central and Southern Asia", "Eastern Asia", "Eastern Europe", "Northern Africa and Western Asia", "Northern America", "Oceania", "South America", "South-Eastern Asia", "Southern Europe", "Sub-Saharan Africa", "Western and Northern Europe"])
|
378
|
+
# validator.allowable_values.each do |value|
|
379
|
+
# expect { instance.origin_region = value }.not_to raise_error
|
380
|
+
# end
|
481
381
|
end
|
482
382
|
end
|
483
383
|
|
484
|
-
describe 'test attribute "
|
384
|
+
describe 'test attribute "origin_region_affinity"' do
|
485
385
|
it 'should work' do
|
486
386
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
487
387
|
end
|
488
388
|
end
|
489
389
|
|
490
|
-
describe 'test attribute "
|
390
|
+
describe 'test attribute "origin_decade_affinity"' do
|
491
391
|
it 'should work' do
|
492
392
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
493
393
|
end
|
494
394
|
end
|
495
395
|
|
496
|
-
describe 'test attribute "
|
396
|
+
describe 'test attribute "language_of_performance_affinity"' do
|
497
397
|
it 'should work' do
|
498
398
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
499
399
|
end
|
500
400
|
end
|
501
401
|
|
502
|
-
describe 'test attribute "
|
402
|
+
describe 'test attribute "curateability_affinity"' do
|
503
403
|
it 'should work' do
|
504
404
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
505
405
|
end
|
506
406
|
end
|
507
407
|
|
508
|
-
describe 'test attribute "
|
408
|
+
describe 'test attribute "use_case_affinity"' do
|
509
409
|
it 'should work' do
|
510
410
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
511
|
-
# validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["Australia and New Zealand", "Central America and the Carribean", "Central and Southern Asia", "Eastern Asia", "Eastern Europe", "Northern Africa and Western Asia", "Northern America", "Oceania", "South America", "South-Eastern Asia", "Southern Europe", "Sub-Saharan Africa", "Western and Northern Europe"])
|
512
|
-
# validator.allowable_values.each do |value|
|
513
|
-
# expect { instance.secondary_audience_region = value }.not_to raise_error
|
514
|
-
# end
|
515
411
|
end
|
516
412
|
end
|
517
413
|
|
518
|
-
describe 'test attribute "
|
414
|
+
describe 'test attribute "arousal"' do
|
519
415
|
it 'should work' do
|
520
416
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
417
|
+
# validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["very calm", "calm", "moderate arousal", "energetic", "very energetic", "varying arousal"])
|
418
|
+
# validator.allowable_values.each do |value|
|
419
|
+
# expect { instance.arousal = value }.not_to raise_error
|
420
|
+
# end
|
521
421
|
end
|
522
422
|
end
|
523
423
|
|
524
|
-
describe 'test attribute "
|
424
|
+
describe 'test attribute "dominant_instrument"' do
|
525
425
|
it 'should work' do
|
526
426
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
527
|
-
# validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["
|
427
|
+
# validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["electric guitar", "piano", "electronics", "guitar", "strings", "synthesizer", "wind", "saxophone", "flute", "trumpet", "drum kit", "keys", "accordion", "violin", "harpsichord", "choir", "cello", "electric bass", "organ", "brass", "percussion", "vocals", "double bass", "harp"])
|
528
428
|
# validator.allowable_values.each do |value|
|
529
|
-
# expect { instance.
|
429
|
+
# expect { instance.dominant_instrument = value }.not_to raise_error
|
530
430
|
# end
|
531
431
|
end
|
532
432
|
end
|
533
433
|
|
534
|
-
describe 'test attribute "
|
434
|
+
describe 'test attribute "energy"' do
|
535
435
|
it 'should work' do
|
536
436
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
437
|
+
# validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["very quiet", "quiet", "moderate", "loud", "very loud", "dynamic"])
|
438
|
+
# validator.allowable_values.each do |value|
|
439
|
+
# expect { instance.energy = value }.not_to raise_error
|
440
|
+
# end
|
537
441
|
end
|
538
442
|
end
|
539
443
|
|
540
|
-
describe 'test attribute "
|
444
|
+
describe 'test attribute "engagement"' do
|
541
445
|
it 'should work' do
|
542
446
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
543
|
-
# validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["
|
447
|
+
# validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["very unengaging", "unengaging", "neutral engagement", "engaging", "very engaging", "varying engagement"])
|
544
448
|
# validator.allowable_values.each do |value|
|
545
|
-
# expect { instance.
|
449
|
+
# expect { instance.engagement = value }.not_to raise_error
|
546
450
|
# end
|
547
451
|
end
|
548
452
|
end
|
549
453
|
|
550
|
-
describe 'test attribute "
|
454
|
+
describe 'test attribute "groovyness"' do
|
551
455
|
it 'should work' do
|
552
456
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
457
|
+
# validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["very steady", "steady", "moderate rhythm feel", "groovy", "very groovy"])
|
458
|
+
# validator.allowable_values.each do |value|
|
459
|
+
# expect { instance.groovyness = value }.not_to raise_error
|
460
|
+
# end
|
553
461
|
end
|
554
462
|
end
|
555
463
|
|
556
|
-
describe 'test attribute "
|
464
|
+
describe 'test attribute "harmony"' do
|
557
465
|
it 'should work' do
|
558
466
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
467
|
+
# validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["very dissonant", "dissonant", "moderate harmonies", "harmonious", "very harmonious"])
|
468
|
+
# validator.allowable_values.each do |value|
|
469
|
+
# expect { instance.harmony = value }.not_to raise_error
|
470
|
+
# end
|
559
471
|
end
|
560
472
|
end
|
561
473
|
|
562
|
-
describe 'test attribute "
|
474
|
+
describe 'test attribute "pleasantness"' do
|
563
475
|
it 'should work' do
|
564
476
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
477
|
+
# validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["very unpleasant", "unpleasant", "neutral pleasantness", "pleasant", "very pleasant", "varying pleasantness"])
|
478
|
+
# validator.allowable_values.each do |value|
|
479
|
+
# expect { instance.pleasantness = value }.not_to raise_error
|
480
|
+
# end
|
565
481
|
end
|
566
482
|
end
|
567
483
|
|
568
|
-
describe 'test attribute "
|
484
|
+
describe 'test attribute "primary_mood_cluster"' do
|
569
485
|
it 'should work' do
|
570
486
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
487
|
+
# validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["aggressive", "amusing", "anxious", "calm", "devotional", "dreamy", "energetic", "enigmatic", "epic", "erotic", "positive", "sad", "scary", "wild"])
|
488
|
+
# validator.allowable_values.each do |value|
|
489
|
+
# expect { instance.primary_mood_cluster = value }.not_to raise_error
|
490
|
+
# end
|
571
491
|
end
|
572
492
|
end
|
573
493
|
|
574
|
-
describe 'test attribute "
|
494
|
+
describe 'test attribute "primary_sound_character"' do
|
575
495
|
it 'should work' do
|
576
496
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
497
|
+
# validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["brassy", "bright", "clear", "deep", "distorted", "flat", "full", "groovy", "melodious", "natural", "resonant", "shrill", "steady", "thin", "warm"])
|
498
|
+
# validator.allowable_values.each do |value|
|
499
|
+
# expect { instance.primary_sound_character = value }.not_to raise_error
|
500
|
+
# end
|
577
501
|
end
|
578
502
|
end
|
579
503
|
|
@@ -603,6 +527,82 @@ describe SongtradrApiClientRuby::MusicalFeaturesDTO do
|
|
603
527
|
end
|
604
528
|
end
|
605
529
|
|
530
|
+
describe 'test attribute "primary_mood_cluster_affinity"' do
|
531
|
+
it 'should work' do
|
532
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
533
|
+
end
|
534
|
+
end
|
535
|
+
|
536
|
+
describe 'test attribute "secondary_mood_cluster"' do
|
537
|
+
it 'should work' do
|
538
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
539
|
+
# validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["aggressive", "amusing", "anxious", "calm", "devotional", "dreamy", "energetic", "enigmatic", "epic", "erotic", "positive", "sad", "scary", "wild"])
|
540
|
+
# validator.allowable_values.each do |value|
|
541
|
+
# expect { instance.secondary_mood_cluster = value }.not_to raise_error
|
542
|
+
# end
|
543
|
+
end
|
544
|
+
end
|
545
|
+
|
546
|
+
describe 'test attribute "secondary_mood_cluster_affinity"' do
|
547
|
+
it 'should work' do
|
548
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
549
|
+
end
|
550
|
+
end
|
551
|
+
|
552
|
+
describe 'test attribute "tertiary_mood_cluster"' do
|
553
|
+
it 'should work' do
|
554
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
555
|
+
# validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["aggressive", "amusing", "anxious", "calm", "devotional", "dreamy", "energetic", "enigmatic", "epic", "erotic", "positive", "sad", "scary", "wild"])
|
556
|
+
# validator.allowable_values.each do |value|
|
557
|
+
# expect { instance.tertiary_mood_cluster = value }.not_to raise_error
|
558
|
+
# end
|
559
|
+
end
|
560
|
+
end
|
561
|
+
|
562
|
+
describe 'test attribute "tertiary_mood_cluster_affinity"' do
|
563
|
+
it 'should work' do
|
564
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
565
|
+
end
|
566
|
+
end
|
567
|
+
|
568
|
+
describe 'test attribute "vocals_affinity"' do
|
569
|
+
it 'should work' do
|
570
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
571
|
+
end
|
572
|
+
end
|
573
|
+
|
574
|
+
describe 'test attribute "dominant_instrument_affinity"' do
|
575
|
+
it 'should work' do
|
576
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
577
|
+
end
|
578
|
+
end
|
579
|
+
|
580
|
+
describe 'test attribute "secondary_instrument"' do
|
581
|
+
it 'should work' do
|
582
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
583
|
+
# validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["electric guitar", "piano", "electronics", "guitar", "strings", "synthesizer", "wind", "saxophone", "flute", "trumpet", "drum kit", "keys", "accordion", "violin", "harpsichord", "choir", "cello", "electric bass", "organ", "brass", "percussion", "vocals", "double bass", "harp"])
|
584
|
+
# validator.allowable_values.each do |value|
|
585
|
+
# expect { instance.secondary_instrument = value }.not_to raise_error
|
586
|
+
# end
|
587
|
+
end
|
588
|
+
end
|
589
|
+
|
590
|
+
describe 'test attribute "secondary_instrument_affinity"' do
|
591
|
+
it 'should work' do
|
592
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
593
|
+
end
|
594
|
+
end
|
595
|
+
|
596
|
+
describe 'test attribute "tertiary_instrument"' do
|
597
|
+
it 'should work' do
|
598
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
599
|
+
# validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["electric guitar", "piano", "electronics", "guitar", "strings", "synthesizer", "wind", "saxophone", "flute", "trumpet", "drum kit", "keys", "accordion", "violin", "harpsichord", "choir", "cello", "electric bass", "organ", "brass", "percussion", "vocals", "double bass", "harp"])
|
600
|
+
# validator.allowable_values.each do |value|
|
601
|
+
# expect { instance.tertiary_instrument = value }.not_to raise_error
|
602
|
+
# end
|
603
|
+
end
|
604
|
+
end
|
605
|
+
|
606
606
|
describe 'test attribute "valence_affinity"' do
|
607
607
|
it 'should work' do
|
608
608
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
@@ -3,7 +3,7 @@
|
|
3
3
|
|
4
4
|
#This is the Songtradr API. Use it to retrieve deep music metadata and trigger processes like auto-tagging. You can also use the API to manage your account and musicube cloud data. **Authentication** 1. Reach out to support@songtradr.com to receive a free account or use your login data if you are already signed up. 2. To authenticate, you need to login via the POST /api/v1/user/login endpoint. 3. The endpoint responds with a jwtToken which you can use in all following API requests as a bearer token. **Rate Limiting** The current limit is 120 Requests per minute. Reach out to us via support@songtradr.com if you need to request more. **Getting Started with auto-tagging** 1. If you want to get your own files auto-tagged, use the POST /api/v1/user/file/{name}/initUpload endpoint. It responds with a presigned S3 link where you can upload your file. 2. You can check the processing status of your file via the GET /api/v1/user/file/{name}/filesStatus endpoint. 3. As soon as processing is done, you can request the generated data via the GET /api/v1/user/files endpoint. **Getting Started with search** You can either search the released music via the /public/recording endpoints or your own private uploaded music via the /user/file/ endpoints. 1. If you want to search the world's released music, a good starting point is the GET /api/v1/public/recording/search endpoint. Please find the extensive list of parameters that serve as semantic search filters. 2. If you want to search your own previously uploaded music, a good starting point is the GET GET /api/v1/user/files endpoint. It has the same extensive list of parameters that serve as semantic search filters.
|
5
5
|
|
6
|
-
The version of the OpenAPI document: 1.12.
|
6
|
+
The version of the OpenAPI document: 1.12.23
|
7
7
|
Contact: info@songtradr.com
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
9
|
OpenAPI Generator version: 7.0.0-SNAPSHOT
|
@@ -3,7 +3,7 @@
|
|
3
3
|
|
4
4
|
#This is the Songtradr API. Use it to retrieve deep music metadata and trigger processes like auto-tagging. You can also use the API to manage your account and musicube cloud data. **Authentication** 1. Reach out to support@songtradr.com to receive a free account or use your login data if you are already signed up. 2. To authenticate, you need to login via the POST /api/v1/user/login endpoint. 3. The endpoint responds with a jwtToken which you can use in all following API requests as a bearer token. **Rate Limiting** The current limit is 120 Requests per minute. Reach out to us via support@songtradr.com if you need to request more. **Getting Started with auto-tagging** 1. If you want to get your own files auto-tagged, use the POST /api/v1/user/file/{name}/initUpload endpoint. It responds with a presigned S3 link where you can upload your file. 2. You can check the processing status of your file via the GET /api/v1/user/file/{name}/filesStatus endpoint. 3. As soon as processing is done, you can request the generated data via the GET /api/v1/user/files endpoint. **Getting Started with search** You can either search the released music via the /public/recording endpoints or your own private uploaded music via the /user/file/ endpoints. 1. If you want to search the world's released music, a good starting point is the GET /api/v1/public/recording/search endpoint. Please find the extensive list of parameters that serve as semantic search filters. 2. If you want to search your own previously uploaded music, a good starting point is the GET GET /api/v1/user/files endpoint. It has the same extensive list of parameters that serve as semantic search filters.
|
5
5
|
|
6
|
-
The version of the OpenAPI document: 1.12.
|
6
|
+
The version of the OpenAPI document: 1.12.23
|
7
7
|
Contact: info@songtradr.com
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
9
|
OpenAPI Generator version: 7.0.0-SNAPSHOT
|
@@ -3,7 +3,7 @@
|
|
3
3
|
|
4
4
|
#This is the Songtradr API. Use it to retrieve deep music metadata and trigger processes like auto-tagging. You can also use the API to manage your account and musicube cloud data. **Authentication** 1. Reach out to support@songtradr.com to receive a free account or use your login data if you are already signed up. 2. To authenticate, you need to login via the POST /api/v1/user/login endpoint. 3. The endpoint responds with a jwtToken which you can use in all following API requests as a bearer token. **Rate Limiting** The current limit is 120 Requests per minute. Reach out to us via support@songtradr.com if you need to request more. **Getting Started with auto-tagging** 1. If you want to get your own files auto-tagged, use the POST /api/v1/user/file/{name}/initUpload endpoint. It responds with a presigned S3 link where you can upload your file. 2. You can check the processing status of your file via the GET /api/v1/user/file/{name}/filesStatus endpoint. 3. As soon as processing is done, you can request the generated data via the GET /api/v1/user/files endpoint. **Getting Started with search** You can either search the released music via the /public/recording endpoints or your own private uploaded music via the /user/file/ endpoints. 1. If you want to search the world's released music, a good starting point is the GET /api/v1/public/recording/search endpoint. Please find the extensive list of parameters that serve as semantic search filters. 2. If you want to search your own previously uploaded music, a good starting point is the GET GET /api/v1/user/files endpoint. It has the same extensive list of parameters that serve as semantic search filters.
|
5
5
|
|
6
|
-
The version of the OpenAPI document: 1.12.
|
6
|
+
The version of the OpenAPI document: 1.12.23
|
7
7
|
Contact: info@songtradr.com
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
9
|
OpenAPI Generator version: 7.0.0-SNAPSHOT
|
@@ -3,7 +3,7 @@
|
|
3
3
|
|
4
4
|
#This is the Songtradr API. Use it to retrieve deep music metadata and trigger processes like auto-tagging. You can also use the API to manage your account and musicube cloud data. **Authentication** 1. Reach out to support@songtradr.com to receive a free account or use your login data if you are already signed up. 2. To authenticate, you need to login via the POST /api/v1/user/login endpoint. 3. The endpoint responds with a jwtToken which you can use in all following API requests as a bearer token. **Rate Limiting** The current limit is 120 Requests per minute. Reach out to us via support@songtradr.com if you need to request more. **Getting Started with auto-tagging** 1. If you want to get your own files auto-tagged, use the POST /api/v1/user/file/{name}/initUpload endpoint. It responds with a presigned S3 link where you can upload your file. 2. You can check the processing status of your file via the GET /api/v1/user/file/{name}/filesStatus endpoint. 3. As soon as processing is done, you can request the generated data via the GET /api/v1/user/files endpoint. **Getting Started with search** You can either search the released music via the /public/recording endpoints or your own private uploaded music via the /user/file/ endpoints. 1. If you want to search the world's released music, a good starting point is the GET /api/v1/public/recording/search endpoint. Please find the extensive list of parameters that serve as semantic search filters. 2. If you want to search your own previously uploaded music, a good starting point is the GET GET /api/v1/user/files endpoint. It has the same extensive list of parameters that serve as semantic search filters.
|
5
5
|
|
6
|
-
The version of the OpenAPI document: 1.12.
|
6
|
+
The version of the OpenAPI document: 1.12.23
|
7
7
|
Contact: info@songtradr.com
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
9
|
OpenAPI Generator version: 7.0.0-SNAPSHOT
|
@@ -59,37 +59,37 @@ describe SongtradrApiClientRuby::PlaylistLargeDTO do
|
|
59
59
|
end
|
60
60
|
end
|
61
61
|
|
62
|
-
describe 'test attribute "
|
62
|
+
describe 'test attribute "usages"' do
|
63
63
|
it 'should work' do
|
64
64
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
65
65
|
end
|
66
66
|
end
|
67
67
|
|
68
|
-
describe 'test attribute "
|
68
|
+
describe 'test attribute "songtradr_playlist_guid"' do
|
69
69
|
it 'should work' do
|
70
70
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
71
71
|
end
|
72
72
|
end
|
73
73
|
|
74
|
-
describe 'test attribute "
|
74
|
+
describe 'test attribute "asset_url"' do
|
75
75
|
it 'should work' do
|
76
76
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
77
77
|
end
|
78
78
|
end
|
79
79
|
|
80
|
-
describe 'test attribute "
|
80
|
+
describe 'test attribute "pretzel_tier"' do
|
81
81
|
it 'should work' do
|
82
82
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
83
83
|
end
|
84
84
|
end
|
85
85
|
|
86
|
-
describe 'test attribute "
|
86
|
+
describe 'test attribute "usage"' do
|
87
87
|
it 'should work' do
|
88
88
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
89
89
|
end
|
90
90
|
end
|
91
91
|
|
92
|
-
describe 'test attribute "
|
92
|
+
describe 'test attribute "tracks"' do
|
93
93
|
it 'should work' do
|
94
94
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
95
95
|
end
|