songtradr_api_client_ruby 1.12.21 → 1.12.23

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.
Files changed (175) hide show
  1. checksums.yaml +4 -4
  2. data/Gemfile.lock +5 -5
  3. data/README.md +26 -12
  4. data/docs/APIKeysApi.md +217 -0
  5. data/docs/AdminApiUserDTO.md +70 -0
  6. data/docs/ApiKeyDTO.md +24 -0
  7. data/docs/CategoryMediumDTO.md +3 -3
  8. data/docs/CreateApiKeyDTO.md +18 -0
  9. data/docs/MusicalFeaturesDTO.md +54 -54
  10. data/docs/PlaylistLargeDTO.md +3 -3
  11. data/docs/ProductMediumDTO.md +9 -9
  12. data/docs/RecordingLargeDTO.md +14 -14
  13. data/docs/RecordingMediumDTO.md +14 -14
  14. data/docs/RecordingMinimalWithMusicalFeaturesDTO.md +3 -3
  15. data/docs/RecordingPlaylistDTO.md +3 -3
  16. data/docs/RecordingSmallDTO.md +4 -4
  17. data/docs/UserDTO.md +2 -0
  18. data/getspec.rb +28 -5
  19. data/lib/songtradr_api_client_ruby/api/allowed_values_api.rb +1 -1
  20. data/lib/songtradr_api_client_ruby/api/api_keys_api.rb +213 -0
  21. data/lib/songtradr_api_client_ruby/api/party_api.rb +1 -1
  22. data/lib/songtradr_api_client_ruby/api/playlist_api.rb +1 -1
  23. data/lib/songtradr_api_client_ruby/api/recording_api.rb +1 -1
  24. data/lib/songtradr_api_client_ruby/api/user_api.rb +1 -1
  25. data/lib/songtradr_api_client_ruby/api_client.rb +1 -1
  26. data/lib/songtradr_api_client_ruby/api_error.rb +1 -1
  27. data/lib/songtradr_api_client_ruby/configuration.rb +1 -1
  28. data/lib/songtradr_api_client_ruby/models/admin_api_user_dto.rb +453 -0
  29. data/lib/songtradr_api_client_ruby/models/api_key_dto.rb +261 -0
  30. data/lib/songtradr_api_client_ruby/models/category_medium_dto.rb +14 -14
  31. data/lib/songtradr_api_client_ruby/models/category_minimal_dto.rb +1 -1
  32. data/lib/songtradr_api_client_ruby/models/config_access_dto.rb +1 -1
  33. data/lib/songtradr_api_client_ruby/models/config_identifier_dto.rb +1 -1
  34. data/lib/songtradr_api_client_ruby/models/contributor_type_dto.rb +1 -1
  35. data/lib/songtradr_api_client_ruby/models/create_api_key_dto.rb +219 -0
  36. data/lib/songtradr_api_client_ruby/models/error_response.rb +1 -1
  37. data/lib/songtradr_api_client_ruby/models/field_summary_dto.rb +1 -1
  38. data/lib/songtradr_api_client_ruby/models/file_dto.rb +1 -1
  39. data/lib/songtradr_api_client_ruby/models/file_list_dto.rb +1 -1
  40. data/lib/songtradr_api_client_ruby/models/file_minimal_with_url_dto.rb +1 -1
  41. data/lib/songtradr_api_client_ruby/models/file_small_dto.rb +1 -1
  42. data/lib/songtradr_api_client_ruby/models/file_upload_dto.rb +1 -1
  43. data/lib/songtradr_api_client_ruby/models/file_w_ith_url_dto.rb +1 -1
  44. data/lib/songtradr_api_client_ruby/models/files_summary_dto.rb +1 -1
  45. data/lib/songtradr_api_client_ruby/models/forgot_password_dto.rb +1 -1
  46. data/lib/songtradr_api_client_ruby/models/genre_dto.rb +1 -1
  47. data/lib/songtradr_api_client_ruby/models/genre_minimal_dto.rb +1 -1
  48. data/lib/songtradr_api_client_ruby/models/genres_summary_dto.rb +1 -1
  49. data/lib/songtradr_api_client_ruby/models/init_put_recording_audio_dto.rb +1 -1
  50. data/lib/songtradr_api_client_ruby/models/jwt_token_dto.rb +1 -1
  51. data/lib/songtradr_api_client_ruby/models/login_dto.rb +1 -1
  52. data/lib/songtradr_api_client_ruby/models/musical_features_dto.rb +448 -448
  53. data/lib/songtradr_api_client_ruby/models/p_line_dto.rb +1 -1
  54. data/lib/songtradr_api_client_ruby/models/party_large_dto.rb +1 -1
  55. data/lib/songtradr_api_client_ruby/models/party_small_dto.rb +1 -1
  56. data/lib/songtradr_api_client_ruby/models/playlist_large_dto.rb +16 -16
  57. data/lib/songtradr_api_client_ruby/models/product_medium_dto.rb +51 -51
  58. data/lib/songtradr_api_client_ruby/models/product_party_dto.rb +1 -1
  59. data/lib/songtradr_api_client_ruby/models/recording_for_similarity_search_dto.rb +1 -1
  60. data/lib/songtradr_api_client_ruby/models/recording_genre_prediction_dto.rb +1 -1
  61. data/lib/songtradr_api_client_ruby/models/recording_large_dto.rb +71 -71
  62. data/lib/songtradr_api_client_ruby/models/recording_list_dto.rb +1 -1
  63. data/lib/songtradr_api_client_ruby/models/recording_medium_dto.rb +63 -63
  64. data/lib/songtradr_api_client_ruby/models/recording_minimal_with_musical_features_dto.rb +14 -14
  65. data/lib/songtradr_api_client_ruby/models/recording_minimal_with_taggrams_dto.rb +1 -1
  66. data/lib/songtradr_api_client_ruby/models/recording_minimal_with_tagstrengths_dto.rb +1 -1
  67. data/lib/songtradr_api_client_ruby/models/recording_party_dto.rb +1 -1
  68. data/lib/songtradr_api_client_ruby/models/recording_playlist_dto.rb +14 -14
  69. data/lib/songtradr_api_client_ruby/models/recording_small_dto.rb +22 -22
  70. data/lib/songtradr_api_client_ruby/models/recording_tag_small_dto.rb +1 -1
  71. data/lib/songtradr_api_client_ruby/models/save_file_recording_dto.rb +1 -1
  72. data/lib/songtradr_api_client_ruby/models/save_playlist_dto.rb +1 -1
  73. data/lib/songtradr_api_client_ruby/models/save_recording_genre_dto.rb +1 -1
  74. data/lib/songtradr_api_client_ruby/models/save_recording_party_dto.rb +1 -1
  75. data/lib/songtradr_api_client_ruby/models/save_recording_playlist_dto.rb +1 -1
  76. data/lib/songtradr_api_client_ruby/models/save_recording_tag_dto.rb +1 -1
  77. data/lib/songtradr_api_client_ruby/models/save_referrer_dto.rb +1 -1
  78. data/lib/songtradr_api_client_ruby/models/save_taggrams_dto.rb +1 -1
  79. data/lib/songtradr_api_client_ruby/models/save_user_dto.rb +1 -1
  80. data/lib/songtradr_api_client_ruby/models/search_filter_values_dto.rb +1 -1
  81. data/lib/songtradr_api_client_ruby/models/search_recording_granular_abstraction_dto.rb +1 -1
  82. data/lib/songtradr_api_client_ruby/models/search_recording_granular_dto.rb +1 -1
  83. data/lib/songtradr_api_client_ruby/models/sign_up_dto.rb +1 -1
  84. data/lib/songtradr_api_client_ruby/models/tag_dto.rb +1 -1
  85. data/lib/songtradr_api_client_ruby/models/tag_small_dto.rb +1 -1
  86. data/lib/songtradr_api_client_ruby/models/taggram_dto.rb +1 -1
  87. data/lib/songtradr_api_client_ruby/models/tags_summary_dto.rb +1 -1
  88. data/lib/songtradr_api_client_ruby/models/tagstrength_dto.rb +1 -1
  89. data/lib/songtradr_api_client_ruby/models/title_dto.rb +1 -1
  90. data/lib/songtradr_api_client_ruby/models/token_request.rb +1 -1
  91. data/lib/songtradr_api_client_ruby/models/track_to_medium_product_dto.rb +1 -1
  92. data/lib/songtradr_api_client_ruby/models/update_password_dto.rb +1 -1
  93. data/lib/songtradr_api_client_ruby/models/usage_dto.rb +1 -1
  94. data/lib/songtradr_api_client_ruby/models/user_dto.rb +16 -2
  95. data/lib/songtradr_api_client_ruby/version.rb +2 -2
  96. data/lib/songtradr_api_client_ruby.rb +5 -1
  97. data/openapi-generator-config.yaml +4 -3
  98. data/songtradr_api_client_ruby.gemspec +4 -4
  99. data/spec/api/allowed_values_api_spec.rb +1 -1
  100. data/spec/api/api_keys_api_spec.rb +70 -0
  101. data/spec/api/party_api_spec.rb +1 -1
  102. data/spec/api/playlist_api_spec.rb +1 -1
  103. data/spec/api/recording_api_spec.rb +1 -1
  104. data/spec/api/user_api_spec.rb +1 -1
  105. data/spec/api_client_spec.rb +1 -1
  106. data/spec/configuration_spec.rb +1 -1
  107. data/spec/models/admin_api_user_dto_spec.rb +190 -0
  108. data/spec/models/api_key_dto_spec.rb +52 -0
  109. data/spec/models/category_medium_dto_spec.rb +3 -3
  110. data/spec/models/category_minimal_dto_spec.rb +1 -1
  111. data/spec/models/config_access_dto_spec.rb +1 -1
  112. data/spec/models/config_identifier_dto_spec.rb +1 -1
  113. data/spec/models/contributor_type_dto_spec.rb +1 -1
  114. data/spec/models/create_api_key_dto_spec.rb +34 -0
  115. data/spec/models/error_response_spec.rb +1 -1
  116. data/spec/models/field_summary_dto_spec.rb +1 -1
  117. data/spec/models/file_dto_spec.rb +1 -1
  118. data/spec/models/file_list_dto_spec.rb +1 -1
  119. data/spec/models/file_minimal_with_url_dto_spec.rb +1 -1
  120. data/spec/models/file_small_dto_spec.rb +1 -1
  121. data/spec/models/file_upload_dto_spec.rb +1 -1
  122. data/spec/models/file_w_ith_url_dto_spec.rb +1 -1
  123. data/spec/models/files_summary_dto_spec.rb +1 -1
  124. data/spec/models/forgot_password_dto_spec.rb +1 -1
  125. data/spec/models/genre_dto_spec.rb +1 -1
  126. data/spec/models/genre_minimal_dto_spec.rb +1 -1
  127. data/spec/models/genres_summary_dto_spec.rb +1 -1
  128. data/spec/models/init_put_recording_audio_dto_spec.rb +1 -1
  129. data/spec/models/jwt_token_dto_spec.rb +1 -1
  130. data/spec/models/login_dto_spec.rb +1 -1
  131. data/spec/models/musical_features_dto_spec.rb +165 -165
  132. data/spec/models/p_line_dto_spec.rb +1 -1
  133. data/spec/models/party_large_dto_spec.rb +1 -1
  134. data/spec/models/party_small_dto_spec.rb +1 -1
  135. data/spec/models/playlist_large_dto_spec.rb +7 -7
  136. data/spec/models/product_medium_dto_spec.rb +9 -9
  137. data/spec/models/product_party_dto_spec.rb +1 -1
  138. data/spec/models/recording_for_similarity_search_dto_spec.rb +1 -1
  139. data/spec/models/recording_genre_prediction_dto_spec.rb +1 -1
  140. data/spec/models/recording_large_dto_spec.rb +12 -12
  141. data/spec/models/recording_list_dto_spec.rb +1 -1
  142. data/spec/models/recording_medium_dto_spec.rb +11 -11
  143. data/spec/models/recording_minimal_with_musical_features_dto_spec.rb +3 -3
  144. data/spec/models/recording_minimal_with_taggrams_dto_spec.rb +1 -1
  145. data/spec/models/recording_minimal_with_tagstrengths_dto_spec.rb +1 -1
  146. data/spec/models/recording_party_dto_spec.rb +1 -1
  147. data/spec/models/recording_playlist_dto_spec.rb +4 -4
  148. data/spec/models/recording_small_dto_spec.rb +3 -3
  149. data/spec/models/recording_tag_small_dto_spec.rb +1 -1
  150. data/spec/models/save_file_recording_dto_spec.rb +1 -1
  151. data/spec/models/save_playlist_dto_spec.rb +1 -1
  152. data/spec/models/save_recording_genre_dto_spec.rb +1 -1
  153. data/spec/models/save_recording_party_dto_spec.rb +1 -1
  154. data/spec/models/save_recording_playlist_dto_spec.rb +1 -1
  155. data/spec/models/save_recording_tag_dto_spec.rb +1 -1
  156. data/spec/models/save_referrer_dto_spec.rb +1 -1
  157. data/spec/models/save_taggrams_dto_spec.rb +1 -1
  158. data/spec/models/save_user_dto_spec.rb +1 -1
  159. data/spec/models/search_filter_values_dto_spec.rb +1 -1
  160. data/spec/models/search_recording_granular_abstraction_dto_spec.rb +1 -1
  161. data/spec/models/search_recording_granular_dto_spec.rb +1 -1
  162. data/spec/models/sign_up_dto_spec.rb +1 -1
  163. data/spec/models/tag_dto_spec.rb +1 -1
  164. data/spec/models/tag_small_dto_spec.rb +1 -1
  165. data/spec/models/taggram_dto_spec.rb +1 -1
  166. data/spec/models/tags_summary_dto_spec.rb +1 -1
  167. data/spec/models/tagstrength_dto_spec.rb +1 -1
  168. data/spec/models/title_dto_spec.rb +1 -1
  169. data/spec/models/token_request_spec.rb +1 -1
  170. data/spec/models/track_to_medium_product_dto_spec.rb +1 -1
  171. data/spec/models/update_password_dto_spec.rb +1 -1
  172. data/spec/models/usage_dto_spec.rb +1 -1
  173. data/spec/models/user_dto_spec.rb +7 -1
  174. data/spec/spec_helper.rb +1 -1
  175. metadata +72 -76
