songtradr_api_client_ruby 1.13.3 → 1.13.5

Sign up to get free protection for your applications and to get access to all the features.
Files changed (279) hide show
  1. checksums.yaml +4 -4
  2. data/Gemfile.lock +3 -3
  3. data/README.md +48 -5
  4. data/docs/AdminApiCreateUserDTO.md +76 -0
  5. data/docs/AdminApiUpdateUserDTO.md +76 -0
  6. data/docs/AdminUsersControllerApi.md +355 -0
  7. data/docs/AgeRange.md +20 -0
  8. data/docs/Beard.md +20 -0
  9. data/docs/BoundingBox.md +24 -0
  10. data/docs/ContextValue.md +18 -0
  11. data/docs/CuratePlaylistDTO.md +26 -0
  12. data/docs/CuratePlaylistResponseDTO.md +18 -0
  13. data/docs/DominantColor.md +30 -0
  14. data/docs/Emotion.md +20 -0
  15. data/docs/EyeDirection.md +22 -0
  16. data/docs/EyeOpen.md +20 -0
  17. data/docs/Eyeglasses.md +20 -0
  18. data/docs/FaceDetail.md +50 -0
  19. data/docs/FaceDetection.md +20 -0
  20. data/docs/FaceOccluded.md +20 -0
  21. data/docs/FileSmallDTO.md +5 -5
  22. data/docs/Gender.md +20 -0
  23. data/docs/ImageQuality.md +20 -0
  24. data/docs/ImageRecognitionResponse.md +20 -0
  25. data/docs/Instance.md +22 -0
  26. data/docs/InternalApiApi.md +149 -0
  27. data/docs/Label.md +28 -0
  28. data/docs/LabelAlias.md +18 -0
  29. data/docs/LabelCategory.md +18 -0
  30. data/docs/LabelDetection.md +26 -0
  31. data/docs/Landmark.md +22 -0
  32. data/docs/MouthOpen.md +20 -0
  33. data/docs/MusicalFeaturesDTO.md +38 -38
  34. data/docs/Mustache.md +20 -0
  35. data/docs/Parent.md +18 -0
  36. data/docs/PlaylistApi.md +70 -0
  37. data/docs/PlaylistLargeDTO.md +5 -5
  38. data/docs/Pose.md +22 -0
  39. data/docs/ProductMediumDTO.md +3 -3
  40. data/docs/RecordingGenrePredictionDTO.md +4 -4
  41. data/docs/RecordingLargeDTO.md +5 -5
  42. data/docs/RecordingMediumDTO.md +2 -2
  43. data/docs/RecordingMinimalWithMusicalFeaturesDTO.md +3 -3
  44. data/docs/RecordingSmallDTO.md +3 -3
  45. data/docs/SaveFileDTO.md +42 -0
  46. data/docs/SaveFileRecordingDTO.md +5 -1
  47. data/docs/Smile.md +20 -0
  48. data/docs/Sunglasses.md +20 -0
  49. data/docs/UserApi.md +140 -0
  50. data/docs/VideoRecognitionResponse.md +20 -0
  51. data/lib/songtradr_api_client_ruby/api/admin_users_controller_api.rb +346 -0
  52. data/lib/songtradr_api_client_ruby/api/allowed_values_api.rb +2 -2
  53. data/lib/songtradr_api_client_ruby/api/api_keys_api.rb +2 -2
  54. data/lib/songtradr_api_client_ruby/api/internal_api_api.rb +169 -0
  55. data/lib/songtradr_api_client_ruby/api/party_api.rb +2 -2
  56. data/lib/songtradr_api_client_ruby/api/playlist_api.rb +79 -2
  57. data/lib/songtradr_api_client_ruby/api/recording_api.rb +2 -2
  58. data/lib/songtradr_api_client_ruby/api/user_api.rb +138 -2
  59. data/lib/songtradr_api_client_ruby/api_client.rb +4 -3
  60. data/lib/songtradr_api_client_ruby/api_error.rb +2 -2
  61. data/lib/songtradr_api_client_ruby/configuration.rb +3 -2
  62. data/lib/songtradr_api_client_ruby/models/admin_api_create_user_dto.rb +489 -0
  63. data/lib/songtradr_api_client_ruby/models/admin_api_update_user_dto.rb +475 -0
  64. data/lib/songtradr_api_client_ruby/models/admin_api_user_dto.rb +2 -2
  65. data/lib/songtradr_api_client_ruby/models/age_range.rb +223 -0
  66. data/lib/songtradr_api_client_ruby/models/api_key_dto.rb +2 -2
  67. data/lib/songtradr_api_client_ruby/models/beard.rb +223 -0
  68. data/lib/songtradr_api_client_ruby/models/bounding_box.rb +241 -0
  69. data/lib/songtradr_api_client_ruby/models/category_medium_dto.rb +2 -2
  70. data/lib/songtradr_api_client_ruby/models/category_minimal_dto.rb +2 -2
  71. data/lib/songtradr_api_client_ruby/models/config_access_dto.rb +2 -2
  72. data/lib/songtradr_api_client_ruby/models/config_identifier_dto.rb +2 -2
  73. data/lib/songtradr_api_client_ruby/models/context_value.rb +216 -0
  74. data/lib/songtradr_api_client_ruby/models/contributor_type_dto.rb +2 -2
  75. data/lib/songtradr_api_client_ruby/models/create_api_key_dto.rb +2 -2
  76. data/lib/songtradr_api_client_ruby/models/curate_playlist_dto.rb +256 -0
  77. data/lib/songtradr_api_client_ruby/models/curate_playlist_response_dto.rb +216 -0
  78. data/lib/songtradr_api_client_ruby/models/dominant_color.rb +268 -0
  79. data/lib/songtradr_api_client_ruby/models/emotion.rb +223 -0
  80. data/lib/songtradr_api_client_ruby/models/error_response.rb +2 -2
  81. data/lib/songtradr_api_client_ruby/models/eye_direction.rb +232 -0
  82. data/lib/songtradr_api_client_ruby/models/eye_open.rb +223 -0
  83. data/lib/songtradr_api_client_ruby/models/eyeglasses.rb +223 -0
  84. data/lib/songtradr_api_client_ruby/models/face_detail.rb +362 -0
  85. data/lib/songtradr_api_client_ruby/models/face_detection.rb +223 -0
  86. data/lib/songtradr_api_client_ruby/models/face_occluded.rb +223 -0
  87. data/lib/songtradr_api_client_ruby/models/field_summary_dto.rb +2 -2
  88. data/lib/songtradr_api_client_ruby/models/file_dto.rb +2 -2
  89. data/lib/songtradr_api_client_ruby/models/file_list_dto.rb +2 -2
  90. data/lib/songtradr_api_client_ruby/models/file_minimal_with_url_dto.rb +2 -2
  91. data/lib/songtradr_api_client_ruby/models/file_small_dto.rb +24 -24
  92. data/lib/songtradr_api_client_ruby/models/file_upload_dto.rb +2 -2
  93. data/lib/songtradr_api_client_ruby/models/file_w_ith_url_dto.rb +2 -2
  94. data/lib/songtradr_api_client_ruby/models/files_summary_dto.rb +2 -2
  95. data/lib/songtradr_api_client_ruby/models/forgot_password_dto.rb +2 -2
  96. data/lib/songtradr_api_client_ruby/models/gender.rb +223 -0
  97. data/lib/songtradr_api_client_ruby/models/genre_dto.rb +2 -2
  98. data/lib/songtradr_api_client_ruby/models/genre_minimal_dto.rb +2 -2
  99. data/lib/songtradr_api_client_ruby/models/genres_summary_dto.rb +2 -2
  100. data/lib/songtradr_api_client_ruby/models/image_quality.rb +223 -0
  101. data/lib/songtradr_api_client_ruby/models/image_recognition_response.rb +227 -0
  102. data/lib/songtradr_api_client_ruby/models/init_put_recording_audio_dto.rb +2 -2
  103. data/lib/songtradr_api_client_ruby/models/instance.rb +234 -0
  104. data/lib/songtradr_api_client_ruby/models/jwt_token_dto.rb +2 -2
  105. data/lib/songtradr_api_client_ruby/models/label.rb +267 -0
  106. data/lib/songtradr_api_client_ruby/models/label_alias.rb +214 -0
  107. data/lib/songtradr_api_client_ruby/models/label_category.rb +214 -0
  108. data/lib/songtradr_api_client_ruby/models/label_detection.rb +250 -0
  109. data/lib/songtradr_api_client_ruby/models/landmark.rb +232 -0
  110. data/lib/songtradr_api_client_ruby/models/login_dto.rb +2 -2
  111. data/lib/songtradr_api_client_ruby/models/mouth_open.rb +223 -0
  112. data/lib/songtradr_api_client_ruby/models/musical_features_dto.rb +285 -285
  113. data/lib/songtradr_api_client_ruby/models/mustache.rb +223 -0
  114. data/lib/songtradr_api_client_ruby/models/p_line_dto.rb +2 -2
  115. data/lib/songtradr_api_client_ruby/models/parent.rb +214 -0
  116. data/lib/songtradr_api_client_ruby/models/party_large_dto.rb +2 -2
  117. data/lib/songtradr_api_client_ruby/models/party_small_dto.rb +2 -2
  118. data/lib/songtradr_api_client_ruby/models/playlist_large_dto.rb +24 -24
  119. data/lib/songtradr_api_client_ruby/models/pose.rb +232 -0
  120. data/lib/songtradr_api_client_ruby/models/product_medium_dto.rb +15 -15
  121. data/lib/songtradr_api_client_ruby/models/product_party_dto.rb +2 -2
  122. data/lib/songtradr_api_client_ruby/models/recording_for_similarity_search_dto.rb +2 -2
  123. data/lib/songtradr_api_client_ruby/models/recording_genre_prediction_dto.rb +23 -23
  124. data/lib/songtradr_api_client_ruby/models/recording_large_dto.rb +26 -26
  125. data/lib/songtradr_api_client_ruby/models/recording_list_dto.rb +2 -2
  126. data/lib/songtradr_api_client_ruby/models/recording_medium_dto.rb +14 -14
  127. data/lib/songtradr_api_client_ruby/models/recording_minimal_with_musical_features_dto.rb +17 -17
  128. data/lib/songtradr_api_client_ruby/models/recording_minimal_with_taggrams_dto.rb +2 -2
  129. data/lib/songtradr_api_client_ruby/models/recording_minimal_with_tagstrengths_dto.rb +2 -2
  130. data/lib/songtradr_api_client_ruby/models/recording_party_dto.rb +2 -2
  131. data/lib/songtradr_api_client_ruby/models/recording_playlist_dto.rb +2 -2
  132. data/lib/songtradr_api_client_ruby/models/recording_small_dto.rb +17 -17
  133. data/lib/songtradr_api_client_ruby/models/recording_tag_small_dto.rb +2 -2
  134. data/lib/songtradr_api_client_ruby/models/save_file_dto.rb +323 -0
  135. data/lib/songtradr_api_client_ruby/models/save_file_recording_dto.rb +30 -12
  136. data/lib/songtradr_api_client_ruby/models/save_playlist_dto.rb +2 -2
  137. data/lib/songtradr_api_client_ruby/models/save_recording_genre_dto.rb +2 -2
  138. data/lib/songtradr_api_client_ruby/models/save_recording_party_dto.rb +2 -2
  139. data/lib/songtradr_api_client_ruby/models/save_recording_playlist_dto.rb +2 -2
  140. data/lib/songtradr_api_client_ruby/models/save_recording_tag_dto.rb +2 -2
  141. data/lib/songtradr_api_client_ruby/models/save_referrer_dto.rb +2 -2
  142. data/lib/songtradr_api_client_ruby/models/save_taggrams_dto.rb +2 -2
  143. data/lib/songtradr_api_client_ruby/models/save_user_dto.rb +2 -2
  144. data/lib/songtradr_api_client_ruby/models/search_filter_values_dto.rb +2 -2
  145. data/lib/songtradr_api_client_ruby/models/search_recording_granular_abstraction_dto.rb +2 -2
  146. data/lib/songtradr_api_client_ruby/models/search_recording_granular_dto.rb +2 -2
  147. data/lib/songtradr_api_client_ruby/models/sign_up_dto.rb +2 -2
  148. data/lib/songtradr_api_client_ruby/models/smile.rb +223 -0
  149. data/lib/songtradr_api_client_ruby/models/sunglasses.rb +223 -0
  150. data/lib/songtradr_api_client_ruby/models/tag_dto.rb +2 -2
  151. data/lib/songtradr_api_client_ruby/models/tag_small_dto.rb +2 -2
  152. data/lib/songtradr_api_client_ruby/models/taggram_dto.rb +2 -2
  153. data/lib/songtradr_api_client_ruby/models/tags_summary_dto.rb +2 -2
  154. data/lib/songtradr_api_client_ruby/models/tagstrength_dto.rb +2 -2
  155. data/lib/songtradr_api_client_ruby/models/title_dto.rb +2 -2
  156. data/lib/songtradr_api_client_ruby/models/token_request.rb +2 -2
  157. data/lib/songtradr_api_client_ruby/models/track_dto.rb +2 -2
  158. data/lib/songtradr_api_client_ruby/models/track_to_medium_product_dto.rb +2 -2
  159. data/lib/songtradr_api_client_ruby/models/update_password_dto.rb +2 -2
  160. data/lib/songtradr_api_client_ruby/models/usage_dto.rb +2 -2
  161. data/lib/songtradr_api_client_ruby/models/user_dto.rb +2 -2
  162. data/lib/songtradr_api_client_ruby/models/video_recognition_response.rb +227 -0
  163. data/lib/songtradr_api_client_ruby/version.rb +3 -3
  164. data/lib/songtradr_api_client_ruby.rb +37 -2
  165. data/openapi-generator-config.yaml +1 -1
  166. data/songtradr_api_client_ruby.gemspec +2 -2
  167. data/spec/api/admin_users_controller_api_spec.rb +93 -0
  168. data/spec/api/allowed_values_api_spec.rb +2 -2
  169. data/spec/api/api_keys_api_spec.rb +2 -2
  170. data/spec/api/internal_api_api_spec.rb +58 -0
  171. data/spec/api/party_api_spec.rb +2 -2
  172. data/spec/api/playlist_api_spec.rb +14 -2
  173. data/spec/api/recording_api_spec.rb +2 -2
  174. data/spec/api/user_api_spec.rb +26 -2
  175. data/spec/api_client_spec.rb +2 -2
  176. data/spec/configuration_spec.rb +2 -2
  177. data/spec/models/admin_api_create_user_dto_spec.rb +210 -0
  178. data/spec/models/admin_api_update_user_dto_spec.rb +210 -0
  179. data/spec/models/admin_api_user_dto_spec.rb +5 -3
  180. data/spec/models/age_range_spec.rb +42 -0
  181. data/spec/models/api_key_dto_spec.rb +5 -3
  182. data/spec/models/beard_spec.rb +42 -0
  183. data/spec/models/bounding_box_spec.rb +54 -0
  184. data/spec/models/category_medium_dto_spec.rb +5 -3
  185. data/spec/models/category_minimal_dto_spec.rb +5 -3
  186. data/spec/models/config_access_dto_spec.rb +5 -3
  187. data/spec/models/config_identifier_dto_spec.rb +5 -3
  188. data/spec/models/context_value_spec.rb +36 -0
  189. data/spec/models/contributor_type_dto_spec.rb +5 -3
  190. data/spec/models/create_api_key_dto_spec.rb +5 -3
  191. data/spec/models/curate_playlist_dto_spec.rb +60 -0
  192. data/spec/models/curate_playlist_response_dto_spec.rb +36 -0
  193. data/spec/models/dominant_color_spec.rb +72 -0
  194. data/spec/models/emotion_spec.rb +42 -0
  195. data/spec/models/error_response_spec.rb +5 -3
  196. data/spec/models/eye_direction_spec.rb +48 -0
  197. data/spec/models/eye_open_spec.rb +42 -0
  198. data/spec/models/eyeglasses_spec.rb +42 -0
  199. data/spec/models/face_detail_spec.rb +132 -0
  200. data/spec/models/face_detection_spec.rb +42 -0
  201. data/spec/models/face_occluded_spec.rb +42 -0
  202. data/spec/models/field_summary_dto_spec.rb +5 -3
  203. data/spec/models/file_dto_spec.rb +5 -3
  204. data/spec/models/file_list_dto_spec.rb +5 -3
  205. data/spec/models/file_minimal_with_url_dto_spec.rb +5 -3
  206. data/spec/models/file_small_dto_spec.rb +17 -15
  207. data/spec/models/file_upload_dto_spec.rb +5 -3
  208. data/spec/models/file_w_ith_url_dto_spec.rb +5 -3
  209. data/spec/models/files_summary_dto_spec.rb +5 -3
  210. data/spec/models/forgot_password_dto_spec.rb +5 -3
  211. data/spec/models/gender_spec.rb +42 -0
  212. data/spec/models/genre_dto_spec.rb +5 -3
  213. data/spec/models/genre_minimal_dto_spec.rb +5 -3
  214. data/spec/models/genres_summary_dto_spec.rb +5 -3
  215. data/spec/models/image_quality_spec.rb +42 -0
  216. data/spec/models/image_recognition_response_spec.rb +42 -0
  217. data/spec/models/init_put_recording_audio_dto_spec.rb +5 -3
  218. data/spec/models/instance_spec.rb +48 -0
  219. data/spec/models/jwt_token_dto_spec.rb +5 -3
  220. data/spec/models/label_alias_spec.rb +36 -0
  221. data/spec/models/label_category_spec.rb +36 -0
  222. data/spec/models/label_detection_spec.rb +60 -0
  223. data/spec/models/label_spec.rb +66 -0
  224. data/spec/models/landmark_spec.rb +48 -0
  225. data/spec/models/login_dto_spec.rb +5 -3
  226. data/spec/models/mouth_open_spec.rb +42 -0
  227. data/spec/models/musical_features_dto_spec.rb +114 -112
  228. data/spec/models/mustache_spec.rb +42 -0
  229. data/spec/models/p_line_dto_spec.rb +5 -3
  230. data/spec/models/parent_spec.rb +36 -0
  231. data/spec/models/party_large_dto_spec.rb +5 -3
  232. data/spec/models/party_small_dto_spec.rb +5 -3
  233. data/spec/models/playlist_large_dto_spec.rb +14 -12
  234. data/spec/models/pose_spec.rb +48 -0
  235. data/spec/models/product_medium_dto_spec.rb +11 -9
  236. data/spec/models/product_party_dto_spec.rb +5 -3
  237. data/spec/models/recording_for_similarity_search_dto_spec.rb +5 -3
  238. data/spec/models/recording_genre_prediction_dto_spec.rb +7 -5
  239. data/spec/models/recording_large_dto_spec.rb +13 -11
  240. data/spec/models/recording_list_dto_spec.rb +5 -3
  241. data/spec/models/recording_medium_dto_spec.rb +10 -8
  242. data/spec/models/recording_minimal_with_musical_features_dto_spec.rb +7 -5
  243. data/spec/models/recording_minimal_with_taggrams_dto_spec.rb +5 -3
  244. data/spec/models/recording_minimal_with_tagstrengths_dto_spec.rb +5 -3
  245. data/spec/models/recording_party_dto_spec.rb +5 -3
  246. data/spec/models/recording_playlist_dto_spec.rb +5 -3
  247. data/spec/models/recording_small_dto_spec.rb +8 -6
  248. data/spec/models/recording_tag_small_dto_spec.rb +5 -3
  249. data/spec/models/save_file_dto_spec.rb +108 -0
  250. data/spec/models/save_file_recording_dto_spec.rb +20 -6
  251. data/spec/models/save_playlist_dto_spec.rb +5 -3
  252. data/spec/models/save_recording_genre_dto_spec.rb +5 -3
  253. data/spec/models/save_recording_party_dto_spec.rb +5 -3
  254. data/spec/models/save_recording_playlist_dto_spec.rb +5 -3
  255. data/spec/models/save_recording_tag_dto_spec.rb +5 -3
  256. data/spec/models/save_referrer_dto_spec.rb +5 -3
  257. data/spec/models/save_taggrams_dto_spec.rb +5 -3
  258. data/spec/models/save_user_dto_spec.rb +5 -3
  259. data/spec/models/search_filter_values_dto_spec.rb +5 -3
  260. data/spec/models/search_recording_granular_abstraction_dto_spec.rb +5 -3
  261. data/spec/models/search_recording_granular_dto_spec.rb +5 -3
  262. data/spec/models/sign_up_dto_spec.rb +5 -3
  263. data/spec/models/smile_spec.rb +42 -0
  264. data/spec/models/sunglasses_spec.rb +42 -0
  265. data/spec/models/tag_dto_spec.rb +5 -3
  266. data/spec/models/tag_small_dto_spec.rb +5 -3
  267. data/spec/models/taggram_dto_spec.rb +5 -3
  268. data/spec/models/tags_summary_dto_spec.rb +5 -3
  269. data/spec/models/tagstrength_dto_spec.rb +5 -3
  270. data/spec/models/title_dto_spec.rb +5 -3
  271. data/spec/models/token_request_spec.rb +5 -3
  272. data/spec/models/track_dto_spec.rb +5 -3
  273. data/spec/models/track_to_medium_product_dto_spec.rb +5 -3
  274. data/spec/models/update_password_dto_spec.rb +5 -3
  275. data/spec/models/usage_dto_spec.rb +5 -3
  276. data/spec/models/user_dto_spec.rb +5 -3
  277. data/spec/models/video_recognition_response_spec.rb +42 -0
  278. data/spec/spec_helper.rb +2 -2
  279. metadata +201 -61
