songtradr_api_client_ruby 1.12.23 → 1.12.24
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/Gemfile.lock +1 -1
- data/README.md +5 -5
- data/docs/AllowedValuesApi.md +2 -2
- data/docs/ApiKeyDTO.md +2 -2
- data/docs/FileSmallDTO.md +15 -15
- data/docs/MusicalFeaturesDTO.md +68 -68
- data/docs/PlaylistLargeDTO.md +7 -7
- data/docs/ProductMediumDTO.md +7 -7
- data/docs/ProductPartyDTO.md +3 -3
- data/docs/RecordingApi.md +2 -0
- data/docs/RecordingGenrePredictionDTO.md +4 -4
- data/docs/RecordingLargeDTO.md +8 -8
- data/docs/RecordingMediumDTO.md +6 -6
- data/docs/RecordingMinimalWithMusicalFeaturesDTO.md +3 -3
- data/docs/RecordingPartyDTO.md +3 -3
- data/docs/RecordingSmallDTO.md +3 -3
- data/docs/UserApi.md +4 -0
- data/docs/UserDTO.md +18 -0
- data/lib/songtradr_api_client_ruby/api/allowed_values_api.rb +4 -4
- data/lib/songtradr_api_client_ruby/api/api_keys_api.rb +1 -1
- 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 +4 -1
- data/lib/songtradr_api_client_ruby/api/user_api.rb +7 -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 +10 -8
- data/lib/songtradr_api_client_ruby/models/admin_api_user_dto.rb +13 -18
- data/lib/songtradr_api_client_ruby/models/api_key_dto.rb +29 -28
- data/lib/songtradr_api_client_ruby/models/category_medium_dto.rb +17 -18
- data/lib/songtradr_api_client_ruby/models/category_minimal_dto.rb +15 -18
- data/lib/songtradr_api_client_ruby/models/config_access_dto.rb +17 -18
- data/lib/songtradr_api_client_ruby/models/config_identifier_dto.rb +17 -18
- data/lib/songtradr_api_client_ruby/models/contributor_type_dto.rb +15 -18
- data/lib/songtradr_api_client_ruby/models/create_api_key_dto.rb +13 -18
- data/lib/songtradr_api_client_ruby/models/error_response.rb +19 -18
- data/lib/songtradr_api_client_ruby/models/field_summary_dto.rb +19 -18
- data/lib/songtradr_api_client_ruby/models/file_dto.rb +23 -18
- data/lib/songtradr_api_client_ruby/models/file_list_dto.rb +21 -18
- data/lib/songtradr_api_client_ruby/models/file_minimal_with_url_dto.rb +19 -18
- data/lib/songtradr_api_client_ruby/models/file_small_dto.rb +84 -79
- data/lib/songtradr_api_client_ruby/models/file_upload_dto.rb +13 -18
- data/lib/songtradr_api_client_ruby/models/file_w_ith_url_dto.rb +17 -18
- data/lib/songtradr_api_client_ruby/models/files_summary_dto.rb +15 -18
- data/lib/songtradr_api_client_ruby/models/forgot_password_dto.rb +15 -18
- data/lib/songtradr_api_client_ruby/models/genre_dto.rb +17 -18
- data/lib/songtradr_api_client_ruby/models/genre_minimal_dto.rb +15 -18
- data/lib/songtradr_api_client_ruby/models/genres_summary_dto.rb +17 -18
- data/lib/songtradr_api_client_ruby/models/init_put_recording_audio_dto.rb +13 -18
- data/lib/songtradr_api_client_ruby/models/jwt_token_dto.rb +17 -18
- data/lib/songtradr_api_client_ruby/models/login_dto.rb +17 -18
- data/lib/songtradr_api_client_ruby/models/musical_features_dto.rb +448 -453
- data/lib/songtradr_api_client_ruby/models/p_line_dto.rb +15 -18
- data/lib/songtradr_api_client_ruby/models/party_large_dto.rb +15 -18
- data/lib/songtradr_api_client_ruby/models/party_small_dto.rb +17 -18
- data/lib/songtradr_api_client_ruby/models/playlist_large_dto.rb +45 -48
- data/lib/songtradr_api_client_ruby/models/product_medium_dto.rb +66 -59
- data/lib/songtradr_api_client_ruby/models/product_party_dto.rb +28 -31
- data/lib/songtradr_api_client_ruby/models/recording_for_similarity_search_dto.rb +17 -18
- data/lib/songtradr_api_client_ruby/models/recording_genre_prediction_dto.rb +38 -37
- data/lib/songtradr_api_client_ruby/models/recording_large_dto.rb +74 -57
- data/lib/songtradr_api_client_ruby/models/recording_list_dto.rb +21 -18
- data/lib/songtradr_api_client_ruby/models/recording_medium_dto.rb +61 -48
- data/lib/songtradr_api_client_ruby/models/recording_minimal_with_musical_features_dto.rb +28 -31
- data/lib/songtradr_api_client_ruby/models/recording_minimal_with_taggrams_dto.rb +15 -18
- data/lib/songtradr_api_client_ruby/models/recording_minimal_with_tagstrengths_dto.rb +15 -18
- data/lib/songtradr_api_client_ruby/models/recording_party_dto.rb +28 -31
- data/lib/songtradr_api_client_ruby/models/recording_playlist_dto.rb +13 -18
- data/lib/songtradr_api_client_ruby/models/recording_small_dto.rb +36 -31
- data/lib/songtradr_api_client_ruby/models/recording_tag_small_dto.rb +15 -18
- data/lib/songtradr_api_client_ruby/models/save_file_recording_dto.rb +17 -18
- data/lib/songtradr_api_client_ruby/models/save_playlist_dto.rb +21 -18
- data/lib/songtradr_api_client_ruby/models/save_recording_genre_dto.rb +15 -18
- data/lib/songtradr_api_client_ruby/models/save_recording_party_dto.rb +17 -18
- data/lib/songtradr_api_client_ruby/models/save_recording_playlist_dto.rb +17 -18
- data/lib/songtradr_api_client_ruby/models/save_recording_tag_dto.rb +15 -18
- data/lib/songtradr_api_client_ruby/models/save_referrer_dto.rb +13 -18
- data/lib/songtradr_api_client_ruby/models/save_taggrams_dto.rb +13 -18
- data/lib/songtradr_api_client_ruby/models/save_user_dto.rb +15 -18
- data/lib/songtradr_api_client_ruby/models/search_filter_values_dto.rb +95 -18
- data/lib/songtradr_api_client_ruby/models/search_recording_granular_abstraction_dto.rb +15 -18
- data/lib/songtradr_api_client_ruby/models/search_recording_granular_dto.rb +15 -18
- data/lib/songtradr_api_client_ruby/models/sign_up_dto.rb +19 -18
- data/lib/songtradr_api_client_ruby/models/tag_dto.rb +17 -18
- data/lib/songtradr_api_client_ruby/models/tag_small_dto.rb +17 -18
- data/lib/songtradr_api_client_ruby/models/taggram_dto.rb +17 -18
- data/lib/songtradr_api_client_ruby/models/tags_summary_dto.rb +17 -18
- data/lib/songtradr_api_client_ruby/models/tagstrength_dto.rb +17 -18
- data/lib/songtradr_api_client_ruby/models/title_dto.rb +15 -18
- data/lib/songtradr_api_client_ruby/models/token_request.rb +15 -18
- data/lib/songtradr_api_client_ruby/models/track_to_medium_product_dto.rb +17 -18
- data/lib/songtradr_api_client_ruby/models/update_password_dto.rb +17 -18
- data/lib/songtradr_api_client_ruby/models/usage_dto.rb +13 -18
- data/lib/songtradr_api_client_ruby/models/user_dto.rb +196 -19
- data/lib/songtradr_api_client_ruby/version.rb +2 -2
- data/lib/songtradr_api_client_ruby.rb +1 -1
- data/openapi-generator-config.yaml +1 -1
- data/songtradr_api_client_ruby.gemspec +1 -1
- data/spec/api/allowed_values_api_spec.rb +2 -2
- data/spec/api/api_keys_api_spec.rb +1 -1
- 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 +2 -1
- data/spec/api/user_api_spec.rb +3 -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 +1 -1
- data/spec/models/api_key_dto_spec.rb +3 -3
- data/spec/models/category_medium_dto_spec.rb +1 -1
- data/spec/models/category_minimal_dto_spec.rb +1 -1
- data/spec/models/config_access_dto_spec.rb +1 -1
- data/spec/models/config_identifier_dto_spec.rb +1 -1
- data/spec/models/contributor_type_dto_spec.rb +1 -1
- data/spec/models/create_api_key_dto_spec.rb +1 -1
- 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 +19 -19
- 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 +121 -121
- 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 +10 -10
- data/spec/models/product_medium_dto_spec.rb +9 -9
- data/spec/models/product_party_dto_spec.rb +3 -3
- data/spec/models/recording_for_similarity_search_dto_spec.rb +1 -1
- data/spec/models/recording_genre_prediction_dto_spec.rb +3 -3
- 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 +9 -9
- 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 +3 -3
- data/spec/models/recording_playlist_dto_spec.rb +1 -1
- data/spec/models/recording_small_dto_spec.rb +4 -4
- 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 +55 -1
- data/spec/spec_helper.rb +1 -1
- metadata +2 -2
|
@@ -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.24
|
|
7
7
|
Contact: info@songtradr.com
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
|
9
9
|
OpenAPI Generator version: 7.0.0-SNAPSHOT
|
|
@@ -45,142 +45,78 @@ describe SongtradrApiClientRuby::MusicalFeaturesDTO do
|
|
|
45
45
|
end
|
|
46
46
|
end
|
|
47
47
|
|
|
48
|
-
describe 'test attribute "
|
|
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', ["common time", "triple meter", "complex time signature", "binary rhythm", "ternary rhythm"])
|
|
52
|
-
# validator.allowable_values.each do |value|
|
|
53
|
-
# expect { instance.rhythm = value }.not_to raise_error
|
|
54
|
-
# end
|
|
55
|
-
end
|
|
56
|
-
end
|
|
57
|
-
|
|
58
|
-
describe 'test attribute "roughness"' 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', ["very clear", "clear", "moderate roughness", "distorted", "very distorted"])
|
|
62
|
-
# validator.allowable_values.each do |value|
|
|
63
|
-
# expect { instance.roughness = value }.not_to raise_error
|
|
64
|
-
# end
|
|
65
|
-
end
|
|
66
|
-
end
|
|
67
|
-
|
|
68
|
-
describe 'test attribute "scale"' 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', ["major key", "minor key", "neutral key"])
|
|
72
|
-
# validator.allowable_values.each do |value|
|
|
73
|
-
# expect { instance.scale = value }.not_to raise_error
|
|
74
|
-
# end
|
|
75
|
-
end
|
|
76
|
-
end
|
|
77
|
-
|
|
78
|
-
describe 'test attribute "sound_generation"' 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', ["acoustic", "electric", "electronic", "mixed sound generation"])
|
|
82
|
-
# validator.allowable_values.each do |value|
|
|
83
|
-
# expect { instance.sound_generation = value }.not_to raise_error
|
|
84
|
-
# end
|
|
85
|
-
end
|
|
86
|
-
end
|
|
87
|
-
|
|
88
|
-
describe 'test attribute "tempo"' do
|
|
48
|
+
describe 'test attribute "primary_mood_cluster_affinity"' do
|
|
89
49
|
it 'should work' do
|
|
90
50
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
91
|
-
# validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["very slow", "slow", "mid-tempo", "fast", "very fast", "varying tempo"])
|
|
92
|
-
# validator.allowable_values.each do |value|
|
|
93
|
-
# expect { instance.tempo = value }.not_to raise_error
|
|
94
|
-
# end
|
|
95
51
|
end
|
|
96
52
|
end
|
|
97
53
|
|
|
98
|
-
describe 'test attribute "
|
|
54
|
+
describe 'test attribute "secondary_mood_cluster"' do
|
|
99
55
|
it 'should work' do
|
|
100
56
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
101
|
-
# validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["
|
|
57
|
+
# validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["aggressive", "amusing", "anxious", "calm", "devotional", "dreamy", "energetic", "enigmatic", "epic", "erotic", "positive", "sad", "scary", "wild"])
|
|
102
58
|
# validator.allowable_values.each do |value|
|
|
103
|
-
# expect { instance.
|
|
59
|
+
# expect { instance.secondary_mood_cluster = value }.not_to raise_error
|
|
104
60
|
# end
|
|
105
61
|
end
|
|
106
62
|
end
|
|
107
63
|
|
|
108
|
-
describe 'test attribute "
|
|
64
|
+
describe 'test attribute "secondary_mood_cluster_affinity"' do
|
|
109
65
|
it 'should work' do
|
|
110
66
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
111
|
-
# validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["very warm", "warm", "moderate timbre", "bright", "very bright"])
|
|
112
|
-
# validator.allowable_values.each do |value|
|
|
113
|
-
# expect { instance.timbre = value }.not_to raise_error
|
|
114
|
-
# end
|
|
115
67
|
end
|
|
116
68
|
end
|
|
117
69
|
|
|
118
|
-
describe 'test attribute "
|
|
70
|
+
describe 'test attribute "tertiary_mood_cluster"' do
|
|
119
71
|
it 'should work' do
|
|
120
72
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
121
|
-
# validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["
|
|
73
|
+
# validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["aggressive", "amusing", "anxious", "calm", "devotional", "dreamy", "energetic", "enigmatic", "epic", "erotic", "positive", "sad", "scary", "wild"])
|
|
122
74
|
# validator.allowable_values.each do |value|
|
|
123
|
-
# expect { instance.
|
|
75
|
+
# expect { instance.tertiary_mood_cluster = value }.not_to raise_error
|
|
124
76
|
# end
|
|
125
77
|
end
|
|
126
78
|
end
|
|
127
79
|
|
|
128
|
-
describe 'test attribute "
|
|
80
|
+
describe 'test attribute "tertiary_mood_cluster_affinity"' do
|
|
129
81
|
it 'should work' do
|
|
130
82
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
131
|
-
# validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["very sad", "sad", "moderate valence", "positive", "very positive", "varying valence"])
|
|
132
|
-
# validator.allowable_values.each do |value|
|
|
133
|
-
# expect { instance.valence = value }.not_to raise_error
|
|
134
|
-
# end
|
|
135
83
|
end
|
|
136
84
|
end
|
|
137
85
|
|
|
138
|
-
describe 'test attribute "
|
|
86
|
+
describe 'test attribute "vocals_affinity"' do
|
|
139
87
|
it 'should work' do
|
|
140
88
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
141
|
-
# validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["instrumental", "female vocals", "male vocals", "mixed vocals", "diverse gender vocals"])
|
|
142
|
-
# validator.allowable_values.each do |value|
|
|
143
|
-
# expect { instance.vocals = value }.not_to raise_error
|
|
144
|
-
# end
|
|
145
89
|
end
|
|
146
90
|
end
|
|
147
91
|
|
|
148
|
-
describe 'test attribute "
|
|
92
|
+
describe 'test attribute "dominant_instrument_affinity"' do
|
|
149
93
|
it 'should work' do
|
|
150
94
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
151
|
-
# validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["pre-1950s", "1950s", "1960s", "1970s", "1980s", "1990s", "2000s", "2010s", "2020s"])
|
|
152
|
-
# validator.allowable_values.each do |value|
|
|
153
|
-
# expect { instance.origin_decade = value }.not_to raise_error
|
|
154
|
-
# end
|
|
155
95
|
end
|
|
156
96
|
end
|
|
157
97
|
|
|
158
|
-
describe 'test attribute "
|
|
98
|
+
describe 'test attribute "secondary_instrument"' do
|
|
159
99
|
it 'should work' do
|
|
160
100
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
161
|
-
# validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["
|
|
101
|
+
# 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"])
|
|
162
102
|
# validator.allowable_values.each do |value|
|
|
163
|
-
# expect { instance.
|
|
103
|
+
# expect { instance.secondary_instrument = value }.not_to raise_error
|
|
164
104
|
# end
|
|
165
105
|
end
|
|
166
106
|
end
|
|
167
107
|
|
|
168
|
-
describe 'test attribute "
|
|
108
|
+
describe 'test attribute "secondary_instrument_affinity"' do
|
|
169
109
|
it 'should work' do
|
|
170
110
|
# 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
|
|
175
111
|
end
|
|
176
112
|
end
|
|
177
113
|
|
|
178
|
-
describe 'test attribute "
|
|
114
|
+
describe 'test attribute "tertiary_instrument"' do
|
|
179
115
|
it 'should work' do
|
|
180
116
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
181
|
-
# validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["
|
|
117
|
+
# 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"])
|
|
182
118
|
# validator.allowable_values.each do |value|
|
|
183
|
-
# expect { instance.
|
|
119
|
+
# expect { instance.tertiary_instrument = value }.not_to raise_error
|
|
184
120
|
# end
|
|
185
121
|
end
|
|
186
122
|
end
|
|
@@ -411,6 +347,22 @@ describe SongtradrApiClientRuby::MusicalFeaturesDTO do
|
|
|
411
347
|
end
|
|
412
348
|
end
|
|
413
349
|
|
|
350
|
+
describe 'test attribute "industry_suitability"' do
|
|
351
|
+
it 'should work' do
|
|
352
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
353
|
+
# validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["Automobiles and Parts", "Consumer Products and Services", "Financial Services", "Food, Beverage and Tobacco", "Health Care", "Insurance", "Media", "Politics, Government and Organizations", "Real Estate", "Retail", "Technology", "Telecommunications", "Travel and Leisure"])
|
|
354
|
+
# validator.allowable_values.each do |value|
|
|
355
|
+
# expect { instance.industry_suitability = value }.not_to raise_error
|
|
356
|
+
# end
|
|
357
|
+
end
|
|
358
|
+
end
|
|
359
|
+
|
|
360
|
+
describe 'test attribute "industry_suitability_affinity"' do
|
|
361
|
+
it 'should work' do
|
|
362
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
363
|
+
end
|
|
364
|
+
end
|
|
365
|
+
|
|
414
366
|
describe 'test attribute "arousal"' do
|
|
415
367
|
it 'should work' do
|
|
416
368
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
@@ -501,133 +453,173 @@ describe SongtradrApiClientRuby::MusicalFeaturesDTO do
|
|
|
501
453
|
end
|
|
502
454
|
end
|
|
503
455
|
|
|
504
|
-
describe 'test attribute "
|
|
456
|
+
describe 'test attribute "rhythm"' do
|
|
505
457
|
it 'should work' do
|
|
506
458
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
507
|
-
# validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["
|
|
459
|
+
# validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["common time", "triple meter", "complex time signature", "binary rhythm", "ternary rhythm"])
|
|
508
460
|
# validator.allowable_values.each do |value|
|
|
509
|
-
# expect { instance.
|
|
461
|
+
# expect { instance.rhythm = value }.not_to raise_error
|
|
510
462
|
# end
|
|
511
463
|
end
|
|
512
464
|
end
|
|
513
465
|
|
|
514
|
-
describe 'test attribute "
|
|
466
|
+
describe 'test attribute "roughness"' do
|
|
515
467
|
it 'should work' do
|
|
516
468
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
469
|
+
# validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["very clear", "clear", "moderate roughness", "distorted", "very distorted"])
|
|
470
|
+
# validator.allowable_values.each do |value|
|
|
471
|
+
# expect { instance.roughness = value }.not_to raise_error
|
|
472
|
+
# end
|
|
517
473
|
end
|
|
518
474
|
end
|
|
519
475
|
|
|
520
|
-
describe 'test attribute "
|
|
476
|
+
describe 'test attribute "scale"' do
|
|
521
477
|
it 'should work' do
|
|
522
478
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
523
|
-
# validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["
|
|
479
|
+
# validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["major key", "minor key", "neutral key"])
|
|
524
480
|
# validator.allowable_values.each do |value|
|
|
525
|
-
# expect { instance.
|
|
481
|
+
# expect { instance.scale = value }.not_to raise_error
|
|
526
482
|
# end
|
|
527
483
|
end
|
|
528
484
|
end
|
|
529
485
|
|
|
530
|
-
describe 'test attribute "
|
|
486
|
+
describe 'test attribute "sound_generation"' do
|
|
531
487
|
it 'should work' do
|
|
532
488
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
489
|
+
# validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["acoustic", "electric", "electronic", "mixed sound generation"])
|
|
490
|
+
# validator.allowable_values.each do |value|
|
|
491
|
+
# expect { instance.sound_generation = value }.not_to raise_error
|
|
492
|
+
# end
|
|
533
493
|
end
|
|
534
494
|
end
|
|
535
495
|
|
|
536
|
-
describe 'test attribute "
|
|
496
|
+
describe 'test attribute "tempo"' do
|
|
537
497
|
it 'should work' do
|
|
538
498
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
539
|
-
# validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["
|
|
499
|
+
# validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["very slow", "slow", "mid-tempo", "fast", "very fast", "varying tempo"])
|
|
540
500
|
# validator.allowable_values.each do |value|
|
|
541
|
-
# expect { instance.
|
|
501
|
+
# expect { instance.tempo = value }.not_to raise_error
|
|
542
502
|
# end
|
|
543
503
|
end
|
|
544
504
|
end
|
|
545
505
|
|
|
546
|
-
describe 'test attribute "
|
|
506
|
+
describe 'test attribute "texture"' do
|
|
547
507
|
it 'should work' do
|
|
548
508
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
509
|
+
# validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["very thin", "thin", "moderate texture", "full", "very full"])
|
|
510
|
+
# validator.allowable_values.each do |value|
|
|
511
|
+
# expect { instance.texture = value }.not_to raise_error
|
|
512
|
+
# end
|
|
549
513
|
end
|
|
550
514
|
end
|
|
551
515
|
|
|
552
|
-
describe 'test attribute "
|
|
516
|
+
describe 'test attribute "timbre"' do
|
|
553
517
|
it 'should work' do
|
|
554
518
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
555
|
-
# validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["
|
|
519
|
+
# validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["very warm", "warm", "moderate timbre", "bright", "very bright"])
|
|
556
520
|
# validator.allowable_values.each do |value|
|
|
557
|
-
# expect { instance.
|
|
521
|
+
# expect { instance.timbre = value }.not_to raise_error
|
|
558
522
|
# end
|
|
559
523
|
end
|
|
560
524
|
end
|
|
561
525
|
|
|
562
|
-
describe 'test attribute "
|
|
526
|
+
describe 'test attribute "tonality"' do
|
|
563
527
|
it 'should work' do
|
|
564
528
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
529
|
+
# validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["monotonous", "moderate melodiousness", "melodious", "atonal"])
|
|
530
|
+
# validator.allowable_values.each do |value|
|
|
531
|
+
# expect { instance.tonality = value }.not_to raise_error
|
|
532
|
+
# end
|
|
565
533
|
end
|
|
566
534
|
end
|
|
567
535
|
|
|
568
|
-
describe 'test attribute "
|
|
536
|
+
describe 'test attribute "valence"' do
|
|
569
537
|
it 'should work' do
|
|
570
538
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
539
|
+
# validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["very sad", "sad", "moderate valence", "positive", "very positive", "varying valence"])
|
|
540
|
+
# validator.allowable_values.each do |value|
|
|
541
|
+
# expect { instance.valence = value }.not_to raise_error
|
|
542
|
+
# end
|
|
571
543
|
end
|
|
572
544
|
end
|
|
573
545
|
|
|
574
|
-
describe 'test attribute "
|
|
546
|
+
describe 'test attribute "audience_region"' do
|
|
575
547
|
it 'should work' do
|
|
576
548
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
549
|
+
# 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"])
|
|
550
|
+
# validator.allowable_values.each do |value|
|
|
551
|
+
# expect { instance.audience_region = value }.not_to raise_error
|
|
552
|
+
# end
|
|
577
553
|
end
|
|
578
554
|
end
|
|
579
555
|
|
|
580
|
-
describe 'test attribute "
|
|
556
|
+
describe 'test attribute "vocals"' do
|
|
581
557
|
it 'should work' do
|
|
582
558
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
583
|
-
# validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["
|
|
559
|
+
# validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["instrumental", "female vocals", "male vocals", "mixed vocals", "diverse gender vocals"])
|
|
584
560
|
# validator.allowable_values.each do |value|
|
|
585
|
-
# expect { instance.
|
|
561
|
+
# expect { instance.vocals = value }.not_to raise_error
|
|
586
562
|
# end
|
|
587
563
|
end
|
|
588
564
|
end
|
|
589
565
|
|
|
590
|
-
describe 'test attribute "
|
|
566
|
+
describe 'test attribute "origin_decade"' do
|
|
591
567
|
it 'should work' do
|
|
592
568
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
569
|
+
# validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["pre-1950s", "1950s", "1960s", "1970s", "1980s", "1990s", "2000s", "2010s", "2020s"])
|
|
570
|
+
# validator.allowable_values.each do |value|
|
|
571
|
+
# expect { instance.origin_decade = value }.not_to raise_error
|
|
572
|
+
# end
|
|
593
573
|
end
|
|
594
574
|
end
|
|
595
575
|
|
|
596
|
-
describe 'test attribute "
|
|
576
|
+
describe 'test attribute "curateability"' do
|
|
597
577
|
it 'should work' do
|
|
598
578
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
599
|
-
# validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["
|
|
579
|
+
# validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["curateable", "uncurateable"])
|
|
600
580
|
# validator.allowable_values.each do |value|
|
|
601
|
-
# expect { instance.
|
|
581
|
+
# expect { instance.curateability = value }.not_to raise_error
|
|
602
582
|
# end
|
|
603
583
|
end
|
|
604
584
|
end
|
|
605
585
|
|
|
606
|
-
describe 'test attribute "
|
|
586
|
+
describe 'test attribute "use_case"' do
|
|
607
587
|
it 'should work' do
|
|
608
588
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
589
|
+
# validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["background", "sport", "focus", "christmas", "film", "summer", "adverts", "party", "relax"])
|
|
590
|
+
# validator.allowable_values.each do |value|
|
|
591
|
+
# expect { instance.use_case = value }.not_to raise_error
|
|
592
|
+
# end
|
|
609
593
|
end
|
|
610
594
|
end
|
|
611
595
|
|
|
612
|
-
describe 'test attribute "
|
|
596
|
+
describe 'test attribute "channel_suitability"' do
|
|
613
597
|
it 'should work' do
|
|
614
598
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
599
|
+
# validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["Spotify", "TikTok", "Unfitting", "YouTube"])
|
|
600
|
+
# validator.allowable_values.each do |value|
|
|
601
|
+
# expect { instance.channel_suitability = value }.not_to raise_error
|
|
602
|
+
# end
|
|
615
603
|
end
|
|
616
604
|
end
|
|
617
605
|
|
|
618
|
-
describe 'test attribute "
|
|
606
|
+
describe 'test attribute "key"' do
|
|
619
607
|
it 'should work' do
|
|
620
608
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
609
|
+
# validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["C", "C#", "D", "D#", "E", "F", "F#", "G", "G#", "A", "A#", "B", "unclear"])
|
|
610
|
+
# validator.allowable_values.each do |value|
|
|
611
|
+
# expect { instance.key = value }.not_to raise_error
|
|
612
|
+
# end
|
|
621
613
|
end
|
|
622
614
|
end
|
|
623
615
|
|
|
624
|
-
describe 'test attribute "
|
|
616
|
+
describe 'test attribute "channel_suitability_affinity"' do
|
|
625
617
|
it 'should work' do
|
|
626
618
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
627
619
|
end
|
|
628
620
|
end
|
|
629
621
|
|
|
630
|
-
describe 'test attribute "
|
|
622
|
+
describe 'test attribute "pleasantness_affinity"' do
|
|
631
623
|
it 'should work' do
|
|
632
624
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
633
625
|
end
|
|
@@ -651,13 +643,13 @@ describe SongtradrApiClientRuby::MusicalFeaturesDTO do
|
|
|
651
643
|
end
|
|
652
644
|
end
|
|
653
645
|
|
|
654
|
-
describe 'test attribute "
|
|
646
|
+
describe 'test attribute "engagement_affinity"' do
|
|
655
647
|
it 'should work' do
|
|
656
648
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
657
649
|
end
|
|
658
650
|
end
|
|
659
651
|
|
|
660
|
-
describe 'test attribute "
|
|
652
|
+
describe 'test attribute "energy_affinity"' do
|
|
661
653
|
it 'should work' do
|
|
662
654
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
663
655
|
end
|
|
@@ -675,6 +667,18 @@ describe SongtradrApiClientRuby::MusicalFeaturesDTO do
|
|
|
675
667
|
end
|
|
676
668
|
end
|
|
677
669
|
|
|
670
|
+
describe 'test attribute "valence_affinity"' do
|
|
671
|
+
it 'should work' do
|
|
672
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
673
|
+
end
|
|
674
|
+
end
|
|
675
|
+
|
|
676
|
+
describe 'test attribute "arousal_affinity"' do
|
|
677
|
+
it 'should work' do
|
|
678
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
679
|
+
end
|
|
680
|
+
end
|
|
681
|
+
|
|
678
682
|
describe 'test attribute "space_affinity"' do
|
|
679
683
|
it 'should work' do
|
|
680
684
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
@@ -687,19 +691,15 @@ describe SongtradrApiClientRuby::MusicalFeaturesDTO do
|
|
|
687
691
|
end
|
|
688
692
|
end
|
|
689
693
|
|
|
690
|
-
describe 'test attribute "
|
|
694
|
+
describe 'test attribute "roughness_affinity"' do
|
|
691
695
|
it 'should work' do
|
|
692
696
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
693
697
|
end
|
|
694
698
|
end
|
|
695
699
|
|
|
696
|
-
describe 'test attribute "
|
|
700
|
+
describe 'test attribute "harmony_affinity"' do
|
|
697
701
|
it 'should work' do
|
|
698
702
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
699
|
-
# validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["C", "C#", "D", "D#", "E", "F", "F#", "G", "G#", "A", "A#", "B", "unclear"])
|
|
700
|
-
# validator.allowable_values.each do |value|
|
|
701
|
-
# expect { instance.key = value }.not_to raise_error
|
|
702
|
-
# end
|
|
703
703
|
end
|
|
704
704
|
end
|
|
705
705
|
|
|
@@ -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.24
|
|
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.24
|
|
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.24
|
|
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.24
|
|
7
7
|
Contact: info@songtradr.com
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
|
9
9
|
OpenAPI Generator version: 7.0.0-SNAPSHOT
|
|
@@ -41,55 +41,55 @@ describe SongtradrApiClientRuby::PlaylistLargeDTO do
|
|
|
41
41
|
end
|
|
42
42
|
end
|
|
43
43
|
|
|
44
|
-
describe 'test attribute "
|
|
44
|
+
describe 'test attribute "usages"' do
|
|
45
45
|
it 'should work' do
|
|
46
46
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
47
47
|
end
|
|
48
48
|
end
|
|
49
49
|
|
|
50
|
-
describe 'test attribute "
|
|
50
|
+
describe 'test attribute "description"' do
|
|
51
51
|
it 'should work' do
|
|
52
52
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
53
53
|
end
|
|
54
54
|
end
|
|
55
55
|
|
|
56
|
-
describe 'test attribute "
|
|
56
|
+
describe 'test attribute "songtradr_playlist_guid"' do
|
|
57
57
|
it 'should work' do
|
|
58
58
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
59
59
|
end
|
|
60
60
|
end
|
|
61
61
|
|
|
62
|
-
describe 'test attribute "
|
|
62
|
+
describe 'test attribute "asset_url"' 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 "pretzel_tier"' 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 "usage"' 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 "tracks"' 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 "created"' 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 "updated"' 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
|