@@ -0,0 +1,261 @@
1
+ =begin
2
+ #Songtradr API
3
+
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
+
6
+ The version of the OpenAPI document: 1.12.23
7
+ Contact: info@songtradr.com
8
+ Generated by: https://openapi-generator.tech
9
+ OpenAPI Generator version: 7.0.0-SNAPSHOT
10
+
11
+ =end
12
+
13
+ require 'date'
14
+ require 'time'
15
+
16
+ module SongtradrApiClientRuby
17
+ class ApiKeyDTO
18
+ attr_accessor :name
19
+
20
+ attr_accessor :created_at
21
+
22
+ attr_accessor :last_used_at
23
+
24
+ attr_accessor :id
25
+
26
+ # Attribute mapping from ruby-style variable name to JSON key.
27
+ def self.attribute_map
28
+ {
29
+ :'name' => :'name',
30
+ :'created_at' => :'createdAt',
31
+ :'last_used_at' => :'lastUsedAt',
32
+ :'id' => :'id'
33
+ }
34
+ end
35
+
36
+ # Returns all the JSON keys this model knows about
37
+ def self.acceptable_attributes
38
+ attribute_map.values
39
+ end
40
+
41
+ # Attribute type mapping.
42
+ def self.openapi_types
43
+ {
44
+ :'name' => :'String',
45
+ :'created_at' => :'Time',
46
+ :'last_used_at' => :'Time',
47
+ :'id' => :'String'
48
+ }
49
+ end
50
+
51
+ # List of attributes with nullable: true
52
+ def self.openapi_nullable
53
+ Set.new([
54
+ ])
55
+ end
56
+
57
+ # Initializes the object
58
+ # @param [Hash] attributes Model attributes in the form of hash
59
+ def initialize(attributes = {})
60
+ if (!attributes.is_a?(Hash))
61
+ fail ArgumentError, "The input argument (attributes) must be a hash in `SongtradrApiClientRuby::ApiKeyDTO` initialize method"
62
+ end
63
+
64
+ # check to see if the attribute exists and convert string to symbol for hash key
65
+ attributes = attributes.each_with_object({}) { |(k, v), h|
66
+ if (!self.class.attribute_map.key?(k.to_sym))
67
+ fail ArgumentError, "`#{k}` is not a valid attribute in `SongtradrApiClientRuby::ApiKeyDTO`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect
68
+ end
69
+ h[k.to_sym] = v
70
+ }
71
+
72
+ if attributes.key?(:'name')
73
+ self.name = attributes[:'name']
74
+ end
75
+
76
+ if attributes.key?(:'created_at')
77
+ self.created_at = attributes[:'created_at']
78
+ end
79
+
80
+ if attributes.key?(:'last_used_at')
81
+ self.last_used_at = attributes[:'last_used_at']
82
+ end
83
+
84
+ if attributes.key?(:'id')
85
+ self.id = attributes[:'id']
86
+ end
87
+ end
88
+
89
+ # Show invalid properties with the reasons. Usually used together with valid?
90
+ # @return Array for valid properties with the reasons
91
+ def list_invalid_properties
92
+ invalid_properties = Array.new
93
+ if @name.nil?
94
+ invalid_properties.push('invalid value for "name", name cannot be nil.')
95
+ end
96
+
97
+ if @created_at.nil?
98
+ invalid_properties.push('invalid value for "created_at", created_at cannot be nil.')
99
+ end
100
+
101
+ if @id.nil?
102
+ invalid_properties.push('invalid value for "id", id cannot be nil.')
103
+ end
104
+
105
+ invalid_properties
106
+ end
107
+
108
+ # Check to see if the all the properties in the model are valid
109
+ # @return true if the model is valid
110
+ def valid?
111
+ return false if @name.nil?
112
+ return false if @created_at.nil?
113
+ return false if @id.nil?
114
+ true
115
+ end
116
+
117
+ # Checks equality by comparing each attribute.
118
+ # @param [Object] Object to be compared
119
+ def ==(o)
120
+ return true if self.equal?(o)
121
+ self.class == o.class &&
122
+ name == o.name &&
123
+ created_at == o.created_at &&
124
+ last_used_at == o.last_used_at &&
125
+ id == o.id
126
+ end
127
+
128
+ # @see the `==` method
129
+ # @param [Object] Object to be compared
130
+ def eql?(o)
131
+ self == o
132
+ end
133
+
134
+ # Calculates hash code according to all attributes.
135
+ # @return [Integer] Hash code
136
+ def hash
137
+ [name, created_at, last_used_at, id].hash
138
+ end
139
+
140
+ # Builds the object from hash
141
+ # @param [Hash] attributes Model attributes in the form of hash
142
+ # @return [Object] Returns the model itself
143
+ def self.build_from_hash(attributes)
144
+ new.build_from_hash(attributes)
145
+ end
146
+
147
+ # Builds the object from hash
148
+ # @param [Hash] attributes Model attributes in the form of hash
149
+ # @return [Object] Returns the model itself
150
+ def build_from_hash(attributes)
151
+ return nil unless attributes.is_a?(Hash)
152
+ attributes = attributes.transform_keys(&:to_sym)
153
+ self.class.openapi_types.each_pair do |key, type|
154
+ if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key)
155
+ self.send("#{key}=", nil)
156
+ elsif type =~ /\AArray<(.*)>/i
157
+ # check to ensure the input is an array given that the attribute
158
+ # is documented as an array but the input is not
159
+ if attributes[self.class.attribute_map[key]].is_a?(Array)
160
+ self.send("#{key}=", attributes[self.class.attribute_map[key]].map { |v| _deserialize($1, v) })
161
+ end
162
+ elsif !attributes[self.class.attribute_map[key]].nil?
163
+ self.send("#{key}=", _deserialize(type, attributes[self.class.attribute_map[key]]))
164
+ end
165
+ end
166
+
167
+ self
168
+ end
169
+
170
+ # Deserializes the data based on type
171
+ # @param string type Data type
172
+ # @param string value Value to be deserialized
173
+ # @return [Object] Deserialized data
174
+ def _deserialize(type, value)
175
+ case type.to_sym
176
+ when :Time
177
+ Time.parse(value)
178
+ when :Date
179
+ Date.parse(value)
180
+ when :String
181
+ value.to_s
182
+ when :Integer
183
+ value.to_i
184
+ when :Float
185
+ value.to_f
186
+ when :Boolean
187
+ if value.to_s =~ /\A(true|t|yes|y|1)\z/i
188
+ true
189
+ else
190
+ false
191
+ end
192
+ when :Object
193
+ # generic object (usually a Hash), return directly
194
+ value
195
+ when /\AArray<(?<inner_type>.+)>\z/
196
+ inner_type = Regexp.last_match[:inner_type]
197
+ value.map { |v| _deserialize(inner_type, v) }
198
+ when /\AHash<(?<k_type>.+?), (?<v_type>.+)>\z/
199
+ k_type = Regexp.last_match[:k_type]
200
+ v_type = Regexp.last_match[:v_type]
201
+ {}.tap do |hash|
202
+ value.each do |k, v|
203
+ hash[_deserialize(k_type, k)] = _deserialize(v_type, v)
204
+ end
205
+ end
206
+ else # model
207
+ # models (e.g. Pet) or oneOf
208
+ klass = SongtradrApiClientRuby.const_get(type)
209
+ klass.respond_to?(:openapi_one_of) ? klass.build(value) : klass.build_from_hash(value)
210
+ end
211
+ end
212
+
213
+ # Returns the string representation of the object
214
+ # @return [String] String presentation of the object
215
+ def to_s
216
+ to_hash.to_s
217
+ end
218
+
219
+ # to_body is an alias to to_hash (backward compatibility)
220
+ # @return [Hash] Returns the object in the form of hash
221
+ def to_body
222
+ to_hash
223
+ end
224
+
225
+ # Returns the object in the form of hash
226
+ # @return [Hash] Returns the object in the form of hash
227
+ def to_hash
228
+ hash = {}
229
+ self.class.attribute_map.each_pair do |attr, param|
230
+ value = self.send(attr)
231
+ if value.nil?
232
+ is_nullable = self.class.openapi_nullable.include?(attr)
233
+ next if !is_nullable || (is_nullable && !instance_variable_defined?(:"@#{attr}"))
234
+ end
235
+
236
+ hash[param] = _to_hash(value)
237
+ end
238
+ hash
239
+ end
240
+
241
+ # Outputs non-array value in the form of hash
242
+ # For object, use to_hash. Otherwise, just return the value
243
+ # @param [Object] value Any valid value
244
+ # @return [Hash] Returns the value in the form of hash
245
+ def _to_hash(value)
246
+ if value.is_a?(Array)
247
+ value.compact.map { |v| _to_hash(v) }
248
+ elsif value.is_a?(Hash)
249
+ {}.tap do |hash|
250
+ value.each { |k, v| hash[k] = _to_hash(v) }
251
+ end
252
+ elsif value.respond_to? :to_hash
253
+ value.to_hash
254
+ else
255
+ value
256
+ end
257
+ end
258
+
259
+ end
260
+
261
+ end
@@ -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.21
6
+ The version of the OpenAPI document: 1.12.23
7
7
  Contact: info@songtradr.com
