songtradr_api_client_ruby 1.12.21 → 1.12.22
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +2 -2
- data/README.md +5 -5
- data/docs/CategoryMediumDTO.md +3 -3
- data/docs/FileSmallDTO.md +3 -3
- data/docs/MusicalFeaturesDTO.md +38 -38
- data/docs/PlaylistLargeDTO.md +7 -7
- data/docs/ProductMediumDTO.md +5 -5
- data/docs/ProductPartyDTO.md +3 -3
- data/docs/RecordingGenrePredictionDTO.md +3 -3
- data/docs/RecordingLargeDTO.md +11 -11
- data/docs/RecordingMediumDTO.md +11 -11
- data/docs/RecordingMinimalWithMusicalFeaturesDTO.md +3 -3
- data/docs/RecordingPartyDTO.md +3 -3
- data/docs/RecordingSmallDTO.md +4 -4
- data/getspec.rb +28 -5
- data/lib/songtradr_api_client_ruby/api/allowed_values_api.rb +1 -1
- data/lib/songtradr_api_client_ruby/api/party_api.rb +1 -1
- data/lib/songtradr_api_client_ruby/api/playlist_api.rb +1 -1
- data/lib/songtradr_api_client_ruby/api/recording_api.rb +1 -1
- data/lib/songtradr_api_client_ruby/api/user_api.rb +1 -1
- data/lib/songtradr_api_client_ruby/api_client.rb +1 -1
- data/lib/songtradr_api_client_ruby/api_error.rb +1 -1
- data/lib/songtradr_api_client_ruby/configuration.rb +1 -1
- data/lib/songtradr_api_client_ruby/models/category_medium_dto.rb +14 -14
- data/lib/songtradr_api_client_ruby/models/category_minimal_dto.rb +1 -1
- data/lib/songtradr_api_client_ruby/models/config_access_dto.rb +1 -1
- data/lib/songtradr_api_client_ruby/models/config_identifier_dto.rb +1 -1
- data/lib/songtradr_api_client_ruby/models/contributor_type_dto.rb +1 -1
- data/lib/songtradr_api_client_ruby/models/error_response.rb +1 -1
- data/lib/songtradr_api_client_ruby/models/field_summary_dto.rb +1 -1
- data/lib/songtradr_api_client_ruby/models/file_dto.rb +1 -1
- data/lib/songtradr_api_client_ruby/models/file_list_dto.rb +1 -1
- data/lib/songtradr_api_client_ruby/models/file_minimal_with_url_dto.rb +1 -1
- data/lib/songtradr_api_client_ruby/models/file_small_dto.rb +19 -19
- data/lib/songtradr_api_client_ruby/models/file_upload_dto.rb +1 -1
- data/lib/songtradr_api_client_ruby/models/file_w_ith_url_dto.rb +1 -1
- data/lib/songtradr_api_client_ruby/models/files_summary_dto.rb +1 -1
- data/lib/songtradr_api_client_ruby/models/forgot_password_dto.rb +1 -1
- data/lib/songtradr_api_client_ruby/models/genre_dto.rb +1 -1
- data/lib/songtradr_api_client_ruby/models/genre_minimal_dto.rb +1 -1
- data/lib/songtradr_api_client_ruby/models/genres_summary_dto.rb +1 -1
- data/lib/songtradr_api_client_ruby/models/init_put_recording_audio_dto.rb +1 -1
- data/lib/songtradr_api_client_ruby/models/jwt_token_dto.rb +1 -1
- data/lib/songtradr_api_client_ruby/models/login_dto.rb +1 -1
- data/lib/songtradr_api_client_ruby/models/musical_features_dto.rb +273 -273
- data/lib/songtradr_api_client_ruby/models/p_line_dto.rb +1 -1
- data/lib/songtradr_api_client_ruby/models/party_large_dto.rb +1 -1
- data/lib/songtradr_api_client_ruby/models/party_small_dto.rb +1 -1
- data/lib/songtradr_api_client_ruby/models/playlist_large_dto.rb +36 -36
- data/lib/songtradr_api_client_ruby/models/product_medium_dto.rb +29 -29
- data/lib/songtradr_api_client_ruby/models/product_party_dto.rb +14 -14
- data/lib/songtradr_api_client_ruby/models/recording_for_similarity_search_dto.rb +1 -1
- data/lib/songtradr_api_client_ruby/models/recording_genre_prediction_dto.rb +19 -19
- data/lib/songtradr_api_client_ruby/models/recording_large_dto.rb +64 -64
- data/lib/songtradr_api_client_ruby/models/recording_list_dto.rb +1 -1
- data/lib/songtradr_api_client_ruby/models/recording_medium_dto.rb +60 -60
- data/lib/songtradr_api_client_ruby/models/recording_minimal_with_musical_features_dto.rb +14 -14
- data/lib/songtradr_api_client_ruby/models/recording_minimal_with_taggrams_dto.rb +1 -1
- data/lib/songtradr_api_client_ruby/models/recording_minimal_with_tagstrengths_dto.rb +1 -1
- data/lib/songtradr_api_client_ruby/models/recording_party_dto.rb +14 -14
- data/lib/songtradr_api_client_ruby/models/recording_playlist_dto.rb +1 -1
- data/lib/songtradr_api_client_ruby/models/recording_small_dto.rb +22 -22
- data/lib/songtradr_api_client_ruby/models/recording_tag_small_dto.rb +1 -1
- data/lib/songtradr_api_client_ruby/models/save_file_recording_dto.rb +1 -1
- data/lib/songtradr_api_client_ruby/models/save_playlist_dto.rb +1 -1
- data/lib/songtradr_api_client_ruby/models/save_recording_genre_dto.rb +1 -1
- data/lib/songtradr_api_client_ruby/models/save_recording_party_dto.rb +1 -1
- data/lib/songtradr_api_client_ruby/models/save_recording_playlist_dto.rb +1 -1
- data/lib/songtradr_api_client_ruby/models/save_recording_tag_dto.rb +1 -1
- data/lib/songtradr_api_client_ruby/models/save_referrer_dto.rb +1 -1
- data/lib/songtradr_api_client_ruby/models/save_taggrams_dto.rb +1 -1
- data/lib/songtradr_api_client_ruby/models/save_user_dto.rb +1 -1
- data/lib/songtradr_api_client_ruby/models/search_filter_values_dto.rb +1 -1
- data/lib/songtradr_api_client_ruby/models/search_recording_granular_abstraction_dto.rb +1 -1
- data/lib/songtradr_api_client_ruby/models/search_recording_granular_dto.rb +1 -1
- data/lib/songtradr_api_client_ruby/models/sign_up_dto.rb +1 -1
- data/lib/songtradr_api_client_ruby/models/tag_dto.rb +1 -1
- data/lib/songtradr_api_client_ruby/models/tag_small_dto.rb +1 -1
- data/lib/songtradr_api_client_ruby/models/taggram_dto.rb +1 -1
- data/lib/songtradr_api_client_ruby/models/tags_summary_dto.rb +1 -1
- data/lib/songtradr_api_client_ruby/models/tagstrength_dto.rb +1 -1
- data/lib/songtradr_api_client_ruby/models/title_dto.rb +1 -1
- data/lib/songtradr_api_client_ruby/models/token_request.rb +1 -1
- data/lib/songtradr_api_client_ruby/models/track_to_medium_product_dto.rb +1 -1
- data/lib/songtradr_api_client_ruby/models/update_password_dto.rb +1 -1
- data/lib/songtradr_api_client_ruby/models/usage_dto.rb +1 -1
- data/lib/songtradr_api_client_ruby/models/user_dto.rb +1 -1
- data/lib/songtradr_api_client_ruby/version.rb +2 -2
- data/lib/songtradr_api_client_ruby.rb +1 -1
- data/openapi-generator-config.yaml +4 -3
- data/songtradr_api_client_ruby.gemspec +4 -4
- data/spec/api/allowed_values_api_spec.rb +1 -1
- data/spec/api/party_api_spec.rb +1 -1
- data/spec/api/playlist_api_spec.rb +1 -1
- data/spec/api/recording_api_spec.rb +1 -1
- data/spec/api/user_api_spec.rb +1 -1
- data/spec/api_client_spec.rb +1 -1
- data/spec/configuration_spec.rb +1 -1
- data/spec/models/category_medium_dto_spec.rb +3 -3
- data/spec/models/category_minimal_dto_spec.rb +1 -1
- data/spec/models/config_access_dto_spec.rb +1 -1
- data/spec/models/config_identifier_dto_spec.rb +1 -1
- data/spec/models/contributor_type_dto_spec.rb +1 -1
- data/spec/models/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 +7 -7
- 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 +104 -104
- 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 +7 -7
- 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 +4 -4
- data/spec/models/recording_large_dto_spec.rb +12 -12
- data/spec/models/recording_list_dto_spec.rb +1 -1
- data/spec/models/recording_medium_dto_spec.rb +11 -11
- data/spec/models/recording_minimal_with_musical_features_dto_spec.rb +3 -3
- data/spec/models/recording_minimal_with_taggrams_dto_spec.rb +1 -1
- data/spec/models/recording_minimal_with_tagstrengths_dto_spec.rb +1 -1
- data/spec/models/recording_party_dto_spec.rb +3 -3
- data/spec/models/recording_playlist_dto_spec.rb +1 -1
- data/spec/models/recording_small_dto_spec.rb +3 -3
- data/spec/models/recording_tag_small_dto_spec.rb +1 -1
- data/spec/models/save_file_recording_dto_spec.rb +1 -1
- data/spec/models/save_playlist_dto_spec.rb +1 -1
- data/spec/models/save_recording_genre_dto_spec.rb +1 -1
- data/spec/models/save_recording_party_dto_spec.rb +1 -1
- data/spec/models/save_recording_playlist_dto_spec.rb +1 -1
- data/spec/models/save_recording_tag_dto_spec.rb +1 -1
- data/spec/models/save_referrer_dto_spec.rb +1 -1
- data/spec/models/save_taggrams_dto_spec.rb +1 -1
- data/spec/models/save_user_dto_spec.rb +1 -1
- data/spec/models/search_filter_values_dto_spec.rb +1 -1
- data/spec/models/search_recording_granular_abstraction_dto_spec.rb +1 -1
- data/spec/models/search_recording_granular_dto_spec.rb +1 -1
- data/spec/models/sign_up_dto_spec.rb +1 -1
- data/spec/models/tag_dto_spec.rb +1 -1
- data/spec/models/tag_small_dto_spec.rb +1 -1
- data/spec/models/taggram_dto_spec.rb +1 -1
- data/spec/models/tags_summary_dto_spec.rb +1 -1
- data/spec/models/tagstrength_dto_spec.rb +1 -1
- data/spec/models/title_dto_spec.rb +1 -1
- data/spec/models/token_request_spec.rb +1 -1
- data/spec/models/track_to_medium_product_dto_spec.rb +1 -1
- data/spec/models/update_password_dto_spec.rb +1 -1
- data/spec/models/usage_dto_spec.rb +1 -1
- data/spec/models/user_dto_spec.rb +1 -1
- data/spec/spec_helper.rb +1 -1
- metadata +58 -78
@@ -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.22
|
7
7
|
Contact: info@songtradr.com
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
9
|
OpenAPI Generator version: 7.0.0-SNAPSHOT
|
@@ -18,43 +18,43 @@ module SongtradrApiClientRuby
|
|
18
18
|
class RecordingLargeDTO
|
19
19
|
attr_accessor :duration
|
20
20
|
|
21
|
-
attr_accessor :tags
|
22
|
-
|
23
|
-
attr_accessor :pline
|
24
|
-
|
25
|
-
attr_accessor :isrc
|
26
|
-
|
27
|
-
attr_accessor :titles
|
28
|
-
|
29
21
|
attr_accessor :tracks
|
30
22
|
|
31
23
|
attr_accessor :musical_features
|
32
24
|
|
25
|
+
attr_accessor :pline
|
26
|
+
|
27
|
+
attr_accessor :genre_predictions
|
28
|
+
|
33
29
|
attr_accessor :parties
|
34
30
|
|
35
31
|
attr_accessor :genres
|
36
32
|
|
37
33
|
attr_accessor :language_of_performance
|
38
34
|
|
39
|
-
attr_accessor :
|
35
|
+
attr_accessor :titles
|
40
36
|
|
41
|
-
attr_accessor :
|
37
|
+
attr_accessor :isrc
|
38
|
+
|
39
|
+
attr_accessor :tags
|
40
|
+
|
41
|
+
attr_accessor :spotify_id
|
42
42
|
|
43
43
|
# Attribute mapping from ruby-style variable name to JSON key.
|
44
44
|
def self.attribute_map
|
45
45
|
{
|
46
46
|
:'duration' => :'duration',
|
47
|
-
:'tags' => :'tags',
|
48
|
-
:'pline' => :'pline',
|
49
|
-
:'isrc' => :'isrc',
|
50
|
-
:'titles' => :'titles',
|
51
47
|
:'tracks' => :'tracks',
|
52
48
|
:'musical_features' => :'musicalFeatures',
|
49
|
+
:'pline' => :'pline',
|
50
|
+
:'genre_predictions' => :'genrePredictions',
|
53
51
|
:'parties' => :'parties',
|
54
52
|
:'genres' => :'genres',
|
55
53
|
:'language_of_performance' => :'languageOfPerformance',
|
56
|
-
:'
|
57
|
-
:'
|
54
|
+
:'titles' => :'titles',
|
55
|
+
:'isrc' => :'isrc',
|
56
|
+
:'tags' => :'tags',
|
57
|
+
:'spotify_id' => :'spotifyId'
|
58
58
|
}
|
59
59
|
end
|
60
60
|
|
@@ -67,17 +67,17 @@ module SongtradrApiClientRuby
|
|
67
67
|
def self.openapi_types
|
68
68
|
{
|
69
69
|
:'duration' => :'Integer',
|
70
|
-
:'tags' => :'Array<RecordingTagSmallDTO>',
|
71
|
-
:'pline' => :'PLineDTO',
|
72
|
-
:'isrc' => :'String',
|
73
|
-
:'titles' => :'Array<TitleDTO>',
|
74
70
|
:'tracks' => :'Array<TrackToMediumProductDTO>',
|
75
71
|
:'musical_features' => :'MusicalFeaturesDTO',
|
72
|
+
:'pline' => :'PLineDTO',
|
73
|
+
:'genre_predictions' => :'Array<RecordingGenrePredictionDTO>',
|
76
74
|
:'parties' => :'Array<RecordingPartyDTO>',
|
77
75
|
:'genres' => :'Array<GenreDTO>',
|
78
76
|
:'language_of_performance' => :'String',
|
79
|
-
:'
|
80
|
-
:'
|
77
|
+
:'titles' => :'Array<TitleDTO>',
|
78
|
+
:'isrc' => :'String',
|
79
|
+
:'tags' => :'Array<RecordingTagSmallDTO>',
|
80
|
+
:'spotify_id' => :'String'
|
81
81
|
}
|
82
82
|
end
|
83
83
|
|
@@ -106,26 +106,6 @@ module SongtradrApiClientRuby
|
|
106
106
|
self.duration = attributes[:'duration']
|
107
107
|
end
|
108
108
|
|
109
|
-
if attributes.key?(:'tags')
|
110
|
-
if (value = attributes[:'tags']).is_a?(Array)
|
111
|
-
self.tags = value
|
112
|
-
end
|
113
|
-
end
|
114
|
-
|
115
|
-
if attributes.key?(:'pline')
|
116
|
-
self.pline = attributes[:'pline']
|
117
|
-
end
|
118
|
-
|
119
|
-
if attributes.key?(:'isrc')
|
120
|
-
self.isrc = attributes[:'isrc']
|
121
|
-
end
|
122
|
-
|
123
|
-
if attributes.key?(:'titles')
|
124
|
-
if (value = attributes[:'titles']).is_a?(Array)
|
125
|
-
self.titles = value
|
126
|
-
end
|
127
|
-
end
|
128
|
-
|
129
109
|
if attributes.key?(:'tracks')
|
130
110
|
if (value = attributes[:'tracks']).is_a?(Array)
|
131
111
|
self.tracks = value
|
@@ -136,6 +116,16 @@ module SongtradrApiClientRuby
|
|
136
116
|
self.musical_features = attributes[:'musical_features']
|
137
117
|
end
|
138
118
|
|
119
|
+
if attributes.key?(:'pline')
|
120
|
+
self.pline = attributes[:'pline']
|
121
|
+
end
|
122
|
+
|
123
|
+
if attributes.key?(:'genre_predictions')
|
124
|
+
if (value = attributes[:'genre_predictions']).is_a?(Array)
|
125
|
+
self.genre_predictions = value
|
126
|
+
end
|
127
|
+
end
|
128
|
+
|
139
129
|
if attributes.key?(:'parties')
|
140
130
|
if (value = attributes[:'parties']).is_a?(Array)
|
141
131
|
self.parties = value
|
@@ -152,15 +142,25 @@ module SongtradrApiClientRuby
|
|
152
142
|
self.language_of_performance = attributes[:'language_of_performance']
|
153
143
|
end
|
154
144
|
|
155
|
-
if attributes.key?(:'
|
156
|
-
|
145
|
+
if attributes.key?(:'titles')
|
146
|
+
if (value = attributes[:'titles']).is_a?(Array)
|
147
|
+
self.titles = value
|
148
|
+
end
|
157
149
|
end
|
158
150
|
|
159
|
-
if attributes.key?(:'
|
160
|
-
|
161
|
-
|
151
|
+
if attributes.key?(:'isrc')
|
152
|
+
self.isrc = attributes[:'isrc']
|
153
|
+
end
|
154
|
+
|
155
|
+
if attributes.key?(:'tags')
|
156
|
+
if (value = attributes[:'tags']).is_a?(Array)
|
157
|
+
self.tags = value
|
162
158
|
end
|
163
159
|
end
|
160
|
+
|
161
|
+
if attributes.key?(:'spotify_id')
|
162
|
+
self.spotify_id = attributes[:'spotify_id']
|
163
|
+
end
|
164
164
|
end
|
165
165
|
|
166
166
|
# Show invalid properties with the reasons. Usually used together with valid?
|
@@ -181,18 +181,18 @@ module SongtradrApiClientRuby
|
|
181
181
|
true
|
182
182
|
end
|
183
183
|
|
184
|
-
# Custom attribute writer method with validation
|
185
|
-
# @param [Object] titles Value to be assigned
|
186
|
-
def titles=(titles)
|
187
|
-
@titles = titles
|
188
|
-
end
|
189
|
-
|
190
184
|
# Custom attribute writer method with validation
|
191
185
|
# @param [Object] tracks Value to be assigned
|
192
186
|
def tracks=(tracks)
|
193
187
|
@tracks = tracks
|
194
188
|
end
|
195
189
|
|
190
|
+
# Custom attribute writer method with validation
|
191
|
+
# @param [Object] genre_predictions Value to be assigned
|
192
|
+
def genre_predictions=(genre_predictions)
|
193
|
+
@genre_predictions = genre_predictions
|
194
|
+
end
|
195
|
+
|
196
196
|
# Custom attribute writer method with validation
|
197
197
|
# @param [Object] parties Value to be assigned
|
198
198
|
def parties=(parties)
|
@@ -206,9 +206,9 @@ module SongtradrApiClientRuby
|
|
206
206
|
end
|
207
207
|
|
208
208
|
# Custom attribute writer method with validation
|
209
|
-
# @param [Object]
|
210
|
-
def
|
211
|
-
@
|
209
|
+
# @param [Object] titles Value to be assigned
|
210
|
+
def titles=(titles)
|
211
|
+
@titles = titles
|
212
212
|
end
|
213
213
|
|
214
214
|
# Checks equality by comparing each attribute.
|
@@ -217,17 +217,17 @@ module SongtradrApiClientRuby
|
|
217
217
|
return true if self.equal?(o)
|
218
218
|
self.class == o.class &&
|
219
219
|
duration == o.duration &&
|
220
|
-
tags == o.tags &&
|
221
|
-
pline == o.pline &&
|
222
|
-
isrc == o.isrc &&
|
223
|
-
titles == o.titles &&
|
224
220
|
tracks == o.tracks &&
|
225
221
|
musical_features == o.musical_features &&
|
222
|
+
pline == o.pline &&
|
223
|
+
genre_predictions == o.genre_predictions &&
|
226
224
|
parties == o.parties &&
|
227
225
|
genres == o.genres &&
|
228
226
|
language_of_performance == o.language_of_performance &&
|
229
|
-
|
230
|
-
|
227
|
+
titles == o.titles &&
|
228
|
+
isrc == o.isrc &&
|
229
|
+
tags == o.tags &&
|
230
|
+
spotify_id == o.spotify_id
|
231
231
|
end
|
232
232
|
|
233
233
|
# @see the `==` method
|
@@ -239,7 +239,7 @@ module SongtradrApiClientRuby
|
|
239
239
|
# Calculates hash code according to all attributes.
|
240
240
|
# @return [Integer] Hash code
|
241
241
|
def hash
|
242
|
-
[duration,
|
242
|
+
[duration, tracks, musical_features, pline, genre_predictions, parties, genres, language_of_performance, titles, isrc, tags, spotify_id].hash
|
243
243
|
end
|
244
244
|
|
245
245
|
# Builds the object from hash
|
@@ -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.22
|
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.22
|
7
7
|
Contact: info@songtradr.com
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
9
|
OpenAPI Generator version: 7.0.0-SNAPSHOT
|
@@ -16,39 +16,39 @@ require 'time'
|
|
16
16
|
module SongtradrApiClientRuby
|
17
17
|
# Recording with a mid-sized field set.
|
18
18
|
class RecordingMediumDTO
|
19
|
-
attr_accessor :tags
|
20
|
-
|
21
|
-
attr_accessor :isrc
|
22
|
-
|
23
|
-
attr_accessor :release_date
|
24
|
-
|
25
|
-
attr_accessor :titles
|
26
|
-
|
27
19
|
attr_accessor :musical_features
|
28
20
|
|
21
|
+
attr_accessor :genre_predictions
|
22
|
+
|
29
23
|
attr_accessor :recording_party_entities
|
30
24
|
|
31
25
|
attr_accessor :genres
|
32
26
|
|
33
27
|
attr_accessor :language_of_performance
|
34
28
|
|
35
|
-
attr_accessor :
|
29
|
+
attr_accessor :release_date
|
36
30
|
|
37
|
-
attr_accessor :
|
31
|
+
attr_accessor :titles
|
32
|
+
|
33
|
+
attr_accessor :isrc
|
34
|
+
|
35
|
+
attr_accessor :tags
|
36
|
+
|
37
|
+
attr_accessor :spotify_id
|
38
38
|
|
39
39
|
# Attribute mapping from ruby-style variable name to JSON key.
|
40
40
|
def self.attribute_map
|
41
41
|
{
|
42
|
-
:'tags' => :'tags',
|
43
|
-
:'isrc' => :'isrc',
|
44
|
-
:'release_date' => :'releaseDate',
|
45
|
-
:'titles' => :'titles',
|
46
42
|
:'musical_features' => :'musicalFeatures',
|
43
|
+
:'genre_predictions' => :'genrePredictions',
|
47
44
|
:'recording_party_entities' => :'recordingPartyEntities',
|
48
45
|
:'genres' => :'genres',
|
49
46
|
:'language_of_performance' => :'languageOfPerformance',
|
50
|
-
:'
|
51
|
-
:'
|
47
|
+
:'release_date' => :'releaseDate',
|
48
|
+
:'titles' => :'titles',
|
49
|
+
:'isrc' => :'isrc',
|
50
|
+
:'tags' => :'tags',
|
51
|
+
:'spotify_id' => :'spotifyId'
|
52
52
|
}
|
53
53
|
end
|
54
54
|
|
@@ -60,16 +60,16 @@ module SongtradrApiClientRuby
|
|
60
60
|
# Attribute type mapping.
|
61
61
|
def self.openapi_types
|
62
62
|
{
|
63
|
-
:'tags' => :'Array<RecordingTagSmallDTO>',
|
64
|
-
:'isrc' => :'String',
|
65
|
-
:'release_date' => :'Time',
|
66
|
-
:'titles' => :'Array<TitleDTO>',
|
67
63
|
:'musical_features' => :'MusicalFeaturesDTO',
|
64
|
+
:'genre_predictions' => :'Array<RecordingGenrePredictionDTO>',
|
68
65
|
:'recording_party_entities' => :'Array<RecordingPartyDTO>',
|
69
66
|
:'genres' => :'Array<GenreDTO>',
|
70
67
|
:'language_of_performance' => :'String',
|
71
|
-
:'
|
72
|
-
:'
|
68
|
+
:'release_date' => :'Time',
|
69
|
+
:'titles' => :'Array<TitleDTO>',
|
70
|
+
:'isrc' => :'String',
|
71
|
+
:'tags' => :'Array<RecordingTagSmallDTO>',
|
72
|
+
:'spotify_id' => :'String'
|
73
73
|
}
|
74
74
|
end
|
75
75
|
|
@@ -94,30 +94,16 @@ module SongtradrApiClientRuby
|
|
94
94
|
h[k.to_sym] = v
|
95
95
|
}
|
96
96
|
|
97
|
-
if attributes.key?(:'
|
98
|
-
|
99
|
-
self.tags = value
|
100
|
-
end
|
101
|
-
end
|
102
|
-
|
103
|
-
if attributes.key?(:'isrc')
|
104
|
-
self.isrc = attributes[:'isrc']
|
105
|
-
end
|
106
|
-
|
107
|
-
if attributes.key?(:'release_date')
|
108
|
-
self.release_date = attributes[:'release_date']
|
97
|
+
if attributes.key?(:'musical_features')
|
98
|
+
self.musical_features = attributes[:'musical_features']
|
109
99
|
end
|
110
100
|
|
111
|
-
if attributes.key?(:'
|
112
|
-
if (value = attributes[:'
|
113
|
-
self.
|
101
|
+
if attributes.key?(:'genre_predictions')
|
102
|
+
if (value = attributes[:'genre_predictions']).is_a?(Array)
|
103
|
+
self.genre_predictions = value
|
114
104
|
end
|
115
105
|
end
|
116
106
|
|
117
|
-
if attributes.key?(:'musical_features')
|
118
|
-
self.musical_features = attributes[:'musical_features']
|
119
|
-
end
|
120
|
-
|
121
107
|
if attributes.key?(:'recording_party_entities')
|
122
108
|
if (value = attributes[:'recording_party_entities']).is_a?(Array)
|
123
109
|
self.recording_party_entities = value
|
@@ -134,15 +120,29 @@ module SongtradrApiClientRuby
|
|
134
120
|
self.language_of_performance = attributes[:'language_of_performance']
|
135
121
|
end
|
136
122
|
|
137
|
-
if attributes.key?(:'
|
138
|
-
self.
|
123
|
+
if attributes.key?(:'release_date')
|
124
|
+
self.release_date = attributes[:'release_date']
|
139
125
|
end
|
140
126
|
|
141
|
-
if attributes.key?(:'
|
142
|
-
if (value = attributes[:'
|
143
|
-
self.
|
127
|
+
if attributes.key?(:'titles')
|
128
|
+
if (value = attributes[:'titles']).is_a?(Array)
|
129
|
+
self.titles = value
|
130
|
+
end
|
131
|
+
end
|
132
|
+
|
133
|
+
if attributes.key?(:'isrc')
|
134
|
+
self.isrc = attributes[:'isrc']
|
135
|
+
end
|
136
|
+
|
137
|
+
if attributes.key?(:'tags')
|
138
|
+
if (value = attributes[:'tags']).is_a?(Array)
|
139
|
+
self.tags = value
|
144
140
|
end
|
145
141
|
end
|
142
|
+
|
143
|
+
if attributes.key?(:'spotify_id')
|
144
|
+
self.spotify_id = attributes[:'spotify_id']
|
145
|
+
end
|
146
146
|
end
|
147
147
|
|
148
148
|
# Show invalid properties with the reasons. Usually used together with valid?
|
@@ -164,9 +164,9 @@ module SongtradrApiClientRuby
|
|
164
164
|
end
|
165
165
|
|
166
166
|
# Custom attribute writer method with validation
|
167
|
-
# @param [Object]
|
168
|
-
def
|
169
|
-
@
|
167
|
+
# @param [Object] genre_predictions Value to be assigned
|
168
|
+
def genre_predictions=(genre_predictions)
|
169
|
+
@genre_predictions = genre_predictions
|
170
170
|
end
|
171
171
|
|
172
172
|
# Custom attribute writer method with validation
|
@@ -182,9 +182,9 @@ module SongtradrApiClientRuby
|
|
182
182
|
end
|
183
183
|
|
184
184
|
# Custom attribute writer method with validation
|
185
|
-
# @param [Object]
|
186
|
-
def
|
187
|
-
@
|
185
|
+
# @param [Object] titles Value to be assigned
|
186
|
+
def titles=(titles)
|
187
|
+
@titles = titles
|
188
188
|
end
|
189
189
|
|
190
190
|
# Checks equality by comparing each attribute.
|
@@ -192,16 +192,16 @@ module SongtradrApiClientRuby
|
|
192
192
|
def ==(o)
|
193
193
|
return true if self.equal?(o)
|
194
194
|
self.class == o.class &&
|
195
|
-
tags == o.tags &&
|
196
|
-
isrc == o.isrc &&
|
197
|
-
release_date == o.release_date &&
|
198
|
-
titles == o.titles &&
|
199
195
|
musical_features == o.musical_features &&
|
196
|
+
genre_predictions == o.genre_predictions &&
|
200
197
|
recording_party_entities == o.recording_party_entities &&
|
201
198
|
genres == o.genres &&
|
202
199
|
language_of_performance == o.language_of_performance &&
|
203
|
-
|
204
|
-
|
200
|
+
release_date == o.release_date &&
|
201
|
+
titles == o.titles &&
|
202
|
+
isrc == o.isrc &&
|
203
|
+
tags == o.tags &&
|
204
|
+
spotify_id == o.spotify_id
|
205
205
|
end
|
206
206
|
|
207
207
|
# @see the `==` method
|
@@ -213,7 +213,7 @@ module SongtradrApiClientRuby
|
|
213
213
|
# Calculates hash code according to all attributes.
|
214
214
|
# @return [Integer] Hash code
|
215
215
|
def hash
|
216
|
-
[
|
216
|
+
[musical_features, genre_predictions, recording_party_entities, genres, language_of_performance, release_date, titles, isrc, tags, spotify_id].hash
|
217
217
|
end
|
218
218
|
|
219
219
|
# Builds the object from hash
|
@@ -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.22
|
7
7
|
Contact: info@songtradr.com
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
9
|
OpenAPI Generator version: 7.0.0-SNAPSHOT
|
@@ -16,15 +16,15 @@ require 'time'
|
|
16
16
|
module SongtradrApiClientRuby
|
17
17
|
# Recording in its minimal form, but with AI-predicted musical features.
|
18
18
|
class RecordingMinimalWithMusicalFeaturesDTO
|
19
|
-
attr_accessor :isrc
|
20
|
-
|
21
19
|
attr_accessor :musical_features
|
22
20
|
|
21
|
+
attr_accessor :isrc
|
22
|
+
|
23
23
|
# Attribute mapping from ruby-style variable name to JSON key.
|
24
24
|
def self.attribute_map
|
25
25
|
{
|
26
|
-
:'
|
27
|
-
:'
|
26
|
+
:'musical_features' => :'musicalFeatures',
|
27
|
+
:'isrc' => :'isrc'
|
28
28
|
}
|
29
29
|
end
|
30
30
|
|
@@ -36,8 +36,8 @@ module SongtradrApiClientRuby
|
|
36
36
|
# Attribute type mapping.
|
37
37
|
def self.openapi_types
|
38
38
|
{
|
39
|
-
:'
|
40
|
-
:'
|
39
|
+
:'musical_features' => :'Array<MusicalFeaturesDTO>',
|
40
|
+
:'isrc' => :'String'
|
41
41
|
}
|
42
42
|
end
|
43
43
|
|
@@ -62,15 +62,15 @@ module SongtradrApiClientRuby
|
|
62
62
|
h[k.to_sym] = v
|
63
63
|
}
|
64
64
|
|
65
|
-
if attributes.key?(:'isrc')
|
66
|
-
self.isrc = attributes[:'isrc']
|
67
|
-
end
|
68
|
-
|
69
65
|
if attributes.key?(:'musical_features')
|
70
66
|
if (value = attributes[:'musical_features']).is_a?(Array)
|
71
67
|
self.musical_features = value
|
72
68
|
end
|
73
69
|
end
|
70
|
+
|
71
|
+
if attributes.key?(:'isrc')
|
72
|
+
self.isrc = attributes[:'isrc']
|
73
|
+
end
|
74
74
|
end
|
75
75
|
|
76
76
|
# Show invalid properties with the reasons. Usually used together with valid?
|
@@ -96,8 +96,8 @@ module SongtradrApiClientRuby
|
|
96
96
|
def ==(o)
|
97
97
|
return true if self.equal?(o)
|
98
98
|
self.class == o.class &&
|
99
|
-
|
100
|
-
|
99
|
+
musical_features == o.musical_features &&
|
100
|
+
isrc == o.isrc
|
101
101
|
end
|
102
102
|
|
103
103
|
# @see the `==` method
|
@@ -109,7 +109,7 @@ module SongtradrApiClientRuby
|
|
109
109
|
# Calculates hash code according to all attributes.
|
110
110
|
# @return [Integer] Hash code
|
111
111
|
def hash
|
112
|
-
[
|
112
|
+
[musical_features, isrc].hash
|
113
113
|
end
|
114
114
|
|
115
115
|
# Builds the object from hash
|
@@ -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.22
|
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.22
|
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.22
|
7
7
|
Contact: info@songtradr.com
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
9
|
OpenAPI Generator version: 7.0.0-SNAPSHOT
|
@@ -16,15 +16,15 @@ require 'time'
|
|
16
16
|
module SongtradrApiClientRuby
|
17
17
|
# Party (person, group or organization) that contributed to a recording.
|
18
18
|
class RecordingPartyDTO
|
19
|
-
attr_accessor :contributor_types
|
20
|
-
|
21
19
|
attr_accessor :party
|
22
20
|
|
21
|
+
attr_accessor :contributor_types
|
22
|
+
|
23
23
|
# Attribute mapping from ruby-style variable name to JSON key.
|
24
24
|
def self.attribute_map
|
25
25
|
{
|
26
|
-
:'
|
27
|
-
:'
|
26
|
+
:'party' => :'party',
|
27
|
+
:'contributor_types' => :'contributorTypes'
|
28
28
|
}
|
29
29
|
end
|
30
30
|
|
@@ -36,8 +36,8 @@ module SongtradrApiClientRuby
|
|
36
36
|
# Attribute type mapping.
|
37
37
|
def self.openapi_types
|
38
38
|
{
|
39
|
-
:'
|
40
|
-
:'
|
39
|
+
:'party' => :'PartySmallDTO',
|
40
|
+
:'contributor_types' => :'Array<ContributorTypeDTO>'
|
41
41
|
}
|
42
42
|
end
|
43
43
|
|
@@ -62,15 +62,15 @@ module SongtradrApiClientRuby
|
|
62
62
|
h[k.to_sym] = v
|
63
63
|
}
|
64
64
|
|
65
|
+
if attributes.key?(:'party')
|
66
|
+
self.party = attributes[:'party']
|
67
|
+
end
|
68
|
+
|
65
69
|
if attributes.key?(:'contributor_types')
|
66
70
|
if (value = attributes[:'contributor_types']).is_a?(Array)
|
67
71
|
self.contributor_types = value
|
68
72
|
end
|
69
73
|
end
|
70
|
-
|
71
|
-
if attributes.key?(:'party')
|
72
|
-
self.party = attributes[:'party']
|
73
|
-
end
|
74
74
|
end
|
75
75
|
|
76
76
|
# Show invalid properties with the reasons. Usually used together with valid?
|
@@ -96,8 +96,8 @@ module SongtradrApiClientRuby
|
|
96
96
|
def ==(o)
|
97
97
|
return true if self.equal?(o)
|
98
98
|
self.class == o.class &&
|
99
|
-
|
100
|
-
|
99
|
+
party == o.party &&
|
100
|
+
contributor_types == o.contributor_types
|
101
101
|
end
|
102
102
|
|
103
103
|
# @see the `==` method
|
@@ -109,7 +109,7 @@ module SongtradrApiClientRuby
|
|
109
109
|
# Calculates hash code according to all attributes.
|
110
110
|
# @return [Integer] Hash code
|
111
111
|
def hash
|
112
|
-
[
|
112
|
+
[party, contributor_types].hash
|
113
113
|
end
|
114
114
|
|
115
115
|
# Builds the object from hash
|
@@ -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.22
|
7
7
|
Contact: info@songtradr.com
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
9
|
OpenAPI Generator version: 7.0.0-SNAPSHOT
|