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
data/docs/Pose.md ADDED
@@ -0,0 +1,22 @@
1
+ # SongtradrApiClientRuby::Pose
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **roll** | **Float** | | [optional] |
8
+ | **yaw** | **Float** | | [optional] |
9
+ | **pitch** | **Float** | | [optional] |
10
+
11
+ ## Example
12
+
13
+ ```ruby
14
+ require 'songtradr_api_client_ruby'
15
+
16
+ instance = SongtradrApiClientRuby::Pose.new(
17
+ roll: null,
18
+ yaw: null,
19
+ pitch: null
20
+ )
21
+ ```
22
+
@@ -5,9 +5,9 @@
5
5
  | Name | Type | Description | Notes |
6
6
  | ---- | ---- | ----------- | ----- |
7
7
  | **duration** | **Time** | | [optional] |
8
- | **pline** | [**PLineDTO**](PLineDTO.md) | | [optional] |
9
8
  | **genres** | [**Array<GenreMinimalDTO>**](GenreMinimalDTO.md) | | [optional] |
10
9
  | **titles** | [**Array<TitleDTO>**](TitleDTO.md) | | [optional] |
10
+ | **pline** | [**PLineDTO**](PLineDTO.md) | | [optional] |
11
11
  | **gtin** | **String** | | [optional] |
12
12
  | **grid** | **String** | | [optional] |
13
13
  | **release_date** | **Time** | | [optional] |
@@ -21,9 +21,9 @@ require 'songtradr_api_client_ruby'
21
21
 