8
8
  Generated by: https://openapi-generator.tech
9
9
  OpenAPI Generator version: 7.0.0-SNAPSHOT
@@ -18,16 +18,16 @@ module SongtradrApiClientRuby
18
18
  class CategoryMediumDTO
19
19
  attr_accessor :id
20
20
 
21
- attr_accessor :tags
22
-
23
21
  attr_accessor :name
24
22
 
23
+ attr_accessor :tags
24
+
25
25
  # Attribute mapping from ruby-style variable name to JSON key.
26
26
  def self.attribute_map
27
27
  {
28
28
  :'id' => :'id',
29
- :'tags' => :'tags',
30
- :'name' => :'name'
29
+ :'name' => :'name',
30
+ :'tags' => :'tags'
31
31
  }
32
32
  end
33
33
 
@@ -40,8 +40,8 @@ module SongtradrApiClientRuby
40
40
  def self.openapi_types
41
41
  {
42
42
  :'id' => :'Integer',
43
- :'tags' => :'Array<TagSmallDTO>',
44
- :'name' => :'String'
43
+ :'name' => :'String',
44
+ :'tags' => :'Array<TagSmallDTO>'
45
45
  }
46
46
  end
47
47
 
@@ -70,15 +70,15 @@ module SongtradrApiClientRuby
70
70
  self.id = attributes[:'id']
