songtradr_api_client_ruby 1.13.4 → 1.13.5

Sign up to get free protection for your applications and to get access to all the features.
Files changed (281) 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/ApiKeyDTO.md +3 -3
  9. data/docs/Beard.md +20 -0
  10. data/docs/BoundingBox.md +24 -0
  11. data/docs/ContextValue.md +18 -0
  12. data/docs/CuratePlaylistDTO.md +26 -0
  13. data/docs/CuratePlaylistResponseDTO.md +18 -0
  14. data/docs/DominantColor.md +30 -0
  15. data/docs/Emotion.md +20 -0
  16. data/docs/EyeDirection.md +22 -0
  17. data/docs/EyeOpen.md +20 -0
  18. data/docs/Eyeglasses.md +20 -0
  19. data/docs/FaceDetail.md +50 -0
  20. data/docs/FaceDetection.md +20 -0
  21. data/docs/FaceOccluded.md +20 -0
  22. data/docs/FileSmallDTO.md +7 -7
  23. data/docs/Gender.md +20 -0
  24. data/docs/ImageQuality.md +20 -0
  25. data/docs/ImageRecognitionResponse.md +20 -0
  26. data/docs/Instance.md +22 -0
  27. data/docs/InternalApiApi.md +149 -0
  28. data/docs/Label.md +28 -0
  29. data/docs/LabelAlias.md +18 -0
  30. data/docs/LabelCategory.md +18 -0
  31. data/docs/LabelDetection.md +26 -0
  32. data/docs/Landmark.md +22 -0
  33. data/docs/MouthOpen.md +20 -0
  34. data/docs/MusicalFeaturesDTO.md +26 -26
  35. data/docs/Mustache.md +20 -0
  36. data/docs/Parent.md +18 -0
  37. data/docs/PlaylistApi.md +70 -0
  38. data/docs/PlaylistLargeDTO.md +3 -3
  39. data/docs/Pose.md +22 -0
  40. data/docs/ProductMediumDTO.md +2 -2
  41. data/docs/ProductPartyDTO.md +3 -3
  42. data/docs/RecordingLargeDTO.md +11 -11
  43. data/docs/RecordingMediumDTO.md +9 -9
  44. data/docs/RecordingMinimalWithMusicalFeaturesDTO.md +3 -3
  45. data/docs/RecordingPartyDTO.md +3 -3
  46. data/docs/RecordingSmallDTO.md +4 -4
  47. data/docs/SaveFileDTO.md +42 -0
  48. data/docs/SaveFileRecordingDTO.md +5 -1
  49. data/docs/Smile.md +20 -0
  50. data/docs/Sunglasses.md +20 -0
  51. data/docs/UserApi.md +140 -0
  52. data/docs/VideoRecognitionResponse.md +20 -0
  53. data/lib/songtradr_api_client_ruby/api/admin_users_controller_api.rb +346 -0
  54. data/lib/songtradr_api_client_ruby/api/allowed_values_api.rb +1 -1
  55. data/lib/songtradr_api_client_ruby/api/api_keys_api.rb +1 -1
  56. data/lib/songtradr_api_client_ruby/api/internal_api_api.rb +169 -0
  57. data/lib/songtradr_api_client_ruby/api/party_api.rb +1 -1
  58. data/lib/songtradr_api_client_ruby/api/playlist_api.rb +78 -1
  59. data/lib/songtradr_api_client_ruby/api/recording_api.rb +1 -1
  60. data/lib/songtradr_api_client_ruby/api/user_api.rb +137 -1
  61. data/lib/songtradr_api_client_ruby/api_client.rb +3 -2
  62. data/lib/songtradr_api_client_ruby/api_error.rb +1 -1
  63. data/lib/songtradr_api_client_ruby/configuration.rb +2 -1
  64. data/lib/songtradr_api_client_ruby/models/admin_api_create_user_dto.rb +489 -0
  65. data/lib/songtradr_api_client_ruby/models/admin_api_update_user_dto.rb +475 -0
  66. data/lib/songtradr_api_client_ruby/models/admin_api_user_dto.rb +1 -1
  67. data/lib/songtradr_api_client_ruby/models/age_range.rb +223 -0
  68. data/lib/songtradr_api_client_ruby/models/api_key_dto.rb +14 -14
  69. data/lib/songtradr_api_client_ruby/models/beard.rb +223 -0
  70. data/lib/songtradr_api_client_ruby/models/bounding_box.rb +241 -0
  71. data/lib/songtradr_api_client_ruby/models/category_medium_dto.rb +1 -1
  72. data/lib/songtradr_api_client_ruby/models/category_minimal_dto.rb +1 -1
  73. data/lib/songtradr_api_client_ruby/models/config_access_dto.rb +1 -1
  74. data/lib/songtradr_api_client_ruby/models/config_identifier_dto.rb +1 -1
  75. data/lib/songtradr_api_client_ruby/models/context_value.rb +216 -0
  76. data/lib/songtradr_api_client_ruby/models/contributor_type_dto.rb +1 -1
  77. data/lib/songtradr_api_client_ruby/models/create_api_key_dto.rb +1 -1
  78. data/lib/songtradr_api_client_ruby/models/curate_playlist_dto.rb +256 -0
  79. data/lib/songtradr_api_client_ruby/models/curate_playlist_response_dto.rb +216 -0
  80. data/lib/songtradr_api_client_ruby/models/dominant_color.rb +268 -0
  81. data/lib/songtradr_api_client_ruby/models/emotion.rb +223 -0
  82. data/lib/songtradr_api_client_ruby/models/error_response.rb +1 -1
  83. data/lib/songtradr_api_client_ruby/models/eye_direction.rb +232 -0
  84. data/lib/songtradr_api_client_ruby/models/eye_open.rb +223 -0
  85. data/lib/songtradr_api_client_ruby/models/eyeglasses.rb +223 -0
  86. data/lib/songtradr_api_client_ruby/models/face_detail.rb +362 -0
  87. data/lib/songtradr_api_client_ruby/models/face_detection.rb +223 -0
  88. data/lib/songtradr_api_client_ruby/models/face_occluded.rb +223 -0
  89. data/lib/songtradr_api_client_ruby/models/field_summary_dto.rb +1 -1
  90. data/lib/songtradr_api_client_ruby/models/file_dto.rb +1 -1
  91. data/lib/songtradr_api_client_ruby/models/file_list_dto.rb +1 -1
  92. data/lib/songtradr_api_client_ruby/models/file_minimal_with_url_dto.rb +1 -1
  93. data/lib/songtradr_api_client_ruby/models/file_small_dto.rb +32 -32
  94. data/lib/songtradr_api_client_ruby/models/file_upload_dto.rb +1 -1
  95. data/lib/songtradr_api_client_ruby/models/file_w_ith_url_dto.rb +1 -1
  96. data/lib/songtradr_api_client_ruby/models/files_summary_dto.rb +1 -1
  97. data/lib/songtradr_api_client_ruby/models/forgot_password_dto.rb +1 -1
  98. data/lib/songtradr_api_client_ruby/models/gender.rb +223 -0
  99. data/lib/songtradr_api_client_ruby/models/genre_dto.rb +1 -1
  100. data/lib/songtradr_api_client_ruby/models/genre_minimal_dto.rb +1 -1
  101. data/lib/songtradr_api_client_ruby/models/genres_summary_dto.rb +1 -1
  102. data/lib/songtradr_api_client_ruby/models/image_quality.rb +223 -0
  103. data/lib/songtradr_api_client_ruby/models/image_recognition_response.rb +227 -0
  104. data/lib/songtradr_api_client_ruby/models/init_put_recording_audio_dto.rb +1 -1
  105. data/lib/songtradr_api_client_ruby/models/instance.rb +234 -0
  106. data/lib/songtradr_api_client_ruby/models/jwt_token_dto.rb +1 -1
  107. data/lib/songtradr_api_client_ruby/models/label.rb +267 -0
  108. data/lib/songtradr_api_client_ruby/models/label_alias.rb +214 -0
  109. data/lib/songtradr_api_client_ruby/models/label_category.rb +214 -0
  110. data/lib/songtradr_api_client_ruby/models/label_detection.rb +250 -0
  111. data/lib/songtradr_api_client_ruby/models/landmark.rb +232 -0
  112. data/lib/songtradr_api_client_ruby/models/login_dto.rb +1 -1
  113. data/lib/songtradr_api_client_ruby/models/mouth_open.rb +223 -0
  114. data/lib/songtradr_api_client_ruby/models/musical_features_dto.rb +302 -302
  115. data/lib/songtradr_api_client_ruby/models/mustache.rb +223 -0
  116. data/lib/songtradr_api_client_ruby/models/p_line_dto.rb +1 -1
  117. data/lib/songtradr_api_client_ruby/models/parent.rb +214 -0
  118. data/lib/songtradr_api_client_ruby/models/party_large_dto.rb +1 -1
  119. data/lib/songtradr_api_client_ruby/models/party_small_dto.rb +1 -1
  120. data/lib/songtradr_api_client_ruby/models/playlist_large_dto.rb +16 -16
  121. data/lib/songtradr_api_client_ruby/models/pose.rb +232 -0
  122. data/lib/songtradr_api_client_ruby/models/product_medium_dto.rb +11 -11
  123. data/lib/songtradr_api_client_ruby/models/product_party_dto.rb +16 -16
  124. data/lib/songtradr_api_client_ruby/models/recording_for_similarity_search_dto.rb +1 -1
  125. data/lib/songtradr_api_client_ruby/models/recording_genre_prediction_dto.rb +1 -1
  126. data/lib/songtradr_api_client_ruby/models/recording_large_dto.rb +59 -59
  127. data/lib/songtradr_api_client_ruby/models/recording_list_dto.rb +1 -1
  128. data/lib/songtradr_api_client_ruby/models/recording_medium_dto.rb +50 -50
  129. data/lib/songtradr_api_client_ruby/models/recording_minimal_with_musical_features_dto.rb +16 -16
  130. data/lib/songtradr_api_client_ruby/models/recording_minimal_with_taggrams_dto.rb +1 -1
  131. data/lib/songtradr_api_client_ruby/models/recording_minimal_with_tagstrengths_dto.rb +1 -1
  132. data/lib/songtradr_api_client_ruby/models/recording_party_dto.rb +16 -16
  133. data/lib/songtradr_api_client_ruby/models/recording_playlist_dto.rb +1 -1
  134. data/lib/songtradr_api_client_ruby/models/recording_small_dto.rb +28 -28
  135. data/lib/songtradr_api_client_ruby/models/recording_tag_small_dto.rb +1 -1
  136. data/lib/songtradr_api_client_ruby/models/save_file_dto.rb +323 -0
  137. data/lib/songtradr_api_client_ruby/models/save_file_recording_dto.rb +23 -5
  138. data/lib/songtradr_api_client_ruby/models/save_playlist_dto.rb +1 -1
  139. data/lib/songtradr_api_client_ruby/models/save_recording_genre_dto.rb +1 -1
  140. data/lib/songtradr_api_client_ruby/models/save_recording_party_dto.rb +1 -1
  141. data/lib/songtradr_api_client_ruby/models/save_recording_playlist_dto.rb +1 -1
  142. data/lib/songtradr_api_client_ruby/models/save_recording_tag_dto.rb +1 -1
  143. data/lib/songtradr_api_client_ruby/models/save_referrer_dto.rb +1 -1
  144. data/lib/songtradr_api_client_ruby/models/save_taggrams_dto.rb +1 -1
  145. data/lib/songtradr_api_client_ruby/models/save_user_dto.rb +1 -1
  146. data/lib/songtradr_api_client_ruby/models/search_filter_values_dto.rb +1 -1
  147. data/lib/songtradr_api_client_ruby/models/search_recording_granular_abstraction_dto.rb +1 -1
  148. data/lib/songtradr_api_client_ruby/models/search_recording_granular_dto.rb +1 -1
  149. data/lib/songtradr_api_client_ruby/models/sign_up_dto.rb +1 -1
  150. data/lib/songtradr_api_client_ruby/models/smile.rb +223 -0
  151. data/lib/songtradr_api_client_ruby/models/sunglasses.rb +223 -0
  152. data/lib/songtradr_api_client_ruby/models/tag_dto.rb +1 -1
  153. data/lib/songtradr_api_client_ruby/models/tag_small_dto.rb +1 -1
  154. data/lib/songtradr_api_client_ruby/models/taggram_dto.rb +1 -1
  155. data/lib/songtradr_api_client_ruby/models/tags_summary_dto.rb +1 -1
  156. data/lib/songtradr_api_client_ruby/models/tagstrength_dto.rb +1 -1
  157. data/lib/songtradr_api_client_ruby/models/title_dto.rb +1 -1
  158. data/lib/songtradr_api_client_ruby/models/token_request.rb +1 -1
  159. data/lib/songtradr_api_client_ruby/models/track_dto.rb +1 -1
  160. data/lib/songtradr_api_client_ruby/models/track_to_medium_product_dto.rb +1 -1
  161. data/lib/songtradr_api_client_ruby/models/update_password_dto.rb +1 -1
  162. data/lib/songtradr_api_client_ruby/models/usage_dto.rb +1 -1
  163. data/lib/songtradr_api_client_ruby/models/user_dto.rb +1 -1
  164. data/lib/songtradr_api_client_ruby/models/video_recognition_response.rb +227 -0
  165. data/lib/songtradr_api_client_ruby/version.rb +2 -2
  166. data/lib/songtradr_api_client_ruby.rb +36 -1
  167. data/openapi-generator-config.yaml +1 -1
  168. data/songtradr_api_client_ruby.gemspec +1 -1
  169. data/spec/api/admin_users_controller_api_spec.rb +93 -0
  170. data/spec/api/allowed_values_api_spec.rb +1 -1
  171. data/spec/api/api_keys_api_spec.rb +1 -1
  172. data/spec/api/internal_api_api_spec.rb +58 -0
  173. data/spec/api/party_api_spec.rb +1 -1
  174. data/spec/api/playlist_api_spec.rb +13 -1
  175. data/spec/api/recording_api_spec.rb +1 -1
  176. data/spec/api/user_api_spec.rb +25 -1
  177. data/spec/api_client_spec.rb +1 -1
  178. data/spec/configuration_spec.rb +1 -1
  179. data/spec/models/admin_api_create_user_dto_spec.rb +210 -0
  180. data/spec/models/admin_api_update_user_dto_spec.rb +210 -0
  181. data/spec/models/admin_api_user_dto_spec.rb +4 -2
  182. data/spec/models/age_range_spec.rb +42 -0
  183. data/spec/models/api_key_dto_spec.rb +6 -4
  184. data/spec/models/beard_spec.rb +42 -0
  185. data/spec/models/bounding_box_spec.rb +54 -0
  186. data/spec/models/category_medium_dto_spec.rb +4 -2
  187. data/spec/models/category_minimal_dto_spec.rb +4 -2
  188. data/spec/models/config_access_dto_spec.rb +4 -2
  189. data/spec/models/config_identifier_dto_spec.rb +4 -2
  190. data/spec/models/context_value_spec.rb +36 -0
  191. data/spec/models/contributor_type_dto_spec.rb +4 -2
  192. data/spec/models/create_api_key_dto_spec.rb +4 -2
  193. data/spec/models/curate_playlist_dto_spec.rb +60 -0
  194. data/spec/models/curate_playlist_response_dto_spec.rb +36 -0
  195. data/spec/models/dominant_color_spec.rb +72 -0
  196. data/spec/models/emotion_spec.rb +42 -0
  197. data/spec/models/error_response_spec.rb +4 -2
  198. data/spec/models/eye_direction_spec.rb +48 -0
  199. data/spec/models/eye_open_spec.rb +42 -0
  200. data/spec/models/eyeglasses_spec.rb +42 -0
  201. data/spec/models/face_detail_spec.rb +132 -0
  202. data/spec/models/face_detection_spec.rb +42 -0
  203. data/spec/models/face_occluded_spec.rb +42 -0
  204. data/spec/models/field_summary_dto_spec.rb +4 -2
  205. data/spec/models/file_dto_spec.rb +4 -2
  206. data/spec/models/file_list_dto_spec.rb +4 -2
  207. data/spec/models/file_minimal_with_url_dto_spec.rb +4 -2
  208. data/spec/models/file_small_dto_spec.rb +20 -18
  209. data/spec/models/file_upload_dto_spec.rb +4 -2
  210. data/spec/models/file_w_ith_url_dto_spec.rb +4 -2
  211. data/spec/models/files_summary_dto_spec.rb +4 -2
  212. data/spec/models/forgot_password_dto_spec.rb +4 -2
  213. data/spec/models/gender_spec.rb +42 -0
  214. data/spec/models/genre_dto_spec.rb +4 -2
  215. data/spec/models/genre_minimal_dto_spec.rb +4 -2
  216. data/spec/models/genres_summary_dto_spec.rb +4 -2
  217. data/spec/models/image_quality_spec.rb +42 -0
  218. data/spec/models/image_recognition_response_spec.rb +42 -0
  219. data/spec/models/init_put_recording_audio_dto_spec.rb +4 -2
  220. data/spec/models/instance_spec.rb +48 -0
  221. data/spec/models/jwt_token_dto_spec.rb +4 -2
  222. data/spec/models/label_alias_spec.rb +36 -0
  223. data/spec/models/label_category_spec.rb +36 -0
  224. data/spec/models/label_detection_spec.rb +60 -0
  225. data/spec/models/label_spec.rb +66 -0
  226. data/spec/models/landmark_spec.rb +48 -0
  227. data/spec/models/login_dto_spec.rb +4 -2
  228. data/spec/models/mouth_open_spec.rb +42 -0
  229. data/spec/models/musical_features_dto_spec.rb +134 -132
  230. data/spec/models/mustache_spec.rb +42 -0
  231. data/spec/models/p_line_dto_spec.rb +4 -2
  232. data/spec/models/parent_spec.rb +36 -0
  233. data/spec/models/party_large_dto_spec.rb +4 -2
  234. data/spec/models/party_small_dto_spec.rb +4 -2
  235. data/spec/models/playlist_large_dto_spec.rb +10 -8
  236. data/spec/models/pose_spec.rb +48 -0
  237. data/spec/models/product_medium_dto_spec.rb +7 -5
  238. data/spec/models/product_party_dto_spec.rb +6 -4
  239. data/spec/models/recording_for_similarity_search_dto_spec.rb +4 -2
  240. data/spec/models/recording_genre_prediction_dto_spec.rb +4 -2
  241. data/spec/models/recording_large_dto_spec.rb +15 -13
  242. data/spec/models/recording_list_dto_spec.rb +4 -2
  243. data/spec/models/recording_medium_dto_spec.rb +15 -13
  244. data/spec/models/recording_minimal_with_musical_features_dto_spec.rb +6 -4
  245. data/spec/models/recording_minimal_with_taggrams_dto_spec.rb +4 -2
  246. data/spec/models/recording_minimal_with_tagstrengths_dto_spec.rb +4 -2
  247. data/spec/models/recording_party_dto_spec.rb +6 -4
  248. data/spec/models/recording_playlist_dto_spec.rb +4 -2
  249. data/spec/models/recording_small_dto_spec.rb +6 -4
  250. data/spec/models/recording_tag_small_dto_spec.rb +4 -2
  251. data/spec/models/save_file_dto_spec.rb +108 -0
  252. data/spec/models/save_file_recording_dto_spec.rb +16 -2
  253. data/spec/models/save_playlist_dto_spec.rb +4 -2
  254. data/spec/models/save_recording_genre_dto_spec.rb +4 -2
  255. data/spec/models/save_recording_party_dto_spec.rb +4 -2
  256. data/spec/models/save_recording_playlist_dto_spec.rb +4 -2
  257. data/spec/models/save_recording_tag_dto_spec.rb +4 -2
  258. data/spec/models/save_referrer_dto_spec.rb +4 -2
  259. data/spec/models/save_taggrams_dto_spec.rb +4 -2
  260. data/spec/models/save_user_dto_spec.rb +4 -2
  261. data/spec/models/search_filter_values_dto_spec.rb +4 -2
  262. data/spec/models/search_recording_granular_abstraction_dto_spec.rb +4 -2
  263. data/spec/models/search_recording_granular_dto_spec.rb +4 -2
  264. data/spec/models/sign_up_dto_spec.rb +4 -2
  265. data/spec/models/smile_spec.rb +42 -0
  266. data/spec/models/sunglasses_spec.rb +42 -0
  267. data/spec/models/tag_dto_spec.rb +4 -2
  268. data/spec/models/tag_small_dto_spec.rb +4 -2
  269. data/spec/models/taggram_dto_spec.rb +4 -2
  270. data/spec/models/tags_summary_dto_spec.rb +4 -2
  271. data/spec/models/tagstrength_dto_spec.rb +4 -2
  272. data/spec/models/title_dto_spec.rb +4 -2
  273. data/spec/models/token_request_spec.rb +4 -2
  274. data/spec/models/track_dto_spec.rb +4 -2
  275. data/spec/models/track_to_medium_product_dto_spec.rb +4 -2
  276. data/spec/models/update_password_dto_spec.rb +4 -2
  277. data/spec/models/usage_dto_spec.rb +4 -2
  278. data/spec/models/user_dto_spec.rb +4 -2
  279. data/spec/models/video_recognition_response_spec.rb +42 -0
  280. data/spec/spec_helper.rb +1 -1
  281. metadata +201 -61