22
22
  instance = SongtradrApiClientRuby::ProductMediumDTO.new(
23
23
  duration: null,
24
- pline: null,
25
24
  genres: null,
26
25
  titles: null,
26
+ pline: null,
27
27
  gtin: null,
28
28
  grid: null,
29
29
  release_date: null,
@@ -4,8 +4,8 @@
4
4
 
5
5
  | Name | Type | Description | Notes |
6
6
  | ---- | ---- | ----------- | ----- |
7
- | **contributor_types** | [**Array<ContributorTypeDTO>**](ContributorTypeDTO.md) | | [optional] |
8
7
  | **party** | [**PartySmallDTO**](PartySmallDTO.md) | | |
8
+ | **contributor_types** | [**Array<ContributorTypeDTO>**](ContributorTypeDTO.md) | | [optional] |
9
9
 
10
10
  ## Example
11
11
 
@@ -13,8 +13,8 @@
13
13
  require 'songtradr_api_client_ruby'
14
14
 
15
15
  instance = SongtradrApiClientRuby::ProductPartyDTO.new(
16
- contributor_types: null,
17
- party: null
16
+ party: null,
17
+ contributor_types: null
18
18
  )
19
19
  ```
20
20
 
@@ -5,17 +5,17 @@
5
5
  | Name | Type | Description | Notes |
6
6
  | ---- | ---- | ----------- | ----- |
7
7
  | **duration** | **Integer** | | [optional] |
8
- | **isrc** | **String** | | |
9
- | **spotify_id** | **String** | | [optional] |
10
- | **genre_predictions** | [**Array<RecordingGenrePredictionDTO>**](RecordingGenrePredictionDTO.md) | | [optional] |
11
- | **pline** | [**PLineDTO**](PLineDTO.md) | | [optional] |
8
+ | **parties** | [**Array<RecordingPartyDTO>**](RecordingPartyDTO.md) | | [optional] |
12
9
  | **genres** | [**Array<GenreDTO>**](GenreDTO.md) | | [optional] |
13
10
  | **language_of_performance** | **String** | | [optional] |
14
11
  | **titles** | [**Array<TitleDTO>**](TitleDTO.md) | | [optional] |
15
12
  | **tracks** | [**Array<TrackToMediumProductDTO>**](TrackToMediumProductDTO.md) | | [optional] |
16
13
  | **musical_features** | [**MusicalFeaturesDTO**](MusicalFeaturesDTO.md) | | [optional] |
17
- | **parties** | [**Array<RecordingPartyDTO>**](RecordingPartyDTO.md) | | [optional] |
14
+ | **isrc** | **String** | | |
18
15
  | **tags** | [**Array<RecordingTagSmallDTO>**](RecordingTagSmallDTO.md) | | [optional] |
16
+ | **spotify_id** | **String** | | [optional] |
17
+ | **pline** | [**PLineDTO**](PLineDTO.md) | | [optional] |
18
+ | **genre_predictions** | [**Array<RecordingGenrePredictionDTO>**](RecordingGenrePredictionDTO.md) | | [optional] |
19
19
 
20
20
  ## Example
21
21
 
@@ -24,17 +24,17 @@ require 'songtradr_api_client_ruby'
24
24
 
25
25
  instance = SongtradrApiClientRuby::RecordingLargeDTO.new(
26
26
  duration: null,
27
- isrc: null,
28
- spotify_id: null,
29
- genre_predictions: null,
30
- pline: null,
27
+ parties: null,
31
28
  genres: null,
32
29
  language_of_performance: null,
33
30
  titles: null,
34
31
  tracks: null,
35
32
  musical_features: null,
36
- parties: null,
37
- tags: null
33
+ isrc: null,
34
+ tags: null,
35
+ spotify_id: null,
36
+ pline: null,
37
+ genre_predictions: null
38
38
  )
39
39
  ```
40
40
 
@@ -4,17 +4,17 @@
4
4
 
5
5
  | Name | Type | Description | Notes |
6
6
  | ---- | ---- | ----------- | ----- |
7
- | **isrc** | **String** | | |
8
- | **spotify_id** | **String** | | [optional] |
9
- | **genre_predictions** | [**Array<RecordingGenrePredictionDTO>**](RecordingGenrePredictionDTO.md) | | [optional] |
7
+ | **recording_party_entities** | [**Array<RecordingPartyDTO>**](RecordingPartyDTO.md) | | [optional] |
10
8
  | **genres** | [**Array<GenreDTO>**](GenreDTO.md) | | [optional] |
11
9
  | **language_of_performance** | **String** | | [optional] |
12
10
  | **release_date** | **Time** | | [optional] |
13
11
  | **titles** | [**Array<TitleDTO>**](TitleDTO.md) | | [optional] |
14
12
  | **tracks** | [**Array<TrackDTO>**](TrackDTO.md) | | [optional] |
15
13
  | **musical_features** | [**MusicalFeaturesDTO**](MusicalFeaturesDTO.md) | | [optional] |
16
- | **recording_party_entities** | [**Array<RecordingPartyDTO>**](RecordingPartyDTO.md) | | [optional] |
14
+ | **isrc** | **String** | | |
17
15
  | **tags** | [**Array<RecordingTagSmallDTO>**](RecordingTagSmallDTO.md) | | [optional] |
16
+ | **spotify_id** | **String** | | [optional] |
17
+ | **genre_predictions** | [**Array<RecordingGenrePredictionDTO>**](RecordingGenrePredictionDTO.md) | | [optional] |
18
18
 
19
19
  ## Example
20
20
 
@@ -22,17 +22,17 @@
22
22
  require 'songtradr_api_client_ruby'
23
23
 
24
24
  instance = SongtradrApiClientRuby::RecordingMediumDTO.new(
25
- isrc: null,
26
- spotify_id: null,
27
- genre_predictions: null,
25
+ recording_party_entities: null,
28
26
  genres: null,
29
27
  language_of_performance: null,
30
28
  release_date: null,
31
29
  titles: null,
32
30
  tracks: null,
33
31
  musical_features: null,
34
- recording_party_entities: null,
35
- tags: null
32
+ isrc: null,
33
+ tags: null,
34
+ spotify_id: null,
35
+ genre_predictions: null
36
36
  )
37
37
  ```
38
38
 
@@ -4,8 +4,8 @@
4
4
 
5
5
  | Name | Type | Description | Notes |
6
6
  | ---- | ---- | ----------- | ----- |
7
- | **isrc** | **String** | | |
8
7
  | **musical_features** | [**Array<MusicalFeaturesDTO>**](MusicalFeaturesDTO.md) | | [optional] |
8
+ | **isrc** | **String** | | |
9
9
 
10
10
  ## Example
11
11
 
@@ -13,8 +13,8 @@
13
13
  require 'songtradr_api_client_ruby'
14
14
 
15
15
  instance = SongtradrApiClientRuby::RecordingMinimalWithMusicalFeaturesDTO.new(
16
- isrc: null,
17
- musical_features: null
16
+ musical_features: null,
17
+ isrc: null
18
18
  )
19
19
  ```
20
20
 
@@ -4,8 +4,8 @@
4
4
 
5
5
  | Name | Type | Description | Notes |
6
6
  | ---- | ---- | ----------- | ----- |
7
- | **contributor_types** | [**Array<ContributorTypeDTO>**](ContributorTypeDTO.md) | | [optional] |
8
7
  | **party** | [**PartySmallDTO**](PartySmallDTO.md) | | |
8
+ | **contributor_types** | [**Array<ContributorTypeDTO>**](ContributorTypeDTO.md) | | [optional] |
9
9
 
10
10
  ## Example
11
11
 
@@ -13,8 +13,8 @@
13
13
  require 'songtradr_api_client_ruby'
14
14
 
15
15
  instance = SongtradrApiClientRuby::RecordingPartyDTO.new(
16
- contributor_types: null,
17
- party: null
16
+ party: null,
17
+ contributor_types: null
18
18
  )
19
19
  ```
20
20
 
@@ -5,9 +5,9 @@
5
5
  | Name | Type | Description | Notes |
6
6
  | ---- | ---- | ----------- | ----- |
7
7
  | **duration** | **Integer** | | [optional] |
8
- | **isrc** | **String** | | |
9
- | **titles** | [**Array<TitleDTO>**](TitleDTO.md) | | [optional] |
10
8
  | **parties** | [**Array<RecordingPartyDTO>**](RecordingPartyDTO.md) | | [optional] |
9
+ | **titles** | [**Array<TitleDTO>**](TitleDTO.md) | | [optional] |
10
+ | **isrc** | **String** | | |
11
11
 
12
12
  ## Example
13
13
 
@@ -16,9 +16,9 @@ require 'songtradr_api_client_ruby'
16
16
 
17
17
  instance = SongtradrApiClientRuby::RecordingSmallDTO.new(
18
18
  duration: null,
19
- isrc: null,
19
+ parties: null,
20
20
  titles: null,
21
- parties: null
21
+ isrc: null
22
22
  )
23
23
  ```
24
24
 
@@ -0,0 +1,42 @@
1
+ # SongtradrApiClientRuby::SaveFileDTO
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **name** | **String** | | [optional] |
8
+ | **folder** | **String** | | [optional] |
9
+ | **extension** | **String** | | [optional] |
10
+ | **object_key** | **String** | | [optional] |
11
+ | **customer** | **String** | | [optional] |
12
+ | **upload_start_time** | **Time** | | [optional] |
13
+ | **upload_end_time** | **Time** | | [optional] |
14
+ | **fingerprint_status** | **String** | | [optional] |
15
+ | **fingerprint_start_time** | **Time** | | [optional] |
16
+ | **fingerprint_end_time** | **Time** | | [optional] |
17
+ | **inference_status** | **String** | | [optional] |
18
+ | **inference_start_time** | **Time** | | [optional] |
19
+ | **inference_end_time** | **Time** | | [optional] |
20
+
21
+ ## Example
22
+
23
+ ```ruby
24
+ require 'songtradr_api_client_ruby'
25
+
26
+ instance = SongtradrApiClientRuby::SaveFileDTO.new(
27
+ name: null,
28
+ folder: null,
29
+ extension: null,
30
+ object_key: null,
31
+ customer: null,
32
+ upload_start_time: null,
33
+ upload_end_time: null,
34
+ fingerprint_status: null,
35
+ fingerprint_start_time: null,
36
+ fingerprint_end_time: null,
37
+ inference_status: null,
38
+ inference_start_time: null,
39
+ inference_end_time: null
40
+ )
41
+ ```
42
+
@@ -114,6 +114,8 @@
114
114
  | **proprietary_id_gema** | **String** | | [optional] |
115
115
  | **title** | **String** | | [optional] |
116
116
  | **version_title** | **String** | | [optional] |
117
+ | **context_kind** | **String** | | [optional] |
118
+ | **context_value** | [**ContextValue**](ContextValue.md) | | [optional] |
117
119
 
118
120
  ## Example
119
121
 
@@ -230,7 +232,9 @@ instance = SongtradrApiClientRuby::SaveFileRecordingDTO.new(
230
232
  iswc: null,
231
233
  proprietary_id_gema: null,
232
234
  title: null,
233
- version_title: null
235
+ version_title: null,
236
+ context_kind: null,
237
+ context_value: null
234
238
  )
235
239
  ```
236
240
 
data/docs/Smile.md ADDED
@@ -0,0 +1,20 @@
1
+ # SongtradrApiClientRuby::Smile
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::Smile.new(
16
+ value: null,
17
+ confidence: null
18
+ )
19
+ ```
20
+
@@ -0,0 +1,20 @@
1
+ # SongtradrApiClientRuby::Sunglasses
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::Sunglasses.new(
16
+ value: null,
17
+ confidence: null
18
+ )
19
+ ```
20
+
data/docs/UserApi.md CHANGED
@@ -8,7 +8,9 @@ All URIs are relative to *https://api.songtradr.com*
8
8
  | [**delete_user_file**](UserApi.md#delete_user_file) | **DELETE** /api/v1/user/file/{objectKey} | Delete file. |
9
9
  | [**edit_me**](UserApi.md#edit_me) | **POST** /api/v1/user/me | Edit details for a logged-in user |
10
10
  | [**forgot_password**](UserApi.md#forgot_password) | **POST** /api/v1/user/forgot-password | Send a password reset email |
11
+ | [**init_video_upload**](UserApi.md#init_video_upload) | **POST** /api/v1/user/file/{name}/initVideoUpload | Recognise and upload video. Responds with an object with recognition result. |
11
12
  | [**initiate_user_file_upload**](UserApi.md#initiate_user_file_upload) | **POST** /api/v1/user/file/{name}/initUpload | Initialize a file upload. Responds with an URL where the file can be uploaded. |
13
+ | [**initiate_user_image_upload**](UserApi.md#initiate_user_image_upload) | **POST** /api/v1/user/file/{name}/initImageUpload | Recognise and upload image. Responds with an object with recognition result. |
12
14
  | [**login**](UserApi.md#login) | **POST** /api/v1/user/login | Login to generate a bearer token. |
13
15
  | [**me**](UserApi.md#me) | **GET** /api/v1/user/me | Details for a logged-in user |
14
16
  | [**recordings_by_folder_with_taggrams**](UserApi.md#recordings_by_folder_with_taggrams) | **GET** /api/v1/user/folder/{folderName}/taggrams | Timeseries of AI generated moods, musical features and more for recordings in your folder. |
@@ -295,6 +297,75 @@ end
295
297
  - **Accept**: application/hal+json, application/json
296
298
 
297
299
 
300
+ ## init_video_upload
301
+
302
+ > <VideoRecognitionResponse> init_video_upload(name, url)
303
+
304
+ Recognise and upload video. Responds with an object with recognition result.
305
+
306
+ ### Examples
307
+
308
+ ```ruby
309
+ require 'time'
310
+ require 'songtradr_api_client_ruby'
311
+ # setup authorization
312
+ SongtradrApiClientRuby.configure do |config|
313
+ # Configure Bearer authorization (JWT): bearer-jwt
314
+ config.access_token = 'YOUR_BEARER_TOKEN'
315
+ end
316
+
317
+ api_instance = SongtradrApiClientRuby::UserApi.new
318
+ name = 'FileName.mp4' # String | The Name of the image that will be uploaded
319
+ url = 'url_example' # String |
320
+
321
+ begin
322
+ # Recognise and upload video. Responds with an object with recognition result.
323
+ result = api_instance.init_video_upload(name, url)
324
+ p result
325
+ rescue SongtradrApiClientRuby::ApiError => e
326
+ puts "Error when calling UserApi->init_video_upload: #{e}"
327
+ end
328
+ ```
329
+
330
+ #### Using the init_video_upload_with_http_info variant
331
+
332
+ This returns an Array which contains the response data, status code and headers.
333
+
334
+ > <Array(<VideoRecognitionResponse>, Integer, Hash)> init_video_upload_with_http_info(name, url)
335
+
336
+ ```ruby
337
+ begin
338
+ # Recognise and upload video. Responds with an object with recognition result.
339
+ data, status_code, headers = api_instance.init_video_upload_with_http_info(name, url)
340
+ p status_code # => 2xx
341
+ p headers # => { ... }
342
+ p data # => <VideoRecognitionResponse>
343
+ rescue SongtradrApiClientRuby::ApiError => e
344
+ puts "Error when calling UserApi->init_video_upload_with_http_info: #{e}"
345
+ end
346
+ ```
347
+
348
+ ### Parameters
349
+
350
+ | Name | Type | Description | Notes |
351
+ | ---- | ---- | ----------- | ----- |
352
+ | **name** | **String** | The Name of the image that will be uploaded | |
353
+ | **url** | **String** | | |
354
+
355
+ ### Return type
356
+
357
+ [**VideoRecognitionResponse**](VideoRecognitionResponse.md)
358
+
359
+ ### Authorization
360
+
361
+ [bearer-jwt](../README.md#bearer-jwt)
362
+
363
+ ### HTTP request headers
364
+
365
+ - **Content-Type**: Not defined
366
+ - **Accept**: application/json
367
+
368
+
298
369
  ## initiate_user_file_upload
299
370
 
300
371
  > <InitPutRecordingAudioDTO> initiate_user_file_upload(name, folder, opts)
@@ -368,6 +439,75 @@ end
368
439
  - **Accept**: application/json
369
440
 
370
441
 
442
+ ## initiate_user_image_upload
443
+
444
+ > <ImageRecognitionResponse> initiate_user_image_upload(name, url)
445
+
446
+ Recognise and upload image. Responds with an object with recognition result.
447
+
448
+ ### Examples
449
+
450
+ ```ruby
451
+ require 'time'
452
+ require 'songtradr_api_client_ruby'
453
+ # setup authorization
454
+ SongtradrApiClientRuby.configure do |config|
455
+ # Configure Bearer authorization (JWT): bearer-jwt
456
+ config.access_token = 'YOUR_BEARER_TOKEN'
457
+ end
458
+
459
+ api_instance = SongtradrApiClientRuby::UserApi.new
460
+ name = 'FileName.mp3' # String | The Name of the image that will be uploaded
461
+ url = 'url_example' # String |
462
+
463
+ begin
464
+ # Recognise and upload image. Responds with an object with recognition result.
465
+ result = api_instance.initiate_user_image_upload(name, url)
466
+ p result
467
+ rescue SongtradrApiClientRuby::ApiError => e
468
+ puts "Error when calling UserApi->initiate_user_image_upload: #{e}"
469
+ end
470
+ ```
471
+
472
+ #### Using the initiate_user_image_upload_with_http_info variant
473
+
474
+ This returns an Array which contains the response data, status code and headers.
475
+
476
+ > <Array(<ImageRecognitionResponse>, Integer, Hash)> initiate_user_image_upload_with_http_info(name, url)
477
+
478
+ ```ruby
479
+ begin
480
+ # Recognise and upload image. Responds with an object with recognition result.
481
+ data, status_code, headers = api_instance.initiate_user_image_upload_with_http_info(name, url)
482
+ p status_code # => 2xx
483
+ p headers # => { ... }
484
+ p data # => <ImageRecognitionResponse>
485
+ rescue SongtradrApiClientRuby::ApiError => e
486
+ puts "Error when calling UserApi->initiate_user_image_upload_with_http_info: #{e}"
487
+ end
488
+ ```
489
+
490
+ ### Parameters
491
+
492
+ | Name | Type | Description | Notes |
493
+ | ---- | ---- | ----------- | ----- |
494
+ | **name** | **String** | The Name of the image that will be uploaded | |
495
+ | **url** | **String** | | |
496
+
497
+ ### Return type
498
+
499
+ [**ImageRecognitionResponse**](ImageRecognitionResponse.md)
500
+
501
+ ### Authorization
502
+
503
+ [bearer-jwt](../README.md#bearer-jwt)
504
+
505
+ ### HTTP request headers
506
+
507
+ - **Content-Type**: Not defined
508
+ - **Accept**: application/json
509
+
510
+
371
511
  ## login
372
512
 
373
513
  > <JwtTokenDTO> login(login_dto)
@@ -0,0 +1,20 @@
1
+ # SongtradrApiClientRuby::VideoRecognitionResponse
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **labels** | [**Array&lt;LabelDetection&gt;**](LabelDetection.md) | | [optional] |
8
+ | **faces** | [**Array&lt;FaceDetection&gt;**](FaceDetection.md) | | [optional] |
9
+
10
+ ## Example
11
+
12
+ ```ruby
13
+ require 'songtradr_api_client_ruby'
14
+
15
+ instance = SongtradrApiClientRuby::VideoRecognitionResponse.new(
16
+ labels: null,
17
+ faces: null
18
+ )
19
+ ```
20
+