71
71
  end
72
72
 
73
+ if attributes.key?(:'name')
74
+ self.name = attributes[:'name']
75
+ end
76
+
73
77
  if attributes.key?(:'tags')
74
78
  if (value = attributes[:'tags']).is_a?(Array)
75
79
  self.tags = value
76
80
  end
77
81
  end
78
-
79
- if attributes.key?(:'name')
80
- self.name = attributes[:'name']
81
- end
82
82
  end
83
83
 
84
84
  # Show invalid properties with the reasons. Usually used together with valid?
@@ -110,8 +110,8 @@ module SongtradrApiClientRuby
110
110
  return true if self.equal?(o)
111
111
  self.class == o.class &&
112
112
  id == o.id &&
113
- tags == o.tags &&
114
- name == o.name
113
+ name == o.name &&
114
+ tags == o.tags
115
115
  end
116
116
 
117
117
  # @see the `==` method
@@ -123,7 +123,7 @@ module SongtradrApiClientRuby
123
123
  # Calculates hash code according to all attributes.
124
124
  # @return [Integer] Hash code
125
125
  def hash
126
- [id, tags, name].hash
126
+ [id, name, tags].hash
127
127
  end
128
128
 
129
129
  # 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.21
6
+ The version of the OpenAPI document: 1.12.23
7
7
  Contact: info@songtradr.com