data/docs/FileSmallDTO.md CHANGED
@@ -9,6 +9,8 @@
9
9
  | **extension** | **String** | extension of the file | |
10
10
  | **error_message** | **String** | | [optional] |
11
11
  | **folder** | **String** | | |
12
+ | **inference_start_time** | **Time** | | [optional] |
13
+ | **inference_end_time** | **Time** | | [optional] |
12
14
  | **error_time** | **Time** | | [optional] |
13
15
  | **object_key** | **String** | | |
14
16
  | **upload_start_time** | **Time** | | [optional] |
@@ -17,8 +19,6 @@
17
19
  | **fingerprint_start_time** | **Time** | | [optional] |
18
20
  | **fingerprint_end_time** | **Time** | | [optional] |
19
21
  | **inference_status** | **String** | status of the auto-tagging | [optional] |
20
- | **inference_start_time** | **Time** | | [optional] |
21
- | **inference_end_time** | **Time** | | [optional] |
22
22
 
23
23
  ## Example
24
24
 
@@ -31,6 +31,8 @@ instance = SongtradrApiClientRuby::FileSmallDTO.new(
31
31
  extension: null,
32
32
  error_message: null,
33
33
  folder: null,
34
+ inference_start_time: null,
35
+ inference_end_time: null,
34
36
  error_time: null,
35
37
  object_key: null,
36
38
  upload_start_time: null,
@@ -38,9 +40,7 @@ instance = SongtradrApiClientRuby::FileSmallDTO.new(
38
40
  fingerprint_status: null,
39
41
  fingerprint_start_time: null,
40
42
  fingerprint_end_time: null,
41
- inference_status: null,
42
- inference_start_time: null,
43
- inference_end_time: null
43
+ inference_status: null
44
44
  )
45
45
  ```
46
46
 
data/docs/Gender.md ADDED
@@ -0,0 +1,20 @@
1
+ # SongtradrApiClientRuby::Gender
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **value** | **String** | | [optional] |
8
+ | **confidence** | **Float** | | [optional] |
9
+
10
+ ## Example
11
+
12
+ ```ruby
13
+ require 'songtradr_api_client_ruby'
14
+
15
+ instance = SongtradrApiClientRuby::Gender.new(
16
+ value: null,
17
+ confidence: null
18
+ )
19
+ ```
20
+
@@ -0,0 +1,20 @@
1
+ # SongtradrApiClientRuby::ImageQuality
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **brightness** | **Float** | | [optional] |
8
+ | **sharpness** | **Float** | | [optional] |
9
+
10
+ ## Example
11
+
12
+ ```ruby
13
+ require 'songtradr_api_client_ruby'
14
+
15
+ instance = SongtradrApiClientRuby::ImageQuality.new(
16
+ brightness: null,
17
+ sharpness: null
18
+ )
19
+ ```
20
+
@@ -0,0 +1,20 @@
1
+ # SongtradrApiClientRuby::ImageRecognitionResponse
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **labels** | [**Array<Label>**](Label.md) | | [optional] |
8
+ | **faces** | [**Array<FaceDetail>**](FaceDetail.md) | | [optional] |
9
+
10
+ ## Example
11
+
12
+ ```ruby
13
+ require 'songtradr_api_client_ruby'
14
+
15
+ instance = SongtradrApiClientRuby::ImageRecognitionResponse.new(
16
+ labels: null,
17
+ faces: null
18
+ )
19
+ ```
20
+
data/docs/Instance.md ADDED
@@ -0,0 +1,22 @@
1
+ # SongtradrApiClientRuby::Instance
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **bounding_box** | [**BoundingBox**](BoundingBox.md) | | [optional] |
8
+ | **confidence** | **Float** | | [optional] |
9
+ | **dominant_colors** | [**Array<DominantColor>**](DominantColor.md) | | [optional] |
10
+
11
+ ## Example
12
+
13
+ ```ruby
14
+ require 'songtradr_api_client_ruby'
15
+
16
+ instance = SongtradrApiClientRuby::Instance.new(
17
+ bounding_box: null,
18
+ confidence: null,
19
+ dominant_colors: null
20
+ )
21
+ ```
22
+
@@ -0,0 +1,149 @@
1
+ # SongtradrApiClientRuby::InternalApiApi
2
+
3
+ All URIs are relative to *https://api.songtradr.com*
4
+
5
+ | Method | HTTP request | Description |
6
+ | ------ | ------------ | ----------- |
7
+ | [**internal_create_inference**](InternalApiApi.md#internal_create_inference) | **POST** /api/v1/internal/inference | |
8
+ | [**internal_update_file**](InternalApiApi.md#internal_update_file) | **PATCH** /api/v1/internal/file/{customerName}/{objectKey} | |
9
+
10
+
11
+ ## internal_create_inference
12
+
13
+ > Object internal_create_inference(authorization, save_file_recording_dto)
14
+
15
+
16
+
17
+ ### Examples
18
+
19
+ ```ruby
20
+ require 'time'
21
+ require 'songtradr_api_client_ruby'
22
+ # setup authorization
23
+ SongtradrApiClientRuby.configure do |config|
24
+ # Configure Bearer authorization (JWT): bearer-jwt
25
+ config.access_token = 'YOUR_BEARER_TOKEN'
26
+ end
27
+
28
+ api_instance = SongtradrApiClientRuby::InternalApiApi.new
29
+ authorization = 'authorization_example' # String |
30
+ save_file_recording_dto = [SongtradrApiClientRuby::SaveFileRecordingDTO.new({isrc: 'isrc_example', created_by_version: 'created_by_version_example'})] # Array<SaveFileRecordingDTO> |
31
+
32
+ begin
33
+
34
+ result = api_instance.internal_create_inference(authorization, save_file_recording_dto)
35
+ p result
36
+ rescue SongtradrApiClientRuby::ApiError => e
37
+ puts "Error when calling InternalApiApi->internal_create_inference: #{e}"
38
+ end
39
+ ```
40
+
41
+ #### Using the internal_create_inference_with_http_info variant
42
+
43
+ This returns an Array which contains the response data, status code and headers.
44
+
45
+ > <Array(Object, Integer, Hash)> internal_create_inference_with_http_info(authorization, save_file_recording_dto)
46
+
47
+ ```ruby
48
+ begin
49
+
50
+ data, status_code, headers = api_instance.internal_create_inference_with_http_info(authorization, save_file_recording_dto)
51
+ p status_code # => 2xx
52
+ p headers # => { ... }
53
+ p data # => Object
54
+ rescue SongtradrApiClientRuby::ApiError => e
55
+ puts "Error when calling InternalApiApi->internal_create_inference_with_http_info: #{e}"
56
+ end
57
+ ```
58
+
59
+ ### Parameters
60
+
61
+ | Name | Type | Description | Notes |
62
+ | ---- | ---- | ----------- | ----- |
63
+ | **authorization** | **String** | | |
64
+ | **save_file_recording_dto** | [**Array&lt;SaveFileRecordingDTO&gt;**](SaveFileRecordingDTO.md) | | |
65
+
66
+ ### Return type
67
+
68
+ **Object**
69
+
70
+ ### Authorization
71
+
72
+ [bearer-jwt](../README.md#bearer-jwt)
73
+
74
+ ### HTTP request headers
75
+
76
+ - **Content-Type**: application/json
77
+ - **Accept**: application/json
78
+
79
+
80
+ ## internal_update_file
81
+
82
+ > Object internal_update_file(customer_name, object_key, save_file_dto)
83
+
84
+
85
+
86
+ ### Examples
87
+
88
+ ```ruby
89
+ require 'time'
90
+ require 'songtradr_api_client_ruby'
91
+ # setup authorization
92
+ SongtradrApiClientRuby.configure do |config|
93
+ # Configure Bearer authorization (JWT): bearer-jwt
94
+ config.access_token = 'YOUR_BEARER_TOKEN'
95
+ end
96
+
97
+ api_instance = SongtradrApiClientRuby::InternalApiApi.new
98
+ customer_name = 'customer_name_example' # String |
99
+ object_key = 'object_key_example' # String |
100
+ save_file_dto = SongtradrApiClientRuby::SaveFileDTO.new # SaveFileDTO |
101
+
102
+ begin
103
+
104
+ result = api_instance.internal_update_file(customer_name, object_key, save_file_dto)
105
+ p result
106
+ rescue SongtradrApiClientRuby::ApiError => e
107
+ puts "Error when calling InternalApiApi->internal_update_file: #{e}"
108
+ end
109
+ ```
110
+
111
+ #### Using the internal_update_file_with_http_info variant
112
+
113
+ This returns an Array which contains the response data, status code and headers.
114
+
115
+ > <Array(Object, Integer, Hash)> internal_update_file_with_http_info(customer_name, object_key, save_file_dto)
116
+
117
+ ```ruby
118
+ begin
119
+
120
+ data, status_code, headers = api_instance.internal_update_file_with_http_info(customer_name, object_key, save_file_dto)
121
+ p status_code # => 2xx
122
+ p headers # => { ... }
123
+ p data # => Object
124
+ rescue SongtradrApiClientRuby::ApiError => e
125
+ puts "Error when calling InternalApiApi->internal_update_file_with_http_info: #{e}"
126
+ end
127
+ ```
128
+
129
+ ### Parameters
130
+
131
+ | Name | Type | Description | Notes |
132
+ | ---- | ---- | ----------- | ----- |
133
+ | **customer_name** | **String** | | |
134
+ | **object_key** | **String** | | |
135
+ | **save_file_dto** | [**SaveFileDTO**](SaveFileDTO.md) | | |
136
+
137
+ ### Return type
138
+
139
+ **Object**
140
+
141
+ ### Authorization
142
+
143
+ [bearer-jwt](../README.md#bearer-jwt)
144
+
145
+ ### HTTP request headers
146
+
147
+ - **Content-Type**: application/json
148
+ - **Accept**: application/json
149
+
data/docs/Label.md ADDED
@@ -0,0 +1,28 @@
1
+ # SongtradrApiClientRuby::Label
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **name** | **String** | | [optional] |
8
+ | **confidence** | **Float** | | [optional] |
9
+ | **instances** | [**Array&lt;Instance&gt;**](Instance.md) | | [optional] |
10
+ | **parents** | [**Array&lt;Parent&gt;**](Parent.md) | | [optional] |
11
+ | **aliases** | [**Array&lt;LabelAlias&gt;**](LabelAlias.md) | | [optional] |
12
+ | **categories** | [**Array&lt;LabelCategory&gt;**](LabelCategory.md) | | [optional] |
13
+
14
+ ## Example
15
+
16
+ ```ruby
17
+ require 'songtradr_api_client_ruby'
18
+
19
+ instance = SongtradrApiClientRuby::Label.new(
20
+ name: null,
21
+ confidence: null,
22
+ instances: null,
23
+ parents: null,
24
+ aliases: null,
25
+ categories: null
26
+ )
27
+ ```
28
+
@@ -0,0 +1,18 @@
1
+ # SongtradrApiClientRuby::LabelAlias
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **name** | **String** | | [optional] |
8
+
9
+ ## Example
10
+
11
+ ```ruby
12
+ require 'songtradr_api_client_ruby'
13
+
14
+ instance = SongtradrApiClientRuby::LabelAlias.new(
15
+ name: null
16
+ )
17
+ ```
18
+
@@ -0,0 +1,18 @@
1
+ # SongtradrApiClientRuby::LabelCategory
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **name** | **String** | | [optional] |
8
+
9
+ ## Example
10
+
11
+ ```ruby
12
+ require 'songtradr_api_client_ruby'
13
+
14
+ instance = SongtradrApiClientRuby::LabelCategory.new(
15
+ name: null
16
+ )
17
+ ```
18
+
@@ -0,0 +1,26 @@
1
+ # SongtradrApiClientRuby::LabelDetection
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **timestamp** | **Integer** | | [optional] |
8
+ | **label** | [**Label**](Label.md) | | [optional] |
9
+ | **start_timestamp_millis** | **Integer** | | [optional] |
10
+ | **end_timestamp_millis** | **Integer** | | [optional] |
11
+ | **duration_millis** | **Integer** | | [optional] |
12
+
13
+ ## Example
14
+
15
+ ```ruby
16
+ require 'songtradr_api_client_ruby'
17
+
18
+ instance = SongtradrApiClientRuby::LabelDetection.new(
19
+ timestamp: null,
20
+ label: null,
21
+ start_timestamp_millis: null,
22
+ end_timestamp_millis: null,
23
+ duration_millis: null
24
+ )
25
+ ```
26
+
data/docs/Landmark.md ADDED
@@ -0,0 +1,22 @@
1
+ # SongtradrApiClientRuby::Landmark
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **type** | **String** | | [optional] |
8
+ | **x** | **Float** | | [optional] |
9
+ | **y** | **Float** | | [optional] |
10
+
11
+ ## Example
12
+
13
+ ```ruby
14
+ require 'songtradr_api_client_ruby'
15
+
16
+ instance = SongtradrApiClientRuby::Landmark.new(
17
+ type: null,
18
+ x: null,
19
+ y: null
20
+ )
21
+ ```
22
+
data/docs/MouthOpen.md ADDED
@@ -0,0 +1,20 @@
1
+ # SongtradrApiClientRuby::MouthOpen
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **value** | **Boolean** | | [optional] |
8
+ | **confidence** | **Float** | | [optional] |
9
+
10
+ ## Example
11
+
12
+ ```ruby
13
+ require 'songtradr_api_client_ruby'
14
+
15
+ instance = SongtradrApiClientRuby::MouthOpen.new(
16
+ value: null,
17
+ confidence: null
18
+ )
19
+ ```
20
+
@@ -5,7 +5,6 @@
5
5
  | Name | Type | Description | Notes |
6
6
  | ---- | ---- | ----------- | ----- |
7
7
  | **space** | **String** | Search for space | [optional] |
8
- | **harmony_affinity** | **Float** | | [optional] |
9
8
  | **language_of_performance** | **String** | | [optional] |
10
9
  | **arousal** | **String** | Search for an arousal | [optional] |
11
10
  | **dominant_instrument** | **String** | Search for a dominant instrument | [optional] |
@@ -21,15 +20,6 @@
21
20
  | **scale** | **String** | Search for a tonal scale | [optional] |
22
21
  | **sound_generation** | **String** | Search for type of sound generation | [optional] |
23
22
  | **tempo** | **String** | Search for tempo | [optional] |
24
- | **texture** | **String** | Search for texture | [optional] |
25
- | **timbre** | **String** | Search for timbre | [optional] |
26
- | **tonality** | **String** | Search for tonality | [optional] |
27
- | **valence** | **String** | Search for a valence | [optional] |
28
- | **vocals** | **String** | Search for a vocal gender or instrumental songs | [optional] |
29
- | **origin_decade** | **String** | Search for origin decade | [optional] |
30
- | **curateability** | **String** | Search for curatebility | [optional] |
31
- | **use_case** | **String** | Search for use case | [optional] |
32
- | **channel_suitability** | **String** | Search for social media suitability | [optional] |
33
23
  | **primary_mood_cluster_affinity** | **Float** | | [optional] |
34
24
  | **secondary_mood_cluster** | **String** | Search for a language of the lyrics | [optional] |
35
25
  | **secondary_mood_cluster_affinity** | **Float** | | [optional] |
@@ -74,21 +64,31 @@
74
64
  | **industry_suitability** | **String** | Search for Industry suitability | [optional] |
75
65
  | **industry_suitability_affinity** | **Float** | | [optional] |
76
66
  | **audience_region** | **String** | | [optional] |
67
+ | **texture** | **String** | Search for texture | [optional] |
68
+ | **timbre** | **String** | Search for timbre | [optional] |
69
+ | **tonality** | **String** | Search for tonality | [optional] |
70
+ | **valence** | **String** | Search for a valence | [optional] |
71
+ | **vocals** | **String** | Search for a vocal gender or instrumental songs | [optional] |
72
+ | **origin_decade** | **String** | Search for origin decade | [optional] |
73
+ | **curateability** | **String** | Search for curatebility | [optional] |
74
+ | **use_case** | **String** | Search for use case | [optional] |
75
+ | **channel_suitability** | **String** | Search for social media suitability | [optional] |
76
+ | **valence_affinity** | **Float** | | [optional] |
77
77
  | **arousal_affinity** | **Float** | | [optional] |
78
- | **channel_suitability_affinity** | **Float** | | [optional] |
79
- | **key** | **String** | Search for a harmonic key | [optional] |
80
- | **energy_affinity** | **Float** | | [optional] |
81
- | **key_affinity** | **Float** | | [optional] |
82
78
  | **pleasantness_affinity** | **Float** | | [optional] |
83
79
  | **engagement_affinity** | **Float** | | [optional] |
84
- | **roughness_affinity** | **Float** | | [optional] |
80
+ | **energy_affinity** | **Float** | | [optional] |
81
+ | **tempo_affinity** | **Float** | | [optional] |
82
+ | **scale_affinity** | **Float** | | [optional] |
85
83
  | **timbre_affinity** | **Float** | | [optional] |
84
+ | **roughness_affinity** | **Float** | | [optional] |
85
+ | **harmony_affinity** | **Float** | | [optional] |
86
86
  | **texture_affinity** | **Float** | | [optional] |
87
- | **space_affinity** | **Float** | | [optional] |
88
87
  | **groovyness_affinity** | **Float** | | [optional] |
89
- | **valence_affinity** | **Float** | | [optional] |
90
- | **tempo_affinity** | **Float** | | [optional] |
91
- | **scale_affinity** | **Float** | | [optional] |
88
+ | **space_affinity** | **Float** | | [optional] |
89
+ | **key_affinity** | **Float** | | [optional] |
90
+ | **channel_suitability_affinity** | **Float** | | [optional] |
91
+ | **key** | **String** | Search for a harmonic key | [optional] |
92
92
 
93
93
  ## Example
94
94
 
@@ -97,7 +97,6 @@ require 'songtradr_api_client_ruby'
97
97
 
98
98
  instance = SongtradrApiClientRuby::MusicalFeaturesDTO.new(
99
99
  space: null,
100
- harmony_affinity: null,
101
100
  language_of_performance: null,
102
101
  arousal: null,
103
102
  dominant_instrument: null,
@@ -113,15 +112,6 @@ instance = SongtradrApiClientRuby::MusicalFeaturesDTO.new(
113
112
  scale: null,
114
113
  sound_generation: null,
115
114
  tempo: null,
116
- texture: null,
117
- timbre: null,
118
- tonality: null,
119
- valence: null,
120
- vocals: null,
121
- origin_decade: null,
122
- curateability: null,
123
- use_case: null,
124
- channel_suitability: null,
125
115
  primary_mood_cluster_affinity: null,
126
116
  secondary_mood_cluster: null,
127
117
  secondary_mood_cluster_affinity: null,
@@ -166,21 +156,31 @@ instance = SongtradrApiClientRuby::MusicalFeaturesDTO.new(
166
156
  industry_suitability: null,
167
157
  industry_suitability_affinity: null,
168
158
  audience_region: null,
159
+ texture: null,
160
+ timbre: null,
161
+ tonality: null,
162
+ valence: null,
163
+ vocals: null,
164
+ origin_decade: null,
165
+ curateability: null,
166
+ use_case: null,
167
+ channel_suitability: null,
168
+ valence_affinity: null,
169
169
  arousal_affinity: null,
170
- channel_suitability_affinity: null,
171
- key: null,
172
- energy_affinity: null,
173
- key_affinity: null,
174
170
  pleasantness_affinity: null,
175
171
  engagement_affinity: null,
176
- roughness_affinity: null,
172
+ energy_affinity: null,
173
+ tempo_affinity: null,
174
+ scale_affinity: null,
177
175
  timbre_affinity: null,
176
+ roughness_affinity: null,
177
+ harmony_affinity: null,
178
178
  texture_affinity: null,
179
- space_affinity: null,
180
179
  groovyness_affinity: null,
181
- valence_affinity: null,
182
- tempo_affinity: null,
183
- scale_affinity: null
180
+ space_affinity: null,
181
+ key_affinity: null,
182
+ channel_suitability_affinity: null,
183
+ key: null
184
184
  )
185
185
  ```
186
186
 
data/docs/Mustache.md ADDED
@@ -0,0 +1,20 @@
1
+ # SongtradrApiClientRuby::Mustache
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **value** | **Boolean** | | [optional] |
8
+ | **confidence** | **Float** | | [optional] |
9
+
10
+ ## Example
11
+
12
+ ```ruby
13
+ require 'songtradr_api_client_ruby'
14
+
15
+ instance = SongtradrApiClientRuby::Mustache.new(
16
+ value: null,
17
+ confidence: null
18
+ )
19
+ ```
20
+
data/docs/Parent.md ADDED
@@ -0,0 +1,18 @@
1
+ # SongtradrApiClientRuby::Parent
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **name** | **String** | | [optional] |
8
+
9
+ ## Example
10
+
11
+ ```ruby
12
+ require 'songtradr_api_client_ruby'
13
+
14
+ instance = SongtradrApiClientRuby::Parent.new(
15
+ name: null
16
+ )
17
+ ```
18
+
data/docs/PlaylistApi.md CHANGED
@@ -6,6 +6,7 @@ All URIs are relative to *https://api.songtradr.com*
6
6
  | ------ | ------------ | ----------- |
7
7
  | [**all_playlists**](PlaylistApi.md#all_playlists) | **GET** /api/v1/playlist | All playlists. |
8
8
  | [**create_or_update_playlist**](PlaylistApi.md#create_or_update_playlist) | **POST** /api/v1/playlist | Create and edit playlist. |
9
+ | [**curate_playlist**](PlaylistApi.md#curate_playlist) | **POST** /api/v1/playlist/{methodName} | Curate playlist. |
9
10
  | [**delete_playlist**](PlaylistApi.md#delete_playlist) | **DELETE** /api/v1/playlist/{songtradrPlaylistGuid} | Delete playlist. |
10
11
 
11
12
 
@@ -153,6 +154,75 @@ end
153
154
  - **Accept**: application/json
154
155
 
155
156
 
157
+ ## curate_playlist
158
+
159
+ > <CuratePlaylistResponseDTO> curate_playlist(method_name, curate_playlist_dto)
160
+
161
+ Curate playlist.
162
+
163
+ ### Examples
164
+
165
+ ```ruby
166
+ require 'time'
167
+ require 'songtradr_api_client_ruby'
168
+ # setup authorization
169
+ SongtradrApiClientRuby.configure do |config|
170
+ # Configure Bearer authorization (JWT): bearer-jwt
171
+ config.access_token = 'YOUR_BEARER_TOKEN'
172
+ end
173
+
174
+ api_instance = SongtradrApiClientRuby::PlaylistApi.new
175
+ method_name = 'RECOMMEND' # String | Name of the curation task that should be executed
176
+ curate_playlist_dto = SongtradrApiClientRuby::CuratePlaylistDTO.new # CuratePlaylistDTO |
177
+
178
+ begin
179
+ # Curate playlist.
180
+ result = api_instance.curate_playlist(method_name, curate_playlist_dto)
181
+ p result
182
+ rescue SongtradrApiClientRuby::ApiError => e
183
+ puts "Error when calling PlaylistApi->curate_playlist: #{e}"
184
+ end
185
+ ```
186
+
187
+ #### Using the curate_playlist_with_http_info variant
188
+
189
+ This returns an Array which contains the response data, status code and headers.
190
+
191
+ > <Array(<CuratePlaylistResponseDTO>, Integer, Hash)> curate_playlist_with_http_info(method_name, curate_playlist_dto)
192
+
193
+ ```ruby
194
+ begin
195
+ # Curate playlist.
196
+ data, status_code, headers = api_instance.curate_playlist_with_http_info(method_name, curate_playlist_dto)
197
+ p status_code # => 2xx
198
+ p headers # => { ... }
199
+ p data # => <CuratePlaylistResponseDTO>
200
+ rescue SongtradrApiClientRuby::ApiError => e
201
+ puts "Error when calling PlaylistApi->curate_playlist_with_http_info: #{e}"
202
+ end
203
+ ```
204
+
205
+ ### Parameters
206
+
207
+ | Name | Type | Description | Notes |
208
+ | ---- | ---- | ----------- | ----- |
209
+ | **method_name** | **String** | Name of the curation task that should be executed | |
210
+ | **curate_playlist_dto** | [**CuratePlaylistDTO**](CuratePlaylistDTO.md) | | |
211
+
212
+ ### Return type
213
+
214
+ [**CuratePlaylistResponseDTO**](CuratePlaylistResponseDTO.md)
215
+
216
+ ### Authorization
217
+
218
+ [bearer-jwt](../README.md#bearer-jwt)
219
+
220
+ ### HTTP request headers
221
+
222
+ - **Content-Type**: application/json
223
+ - **Accept**: application/json
224
+
225
+
156
226
  ## delete_playlist
157
227
 
158
228
  > Object delete_playlist(songtradr_playlist_guid)