songtradr_api_client_ruby 1.13.0 → 1.13.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (173) hide show
  1. checksums.yaml +4 -4
  2. data/Gemfile.lock +1 -1
  3. data/README.md +5 -5
  4. data/docs/ApiKeyDTO.md +3 -3
  5. data/docs/MusicalFeaturesDTO.md +2 -2
  6. data/docs/PlaylistLargeDTO.md +7 -7
  7. data/docs/ProductMediumDTO.md +10 -10
  8. data/docs/ProductPartyDTO.md +3 -3
  9. data/docs/RecordingGenrePredictionDTO.md +3 -3
  10. data/docs/RecordingLargeDTO.md +7 -7
  11. data/docs/RecordingMediumDTO.md +5 -5
  12. data/docs/RecordingPartyDTO.md +3 -3
  13. data/docs/TrackToMediumProductDTO.md +3 -3
  14. data/getspec.rb +34 -15
  15. data/lib/songtradr_api_client_ruby/api/allowed_values_api.rb +2 -2
  16. data/lib/songtradr_api_client_ruby/api/api_keys_api.rb +2 -2
  17. data/lib/songtradr_api_client_ruby/api/party_api.rb +2 -2
  18. data/lib/songtradr_api_client_ruby/api/playlist_api.rb +2 -2
  19. data/lib/songtradr_api_client_ruby/api/recording_api.rb +2 -2
  20. data/lib/songtradr_api_client_ruby/api/user_api.rb +2 -2
  21. data/lib/songtradr_api_client_ruby/api_client.rb +2 -2
  22. data/lib/songtradr_api_client_ruby/api_error.rb +2 -2
  23. data/lib/songtradr_api_client_ruby/configuration.rb +4 -4
  24. data/lib/songtradr_api_client_ruby/models/admin_api_user_dto.rb +2 -2
  25. data/lib/songtradr_api_client_ruby/models/api_key_dto.rb +22 -22
  26. data/lib/songtradr_api_client_ruby/models/category_medium_dto.rb +2 -2
  27. data/lib/songtradr_api_client_ruby/models/category_minimal_dto.rb +2 -2
  28. data/lib/songtradr_api_client_ruby/models/config_access_dto.rb +2 -2
  29. data/lib/songtradr_api_client_ruby/models/config_identifier_dto.rb +2 -2
  30. data/lib/songtradr_api_client_ruby/models/contributor_type_dto.rb +2 -2
  31. data/lib/songtradr_api_client_ruby/models/create_api_key_dto.rb +2 -2
  32. data/lib/songtradr_api_client_ruby/models/error_response.rb +2 -2
  33. data/lib/songtradr_api_client_ruby/models/field_summary_dto.rb +2 -2
  34. data/lib/songtradr_api_client_ruby/models/file_dto.rb +2 -2
  35. data/lib/songtradr_api_client_ruby/models/file_list_dto.rb +2 -2
  36. data/lib/songtradr_api_client_ruby/models/file_minimal_with_url_dto.rb +2 -2
  37. data/lib/songtradr_api_client_ruby/models/file_small_dto.rb +2 -2
  38. data/lib/songtradr_api_client_ruby/models/file_upload_dto.rb +2 -2
  39. data/lib/songtradr_api_client_ruby/models/file_w_ith_url_dto.rb +2 -2
  40. data/lib/songtradr_api_client_ruby/models/files_summary_dto.rb +2 -2
  41. data/lib/songtradr_api_client_ruby/models/forgot_password_dto.rb +2 -2
  42. data/lib/songtradr_api_client_ruby/models/genre_dto.rb +2 -2
  43. data/lib/songtradr_api_client_ruby/models/genre_minimal_dto.rb +2 -2
  44. data/lib/songtradr_api_client_ruby/models/genres_summary_dto.rb +2 -2
  45. data/lib/songtradr_api_client_ruby/models/init_put_recording_audio_dto.rb +2 -2
  46. data/lib/songtradr_api_client_ruby/models/jwt_token_dto.rb +2 -2
  47. data/lib/songtradr_api_client_ruby/models/login_dto.rb +2 -2
  48. data/lib/songtradr_api_client_ruby/models/musical_features_dto.rb +24 -24
  49. data/lib/songtradr_api_client_ruby/models/p_line_dto.rb +2 -2
  50. data/lib/songtradr_api_client_ruby/models/party_large_dto.rb +2 -2
  51. data/lib/songtradr_api_client_ruby/models/party_small_dto.rb +2 -2
  52. data/lib/songtradr_api_client_ruby/models/playlist_large_dto.rb +33 -33
  53. data/lib/songtradr_api_client_ruby/models/product_medium_dto.rb +50 -50
  54. data/lib/songtradr_api_client_ruby/models/product_party_dto.rb +17 -17
  55. data/lib/songtradr_api_client_ruby/models/recording_for_similarity_search_dto.rb +2 -2
  56. data/lib/songtradr_api_client_ruby/models/recording_genre_prediction_dto.rb +22 -22
  57. data/lib/songtradr_api_client_ruby/models/recording_large_dto.rb +45 -45
  58. data/lib/songtradr_api_client_ruby/models/recording_list_dto.rb +2 -2
  59. data/lib/songtradr_api_client_ruby/models/recording_medium_dto.rb +36 -36
  60. data/lib/songtradr_api_client_ruby/models/recording_minimal_with_musical_features_dto.rb +2 -2
  61. data/lib/songtradr_api_client_ruby/models/recording_minimal_with_taggrams_dto.rb +2 -2
  62. data/lib/songtradr_api_client_ruby/models/recording_minimal_with_tagstrengths_dto.rb +2 -2
  63. data/lib/songtradr_api_client_ruby/models/recording_party_dto.rb +17 -17
  64. data/lib/songtradr_api_client_ruby/models/recording_playlist_dto.rb +2 -2
  65. data/lib/songtradr_api_client_ruby/models/recording_small_dto.rb +2 -2
  66. data/lib/songtradr_api_client_ruby/models/recording_tag_small_dto.rb +2 -2
  67. data/lib/songtradr_api_client_ruby/models/save_file_recording_dto.rb +14 -14
  68. data/lib/songtradr_api_client_ruby/models/save_playlist_dto.rb +2 -2
  69. data/lib/songtradr_api_client_ruby/models/save_recording_genre_dto.rb +2 -2
  70. data/lib/songtradr_api_client_ruby/models/save_recording_party_dto.rb +2 -2
  71. data/lib/songtradr_api_client_ruby/models/save_recording_playlist_dto.rb +2 -2
  72. data/lib/songtradr_api_client_ruby/models/save_recording_tag_dto.rb +2 -2
  73. data/lib/songtradr_api_client_ruby/models/save_referrer_dto.rb +2 -2
  74. data/lib/songtradr_api_client_ruby/models/save_taggrams_dto.rb +2 -2
  75. data/lib/songtradr_api_client_ruby/models/save_user_dto.rb +2 -2
  76. data/lib/songtradr_api_client_ruby/models/search_filter_values_dto.rb +2 -2
  77. data/lib/songtradr_api_client_ruby/models/search_recording_granular_abstraction_dto.rb +2 -2
  78. data/lib/songtradr_api_client_ruby/models/search_recording_granular_dto.rb +2 -2
  79. data/lib/songtradr_api_client_ruby/models/sign_up_dto.rb +2 -2
  80. data/lib/songtradr_api_client_ruby/models/tag_dto.rb +2 -2
  81. data/lib/songtradr_api_client_ruby/models/tag_small_dto.rb +2 -2
  82. data/lib/songtradr_api_client_ruby/models/taggram_dto.rb +2 -2
  83. data/lib/songtradr_api_client_ruby/models/tags_summary_dto.rb +2 -2
  84. data/lib/songtradr_api_client_ruby/models/tagstrength_dto.rb +2 -2
  85. data/lib/songtradr_api_client_ruby/models/title_dto.rb +2 -2
  86. data/lib/songtradr_api_client_ruby/models/token_request.rb +2 -2
  87. data/lib/songtradr_api_client_ruby/models/track_dto.rb +2 -2
  88. data/lib/songtradr_api_client_ruby/models/track_to_medium_product_dto.rb +22 -22
  89. data/lib/songtradr_api_client_ruby/models/update_password_dto.rb +2 -2
  90. data/lib/songtradr_api_client_ruby/models/usage_dto.rb +2 -2
  91. data/lib/songtradr_api_client_ruby/models/user_dto.rb +2 -2
  92. data/lib/songtradr_api_client_ruby/version.rb +3 -3
  93. data/lib/songtradr_api_client_ruby.rb +2 -2
  94. data/openapi-generator-config.yaml +1 -1
  95. data/songtradr_api_client_ruby.gemspec +2 -2
  96. data/spec/api/allowed_values_api_spec.rb +2 -2
  97. data/spec/api/api_keys_api_spec.rb +2 -2
  98. data/spec/api/party_api_spec.rb +2 -2
  99. data/spec/api/playlist_api_spec.rb +2 -2
  100. data/spec/api/recording_api_spec.rb +2 -2
  101. data/spec/api/user_api_spec.rb +2 -2
  102. data/spec/api_client_spec.rb +2 -2
  103. data/spec/configuration_spec.rb +2 -2
  104. data/spec/models/admin_api_user_dto_spec.rb +2 -2
  105. data/spec/models/api_key_dto_spec.rb +5 -5
  106. data/spec/models/category_medium_dto_spec.rb +2 -2
  107. data/spec/models/category_minimal_dto_spec.rb +2 -2
  108. data/spec/models/config_access_dto_spec.rb +2 -2
  109. data/spec/models/config_identifier_dto_spec.rb +2 -2
  110. data/spec/models/contributor_type_dto_spec.rb +2 -2
  111. data/spec/models/create_api_key_dto_spec.rb +2 -2
  112. data/spec/models/error_response_spec.rb +2 -2
  113. data/spec/models/field_summary_dto_spec.rb +2 -2
  114. data/spec/models/file_dto_spec.rb +2 -2
  115. data/spec/models/file_list_dto_spec.rb +2 -2
  116. data/spec/models/file_minimal_with_url_dto_spec.rb +2 -2
  117. data/spec/models/file_small_dto_spec.rb +2 -2
  118. data/spec/models/file_upload_dto_spec.rb +2 -2
  119. data/spec/models/file_w_ith_url_dto_spec.rb +2 -2
  120. data/spec/models/files_summary_dto_spec.rb +2 -2
  121. data/spec/models/forgot_password_dto_spec.rb +2 -2
  122. data/spec/models/genre_dto_spec.rb +2 -2
  123. data/spec/models/genre_minimal_dto_spec.rb +2 -2
  124. data/spec/models/genres_summary_dto_spec.rb +2 -2
  125. data/spec/models/init_put_recording_audio_dto_spec.rb +2 -2
  126. data/spec/models/jwt_token_dto_spec.rb +2 -2
  127. data/spec/models/login_dto_spec.rb +2 -2
  128. data/spec/models/musical_features_dto_spec.rb +8 -8
  129. data/spec/models/p_line_dto_spec.rb +2 -2
  130. data/spec/models/party_large_dto_spec.rb +2 -2
  131. data/spec/models/party_small_dto_spec.rb +2 -2
  132. data/spec/models/playlist_large_dto_spec.rb +11 -11
  133. data/spec/models/product_medium_dto_spec.rb +9 -9
  134. data/spec/models/product_party_dto_spec.rb +4 -4
  135. data/spec/models/recording_for_similarity_search_dto_spec.rb +2 -2
  136. data/spec/models/recording_genre_prediction_dto_spec.rb +5 -5
  137. data/spec/models/recording_large_dto_spec.rb +13 -13
  138. data/spec/models/recording_list_dto_spec.rb +2 -2
  139. data/spec/models/recording_medium_dto_spec.rb +13 -13
  140. data/spec/models/recording_minimal_with_musical_features_dto_spec.rb +2 -2
  141. data/spec/models/recording_minimal_with_taggrams_dto_spec.rb +2 -2
  142. data/spec/models/recording_minimal_with_tagstrengths_dto_spec.rb +2 -2
  143. data/spec/models/recording_party_dto_spec.rb +4 -4
  144. data/spec/models/recording_playlist_dto_spec.rb +2 -2
  145. data/spec/models/recording_small_dto_spec.rb +2 -2
  146. data/spec/models/recording_tag_small_dto_spec.rb +2 -2
  147. data/spec/models/save_file_recording_dto_spec.rb +8 -8
  148. data/spec/models/save_playlist_dto_spec.rb +2 -2
  149. data/spec/models/save_recording_genre_dto_spec.rb +2 -2
  150. data/spec/models/save_recording_party_dto_spec.rb +2 -2
  151. data/spec/models/save_recording_playlist_dto_spec.rb +2 -2
  152. data/spec/models/save_recording_tag_dto_spec.rb +2 -2
  153. data/spec/models/save_referrer_dto_spec.rb +2 -2
  154. data/spec/models/save_taggrams_dto_spec.rb +2 -2
  155. data/spec/models/save_user_dto_spec.rb +2 -2
  156. data/spec/models/search_filter_values_dto_spec.rb +2 -2
  157. data/spec/models/search_recording_granular_abstraction_dto_spec.rb +2 -2
  158. data/spec/models/search_recording_granular_dto_spec.rb +2 -2
  159. data/spec/models/sign_up_dto_spec.rb +2 -2
  160. data/spec/models/tag_dto_spec.rb +2 -2
  161. data/spec/models/tag_small_dto_spec.rb +2 -2
  162. data/spec/models/taggram_dto_spec.rb +2 -2
  163. data/spec/models/tags_summary_dto_spec.rb +2 -2
  164. data/spec/models/tagstrength_dto_spec.rb +2 -2
  165. data/spec/models/title_dto_spec.rb +2 -2
  166. data/spec/models/token_request_spec.rb +2 -2
  167. data/spec/models/track_dto_spec.rb +2 -2
  168. data/spec/models/track_to_medium_product_dto_spec.rb +5 -5
  169. data/spec/models/update_password_dto_spec.rb +2 -2
  170. data/spec/models/usage_dto_spec.rb +2 -2
  171. data/spec/models/user_dto_spec.rb +2 -2
  172. data/spec/spec_helper.rb +2 -2
  173. metadata +2 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 7c5a91fb9349f599efe615053df55ccd1f19578f95a58fdc17c49c8bee5bbc2a