8
8
  Generated by: https://openapi-generator.tech
9
9
  OpenAPI Generator version: 7.0.0-SNAPSHOT
@@ -3,7 +3,7 @@
3
3
 
4
4
  #This is the Songtradr API. Use it to retrieve deep music metadata and trigger processes like auto-tagging. You can also use the API to manage your account and musicube cloud data. **Authentication** 1. Reach out to support@songtradr.com to receive a free account or use your login data if you are already signed up. 2. To authenticate, you need to login via the POST /api/v1/user/login endpoint. 3. The endpoint responds with a jwtToken which you can use in all following API requests as a bearer token. **Rate Limiting** The current limit is 120 Requests per minute. Reach out to us via support@songtradr.com if you need to request more. **Getting Started with auto-tagging** 1. If you want to get your own files auto-tagged, use the POST /api/v1/user/file/{name}/initUpload endpoint. It responds with a presigned S3 link where you can upload your file. 2. You can check the processing status of your file via the GET /api/v1/user/file/{name}/filesStatus endpoint. 3. As soon as processing is done, you can request the generated data via the GET /api/v1/user/files endpoint. **Getting Started with search** You can either search the released music via the /public/recording endpoints or your own private uploaded music via the /user/file/ endpoints. 1. If you want to search the world's released music, a good starting point is the GET /api/v1/public/recording/search endpoint. Please find the extensive list of parameters that serve as semantic search filters. 2. If you want to search your own previously uploaded music, a good starting point is the GET GET /api/v1/user/files endpoint. It has the same extensive list of parameters that serve as semantic search filters.
5
5
 
