songtradr_api_client_ruby 1.13.3 → 1.13.4
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/ApiKeyDTO.md +3 -3
- data/docs/FileSmallDTO.md +3 -3
- data/docs/MusicalFeaturesDTO.md +42 -42
- data/docs/PlaylistLargeDTO.md +6 -6
- data/docs/ProductMediumDTO.md +3 -3
- data/docs/ProductPartyDTO.md +3 -3
- data/docs/RecordingGenrePredictionDTO.md +4 -4
- data/docs/RecordingLargeDTO.md +9 -9
- data/docs/RecordingMediumDTO.md +7 -7
- data/docs/RecordingPartyDTO.md +3 -3
- data/docs/RecordingSmallDTO.md +3 -3
- data/lib/songtradr_api_client_ruby/api/allowed_values_api.rb +2 -2
- data/lib/songtradr_api_client_ruby/api/api_keys_api.rb +2 -2
- data/lib/songtradr_api_client_ruby/api/party_api.rb +2 -2
- data/lib/songtradr_api_client_ruby/api/playlist_api.rb +2 -2
- data/lib/songtradr_api_client_ruby/api/recording_api.rb +2 -2
- data/lib/songtradr_api_client_ruby/api/user_api.rb +2 -2
- data/lib/songtradr_api_client_ruby/api_client.rb +2 -2
- data/lib/songtradr_api_client_ruby/api_error.rb +2 -2
- data/lib/songtradr_api_client_ruby/configuration.rb +2 -2
- data/lib/songtradr_api_client_ruby/models/admin_api_user_dto.rb +2 -2
- data/lib/songtradr_api_client_ruby/models/api_key_dto.rb +15 -15
- data/lib/songtradr_api_client_ruby/models/category_medium_dto.rb +2 -2
- data/lib/songtradr_api_client_ruby/models/category_minimal_dto.rb +2 -2
- data/lib/songtradr_api_client_ruby/models/config_access_dto.rb +2 -2
- data/lib/songtradr_api_client_ruby/models/config_identifier_dto.rb +2 -2
- data/lib/songtradr_api_client_ruby/models/contributor_type_dto.rb +2 -2
- data/lib/songtradr_api_client_ruby/models/create_api_key_dto.rb +2 -2
- data/lib/songtradr_api_client_ruby/models/error_response.rb +2 -2
- data/lib/songtradr_api_client_ruby/models/field_summary_dto.rb +2 -2
- data/lib/songtradr_api_client_ruby/models/file_dto.rb +2 -2
- data/lib/songtradr_api_client_ruby/models/file_list_dto.rb +2 -2
- data/lib/songtradr_api_client_ruby/models/file_minimal_with_url_dto.rb +2 -2
- data/lib/songtradr_api_client_ruby/models/file_small_dto.rb +15 -15
- data/lib/songtradr_api_client_ruby/models/file_upload_dto.rb +2 -2
- data/lib/songtradr_api_client_ruby/models/file_w_ith_url_dto.rb +2 -2
- data/lib/songtradr_api_client_ruby/models/files_summary_dto.rb +2 -2
- data/lib/songtradr_api_client_ruby/models/forgot_password_dto.rb +2 -2
- data/lib/songtradr_api_client_ruby/models/genre_dto.rb +2 -2
- data/lib/songtradr_api_client_ruby/models/genre_minimal_dto.rb +2 -2
- data/lib/songtradr_api_client_ruby/models/genres_summary_dto.rb +2 -2
- data/lib/songtradr_api_client_ruby/models/init_put_recording_audio_dto.rb +2 -2
- data/lib/songtradr_api_client_ruby/models/jwt_token_dto.rb +2 -2
- data/lib/songtradr_api_client_ruby/models/login_dto.rb +2 -2
- data/lib/songtradr_api_client_ruby/models/musical_features_dto.rb +334 -334
- data/lib/songtradr_api_client_ruby/models/p_line_dto.rb +2 -2
- data/lib/songtradr_api_client_ruby/models/party_large_dto.rb +2 -2
- data/lib/songtradr_api_client_ruby/models/party_small_dto.rb +2 -2
- data/lib/songtradr_api_client_ruby/models/playlist_large_dto.rb +26 -26
- data/lib/songtradr_api_client_ruby/models/product_medium_dto.rb +15 -15
- data/lib/songtradr_api_client_ruby/models/product_party_dto.rb +17 -17
- data/lib/songtradr_api_client_ruby/models/recording_for_similarity_search_dto.rb +2 -2
- data/lib/songtradr_api_client_ruby/models/recording_genre_prediction_dto.rb +23 -23
- data/lib/songtradr_api_client_ruby/models/recording_large_dto.rb +52 -52
- data/lib/songtradr_api_client_ruby/models/recording_list_dto.rb +2 -2
- data/lib/songtradr_api_client_ruby/models/recording_medium_dto.rb +43 -43
- data/lib/songtradr_api_client_ruby/models/recording_minimal_with_musical_features_dto.rb +2 -2
- data/lib/songtradr_api_client_ruby/models/recording_minimal_with_taggrams_dto.rb +2 -2
- data/lib/songtradr_api_client_ruby/models/recording_minimal_with_tagstrengths_dto.rb +2 -2
- data/lib/songtradr_api_client_ruby/models/recording_party_dto.rb +17 -17
- data/lib/songtradr_api_client_ruby/models/recording_playlist_dto.rb +2 -2
- data/lib/songtradr_api_client_ruby/models/recording_small_dto.rb +27 -27
- data/lib/songtradr_api_client_ruby/models/recording_tag_small_dto.rb +2 -2
- data/lib/songtradr_api_client_ruby/models/save_file_recording_dto.rb +8 -8
- data/lib/songtradr_api_client_ruby/models/save_playlist_dto.rb +2 -2
- data/lib/songtradr_api_client_ruby/models/save_recording_genre_dto.rb +2 -2
- data/lib/songtradr_api_client_ruby/models/save_recording_party_dto.rb +2 -2
- data/lib/songtradr_api_client_ruby/models/save_recording_playlist_dto.rb +2 -2
- data/lib/songtradr_api_client_ruby/models/save_recording_tag_dto.rb +2 -2
- data/lib/songtradr_api_client_ruby/models/save_referrer_dto.rb +2 -2
- data/lib/songtradr_api_client_ruby/models/save_taggrams_dto.rb +2 -2
- data/lib/songtradr_api_client_ruby/models/save_user_dto.rb +2 -2
- data/lib/songtradr_api_client_ruby/models/search_filter_values_dto.rb +2 -2
- data/lib/songtradr_api_client_ruby/models/search_recording_granular_abstraction_dto.rb +2 -2
- data/lib/songtradr_api_client_ruby/models/search_recording_granular_dto.rb +2 -2
- data/lib/songtradr_api_client_ruby/models/sign_up_dto.rb +2 -2
- data/lib/songtradr_api_client_ruby/models/tag_dto.rb +2 -2
- data/lib/songtradr_api_client_ruby/models/tag_small_dto.rb +2 -2
- data/lib/songtradr_api_client_ruby/models/taggram_dto.rb +2 -2
- data/lib/songtradr_api_client_ruby/models/tags_summary_dto.rb +2 -2
- data/lib/songtradr_api_client_ruby/models/tagstrength_dto.rb +2 -2
- data/lib/songtradr_api_client_ruby/models/title_dto.rb +2 -2
- data/lib/songtradr_api_client_ruby/models/token_request.rb +2 -2
- data/lib/songtradr_api_client_ruby/models/track_dto.rb +2 -2
- data/lib/songtradr_api_client_ruby/models/track_to_medium_product_dto.rb +2 -2
- data/lib/songtradr_api_client_ruby/models/update_password_dto.rb +2 -2
- data/lib/songtradr_api_client_ruby/models/usage_dto.rb +2 -2
- data/lib/songtradr_api_client_ruby/models/user_dto.rb +2 -2
- data/lib/songtradr_api_client_ruby/version.rb +3 -3
- data/lib/songtradr_api_client_ruby.rb +2 -2
- data/openapi-generator-config.yaml +1 -1
- data/songtradr_api_client_ruby.gemspec +2 -2
- data/spec/api/allowed_values_api_spec.rb +2 -2
- data/spec/api/api_keys_api_spec.rb +2 -2
- data/spec/api/party_api_spec.rb +2 -2
- data/spec/api/playlist_api_spec.rb +2 -2
- data/spec/api/recording_api_spec.rb +2 -2
- data/spec/api/user_api_spec.rb +2 -2
- data/spec/api_client_spec.rb +2 -2
- data/spec/configuration_spec.rb +2 -2
- data/spec/models/admin_api_user_dto_spec.rb +2 -2
- data/spec/models/api_key_dto_spec.rb +4 -4
- data/spec/models/category_medium_dto_spec.rb +2 -2
- data/spec/models/category_minimal_dto_spec.rb +2 -2
- data/spec/models/config_access_dto_spec.rb +2 -2
- data/spec/models/config_identifier_dto_spec.rb +2 -2
- data/spec/models/contributor_type_dto_spec.rb +2 -2
- data/spec/models/create_api_key_dto_spec.rb +2 -2
- data/spec/models/error_response_spec.rb +2 -2
- data/spec/models/field_summary_dto_spec.rb +2 -2
- data/spec/models/file_dto_spec.rb +2 -2
- data/spec/models/file_list_dto_spec.rb +2 -2
- data/spec/models/file_minimal_with_url_dto_spec.rb +2 -2
- data/spec/models/file_small_dto_spec.rb +8 -8
- data/spec/models/file_upload_dto_spec.rb +2 -2
- data/spec/models/file_w_ith_url_dto_spec.rb +2 -2
- data/spec/models/files_summary_dto_spec.rb +2 -2
- data/spec/models/forgot_password_dto_spec.rb +2 -2
- data/spec/models/genre_dto_spec.rb +2 -2
- data/spec/models/genre_minimal_dto_spec.rb +2 -2
- data/spec/models/genres_summary_dto_spec.rb +2 -2
- data/spec/models/init_put_recording_audio_dto_spec.rb +2 -2
- data/spec/models/jwt_token_dto_spec.rb +2 -2
- data/spec/models/login_dto_spec.rb +2 -2
- data/spec/models/musical_features_dto_spec.rb +95 -95
- data/spec/models/p_line_dto_spec.rb +2 -2
- data/spec/models/party_large_dto_spec.rb +2 -2
- data/spec/models/party_small_dto_spec.rb +2 -2
- data/spec/models/playlist_large_dto_spec.rb +9 -9
- data/spec/models/product_medium_dto_spec.rb +8 -8
- data/spec/models/product_party_dto_spec.rb +4 -4
- data/spec/models/recording_for_similarity_search_dto_spec.rb +2 -2
- data/spec/models/recording_genre_prediction_dto_spec.rb +4 -4
- data/spec/models/recording_large_dto_spec.rb +12 -12
- data/spec/models/recording_list_dto_spec.rb +2 -2
- data/spec/models/recording_medium_dto_spec.rb +11 -11
- data/spec/models/recording_minimal_with_musical_features_dto_spec.rb +2 -2
- data/spec/models/recording_minimal_with_taggrams_dto_spec.rb +2 -2
- data/spec/models/recording_minimal_with_tagstrengths_dto_spec.rb +2 -2
- data/spec/models/recording_party_dto_spec.rb +4 -4
- data/spec/models/recording_playlist_dto_spec.rb +2 -2
- data/spec/models/recording_small_dto_spec.rb +4 -4
- data/spec/models/recording_tag_small_dto_spec.rb +2 -2
- data/spec/models/save_file_recording_dto_spec.rb +5 -5
- data/spec/models/save_playlist_dto_spec.rb +2 -2
- data/spec/models/save_recording_genre_dto_spec.rb +2 -2
- data/spec/models/save_recording_party_dto_spec.rb +2 -2
- data/spec/models/save_recording_playlist_dto_spec.rb +2 -2
- data/spec/models/save_recording_tag_dto_spec.rb +2 -2
- data/spec/models/save_referrer_dto_spec.rb +2 -2
- data/spec/models/save_taggrams_dto_spec.rb +2 -2
- data/spec/models/save_user_dto_spec.rb +2 -2
- data/spec/models/search_filter_values_dto_spec.rb +2 -2
- data/spec/models/search_recording_granular_abstraction_dto_spec.rb +2 -2
- data/spec/models/search_recording_granular_dto_spec.rb +2 -2
- data/spec/models/sign_up_dto_spec.rb +2 -2
- data/spec/models/tag_dto_spec.rb +2 -2
- data/spec/models/tag_small_dto_spec.rb +2 -2
- data/spec/models/taggram_dto_spec.rb +2 -2
- data/spec/models/tags_summary_dto_spec.rb +2 -2
- data/spec/models/tagstrength_dto_spec.rb +2 -2
- data/spec/models/title_dto_spec.rb +2 -2
- data/spec/models/token_request_spec.rb +2 -2
- data/spec/models/track_dto_spec.rb +2 -2
- data/spec/models/track_to_medium_product_dto_spec.rb +2 -2
- data/spec/models/update_password_dto_spec.rb +2 -2
- data/spec/models/usage_dto_spec.rb +2 -2
- data/spec/models/user_dto_spec.rb +2 -2
- data/spec/spec_helper.rb +2 -2
- metadata +2 -2
|
@@ -3,10 +3,10 @@
|
|
|
3
3
|
|
|
4
4
|
#This is the Songtradr API. Use it to retrieve deep music metadata and trigger processes like auto-tagging. You can also use the API to manage your account and musicube cloud data. **Authentication** 1. Reach out to support@songtradr.com to receive a free account or use your login data if you are already signed up. 2. To authenticate, you need to login via the POST /api/v1/user/login endpoint. 3. The endpoint responds with a jwtToken which you can use in all following API requests as a bearer token. **Rate Limiting** The current limit is 120 Requests per minute. Reach out to us via support@songtradr.com if you need to request more. **Getting Started with auto-tagging** 1. If you want to get your own files auto-tagged, use the POST /api/v1/user/file/{name}/initUpload endpoint. It responds with a presigned S3 link where you can upload your file. 2. You can check the processing status of your file via the GET /api/v1/user/file/{name}/filesStatus endpoint. 3. As soon as processing is done, you can request the generated data via the GET /api/v1/user/files endpoint. **Getting Started with search** You can either search the released music via the /public/recording endpoints or your own private uploaded music via the /user/file/ endpoints. 1. If you want to search the world's released music, a good starting point is the GET /api/v1/public/recording/search endpoint. Please find the extensive list of parameters that serve as semantic search filters. 2. If you want to search your own previously uploaded music, a good starting point is the GET GET /api/v1/user/files endpoint. It has the same extensive list of parameters that serve as semantic search filters.
|
|
5
5
|
|
|
6
|
-
The version of the OpenAPI document: 1.13.
|
|
6
|
+
The version of the OpenAPI document: 1.13.4
|
|
7
7
|
Contact: info@songtradr.com
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
|
9
|
-
OpenAPI Generator version: 7.0
|
|
9
|
+
OpenAPI Generator version: 7.1.0-SNAPSHOT
|
|
10
10
|
|
|
11
11
|
=end
|
|
12
12
|
|
|
@@ -35,248 +35,242 @@ describe SongtradrApiClientRuby::MusicalFeaturesDTO do
|
|
|
35
35
|
end
|
|
36
36
|
end
|
|
37
37
|
|
|
38
|
-
describe 'test attribute "
|
|
39
|
-
it 'should work' do
|
|
40
|
-
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
41
|
-
end
|
|
42
|
-
end
|
|
43
|
-
|
|
44
|
-
describe 'test attribute "language_of_performance"' do
|
|
38
|
+
describe 'test attribute "roughness"' do
|
|
45
39
|
it 'should work' do
|
|
46
40
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
47
|
-
# validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["
|
|
41
|
+
# validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["very clear", "clear", "moderate roughness", "distorted", "very distorted"])
|
|
48
42
|
# validator.allowable_values.each do |value|
|
|
49
|
-
# expect { instance.
|
|
43
|
+
# expect { instance.roughness = value }.not_to raise_error
|
|
50
44
|
# end
|
|
51
45
|
end
|
|
52
46
|
end
|
|
53
47
|
|
|
54
|
-
describe 'test attribute "
|
|
48
|
+
describe 'test attribute "scale"' do
|
|
55
49
|
it 'should work' do
|
|
56
50
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
57
|
-
# validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["
|
|
51
|
+
# validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["major key", "minor key", "neutral key"])
|
|
58
52
|
# validator.allowable_values.each do |value|
|
|
59
|
-
# expect { instance.
|
|
53
|
+
# expect { instance.scale = value }.not_to raise_error
|
|
60
54
|
# end
|
|
61
55
|
end
|
|
62
56
|
end
|
|
63
57
|
|
|
64
|
-
describe 'test attribute "
|
|
58
|
+
describe 'test attribute "sound_generation"' do
|
|
65
59
|
it 'should work' do
|
|
66
60
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
67
|
-
# validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["
|
|
61
|
+
# validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["acoustic", "electric", "electronic", "mixed sound generation"])
|
|
68
62
|
# validator.allowable_values.each do |value|
|
|
69
|
-
# expect { instance.
|
|
63
|
+
# expect { instance.sound_generation = value }.not_to raise_error
|
|
70
64
|
# end
|
|
71
65
|
end
|
|
72
66
|
end
|
|
73
67
|
|
|
74
|
-
describe 'test attribute "
|
|
68
|
+
describe 'test attribute "tempo"' do
|
|
75
69
|
it 'should work' do
|
|
76
70
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
77
|
-
# validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["very
|
|
71
|
+
# validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["very slow", "slow", "mid-tempo", "fast", "very fast", "varying tempo"])
|
|
78
72
|
# validator.allowable_values.each do |value|
|
|
79
|
-
# expect { instance.
|
|
73
|
+
# expect { instance.tempo = value }.not_to raise_error
|
|
80
74
|
# end
|
|
81
75
|
end
|
|
82
76
|
end
|
|
83
77
|
|
|
84
|
-
describe 'test attribute "
|
|
78
|
+
describe 'test attribute "texture"' do
|
|
85
79
|
it 'should work' do
|
|
86
80
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
87
|
-
# validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["very
|
|
81
|
+
# validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["very thin", "thin", "moderate texture", "full", "very full"])
|
|
88
82
|
# validator.allowable_values.each do |value|
|
|
89
|
-
# expect { instance.
|
|
83
|
+
# expect { instance.texture = value }.not_to raise_error
|
|
90
84
|
# end
|
|
91
85
|
end
|
|
92
86
|
end
|
|
93
87
|
|
|
94
|
-
describe 'test attribute "
|
|
88
|
+
describe 'test attribute "timbre"' do
|
|
95
89
|
it 'should work' do
|
|
96
90
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
97
|
-
# validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["very
|
|
91
|
+
# validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["very warm", "warm", "moderate timbre", "bright", "very bright"])
|
|
98
92
|
# validator.allowable_values.each do |value|
|
|
99
|
-
# expect { instance.
|
|
93
|
+
# expect { instance.timbre = value }.not_to raise_error
|
|
100
94
|
# end
|
|
101
95
|
end
|
|
102
96
|
end
|
|
103
97
|
|
|
104
|
-
describe 'test attribute "
|
|
98
|
+
describe 'test attribute "tonality"' do
|
|
105
99
|
it 'should work' do
|
|
106
100
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
107
|
-
# validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["
|
|
101
|
+
# validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["monotonous", "moderate melodiousness", "melodious", "atonal"])
|
|
108
102
|
# validator.allowable_values.each do |value|
|
|
109
|
-
# expect { instance.
|
|
103
|
+
# expect { instance.tonality = value }.not_to raise_error
|
|
110
104
|
# end
|
|
111
105
|
end
|
|
112
106
|
end
|
|
113
107
|
|
|
114
|
-
describe 'test attribute "
|
|
108
|
+
describe 'test attribute "valence"' do
|
|
115
109
|
it 'should work' do
|
|
116
110
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
117
|
-
# validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["very
|
|
111
|
+
# validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["very sad", "sad", "moderate valence", "positive", "very positive", "varying valence"])
|
|
118
112
|
# validator.allowable_values.each do |value|
|
|
119
|
-
# expect { instance.
|
|
113
|
+
# expect { instance.valence = value }.not_to raise_error
|
|
120
114
|
# end
|
|
121
115
|
end
|
|
122
116
|
end
|
|
123
117
|
|
|
124
|
-
describe 'test attribute "
|
|
118
|
+
describe 'test attribute "vocals"' do
|
|
125
119
|
it 'should work' do
|
|
126
120
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
127
|
-
# validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["
|
|
121
|
+
# validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["instrumental", "female vocals", "male vocals", "mixed vocals", "diverse gender vocals"])
|
|
128
122
|
# validator.allowable_values.each do |value|
|
|
129
|
-
# expect { instance.
|
|
123
|
+
# expect { instance.vocals = value }.not_to raise_error
|
|
130
124
|
# end
|
|
131
125
|
end
|
|
132
126
|
end
|
|
133
127
|
|
|
134
|
-
describe 'test attribute "
|
|
128
|
+
describe 'test attribute "origin_decade"' do
|
|
135
129
|
it 'should work' do
|
|
136
130
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
137
|
-
# validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["
|
|
131
|
+
# validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["pre-1950s", "1950s", "1960s", "1970s", "1980s", "1990s", "2000s", "2010s", "2020s"])
|
|
138
132
|
# validator.allowable_values.each do |value|
|
|
139
|
-
# expect { instance.
|
|
133
|
+
# expect { instance.origin_decade = value }.not_to raise_error
|
|
140
134
|
# end
|
|
141
135
|
end
|
|
142
136
|
end
|
|
143
137
|
|
|
144
|
-
describe 'test attribute "
|
|
138
|
+
describe 'test attribute "curateability"' do
|
|
145
139
|
it 'should work' do
|
|
146
140
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
147
|
-
# validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["
|
|
141
|
+
# validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["curateable", "uncurateable"])
|
|
148
142
|
# validator.allowable_values.each do |value|
|
|
149
|
-
# expect { instance.
|
|
143
|
+
# expect { instance.curateability = value }.not_to raise_error
|
|
150
144
|
# end
|
|
151
145
|
end
|
|
152
146
|
end
|
|
153
147
|
|
|
154
|
-
describe 'test attribute "
|
|
148
|
+
describe 'test attribute "use_case"' do
|
|
155
149
|
it 'should work' do
|
|
156
150
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
157
|
-
# validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["
|
|
151
|
+
# validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["background", "sport", "focus", "christmas", "film", "summer", "adverts", "party", "relax"])
|
|
158
152
|
# validator.allowable_values.each do |value|
|
|
159
|
-
# expect { instance.
|
|
153
|
+
# expect { instance.use_case = value }.not_to raise_error
|
|
160
154
|
# end
|
|
161
155
|
end
|
|
162
156
|
end
|
|
163
157
|
|
|
164
|
-
describe 'test attribute "
|
|
158
|
+
describe 'test attribute "channel_suitability"' do
|
|
165
159
|
it 'should work' do
|
|
166
160
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
167
|
-
# validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["
|
|
161
|
+
# validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["Spotify", "TikTok", "Unfitting", "YouTube"])
|
|
168
162
|
# validator.allowable_values.each do |value|
|
|
169
|
-
# expect { instance.
|
|
163
|
+
# expect { instance.channel_suitability = value }.not_to raise_error
|
|
170
164
|
# end
|
|
171
165
|
end
|
|
172
166
|
end
|
|
173
167
|
|
|
174
|
-
describe 'test attribute "
|
|
168
|
+
describe 'test attribute "language_of_performance"' do
|
|
175
169
|
it 'should work' do
|
|
176
170
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
177
|
-
# validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["
|
|
171
|
+
# validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["en", "de", "no", "fr", "es", "pt", "fi", "ru", "it", "la", "el", "ar", "nl", "ja", "pl", "sv", "zu", "da", "cs", "hu", "af", "hi", "tr", "zh", "ms", "pa", "id", "ko", "vi"])
|
|
178
172
|
# validator.allowable_values.each do |value|
|
|
179
|
-
# expect { instance.
|
|
173
|
+
# expect { instance.language_of_performance = value }.not_to raise_error
|
|
180
174
|
# end
|
|
181
175
|
end
|
|
182
176
|
end
|
|
183
177
|
|
|
184
|
-
describe 'test attribute "
|
|
178
|
+
describe 'test attribute "arousal"' do
|
|
185
179
|
it 'should work' do
|
|
186
180
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
187
|
-
# validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["very
|
|
181
|
+
# validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["very calm", "calm", "moderate arousal", "energetic", "very energetic", "varying arousal"])
|
|
188
182
|
# validator.allowable_values.each do |value|
|
|
189
|
-
# expect { instance.
|
|
183
|
+
# expect { instance.arousal = value }.not_to raise_error
|
|
190
184
|
# end
|
|
191
185
|
end
|
|
192
186
|
end
|
|
193
187
|
|
|
194
|
-
describe 'test attribute "
|
|
188
|
+
describe 'test attribute "dominant_instrument"' do
|
|
195
189
|
it 'should work' do
|
|
196
190
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
197
|
-
# validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["
|
|
191
|
+
# 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"])
|
|
198
192
|
# validator.allowable_values.each do |value|
|
|
199
|
-
# expect { instance.
|
|
193
|
+
# expect { instance.dominant_instrument = value }.not_to raise_error
|
|
200
194
|
# end
|
|
201
195
|
end
|
|
202
196
|
end
|
|
203
197
|
|
|
204
|
-
describe 'test attribute "
|
|
198
|
+
describe 'test attribute "energy"' do
|
|
205
199
|
it 'should work' do
|
|
206
200
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
207
|
-
# validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["very
|
|
201
|
+
# validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["very quiet", "quiet", "moderate", "loud", "very loud", "dynamic"])
|
|
208
202
|
# validator.allowable_values.each do |value|
|
|
209
|
-
# expect { instance.
|
|
203
|
+
# expect { instance.energy = value }.not_to raise_error
|
|
210
204
|
# end
|
|
211
205
|
end
|
|
212
206
|
end
|
|
213
207
|
|
|
214
|
-
describe 'test attribute "
|
|
208
|
+
describe 'test attribute "engagement"' do
|
|
215
209
|
it 'should work' do
|
|
216
210
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
217
|
-
# validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["
|
|
211
|
+
# validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["very unengaging", "unengaging", "neutral engagement", "engaging", "very engaging", "varying engagement"])
|
|
218
212
|
# validator.allowable_values.each do |value|
|
|
219
|
-
# expect { instance.
|
|
213
|
+
# expect { instance.engagement = value }.not_to raise_error
|
|
220
214
|
# end
|
|
221
215
|
end
|
|
222
216
|
end
|
|
223
217
|
|
|
224
|
-
describe 'test attribute "
|
|
218
|
+
describe 'test attribute "groovyness"' do
|
|
225
219
|
it 'should work' do
|
|
226
220
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
227
|
-
# validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["very
|
|
221
|
+
# validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["very steady", "steady", "moderate rhythm feel", "groovy", "very groovy"])
|
|
228
222
|
# validator.allowable_values.each do |value|
|
|
229
|
-
# expect { instance.
|
|
223
|
+
# expect { instance.groovyness = value }.not_to raise_error
|
|
230
224
|
# end
|
|
231
225
|
end
|
|
232
226
|
end
|
|
233
227
|
|
|
234
|
-
describe 'test attribute "
|
|
228
|
+
describe 'test attribute "harmony"' do
|
|
235
229
|
it 'should work' do
|
|
236
230
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
237
|
-
# validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["
|
|
231
|
+
# validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["very dissonant", "dissonant", "moderate harmonies", "harmonious", "very harmonious"])
|
|
238
232
|
# validator.allowable_values.each do |value|
|
|
239
|
-
# expect { instance.
|
|
233
|
+
# expect { instance.harmony = value }.not_to raise_error
|
|
240
234
|
# end
|
|
241
235
|
end
|
|
242
236
|
end
|
|
243
237
|
|
|
244
|
-
describe 'test attribute "
|
|
238
|
+
describe 'test attribute "pleasantness"' do
|
|
245
239
|
it 'should work' do
|
|
246
240
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
247
|
-
# validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["
|
|
241
|
+
# validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["very unpleasant", "unpleasant", "neutral pleasantness", "pleasant", "very pleasant", "varying pleasantness"])
|
|
248
242
|
# validator.allowable_values.each do |value|
|
|
249
|
-
# expect { instance.
|
|
243
|
+
# expect { instance.pleasantness = value }.not_to raise_error
|
|
250
244
|
# end
|
|
251
245
|
end
|
|
252
246
|
end
|
|
253
247
|
|
|
254
|
-
describe 'test attribute "
|
|
248
|
+
describe 'test attribute "primary_mood_cluster"' do
|
|
255
249
|
it 'should work' do
|
|
256
250
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
257
|
-
# validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["
|
|
251
|
+
# validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["aggressive", "amusing", "anxious", "calm", "devotional", "dreamy", "energetic", "enigmatic", "epic", "erotic", "positive", "sad", "scary", "wild"])
|
|
258
252
|
# validator.allowable_values.each do |value|
|
|
259
|
-
# expect { instance.
|
|
253
|
+
# expect { instance.primary_mood_cluster = value }.not_to raise_error
|
|
260
254
|
# end
|
|
261
255
|
end
|
|
262
256
|
end
|
|
263
257
|
|
|
264
|
-
describe 'test attribute "
|
|
258
|
+
describe 'test attribute "primary_sound_character"' do
|
|
265
259
|
it 'should work' do
|
|
266
260
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
267
|
-
# validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["
|
|
261
|
+
# validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["brassy", "bright", "clear", "deep", "distorted", "flat", "full", "groovy", "melodious", "natural", "resonant", "shrill", "steady", "thin", "warm"])
|
|
268
262
|
# validator.allowable_values.each do |value|
|
|
269
|
-
# expect { instance.
|
|
263
|
+
# expect { instance.primary_sound_character = value }.not_to raise_error
|
|
270
264
|
# end
|
|
271
265
|
end
|
|
272
266
|
end
|
|
273
267
|
|
|
274
|
-
describe 'test attribute "
|
|
268
|
+
describe 'test attribute "rhythm"' do
|
|
275
269
|
it 'should work' do
|
|
276
270
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
277
|
-
# validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["
|
|
271
|
+
# validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["common time", "triple meter", "complex time signature", "binary rhythm", "ternary rhythm"])
|
|
278
272
|
# validator.allowable_values.each do |value|
|
|
279
|
-
# expect { instance.
|
|
273
|
+
# expect { instance.rhythm = value }.not_to raise_error
|
|
280
274
|
# end
|
|
281
275
|
end
|
|
282
276
|
end
|
|
@@ -609,25 +603,27 @@ describe SongtradrApiClientRuby::MusicalFeaturesDTO do
|
|
|
609
603
|
end
|
|
610
604
|
end
|
|
611
605
|
|
|
606
|
+
describe 'test attribute "valence_affinity"' do
|
|
607
|
+
it 'should work' do
|
|
608
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
609
|
+
end
|
|
610
|
+
end
|
|
611
|
+
|
|
612
612
|
describe 'test attribute "arousal_affinity"' do
|
|
613
613
|
it 'should work' do
|
|
614
614
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
615
615
|
end
|
|
616
616
|
end
|
|
617
617
|
|
|
618
|
-
describe 'test attribute "
|
|
618
|
+
describe 'test attribute "pleasantness_affinity"' do
|
|
619
619
|
it 'should work' do
|
|
620
620
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
621
621
|
end
|
|
622
622
|
end
|
|
623
623
|
|
|
624
|
-
describe 'test attribute "
|
|
624
|
+
describe 'test attribute "engagement_affinity"' do
|
|
625
625
|
it 'should work' do
|
|
626
626
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
627
|
-
# validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["C", "C#", "D", "D#", "E", "F", "F#", "G", "G#", "A", "A#", "B", "unclear"])
|
|
628
|
-
# validator.allowable_values.each do |value|
|
|
629
|
-
# expect { instance.key = value }.not_to raise_error
|
|
630
|
-
# end
|
|
631
627
|
end
|
|
632
628
|
end
|
|
633
629
|
|
|
@@ -637,19 +633,19 @@ describe SongtradrApiClientRuby::MusicalFeaturesDTO do
|
|
|
637
633
|
end
|
|
638
634
|
end
|
|
639
635
|
|
|
640
|
-
describe 'test attribute "
|
|
636
|
+
describe 'test attribute "tempo_affinity"' do
|
|
641
637
|
it 'should work' do
|
|
642
638
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
643
639
|
end
|
|
644
640
|
end
|
|
645
641
|
|
|
646
|
-
describe 'test attribute "
|
|
642
|
+
describe 'test attribute "scale_affinity"' do
|
|
647
643
|
it 'should work' do
|
|
648
644
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
649
645
|
end
|
|
650
646
|
end
|
|
651
647
|
|
|
652
|
-
describe 'test attribute "
|
|
648
|
+
describe 'test attribute "timbre_affinity"' do
|
|
653
649
|
it 'should work' do
|
|
654
650
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
655
651
|
end
|
|
@@ -661,7 +657,7 @@ describe SongtradrApiClientRuby::MusicalFeaturesDTO do
|
|
|
661
657
|
end
|
|
662
658
|
end
|
|
663
659
|
|
|
664
|
-
describe 'test attribute "
|
|
660
|
+
describe 'test attribute "harmony_affinity"' do
|
|
665
661
|
it 'should work' do
|
|
666
662
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
667
663
|
end
|
|
@@ -673,33 +669,37 @@ describe SongtradrApiClientRuby::MusicalFeaturesDTO do
|
|
|
673
669
|
end
|
|
674
670
|
end
|
|
675
671
|
|
|
676
|
-
describe 'test attribute "
|
|
672
|
+
describe 'test attribute "groovyness_affinity"' do
|
|
677
673
|
it 'should work' do
|
|
678
674
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
679
675
|
end
|
|
680
676
|
end
|
|
681
677
|
|
|
682
|
-
describe 'test attribute "
|
|
678
|
+
describe 'test attribute "space_affinity"' do
|
|
683
679
|
it 'should work' do
|
|
684
680
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
685
681
|
end
|
|
686
682
|
end
|
|
687
683
|
|
|
688
|
-
describe 'test attribute "
|
|
684
|
+
describe 'test attribute "key_affinity"' do
|
|
689
685
|
it 'should work' do
|
|
690
686
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
691
687
|
end
|
|
692
688
|
end
|
|
693
689
|
|
|
694
|
-
describe 'test attribute "
|
|
690
|
+
describe 'test attribute "channel_suitability_affinity"' do
|
|
695
691
|
it 'should work' do
|
|
696
692
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
697
693
|
end
|
|
698
694
|
end
|
|
699
695
|
|
|
700
|
-
describe 'test attribute "
|
|
696
|
+
describe 'test attribute "key"' do
|
|
701
697
|
it 'should work' do
|
|
702
698
|
# 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,10 +3,10 @@
|
|
|
3
3
|
|
|
4
4
|
#This is the Songtradr API. Use it to retrieve deep music metadata and trigger processes like auto-tagging. You can also use the API to manage your account and musicube cloud data. **Authentication** 1. Reach out to support@songtradr.com to receive a free account or use your login data if you are already signed up. 2. To authenticate, you need to login via the POST /api/v1/user/login endpoint. 3. The endpoint responds with a jwtToken which you can use in all following API requests as a bearer token. **Rate Limiting** The current limit is 120 Requests per minute. Reach out to us via support@songtradr.com if you need to request more. **Getting Started with auto-tagging** 1. If you want to get your own files auto-tagged, use the POST /api/v1/user/file/{name}/initUpload endpoint. It responds with a presigned S3 link where you can upload your file. 2. You can check the processing status of your file via the GET /api/v1/user/file/{name}/filesStatus endpoint. 3. As soon as processing is done, you can request the generated data via the GET /api/v1/user/files endpoint. **Getting Started with search** You can either search the released music via the /public/recording endpoints or your own private uploaded music via the /user/file/ endpoints. 1. If you want to search the world's released music, a good starting point is the GET /api/v1/public/recording/search endpoint. Please find the extensive list of parameters that serve as semantic search filters. 2. If you want to search your own previously uploaded music, a good starting point is the GET GET /api/v1/user/files endpoint. It has the same extensive list of parameters that serve as semantic search filters.
|
|
5
5
|
|
|
6
|
-
The version of the OpenAPI document: 1.13.
|
|
6
|
+
The version of the OpenAPI document: 1.13.4
|
|
7
7
|
Contact: info@songtradr.com
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
|
9
|
-
OpenAPI Generator version: 7.0
|
|
9
|
+
OpenAPI Generator version: 7.1.0-SNAPSHOT
|
|
10
10
|
|
|
11
11
|
=end
|
|
12
12
|
|
|
@@ -3,10 +3,10 @@
|
|
|
3
3
|
|
|
4
4
|
#This is the Songtradr API. Use it to retrieve deep music metadata and trigger processes like auto-tagging. You can also use the API to manage your account and musicube cloud data. **Authentication** 1. Reach out to support@songtradr.com to receive a free account or use your login data if you are already signed up. 2. To authenticate, you need to login via the POST /api/v1/user/login endpoint. 3. The endpoint responds with a jwtToken which you can use in all following API requests as a bearer token. **Rate Limiting** The current limit is 120 Requests per minute. Reach out to us via support@songtradr.com if you need to request more. **Getting Started with auto-tagging** 1. If you want to get your own files auto-tagged, use the POST /api/v1/user/file/{name}/initUpload endpoint. It responds with a presigned S3 link where you can upload your file. 2. You can check the processing status of your file via the GET /api/v1/user/file/{name}/filesStatus endpoint. 3. As soon as processing is done, you can request the generated data via the GET /api/v1/user/files endpoint. **Getting Started with search** You can either search the released music via the /public/recording endpoints or your own private uploaded music via the /user/file/ endpoints. 1. If you want to search the world's released music, a good starting point is the GET /api/v1/public/recording/search endpoint. Please find the extensive list of parameters that serve as semantic search filters. 2. If you want to search your own previously uploaded music, a good starting point is the GET GET /api/v1/user/files endpoint. It has the same extensive list of parameters that serve as semantic search filters.
|
|
5
5
|
|
|
6
|
-
The version of the OpenAPI document: 1.13.
|
|
6
|
+
The version of the OpenAPI document: 1.13.4
|
|
7
7
|
Contact: info@songtradr.com
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
|
9
|
-
OpenAPI Generator version: 7.0
|
|
9
|
+
OpenAPI Generator version: 7.1.0-SNAPSHOT
|
|
10
10
|
|
|
11
11
|
=end
|
|
12
12
|
|
|
@@ -3,10 +3,10 @@
|
|
|
3
3
|
|
|
4
4
|
#This is the Songtradr API. Use it to retrieve deep music metadata and trigger processes like auto-tagging. You can also use the API to manage your account and musicube cloud data. **Authentication** 1. Reach out to support@songtradr.com to receive a free account or use your login data if you are already signed up. 2. To authenticate, you need to login via the POST /api/v1/user/login endpoint. 3. The endpoint responds with a jwtToken which you can use in all following API requests as a bearer token. **Rate Limiting** The current limit is 120 Requests per minute. Reach out to us via support@songtradr.com if you need to request more. **Getting Started with auto-tagging** 1. If you want to get your own files auto-tagged, use the POST /api/v1/user/file/{name}/initUpload endpoint. It responds with a presigned S3 link where you can upload your file. 2. You can check the processing status of your file via the GET /api/v1/user/file/{name}/filesStatus endpoint. 3. As soon as processing is done, you can request the generated data via the GET /api/v1/user/files endpoint. **Getting Started with search** You can either search the released music via the /public/recording endpoints or your own private uploaded music via the /user/file/ endpoints. 1. If you want to search the world's released music, a good starting point is the GET /api/v1/public/recording/search endpoint. Please find the extensive list of parameters that serve as semantic search filters. 2. If you want to search your own previously uploaded music, a good starting point is the GET GET /api/v1/user/files endpoint. It has the same extensive list of parameters that serve as semantic search filters.
|
|
5
5
|
|
|
6
|
-
The version of the OpenAPI document: 1.13.
|
|
6
|
+
The version of the OpenAPI document: 1.13.4
|
|
7
7
|
Contact: info@songtradr.com
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
|
9
|
-
OpenAPI Generator version: 7.0
|
|
9
|
+
OpenAPI Generator version: 7.1.0-SNAPSHOT
|
|
10
10
|
|
|
11
11
|
=end
|
|
12
12
|
|
|
@@ -3,10 +3,10 @@
|
|
|
3
3
|
|
|
4
4
|
#This is the Songtradr API. Use it to retrieve deep music metadata and trigger processes like auto-tagging. You can also use the API to manage your account and musicube cloud data. **Authentication** 1. Reach out to support@songtradr.com to receive a free account or use your login data if you are already signed up. 2. To authenticate, you need to login via the POST /api/v1/user/login endpoint. 3. The endpoint responds with a jwtToken which you can use in all following API requests as a bearer token. **Rate Limiting** The current limit is 120 Requests per minute. Reach out to us via support@songtradr.com if you need to request more. **Getting Started with auto-tagging** 1. If you want to get your own files auto-tagged, use the POST /api/v1/user/file/{name}/initUpload endpoint. It responds with a presigned S3 link where you can upload your file. 2. You can check the processing status of your file via the GET /api/v1/user/file/{name}/filesStatus endpoint. 3. As soon as processing is done, you can request the generated data via the GET /api/v1/user/files endpoint. **Getting Started with search** You can either search the released music via the /public/recording endpoints or your own private uploaded music via the /user/file/ endpoints. 1. If you want to search the world's released music, a good starting point is the GET /api/v1/public/recording/search endpoint. Please find the extensive list of parameters that serve as semantic search filters. 2. If you want to search your own previously uploaded music, a good starting point is the GET GET /api/v1/user/files endpoint. It has the same extensive list of parameters that serve as semantic search filters.
|
|
5
5
|
|
|
6
|
-
The version of the OpenAPI document: 1.13.
|
|
6
|
+
The version of the OpenAPI document: 1.13.4
|
|
7
7
|
Contact: info@songtradr.com
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
|
9
|
-
OpenAPI Generator version: 7.0
|
|
9
|
+
OpenAPI Generator version: 7.1.0-SNAPSHOT
|
|
10
10
|
|
|
11
11
|
=end
|
|
12
12
|
|
|
@@ -41,37 +41,37 @@ describe SongtradrApiClientRuby::PlaylistLargeDTO do
|
|
|
41
41
|
end
|
|
42
42
|
end
|
|
43
43
|
|
|
44
|
-
describe 'test attribute "
|
|
44
|
+
describe 'test attribute "description"' 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 "songtradr_playlist_guid"' 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 "asset_url"' 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 "pretzel_tier"' 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 "usage"' 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 "tracks"' 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
|
|
@@ -89,7 +89,7 @@ describe SongtradrApiClientRuby::PlaylistLargeDTO do
|
|
|
89
89
|
end
|
|
90
90
|
end
|
|
91
91
|
|
|
92
|
-
describe 'test attribute "
|
|
92
|
+
describe 'test attribute "usages"' 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
|
|
@@ -3,10 +3,10 @@
|
|
|
3
3
|
|
|
4
4
|
#This is the Songtradr API. Use it to retrieve deep music metadata and trigger processes like auto-tagging. You can also use the API to manage your account and musicube cloud data. **Authentication** 1. Reach out to support@songtradr.com to receive a free account or use your login data if you are already signed up. 2. To authenticate, you need to login via the POST /api/v1/user/login endpoint. 3. The endpoint responds with a jwtToken which you can use in all following API requests as a bearer token. **Rate Limiting** The current limit is 120 Requests per minute. Reach out to us via support@songtradr.com if you need to request more. **Getting Started with auto-tagging** 1. If you want to get your own files auto-tagged, use the POST /api/v1/user/file/{name}/initUpload endpoint. It responds with a presigned S3 link where you can upload your file. 2. You can check the processing status of your file via the GET /api/v1/user/file/{name}/filesStatus endpoint. 3. As soon as processing is done, you can request the generated data via the GET /api/v1/user/files endpoint. **Getting Started with search** You can either search the released music via the /public/recording endpoints or your own private uploaded music via the /user/file/ endpoints. 1. If you want to search the world's released music, a good starting point is the GET /api/v1/public/recording/search endpoint. Please find the extensive list of parameters that serve as semantic search filters. 2. If you want to search your own previously uploaded music, a good starting point is the GET GET /api/v1/user/files endpoint. It has the same extensive list of parameters that serve as semantic search filters.
|
|
5
5
|
|
|
6
|
-
The version of the OpenAPI document: 1.13.
|
|
6
|
+
The version of the OpenAPI document: 1.13.4
|
|
7
7
|
Contact: info@songtradr.com
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
|
9
|
-
OpenAPI Generator version: 7.0
|
|
9
|
+
OpenAPI Generator version: 7.1.0-SNAPSHOT
|
|
10
10
|
|
|
11
11
|
=end
|
|
12
12
|
|
|
@@ -31,6 +31,12 @@ describe SongtradrApiClientRuby::ProductMediumDTO do
|
|
|
31
31
|
end
|
|
32
32
|
end
|
|
33
33
|
|
|
34
|
+
describe 'test attribute "pline"' do
|
|
35
|
+
it 'should work' do
|
|
36
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
37
|
+
end
|
|
38
|
+
end
|
|
39
|
+
|
|
34
40
|
describe 'test attribute "genres"' do
|
|
35
41
|
it 'should work' do
|
|
36
42
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
@@ -73,10 +79,4 @@ describe SongtradrApiClientRuby::ProductMediumDTO do
|
|
|
73
79
|
end
|
|
74
80
|
end
|
|
75
81
|
|
|
76
|
-
describe 'test attribute "pline"' do
|
|
77
|
-
it 'should work' do
|
|
78
|
-
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
79
|
-
end
|
|
80
|
-
end
|
|
81
|
-
|
|
82
82
|
end
|