4
- data.tar.gz: f4c7707871ab9cf33a30e3c111853b619d5fdfadcecdb096d5672ba7406f622e
3
+ metadata.gz: f398b0c9505f9f1ada01eb4af0c4c293a9d7d213ceb4398483b279924435a565
4
+ data.tar.gz: 494ef201383c2df8dd601720e588f2d0f75304bcbe3f91701bb9a1bdeef71b42
5
5
  SHA512:
6
- metadata.gz: e18b1e61ade1c1368a75dcfcf475025673f272e70b12fa336b5bffa6dc6a3678914683b36270e9fb1a322863ebe1b3c3c6ea3e535d0c83309f3e20f0b72733af
7
- data.tar.gz: 0dd522b2c4a150a53ab897f0015cda80721830cadfcc2be7efab59fefeefb5123db0eb77e134b69da84adcf116fca6b429a4b7c6c7cac9449fe5ddc05b6d98b7
6
+ metadata.gz: 5bd83252845fc045724de9058a3ac2ced53b095e12a5868168d2f9b51b765db43649c537ae6d0f27cb66ac23dbca3c7bf1bff87291785d10d062bf4e32900c9c
7
+ data.tar.gz: d001eb479890cec8fd9292eef821966b823f53ee2ee38d444997b65c7e6b7ff569cdc25bbf738ef3d2c5618f522727c995d775932e11ee8a30e0e0ea86e50346
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- songtradr_api_client_ruby (1.13.0)
4
+ songtradr_api_client_ruby (1.13.1)
5
5
  faraday (>= 1.0.1, < 3.0)