6
- The version of the OpenAPI document: 1.12.21
6
+ The version of the OpenAPI document: 1.12.23
7
7
  Contact: info@songtradr.com
8
8
  Generated by: https://openapi-generator.tech
9
9
  OpenAPI Generator version: 7.0.0-SNAPSHOT
@@ -3,7 +3,7 @@
3
3
 
4
4
  #This is the Songtradr API. Use it to retrieve deep music metadata and trigger processes like auto-tagging. You can also use the API to manage your account and musicube cloud data. **Authentication** 1. Reach out to support@songtradr.com to receive a free account or use your login data if you are already signed up. 2. To authenticate, you need to login via the POST /api/v1/user/login endpoint. 3. The endpoint responds with a jwtToken which you can use in all following API requests as a bearer token. **Rate Limiting** The current limit is 120 Requests per minute. Reach out to us via support@songtradr.com if you need to request more. **Getting Started with auto-tagging** 1. If you want to get your own files auto-tagged, use the POST /api/v1/user/file/{name}/initUpload endpoint. It responds with a presigned S3 link where you can upload your file. 2. You can check the processing status of your file via the GET /api/v1/user/file/{name}/filesStatus endpoint. 3. As soon as processing is done, you can request the generated data via the GET /api/v1/user/files endpoint. **Getting Started with search** You can either search the released music via the /public/recording endpoints or your own private uploaded music via the /user/file/ endpoints. 1. If you want to search the world's released music, a good starting point is the GET /api/v1/public/recording/search endpoint. Please find the extensive list of parameters that serve as semantic search filters. 2. If you want to search your own previously uploaded music, a good starting point is the GET GET /api/v1/user/files endpoint. It has the same extensive list of parameters that serve as semantic search filters.
5
5
 
6
- The version of the OpenAPI document: 1.12.21
6
+ The version of the OpenAPI document: 1.12.23
7
7
  Contact: info@songtradr.com
8
8
  Generated by: https://openapi-generator.tech
9
9
  OpenAPI Generator version: 7.0.0-SNAPSHOT
@@ -3,7 +3,7 @@
3
3
 
4
4
  #This is the Songtradr API. Use it to retrieve deep music metadata and trigger processes like auto-tagging. You can also use the API to manage your account and musicube cloud data. **Authentication** 1. Reach out to support@songtradr.com to receive a free account or use your login data if you are already signed up. 2. To authenticate, you need to login via the POST /api/v1/user/login endpoint. 3. The endpoint responds with a jwtToken which you can use in all following API requests as a bearer token. **Rate Limiting** The current limit is 120 Requests per minute. Reach out to us via support@songtradr.com if you need to request more. **Getting Started with auto-tagging** 1. If you want to get your own files auto-tagged, use the POST /api/v1/user/file/{name}/initUpload endpoint. It responds with a presigned S3 link where you can upload your file. 2. You can check the processing status of your file via the GET /api/v1/user/file/{name}/filesStatus endpoint. 3. As soon as processing is done, you can request the generated data via the GET /api/v1/user/files endpoint. **Getting Started with search** You can either search the released music via the /public/recording endpoints or your own private uploaded music via the /user/file/ endpoints. 1. If you want to search the world's released music, a good starting point is the GET /api/v1/public/recording/search endpoint. Please find the extensive list of parameters that serve as semantic search filters. 2. If you want to search your own previously uploaded music, a good starting point is the GET GET /api/v1/user/files endpoint. It has the same extensive list of parameters that serve as semantic search filters.
5
5
 
6
- The version of the OpenAPI document: 1.12.21
6
+ The version of the OpenAPI document: 1.12.23
7
7
  Contact: info@songtradr.com
8
8
  Generated by: https://openapi-generator.tech
9
9
  OpenAPI Generator version: 7.0.0-SNAPSHOT