@@ -0,0 +1,20 @@
1
+ # SongtradrApiClientRuby::FaceOccluded
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::FaceOccluded.new(
16
+ value: null,
17
+ confidence: null
18
+ )
19
+ ```
20
+
data/docs/FileSmallDTO.md CHANGED
@@ -9,6 +9,9 @@
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] |
14
+ | **error_time** | **Time** | | [optional] |
12
15
  | **object_key** | **String** | | |
13
16
  | **upload_start_time** | **Time** | | [optional] |
14
17
  | **upload_end_time** | **Time** | | [optional] |
@@ -16,9 +19,6 @@
16
19
  | **fingerprint_start_time** | **Time** | | [optional] |
17
20
  | **fingerprint_end_time** | **Time** | | [optional] |
18
21
  | **inference_status** | **String** | status of the auto-tagging | [optional] |
19
- | **inference_start_time** | **Time** | | [optional] |
20
- | **inference_end_time** | **Time** | | [optional] |
21
- | **error_time** | **Time** | | [optional] |
22
22
 
23
23
  ## Example
24
24
 
@@ -31,16 +31,16 @@ 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,
36
+ error_time: null,
34
37
  object_key: null,
35
38
  upload_start_time: null,
36
39
  upload_end_time: null,
37
40
  fingerprint_status: null,
38
41
  fingerprint_start_time: null,
39
42
  fingerprint_end_time: null,
40
- inference_status: null,
41
- inference_start_time: null,
42
- inference_end_time: null,
43
- error_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,19 +5,6 @@
5
5
  | Name | Type | Description | Notes |
6
6
  | ---- | ---- | ----------- | ----- |
7
7
  | **space** | **String** | Search for space | [optional] |
8
- | **roughness** | **String** | Search for roughness | [optional] |
9
- | **scale** | **String** | Search for a tonal scale | [optional] |
10
- | **sound_generation** | **String** | Search for type of sound generation | [optional] |
11
- | **tempo** | **String** | Search for tempo | [optional] |
12
- | **texture** | **String** | Search for texture | [optional] |
13
- | **timbre** | **String** | Search for timbre | [optional] |
14
- | **tonality** | **String** | Search for tonality | [optional] |
15
- | **valence** | **String** | Search for a valence | [optional] |
16
- | **vocals** | **String** | Search for a vocal gender or instrumental songs | [optional] |
17
- | **origin_decade** | **String** | Search for origin decade | [optional] |
18
- | **curateability** | **String** | Search for curatebility | [optional] |
19
- | **use_case** | **String** | Search for use case | [optional] |
20
- | **channel_suitability** | **String** | Search for social media suitability | [optional] |
21
8
  | **language_of_performance** | **String** | | [optional] |
22
9
  | **arousal** | **String** | Search for an arousal | [optional] |
23
10
  | **dominant_instrument** | **String** | Search for a dominant instrument | [optional] |
@@ -29,6 +16,10 @@
29
16
  | **primary_mood_cluster** | **String** | Search for a language of the lyrics | [optional] |
30
17
  | **primary_sound_character** | **String** | Search for a sound character | [optional] |
31
18
  | **rhythm** | **String** | Search for rhythm | [optional] |
19
+ | **roughness** | **String** | Search for roughness | [optional] |
20
+ | **scale** | **String** | Search for a tonal scale | [optional] |
21
+ | **sound_generation** | **String** | Search for type of sound generation | [optional] |
22
+ | **tempo** | **String** | Search for tempo | [optional] |
32
23
  | **primary_mood_cluster_affinity** | **Float** | | [optional] |
33
24
  | **secondary_mood_cluster** | **String** | Search for a language of the lyrics | [optional] |
34
25
  | **secondary_mood_cluster_affinity** | **Float** | | [optional] |
@@ -73,6 +64,15 @@
73
64
  | **industry_suitability** | **String** | Search for Industry suitability | [optional] |
74
65
  | **industry_suitability_affinity** | **Float** | | [optional] |
75
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
76
  | **valence_affinity** | **Float** | | [optional] |
77
77
  | **arousal_affinity** | **Float** | | [optional] |
78
78
  | **pleasantness_affinity** | **Float** | | [optional] |
@@ -97,19 +97,6 @@ require 'songtradr_api_client_ruby'
97
97
 
98
98
  instance = SongtradrApiClientRuby::MusicalFeaturesDTO.new(
99
99
  space: null,
100
- roughness: null,
101
- scale: null,
102
- sound_generation: null,
103
- tempo: null,
104
- texture: null,
105
- timbre: null,
106
- tonality: null,
107
- valence: null,
108
- vocals: null,
109
- origin_decade: null,
110
- curateability: null,
111
- use_case: null,
112
- channel_suitability: null,
113
100
  language_of_performance: null,
114
101
  arousal: null,
115
102
  dominant_instrument: null,
@@ -121,6 +108,10 @@ instance = SongtradrApiClientRuby::MusicalFeaturesDTO.new(
121
108
  primary_mood_cluster: null,
122
109
  primary_sound_character: null,
123
110
  rhythm: null,
111
+ roughness: null,
112
+ scale: null,
113
+ sound_generation: null,
114
+ tempo: null,
124
115
  primary_mood_cluster_affinity: null,
125
116
  secondary_mood_cluster: null,
126
117
  secondary_mood_cluster_affinity: null,
@@ -165,6 +156,15 @@ instance = SongtradrApiClientRuby::MusicalFeaturesDTO.new(
165
156
  industry_suitability: null,
166
157
  industry_suitability_affinity: null,
167
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
168
  valence_affinity: null,
169
169
  arousal_affinity: null,
170
170
  pleasantness_affinity: null,
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)
@@ -8,13 +8,13 @@
8
8
  | **state** | **String** | | [optional] |
9
9
  | **description** | **String** | | [optional] |
10
10
  | **songtradr_playlist_guid** | **String** | | [optional] |
11
+ | **usages** | [**Array&lt;UsageDTO&gt;**](UsageDTO.md) | | [optional] |
11
12
  | **asset_url** | **String** | | [optional] |
12
13
  | **pretzel_tier** | **String** | | [optional] |
13
14
  | **usage** | **String** | | [optional] |
14
15
  | **tracks** | [**Array&lt;RecordingPlaylistDTO&gt;**](RecordingPlaylistDTO.md) | | [optional] |
15
16
  | **created** | **Time** | | [optional] |
16
17
  | **updated** | **Time** | | [optional] |
17
- | **usages** | [**Array&lt;UsageDTO&gt;**](UsageDTO.md) | | [optional] |
18
18
 
19
19
  ## Example
20
20
 
@@ -26,13 +26,13 @@ instance = SongtradrApiClientRuby::PlaylistLargeDTO.new(
26
26
  state: null,
27
27
  description: null,
28
28
  songtradr_playlist_guid: null,
29
+ usages: null,
29
30
  asset_url: null,
30
31
  pretzel_tier: null,
31
32
  usage: null,
32
33
  tracks: null,
33
34
  created: null,
34
- updated: null,
35
- usages: null
35
+ updated: null
36
36
  )
37
37
  ```
38
38