6
6
  faraday-multipart
7
7
 
data/README.md CHANGED
@@ -33,8 +33,8 @@ You can either search the released music via the /public/recording endpoints or
33
33
 
34
34
  This SDK is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project:
35
35
 
36
- - API version: 1.13.0
37
- - Package version: 1.13.0
36
+ - API version: 1.13.1
37
+ - Package version: 1.13.1
38
38
  - Build package: org.openapitools.codegen.languages.RubyClientCodegen
39
39
  For more information, please visit [https://songtradr.com](https://songtradr.com)
40
40
 
@@ -51,16 +51,16 @@ gem build songtradr_api_client_ruby.gemspec
51
51
  Then either install the gem locally:
52
52
 
53
53
  ```shell
54
- gem install ./songtradr_api_client_ruby-1.13.0.gem
54
+ gem install ./songtradr_api_client_ruby-1.13.1.gem
55
55
  ```
56
56
 
57
- (for development, run `gem install --dev ./songtradr_api_client_ruby-1.13.0.gem` to install the development dependencies)
57
+ (for development, run `gem install --dev ./songtradr_api_client_ruby-1.13.1.gem` to install the development dependencies)
58
58
 
59
59
  or publish the gem to a gem hosting service, e.g. [RubyGems](https://rubygems.org/).
60
60
 
61
61
  Finally add this to the Gemfile:
62
62
 
63
- gem 'songtradr_api_client_ruby', '~> 1.13.0'
63
+ gem 'songtradr_api_client_ruby', '~> 1.13.1'
64
64
 
65
65
  ### Install from Git
66
66
 
data/docs/ApiKeyDTO.md CHANGED
@@ -5,9 +5,9 @@
5
5
  | Name | Type | Description | Notes |
6
6
  | ---- | ---- | ----------- | ----- |
7
7
  | **name** | **String** | | |
8
+ | **id** | **String** | | |
8
9
  | **last_used_at** | **Time** | | [optional] |
9
10
  | **created_at** | **Time** | | |
10
- | **id** | **String** | | |
11
11
 
12
12
  ## Example
13
13
 
@@ -16,9 +16,9 @@ require 'songtradr_api_client_ruby'
16
16
 
17
17
  instance = SongtradrApiClientRuby::ApiKeyDTO.new(
18
18
  name: null,
19
+ id: null,
19
20
  last_used_at: null,
20
- created_at: null,
21
- id: null
21
+ created_at: null
22
22
  )
23
23
  ```
24
24
 
@@ -5,8 +5,8 @@
5
5
  | Name | Type | Description | Notes |
6
6
  | ---- | ---- | ----------- | ----- |
7
7
  | **space** | **String** | Search for space | [optional] |
8
- | **language_of_performance** | **String** | | [optional] |
9
8
  | **arousal** | **String** | Search for an arousal | [optional] |
9
+ | **language_of_performance** | **String** | | [optional] |
10
10
  | **dominant_instrument** | **String** | Search for a dominant instrument | [optional] |
11
11
  | **energy** | **String** | Search for energy | [optional] |
12
12
  | **engagement** | **String** | Search for an engagement | [optional] |
@@ -97,8 +97,8 @@ require 'songtradr_api_client_ruby'
97
97
 
98
98
  instance = SongtradrApiClientRuby::MusicalFeaturesDTO.new(
99
99
  space: null,
100
- language_of_performance: null,
101
100
  arousal: null,
101
+ language_of_performance: null,
102
102
  dominant_instrument: null,
103
103
  energy: null,
104
104
  engagement: null,
@@ -6,15 +6,15 @@
6
6
  | ---- | ---- | ----------- | ----- |
7
7
  | **name** | **String** | | |
8
8
  | **state** | **String** | | [optional] |
9
- | **description** | **String** | | [optional] |
10
- | **created** | **Time** | | [optional] |
11
- | **updated** | **Time** | | [optional] |
12
9
  | **usages** | [**Array&lt;UsageDTO&gt;**](UsageDTO.md) | | [optional] |
13
10
  | **songtradr_playlist_guid** | **String** | | [optional] |
14
11
  | **asset_url** | **String** | | [optional] |
15
12
  | **pretzel_tier** | **String** | | [optional] |
16
13
  | **usage** | **String** | | [optional] |
17
14
  | **tracks** | [**Array&lt;RecordingPlaylistDTO&gt;**](RecordingPlaylistDTO.md) | | [optional] |
15
+ | **created** | **Time** | | [optional] |
16
+ | **updated** | **Time** | | [optional] |
17
+ | **description** | **String** | | [optional] |
18
18
 
19
19
  ## Example
20
20
 
@@ -24,15 +24,15 @@ require 'songtradr_api_client_ruby'
24
24
  instance = SongtradrApiClientRuby::PlaylistLargeDTO.new(
25
25
  name: null,
26
26
  state: null,
27
- description: null,
28
- created: null,
29
- updated: null,
30
27
  usages: null,
31
28
  songtradr_playlist_guid: null,
32
29
  asset_url: null,
33
30
  pretzel_tier: null,
34
31
  usage: null,
35
- tracks: null
32
+ tracks: null,
33
+ created: null,
34
+ updated: null,
35
+ description: null
36
36
  )
37
37
  ```
38
38
 
@@ -5,14 +5,14 @@
5
5
  | Name | Type | Description | Notes |
6
6
  | ---- | ---- | ----------- | ----- |
7
7
  | **duration** | **Time** | | [optional] |
8
- | **takedown_date** | **Time** | | [optional] |
9
- | **parties** | [**Array&lt;ProductPartyDTO&gt;**](ProductPartyDTO.md) | | [optional] |
8
+ | **genres** | [**Array&lt;GenreMinimalDTO&gt;**](GenreMinimalDTO.md) | | [optional] |
9
+ | **titles** | [**Array&lt;TitleDTO&gt;**](TitleDTO.md) | | [optional] |
10
10
  | **gtin** | **String** | | [optional] |
11
+ | **pline** | [**PLineDTO**](PLineDTO.md) | | [optional] |
11
12
  | **grid** | **String** | | [optional] |
12
13
  | **release_date** | **Time** | | [optional] |
13
- | **pline** | [**PLineDTO**](PLineDTO.md) | | [optional] |
14
- | **genres** | [**Array&lt;GenreMinimalDTO&gt;**](GenreMinimalDTO.md) | | [optional] |
15
- | **titles** | [**Array&lt;TitleDTO&gt;**](TitleDTO.md) | | [optional] |
14
+ | **takedown_date** | **Time** | | [optional] |
15
+ | **parties** | [**Array&lt;ProductPartyDTO&gt;**](ProductPartyDTO.md) | | [optional] |
16
16
 
17
17
  ## Example
18
18
 
@@ -21,14 +21,14 @@ require 'songtradr_api_client_ruby'
21
21
 
22
22
  instance = SongtradrApiClientRuby::ProductMediumDTO.new(
23
23
  duration: null,
24
- takedown_date: null,
25
- parties: null,
24
+ genres: null,
25
+ titles: null,
26
26
  gtin: null,
27
+ pline: null,
27
28
  grid: null,
28
29
  release_date: null,
29
- pline: null,
30
- genres: null,
31
- titles: null
30
+ takedown_date: null,
31
+ parties: null
32
32
  )
33
33
  ```
34
34
 
@@ -4,8 +4,8 @@
4
4
 
5
5
  | Name | Type | Description | Notes |
6
6
  | ---- | ---- | ----------- | ----- |
7
- | **contributor_types** | [**Array&lt;ContributorTypeDTO&gt;**](ContributorTypeDTO.md) | | [optional] |
8
7
  | **party** | [**PartySmallDTO**](PartySmallDTO.md) | | |
8
+ | **contributor_types** | [**Array&lt;ContributorTypeDTO&gt;**](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
 
@@ -4,9 +4,9 @@
4
4
 
5
5
  | Name | Type | Description | Notes |
6
6
  | ---- | ---- | ----------- | ----- |
7
- | **genre** | [**GenreMinimalDTO**](GenreMinimalDTO.md) | | |
8
7
  | **probability** | **Float** | | |
9
8
  | **genre_type** | **String** | | |
9
+ | **genre** | [**GenreMinimalDTO**](GenreMinimalDTO.md) | | |
10
10
 
11
11
  ## Example
12
12
 
@@ -14,9 +14,9 @@
14
14
  require 'songtradr_api_client_ruby'
15
15
 
16
16
  instance = SongtradrApiClientRuby::RecordingGenrePredictionDTO.new(
17
- genre: null,
18
17
  probability: null,
19
- genre_type: null
18
+ genre_type: null,
19
+ genre: null
20
20
  )
21
21
  ```
22
22
 
@@ -5,9 +5,6 @@
5
5
  | Name | Type | Description | Notes |
6
6
  | ---- | ---- | ----------- | ----- |
7
7
  | **duration** | **Integer** | | [optional] |
8
- | **spotify_id** | **String** | | [optional] |
9
- | **pline** | [**PLineDTO**](PLineDTO.md) | | [optional] |
10
- | **genre_predictions** | [**Array&lt;RecordingGenrePredictionDTO&gt;**](RecordingGenrePredictionDTO.md) | | [optional] |
11
8
  | **isrc** | **String** | | |
12
9
  | **parties** | [**Array&lt;RecordingPartyDTO&gt;**](RecordingPartyDTO.md) | | [optional] |
13
10
  | **genres** | [**Array&lt;GenreDTO&gt;**](GenreDTO.md) | | [optional] |
@@ -16,6 +13,9 @@
16
13
  | **tracks** | [**Array&lt;TrackToMediumProductDTO&gt;**](TrackToMediumProductDTO.md) | | [optional] |
17
14
  | **musical_features** | [**MusicalFeaturesDTO**](MusicalFeaturesDTO.md) | | [optional] |
18
15
  | **tags** | [**Array&lt;RecordingTagSmallDTO&gt;**](RecordingTagSmallDTO.md) | | [optional] |
16
+ | **spotify_id** | **String** | | [optional] |
17
+ | **pline** | [**PLineDTO**](PLineDTO.md) | | [optional] |
18
+ | **genre_predictions** | [**Array&lt;RecordingGenrePredictionDTO&gt;**](RecordingGenrePredictionDTO.md) | | [optional] |
19
19
 
20
20
  ## Example
21
21
 
@@ -24,9 +24,6 @@ require 'songtradr_api_client_ruby'
24
24
 
25
25
  instance = SongtradrApiClientRuby::RecordingLargeDTO.new(
26
26
  duration: null,
27
- spotify_id: null,
28
- pline: null,
29
- genre_predictions: null,
30
27
  isrc: null,
31
28
  parties: null,
32
29
  genres: null,
@@ -34,7 +31,10 @@ instance = SongtradrApiClientRuby::RecordingLargeDTO.new(
34
31
  titles: null,
35
32
  tracks: null,
36
33
  musical_features: null,
37
- tags: null
34
+ tags: null,
35
+ spotify_id: null,
36
+ pline: null,
37
+ genre_predictions: null
38
38
  )
39
39
  ```
40
40
 
@@ -4,8 +4,6 @@
4
4
 
5
5
  | Name | Type | Description | Notes |
6
6
  | ---- | ---- | ----------- | ----- |
7
- | **spotify_id** | **String** | | [optional] |
8
- | **genre_predictions** | [**Array&lt;RecordingGenrePredictionDTO&gt;**](RecordingGenrePredictionDTO.md) | | [optional] |
9
7
  | **isrc** | **String** | | |
10
8
  | **recording_party_entities** | [**Array&lt;RecordingPartyDTO&gt;**](RecordingPartyDTO.md) | | [optional] |
11
9
  | **genres** | [**Array&lt;GenreDTO&gt;**](GenreDTO.md) | | [optional] |
@@ -15,6 +13,8 @@
15
13
  | **tracks** | [**Array&lt;TrackDTO&gt;**](TrackDTO.md) | | [optional] |
16
14
  | **musical_features** | [**MusicalFeaturesDTO**](MusicalFeaturesDTO.md) | | [optional] |
17
15
  | **tags** | [**Array&lt;RecordingTagSmallDTO&gt;**](RecordingTagSmallDTO.md) | | [optional] |
16
+ | **spotify_id** | **String** | | [optional] |
17
+ | **genre_predictions** | [**Array&lt;RecordingGenrePredictionDTO&gt;**](RecordingGenrePredictionDTO.md) | | [optional] |
18
18
 
19
19
  ## Example
20
20
 
@@ -22,8 +22,6 @@
22
22
  require 'songtradr_api_client_ruby'
23
23
 
24
24
  instance = SongtradrApiClientRuby::RecordingMediumDTO.new(
25
- spotify_id: null,
26
- genre_predictions: null,
27
25
  isrc: null,
28
26
  recording_party_entities: null,
29
27
  genres: null,
@@ -32,7 +30,9 @@ instance = SongtradrApiClientRuby::RecordingMediumDTO.new(
32
30
  titles: null,
33
31
  tracks: null,
34
32
  musical_features: null,
35
- tags: 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
- | **contributor_types** | [**Array&lt;ContributorTypeDTO&gt;**](ContributorTypeDTO.md) | | [optional] |
8
7
  | **party** | [**PartySmallDTO**](PartySmallDTO.md) | | |
8
+ | **contributor_types** | [**Array&lt;ContributorTypeDTO&gt;**](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
 
@@ -4,9 +4,9 @@
4
4
 
5
5
  | Name | Type | Description | Notes |
6
6
  | ---- | ---- | ----------- | ----- |
7
+ | **product** | [**ProductMediumDTO**](ProductMediumDTO.md) | | |
7
8
  | **track_no** | **String** | | |
8
9
  | **set_no** | **String** | | [optional] |
9
- | **product** | [**ProductMediumDTO**](ProductMediumDTO.md) | | |
10
10
 
11
11
  ## Example
12
12
 
@@ -14,9 +14,9 @@
14
14
  require 'songtradr_api_client_ruby'
15
15
 
16
16
  instance = SongtradrApiClientRuby::TrackToMediumProductDTO.new(
17
+ product: null,
17
18
  track_no: null,
18
- set_no: null,
19
- product: null
19
+ set_no: null
20
20
  )
21
21
  ```
22
22
 
data/getspec.rb CHANGED
@@ -1,33 +1,52 @@
1
1
  #!/usr/bin/env ruby
2
+ # frozen_string_literal: true
2
3
 
3
- require "json"
4
+ require 'json'
4
5
  require 'net/http'
5
6
 
6
- MAX_RETRIES = 5
7
- DELAY_SECONDS = 1
7
+ MAX_RETRIES = 10
8
+ DELAY_SECONDS = 3
8
9
 
9
- def fetch_gem_version(version)
10
- response = Net::HTTP.get_response(URI("https://rubygems.org/gems/songtradr_api_client_ruby/versions/#{version}"))
10
+ def fetch_gem_version(version, retries = 0)
11
+ until retries > MAX_RETRIES
12
+ response = Net::HTTP.get_response(URI("https://rubygems.org/gems/songtradr_api_client_ruby/versions/#{version}"))
13
+ return response.code if response.code == '200' || response.code == '404'
14
+
15
+ retries += 1
16
+ sleep(DELAY_SECONDS)
17
+ end
18
+ puts 'Failed to fetch gem version'
19
+ # return the last response code. This will not be 200 or 404 if we've retried too many times and will be an error code
20
+ # This is fine.
11
21
  response.code
12
22
  end
13
23
 
14
- def fetch_api_version
15
- retries = 0
16
- api_response = Net::HTTP.get_response(URI(ENV['SONGTRADR_API']))
17
-
18
- until api_response.code == "200" || retries >= MAX_RETRIES
19
- sleep(DELAY_SECONDS)
24
+ def fetch_api(retries = 0)
25
+ until retries > MAX_RETRIES
20
26
  api_response = Net::HTTP.get_response(URI(ENV['SONGTRADR_API']))
27
+ return api_response if api_response.code == '200'
28
+
21
29
  retries += 1
30
+ sleep(DELAY_SECONDS)
22
31
  end
32
+ puts 'Failed to fetch API'
33
+ # return the last response. This will not be 200 if we've retried too many times and will be an error code.
34
+ # This is fine.
35
+ api_response
36
+ end
37
+
38
+ def fetch_api_version
39
+ api_response = fetch_api
40
+
41
+ return '0.0.0' if api_response.code != '200'
23
42
 
24
43
  begin
25
44
  json = JSON.parse(api_response.body)
26
- version = json["info"]["version"]
27
- rescue
28
- version = "0.0.0"
45
+ version = json['info']['version']
46
+ rescue StandardError
47
+ version = '0.0.0'
29
48
  end
30
- fetch_gem_version(version) == "404" ? version : "0.0.0"
49
+ fetch_gem_version(version) == '404' ? version : '0.0.0'
31
50
  end
32
51
 
33
52
  puts fetch_api_version
@@ -3,10 +3,10 @@
3
3
 
4
4
  #This is the Songtradr API. Use it to retrieve deep music metadata and trigger processes like auto-tagging. You can also use the API to manage your account and musicube cloud data. **Authentication** 1. Reach out to support@songtradr.com to receive a free account or use your login data if you are already signed up. 2. To authenticate, you need to login via the POST /api/v1/user/login endpoint. 3. The endpoint responds with a jwtToken which you can use in all following API requests as a bearer token. **Rate Limiting** The current limit is 120 Requests per minute. Reach out to us via support@songtradr.com if you need to request more. **Getting Started with auto-tagging** 1. If you want to get your own files auto-tagged, use the POST /api/v1/user/file/{name}/initUpload endpoint. It responds with a presigned S3 link where you can upload your file. 2. You can check the processing status of your file via the GET /api/v1/user/file/{name}/filesStatus endpoint. 3. As soon as processing is done, you can request the generated data via the GET /api/v1/user/files endpoint. **Getting Started with search** You can either search the released music via the /public/recording endpoints or your own private uploaded music via the /user/file/ endpoints. 1. If you want to search the world's released music, a good starting point is the GET /api/v1/public/recording/search endpoint. Please find the extensive list of parameters that serve as semantic search filters. 2. If you want to search your own previously uploaded music, a good starting point is the GET GET /api/v1/user/files endpoint. It has the same extensive list of parameters that serve as semantic search filters.
5
5
 
6
- The version of the OpenAPI document: 1.13.0
6
+ The version of the OpenAPI document: 1.13.1
7
7
  Contact: info@songtradr.com
8
8
  Generated by: https://openapi-generator.tech
9
- OpenAPI Generator version: 7.0.0-SNAPSHOT
9
+ OpenAPI Generator version: 7.0.1-SNAPSHOT
10
10
 
11
11
  =end
12
12
 
@@ -3,10 +3,10 @@
3
3
 
4
4
  #This is the Songtradr API. Use it to retrieve deep music metadata and trigger processes like auto-tagging. You can also use the API to manage your account and musicube cloud data. **Authentication** 1. Reach out to support@songtradr.com to receive a free account or use your login data if you are already signed up. 2. To authenticate, you need to login via the POST /api/v1/user/login endpoint. 3. The endpoint responds with a jwtToken which you can use in all following API requests as a bearer token. **Rate Limiting** The current limit is 120 Requests per minute. Reach out to us via support@songtradr.com if you need to request more. **Getting Started with auto-tagging** 1. If you want to get your own files auto-tagged, use the POST /api/v1/user/file/{name}/initUpload endpoint. It responds with a presigned S3 link where you can upload your file. 2. You can check the processing status of your file via the GET /api/v1/user/file/{name}/filesStatus endpoint. 3. As soon as processing is done, you can request the generated data via the GET /api/v1/user/files endpoint. **Getting Started with search** You can either search the released music via the /public/recording endpoints or your own private uploaded music via the /user/file/ endpoints. 1. If you want to search the world's released music, a good starting point is the GET /api/v1/public/recording/search endpoint. Please find the extensive list of parameters that serve as semantic search filters. 2. If you want to search your own previously uploaded music, a good starting point is the GET GET /api/v1/user/files endpoint. It has the same extensive list of parameters that serve as semantic search filters.
5
5
 
6
- The version of the OpenAPI document: 1.13.0
6
+ The version of the OpenAPI document: 1.13.1
7
7
  Contact: info@songtradr.com
8
8
  Generated by: https://openapi-generator.tech
9
- OpenAPI Generator version: 7.0.0-SNAPSHOT
9
+ OpenAPI Generator version: 7.0.1-SNAPSHOT
10
10
 
11
11
  =end
12
12
 
@@ -3,10 +3,10 @@
3
3
 
4
4
  #This is the Songtradr API. Use it to retrieve deep music metadata and trigger processes like auto-tagging. You can also use the API to manage your account and musicube cloud data. **Authentication** 1. Reach out to support@songtradr.com to receive a free account or use your login data if you are already signed up. 2. To authenticate, you need to login via the POST /api/v1/user/login endpoint. 3. The endpoint responds with a jwtToken which you can use in all following API requests as a bearer token. **Rate Limiting** The current limit is 120 Requests per minute. Reach out to us via support@songtradr.com if you need to request more. **Getting Started with auto-tagging** 1. If you want to get your own files auto-tagged, use the POST /api/v1/user/file/{name}/initUpload endpoint. It responds with a presigned S3 link where you can upload your file. 2. You can check the processing status of your file via the GET /api/v1/user/file/{name}/filesStatus endpoint. 3. As soon as processing is done, you can request the generated data via the GET /api/v1/user/files endpoint. **Getting Started with search** You can either search the released music via the /public/recording endpoints or your own private uploaded music via the /user/file/ endpoints. 1. If you want to search the world's released music, a good starting point is the GET /api/v1/public/recording/search endpoint. Please find the extensive list of parameters that serve as semantic search filters. 2. If you want to search your own previously uploaded music, a good starting point is the GET GET /api/v1/user/files endpoint. It has the same extensive list of parameters that serve as semantic search filters.
5
5
 
6
- The version of the OpenAPI document: 1.13.0
6
+ The version of the OpenAPI document: 1.13.1
7
7
  Contact: info@songtradr.com
8
8
  Generated by: https://openapi-generator.tech
9
- OpenAPI Generator version: 7.0.0-SNAPSHOT
9
+ OpenAPI Generator version: 7.0.1-SNAPSHOT
10
10
 
11
11
  =end
12
12
 
@@ -3,10 +3,10 @@
3
3
 
4
4
  #This is the Songtradr API. Use it to retrieve deep music metadata and trigger processes like auto-tagging. You can also use the API to manage your account and musicube cloud data. **Authentication** 1. Reach out to support@songtradr.com to receive a free account or use your login data if you are already signed up. 2. To authenticate, you need to login via the POST /api/v1/user/login endpoint. 3. The endpoint responds with a jwtToken which you can use in all following API requests as a bearer token. **Rate Limiting** The current limit is 120 Requests per minute. Reach out to us via support@songtradr.com if you need to request more. **Getting Started with auto-tagging** 1. If you want to get your own files auto-tagged, use the POST /api/v1/user/file/{name}/initUpload endpoint. It responds with a presigned S3 link where you can upload your file. 2. You can check the processing status of your file via the GET /api/v1/user/file/{name}/filesStatus endpoint. 3. As soon as processing is done, you can request the generated data via the GET /api/v1/user/files endpoint. **Getting Started with search** You can either search the released music via the /public/recording endpoints or your own private uploaded music via the /user/file/ endpoints. 1. If you want to search the world's released music, a good starting point is the GET /api/v1/public/recording/search endpoint. Please find the extensive list of parameters that serve as semantic search filters. 2. If you want to search your own previously uploaded music, a good starting point is the GET GET /api/v1/user/files endpoint. It has the same extensive list of parameters that serve as semantic search filters.
5
5
 
6
- The version of the OpenAPI document: 1.13.0
6
+ The version of the OpenAPI document: 1.13.1
7
7
  Contact: info@songtradr.com
8
8
  Generated by: https://openapi-generator.tech
9
- OpenAPI Generator version: 7.0.0-SNAPSHOT
9
+ OpenAPI Generator version: 7.0.1-SNAPSHOT
10
10
 
11
11
  =end
12
12
 
@@ -3,10 +3,10 @@
3
3
 
4
4
  #This is the Songtradr API. Use it to retrieve deep music metadata and trigger processes like auto-tagging. You can also use the API to manage your account and musicube cloud data. **Authentication** 1. Reach out to support@songtradr.com to receive a free account or use your login data if you are already signed up. 2. To authenticate, you need to login via the POST /api/v1/user/login endpoint. 3. The endpoint responds with a jwtToken which you can use in all following API requests as a bearer token. **Rate Limiting** The current limit is 120 Requests per minute. Reach out to us via support@songtradr.com if you need to request more. **Getting Started with auto-tagging** 1. If you want to get your own files auto-tagged, use the POST /api/v1/user/file/{name}/initUpload endpoint. It responds with a presigned S3 link where you can upload your file. 2. You can check the processing status of your file via the GET /api/v1/user/file/{name}/filesStatus endpoint. 3. As soon as processing is done, you can request the generated data via the GET /api/v1/user/files endpoint. **Getting Started with search** You can either search the released music via the /public/recording endpoints or your own private uploaded music via the /user/file/ endpoints. 1. If you want to search the world's released music, a good starting point is the GET /api/v1/public/recording/search endpoint. Please find the extensive list of parameters that serve as semantic search filters. 2. If you want to search your own previously uploaded music, a good starting point is the GET GET /api/v1/user/files endpoint. It has the same extensive list of parameters that serve as semantic search filters.
5
5
 
6
- The version of the OpenAPI document: 1.13.0
6
+ The version of the OpenAPI document: 1.13.1
7
7
  Contact: info@songtradr.com
8
8
  Generated by: https://openapi-generator.tech
9
- OpenAPI Generator version: 7.0.0-SNAPSHOT
9
+ OpenAPI Generator version: 7.0.1-SNAPSHOT
10
10
 
11
11
  =end
12
12
 
@@ -3,10 +3,10 @@
3
3
 
4
4
  #This is the Songtradr API. Use it to retrieve deep music metadata and trigger processes like auto-tagging. You can also use the API to manage your account and musicube cloud data. **Authentication** 1. Reach out to support@songtradr.com to receive a free account or use your login data if you are already signed up. 2. To authenticate, you need to login via the POST /api/v1/user/login endpoint. 3. The endpoint responds with a jwtToken which you can use in all following API requests as a bearer token. **Rate Limiting** The current limit is 120 Requests per minute. Reach out to us via support@songtradr.com if you need to request more. **Getting Started with auto-tagging** 1. If you want to get your own files auto-tagged, use the POST /api/v1/user/file/{name}/initUpload endpoint. It responds with a presigned S3 link where you can upload your file. 2. You can check the processing status of your file via the GET /api/v1/user/file/{name}/filesStatus endpoint. 3. As soon as processing is done, you can request the generated data via the GET /api/v1/user/files endpoint. **Getting Started with search** You can either search the released music via the /public/recording endpoints or your own private uploaded music via the /user/file/ endpoints. 1. If you want to search the world's released music, a good starting point is the GET /api/v1/public/recording/search endpoint. Please find the extensive list of parameters that serve as semantic search filters. 2. If you want to search your own previously uploaded music, a good starting point is the GET GET /api/v1/user/files endpoint. It has the same extensive list of parameters that serve as semantic search filters.
5
5
 
6
- The version of the OpenAPI document: 1.13.0
6
+ The version of the OpenAPI document: 1.13.1
7
7
  Contact: info@songtradr.com
8
8
  Generated by: https://openapi-generator.tech
9
- OpenAPI Generator version: 7.0.0-SNAPSHOT
9
+ OpenAPI Generator version: 7.0.1-SNAPSHOT
10
10
 
11
11
  =end
12
12
 
@@ -3,10 +3,10 @@
3
3
 
4
4
  #This is the Songtradr API. Use it to retrieve deep music metadata and trigger processes like auto-tagging. You can also use the API to manage your account and musicube cloud data. **Authentication** 1. Reach out to support@songtradr.com to receive a free account or use your login data if you are already signed up. 2. To authenticate, you need to login via the POST /api/v1/user/login endpoint. 3. The endpoint responds with a jwtToken which you can use in all following API requests as a bearer token. **Rate Limiting** The current limit is 120 Requests per minute. Reach out to us via support@songtradr.com if you need to request more. **Getting Started with auto-tagging** 1. If you want to get your own files auto-tagged, use the POST /api/v1/user/file/{name}/initUpload endpoint. It responds with a presigned S3 link where you can upload your file. 2. You can check the processing status of your file via the GET /api/v1/user/file/{name}/filesStatus endpoint. 3. As soon as processing is done, you can request the generated data via the GET /api/v1/user/files endpoint. **Getting Started with search** You can either search the released music via the /public/recording endpoints or your own private uploaded music via the /user/file/ endpoints. 1. If you want to search the world's released music, a good starting point is the GET /api/v1/public/recording/search endpoint. Please find the extensive list of parameters that serve as semantic search filters. 2. If you want to search your own previously uploaded music, a good starting point is the GET GET /api/v1/user/files endpoint. It has the same extensive list of parameters that serve as semantic search filters.
5
5
 
6
- The version of the OpenAPI document: 1.13.0
6
+ The version of the OpenAPI document: 1.13.1
7
7
  Contact: info@songtradr.com
8
8
  Generated by: https://openapi-generator.tech
9
- OpenAPI Generator version: 7.0.0-SNAPSHOT
9
+ OpenAPI Generator version: 7.0.1-SNAPSHOT
10
10
 
11
11
  =end
12
12
 
@@ -3,10 +3,10 @@
3
3
 
4
4
  #This is the Songtradr API. Use it to retrieve deep music metadata and trigger processes like auto-tagging. You can also use the API to manage your account and musicube cloud data. **Authentication** 1. Reach out to support@songtradr.com to receive a free account or use your login data if you are already signed up. 2. To authenticate, you need to login via the POST /api/v1/user/login endpoint. 3. The endpoint responds with a jwtToken which you can use in all following API requests as a bearer token. **Rate Limiting** The current limit is 120 Requests per minute. Reach out to us via support@songtradr.com if you need to request more. **Getting Started with auto-tagging** 1. If you want to get your own files auto-tagged, use the POST /api/v1/user/file/{name}/initUpload endpoint. It responds with a presigned S3 link where you can upload your file. 2. You can check the processing status of your file via the GET /api/v1/user/file/{name}/filesStatus endpoint. 3. As soon as processing is done, you can request the generated data via the GET /api/v1/user/files endpoint. **Getting Started with search** You can either search the released music via the /public/recording endpoints or your own private uploaded music via the /user/file/ endpoints. 1. If you want to search the world's released music, a good starting point is the GET /api/v1/public/recording/search endpoint. Please find the extensive list of parameters that serve as semantic search filters. 2. If you want to search your own previously uploaded music, a good starting point is the GET GET /api/v1/user/files endpoint. It has the same extensive list of parameters that serve as semantic search filters.
5
5
 
6
- The version of the OpenAPI document: 1.13.0
6
+ The version of the OpenAPI document: 1.13.1
7
7
  Contact: info@songtradr.com
8
8
  Generated by: https://openapi-generator.tech
9
- OpenAPI Generator version: 7.0.0-SNAPSHOT
9
+ OpenAPI Generator version: 7.0.1-SNAPSHOT
10
10
 
11
11
  =end
12
12
 
@@ -3,10 +3,10 @@
3
3
 
4
4
  #This is the Songtradr API. Use it to retrieve deep music metadata and trigger processes like auto-tagging. You can also use the API to manage your account and musicube cloud data. **Authentication** 1. Reach out to support@songtradr.com to receive a free account or use your login data if you are already signed up. 2. To authenticate, you need to login via the POST /api/v1/user/login endpoint. 3. The endpoint responds with a jwtToken which you can use in all following API requests as a bearer token. **Rate Limiting** The current limit is 120 Requests per minute. Reach out to us via support@songtradr.com if you need to request more. **Getting Started with auto-tagging** 1. If you want to get your own files auto-tagged, use the POST /api/v1/user/file/{name}/initUpload endpoint. It responds with a presigned S3 link where you can upload your file. 2. You can check the processing status of your file via the GET /api/v1/user/file/{name}/filesStatus endpoint. 3. As soon as processing is done, you can request the generated data via the GET /api/v1/user/files endpoint. **Getting Started with search** You can either search the released music via the /public/recording endpoints or your own private uploaded music via the /user/file/ endpoints. 1. If you want to search the world's released music, a good starting point is the GET /api/v1/public/recording/search endpoint. Please find the extensive list of parameters that serve as semantic search filters. 2. If you want to search your own previously uploaded music, a good starting point is the GET GET /api/v1/user/files endpoint. It has the same extensive list of parameters that serve as semantic search filters.
5
5
 
6
- The version of the OpenAPI document: 1.13.0
6
+ The version of the OpenAPI document: 1.13.1
7
7
  Contact: info@songtradr.com
8
8
  Generated by: https://openapi-generator.tech
9
- OpenAPI Generator version: 7.0.0-SNAPSHOT
9
+ OpenAPI Generator version: 7.0.1-SNAPSHOT
10
10
 
11
11
  =end
12
12
 
@@ -226,8 +226,8 @@ module SongtradrApiClientRuby
226
226
 
227
227
  # Gets access_token using access_token_getter or uses the static access_token
228
228
  def access_token_with_refresh
229
- return access_token if access_token_getter.nil?
230
- access_token_getter.call
229
+ return access_token if access_token_getter.nil?
230
+ access_token_getter.call
231
231
  end
232
232
 
233
233
  # Gets Basic Auth token string
@@ -3,10 +3,10 @@
3
3
 
4
4
  #This is the Songtradr API. Use it to retrieve deep music metadata and trigger processes like auto-tagging. You can also use the API to manage your account and musicube cloud data. **Authentication** 1. Reach out to support@songtradr.com to receive a free account or use your login data if you are already signed up. 2. To authenticate, you need to login via the POST /api/v1/user/login endpoint. 3. The endpoint responds with a jwtToken which you can use in all following API requests as a bearer token. **Rate Limiting** The current limit is 120 Requests per minute. Reach out to us via support@songtradr.com if you need to request more. **Getting Started with auto-tagging** 1. If you want to get your own files auto-tagged, use the POST /api/v1/user/file/{name}/initUpload endpoint. It responds with a presigned S3 link where you can upload your file. 2. You can check the processing status of your file via the GET /api/v1/user/file/{name}/filesStatus endpoint. 3. As soon as processing is done, you can request the generated data via the GET /api/v1/user/files endpoint. **Getting Started with search** You can either search the released music via the /public/recording endpoints or your own private uploaded music via the /user/file/ endpoints. 1. If you want to search the world's released music, a good starting point is the GET /api/v1/public/recording/search endpoint. Please find the extensive list of parameters that serve as semantic search filters. 2. If you want to search your own previously uploaded music, a good starting point is the GET GET /api/v1/user/files endpoint. It has the same extensive list of parameters that serve as semantic search filters.
5
5
 
6
- The version of the OpenAPI document: 1.13.0
6
+ The version of the OpenAPI document: 1.13.1
7
7
  Contact: info@songtradr.com
8
8
  Generated by: https://openapi-generator.tech
9
- OpenAPI Generator version: 7.0.0-SNAPSHOT
9
+ OpenAPI Generator version: 7.0.1-SNAPSHOT
10
10
 
11
11
  =end
12
12