@@ -0,0 +1,219 @@
1
+ =begin
2
+ #Songtradr API
3
+
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
+
6
+ The version of the OpenAPI document: 1.12.23
7
+ Contact: info@songtradr.com
8
+ Generated by: https://openapi-generator.tech
9
+ OpenAPI Generator version: 7.0.0-SNAPSHOT
10
+
11
+ =end
12
+
13
+ require 'date'
14
+ require 'time'
15
+
16
+ module SongtradrApiClientRuby
17
+ class CreateApiKeyDTO
18
+ attr_accessor :name
19
+
20
+ # Attribute mapping from ruby-style variable name to JSON key.
21
+ def self.attribute_map
22
+ {
23
+ :'name' => :'name'
24
+ }
25
+ end
26
+
27
+ # Returns all the JSON keys this model knows about
28
+ def self.acceptable_attributes
29
+ attribute_map.values
30
+ end
31
+
32
+ # Attribute type mapping.
33
+ def self.openapi_types
34
+ {
35
+ :'name' => :'String'
36
+ }
37
+ end
38
+
39
+ # List of attributes with nullable: true
40
+ def self.openapi_nullable
41
+ Set.new([
42
+ ])
43
+ end
44
+
45
+ # Initializes the object
46
+ # @param [Hash] attributes Model attributes in the form of hash
47
+ def initialize(attributes = {})
48
+ if (!attributes.is_a?(Hash))
49
+ fail ArgumentError, "The input argument (attributes) must be a hash in `SongtradrApiClientRuby::CreateApiKeyDTO` initialize method"
50
+ end
51
+
52
+ # check to see if the attribute exists and convert string to symbol for hash key
53
+ attributes = attributes.each_with_object({}) { |(k, v), h|
54
+ if (!self.class.attribute_map.key?(k.to_sym))
55
+ fail ArgumentError, "`#{k}` is not a valid attribute in `SongtradrApiClientRuby::CreateApiKeyDTO`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect
56
+ end
57
+ h[k.to_sym] = v
58
+ }
59
+
60
+ if attributes.key?(:'name')
61
+ self.name = attributes[:'name']
62
+ end
63
+ end
64
+
65
+ # Show invalid properties with the reasons. Usually used together with valid?
66
+ # @return Array for valid properties with the reasons
67
+ def list_invalid_properties
68
+ invalid_properties = Array.new
69
+ invalid_properties
70
+ end
71
+
72
+ # Check to see if the all the properties in the model are valid
73
+ # @return true if the model is valid
74
+ def valid?
75
+ true
76
+ end
77
+
78
+ # Checks equality by comparing each attribute.
79
+ # @param [Object] Object to be compared
80
+ def ==(o)
81
+ return true if self.equal?(o)
82
+ self.class == o.class &&
83
+ name == o.name
84
+ end
85
+
86
+ # @see the `==` method
87
+ # @param [Object] Object to be compared
88
+ def eql?(o)
89
+ self == o
90
+ end
91
+
92
+ # Calculates hash code according to all attributes.
93
+ # @return [Integer] Hash code
94
+ def hash
95
+ [name].hash
96
+ end
97
+
98
+ # Builds the object from hash
99
+ # @param [Hash] attributes Model attributes in the form of hash
100
+ # @return [Object] Returns the model itself
101
+ def self.build_from_hash(attributes)
102
+ new.build_from_hash(attributes)
103
+ end
104
+
105
+ # Builds the object from hash
106
+ # @param [Hash] attributes Model attributes in the form of hash
107
+ # @return [Object] Returns the model itself
108
+ def build_from_hash(attributes)
109
+ return nil unless attributes.is_a?(Hash)
110
+ attributes = attributes.transform_keys(&:to_sym)
111
+ self.class.openapi_types.each_pair do |key, type|
112
+ if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key)
113
+ self.send("#{key}=", nil)
114
+ elsif type =~ /\AArray<(.*)>/i
115
+ # check to ensure the input is an array given that the attribute
116
+ # is documented as an array but the input is not
117
+ if attributes[self.class.attribute_map[key]].is_a?(Array)
118
+ self.send("#{key}=", attributes[self.class.attribute_map[key]].map { |v| _deserialize($1, v) })
119
+ end
120
+ elsif !attributes[self.class.attribute_map[key]].nil?
121
+ self.send("#{key}=", _deserialize(type, attributes[self.class.attribute_map[key]]))
122
+ end
123
+ end
124
+
125
+ self
126
+ end
127
+
128
+ # Deserializes the data based on type
129
+ # @param string type Data type
130
+ # @param string value Value to be deserialized
131
+ # @return [Object] Deserialized data
132
+ def _deserialize(type, value)
133
+ case type.to_sym
134
+ when :Time
135
+ Time.parse(value)
136
+ when :Date
137
+ Date.parse(value)
138
+ when :String
139
+ value.to_s
140
+ when :Integer
141
+ value.to_i
142
+ when :Float
143
+ value.to_f
144
+ when :Boolean
145
+ if value.to_s =~ /\A(true|t|yes|y|1)\z/i
146
+ true
147
+ else
148
+ false
149
+ end
150
+ when :Object
151
+ # generic object (usually a Hash), return directly
152
+ value
153
+ when /\AArray<(?<inner_type>.+)>\z/
154
+ inner_type = Regexp.last_match[:inner_type]
155
+ value.map { |v| _deserialize(inner_type, v) }
156
+ when /\AHash<(?<k_type>.+?), (?<v_type>.+)>\z/
157
+ k_type = Regexp.last_match[:k_type]
158
+ v_type = Regexp.last_match[:v_type]
159
+ {}.tap do |hash|
160
+ value.each do |k, v|
161
+ hash[_deserialize(k_type, k)] = _deserialize(v_type, v)
162
+ end
163
+ end
164
+ else # model
165
+ # models (e.g. Pet) or oneOf
166
+ klass = SongtradrApiClientRuby.const_get(type)
167
+ klass.respond_to?(:openapi_one_of) ? klass.build(value) : klass.build_from_hash(value)
168
+ end
169
+ end
170
+
171
+ # Returns the string representation of the object
172
+ # @return [String] String presentation of the object
173
+ def to_s
174
+ to_hash.to_s
175
+ end
176
+
177
+ # to_body is an alias to to_hash (backward compatibility)
178
+ # @return [Hash] Returns the object in the form of hash
179
+ def to_body
180
+ to_hash
181
+ end
182
+
183
+ # Returns the object in the form of hash
184
+ # @return [Hash] Returns the object in the form of hash
185
+ def to_hash
186
+ hash = {}
187
+ self.class.attribute_map.each_pair do |attr, param|
188
+ value = self.send(attr)
189
+ if value.nil?
190
+ is_nullable = self.class.openapi_nullable.include?(attr)
191
+ next if !is_nullable || (is_nullable && !instance_variable_defined?(:"@#{attr}"))
192
+ end
193
+
194
+ hash[param] = _to_hash(value)
195
+ end
196
+ hash
197
+ end
198
+
199
+ # Outputs non-array value in the form of hash
200
+ # For object, use to_hash. Otherwise, just return the value
201
+ # @param [Object] value Any valid value
202
+ # @return [Hash] Returns the value in the form of hash
203
+ def _to_hash(value)
204
+ if value.is_a?(Array)
205
+ value.compact.map { |v| _to_hash(v) }
206
+ elsif value.is_a?(Hash)
207
+ {}.tap do |hash|
208
+ value.each { |k, v| hash[k] = _to_hash(v) }
209
+ end
210
+ elsif value.respond_to? :to_hash
211
+ value.to_hash
212
+ else
213
+ value
214
+ end
215
+ end
216
+
217
+ end
218
+
219
+ end
@@ -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.21
6
+ The version of the OpenAPI document: 1.12.23
7
7
  Contact: info@songtradr.com
8
8
  Generated by: https://openapi-generator.tech
9
9
  OpenAPI Generator version: 7.0.0-SNAPSHOT
@@ -3,7 +3,7 @@
3
3
 
4
4
  #This is the Songtradr API. Use it to retrieve deep music metadata and trigger processes like auto-tagging. You can also use the API to manage your account and musicube cloud data. **Authentication** 1. Reach out to support@songtradr.com to receive a free account or use your login data if you are already signed up. 2. To authenticate, you need to login via the POST /api/v1/user/login endpoint. 3. The endpoint responds with a jwtToken which you can use in all following API requests as a bearer token. **Rate Limiting** The current limit is 120 Requests per minute. Reach out to us via support@songtradr.com if you need to request more. **Getting Started with auto-tagging** 1. If you want to get your own files auto-tagged, use the POST /api/v1/user/file/{name}/initUpload endpoint. It responds with a presigned S3 link where you can upload your file. 2. You can check the processing status of your file via the GET /api/v1/user/file/{name}/filesStatus endpoint. 3. As soon as processing is done, you can request the generated data via the GET /api/v1/user/files endpoint. **Getting Started with search** You can either search the released music via the /public/recording endpoints or your own private uploaded music via the /user/file/ endpoints. 1. If you want to search the world's released music, a good starting point is the GET /api/v1/public/recording/search endpoint. Please find the extensive list of parameters that serve as semantic search filters. 2. If you want to search your own previously uploaded music, a good starting point is the GET GET /api/v1/user/files endpoint. It has the same extensive list of parameters that serve as semantic search filters.
5
5
 
6
- The version of the OpenAPI document: 1.12.21
6
+ The version of the OpenAPI document: 1.12.23
7
7
  Contact: info@songtradr.com
8
8
  Generated by: https://openapi-generator.tech
9
9
  OpenAPI Generator version: 7.0.0-SNAPSHOT
@@ -3,7 +3,7 @@
3
3
 
4
4
  #This is the Songtradr API. Use it to retrieve deep music metadata and trigger processes like auto-tagging. You can also use the API to manage your account and musicube cloud data. **Authentication** 1. Reach out to support@songtradr.com to receive a free account or use your login data if you are already signed up. 2. To authenticate, you need to login via the POST /api/v1/user/login endpoint. 3. The endpoint responds with a jwtToken which you can use in all following API requests as a bearer token. **Rate Limiting** The current limit is 120 Requests per minute. Reach out to us via support@songtradr.com if you need to request more. **Getting Started with auto-tagging** 1. If you want to get your own files auto-tagged, use the POST /api/v1/user/file/{name}/initUpload endpoint. It responds with a presigned S3 link where you can upload your file. 2. You can check the processing status of your file via the GET /api/v1/user/file/{name}/filesStatus endpoint. 3. As soon as processing is done, you can request the generated data via the GET /api/v1/user/files endpoint. **Getting Started with search** You can either search the released music via the /public/recording endpoints or your own private uploaded music via the /user/file/ endpoints. 1. If you want to search the world's released music, a good starting point is the GET /api/v1/public/recording/search endpoint. Please find the extensive list of parameters that serve as semantic search filters. 2. If you want to search your own previously uploaded music, a good starting point is the GET GET /api/v1/user/files endpoint. It has the same extensive list of parameters that serve as semantic search filters.
5
5
 
6
- The version of the OpenAPI document: 1.12.21
6
+ The version of the OpenAPI document: 1.12.23
7
7
  Contact: info@songtradr.com
8
8
  Generated by: https://openapi-generator.tech
9
9
  OpenAPI Generator version: 7.0.0-SNAPSHOT
@@ -3,7 +3,7 @@
3
3
 
4
4
  #This is the Songtradr API. Use it to retrieve deep music metadata and trigger processes like auto-tagging. You can also use the API to manage your account and musicube cloud data. **Authentication** 1. Reach out to support@songtradr.com to receive a free account or use your login data if you are already signed up. 2. To authenticate, you need to login via the POST /api/v1/user/login endpoint. 3. The endpoint responds with a jwtToken which you can use in all following API requests as a bearer token. **Rate Limiting** The current limit is 120 Requests per minute. Reach out to us via support@songtradr.com if you need to request more. **Getting Started with auto-tagging** 1. If you want to get your own files auto-tagged, use the POST /api/v1/user/file/{name}/initUpload endpoint. It responds with a presigned S3 link where you can upload your file. 2. You can check the processing status of your file via the GET /api/v1/user/file/{name}/filesStatus endpoint. 3. As soon as processing is done, you can request the generated data via the GET /api/v1/user/files endpoint. **Getting Started with search** You can either search the released music via the /public/recording endpoints or your own private uploaded music via the /user/file/ endpoints. 1. If you want to search the world's released music, a good starting point is the GET /api/v1/public/recording/search endpoint. Please find the extensive list of parameters that serve as semantic search filters. 2. If you want to search your own previously uploaded music, a good starting point is the GET GET /api/v1/user/files endpoint. It has the same extensive list of parameters that serve as semantic search filters.
5
5
 
6
- The version of the OpenAPI document: 1.12.21
6
+ The version of the OpenAPI document: 1.12.23
7
7
  Contact: info@songtradr.com
8
8
  Generated by: https://openapi-generator.tech
9
9
  OpenAPI Generator version: 7.0.0-SNAPSHOT