songtradr_api_client_ruby 1.12.22 → 1.12.24
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +4 -4
- data/README.md +26 -12
- data/docs/APIKeysApi.md +217 -0
- data/docs/AdminApiUserDTO.md +70 -0
- data/docs/AllowedValuesApi.md +2 -2
- data/docs/ApiKeyDTO.md +24 -0
- data/docs/CreateApiKeyDTO.md +18 -0
- data/docs/FileSmallDTO.md +16 -16
- data/docs/MusicalFeaturesDTO.md +82 -82
- data/docs/PlaylistLargeDTO.md +9 -9
- data/docs/ProductMediumDTO.md +2 -2
- data/docs/RecordingApi.md +2 -0
- data/docs/RecordingGenrePredictionDTO.md +3 -3
- data/docs/RecordingLargeDTO.md +11 -11
- data/docs/RecordingMediumDTO.md +7 -7
- data/docs/RecordingMinimalWithMusicalFeaturesDTO.md +3 -3
- data/docs/RecordingPlaylistDTO.md +3 -3
- data/docs/RecordingSmallDTO.md +3 -3
- data/docs/UserApi.md +4 -0
- data/docs/UserDTO.md +20 -0
- data/lib/songtradr_api_client_ruby/api/allowed_values_api.rb +4 -4
- data/lib/songtradr_api_client_ruby/api/api_keys_api.rb +213 -0
- data/lib/songtradr_api_client_ruby/api/party_api.rb +1 -1
- data/lib/songtradr_api_client_ruby/api/playlist_api.rb +1 -1
- data/lib/songtradr_api_client_ruby/api/recording_api.rb +4 -1
- data/lib/songtradr_api_client_ruby/api/user_api.rb +7 -1
- data/lib/songtradr_api_client_ruby/api_client.rb +1 -1
- data/lib/songtradr_api_client_ruby/api_error.rb +1 -1
- data/lib/songtradr_api_client_ruby/configuration.rb +10 -8
- data/lib/songtradr_api_client_ruby/models/admin_api_user_dto.rb +448 -0
- data/lib/songtradr_api_client_ruby/models/api_key_dto.rb +262 -0
- data/lib/songtradr_api_client_ruby/models/category_medium_dto.rb +17 -18
- data/lib/songtradr_api_client_ruby/models/category_minimal_dto.rb +15 -18
- data/lib/songtradr_api_client_ruby/models/config_access_dto.rb +17 -18
- data/lib/songtradr_api_client_ruby/models/config_identifier_dto.rb +17 -18
- data/lib/songtradr_api_client_ruby/models/contributor_type_dto.rb +15 -18
- data/lib/songtradr_api_client_ruby/models/create_api_key_dto.rb +214 -0
- data/lib/songtradr_api_client_ruby/models/error_response.rb +19 -18
- data/lib/songtradr_api_client_ruby/models/field_summary_dto.rb +19 -18
- data/lib/songtradr_api_client_ruby/models/file_dto.rb +23 -18
- data/lib/songtradr_api_client_ruby/models/file_list_dto.rb +21 -18
- data/lib/songtradr_api_client_ruby/models/file_minimal_with_url_dto.rb +19 -18
- data/lib/songtradr_api_client_ruby/models/file_small_dto.rb +81 -76
- data/lib/songtradr_api_client_ruby/models/file_upload_dto.rb +13 -18
- data/lib/songtradr_api_client_ruby/models/file_w_ith_url_dto.rb +17 -18
- data/lib/songtradr_api_client_ruby/models/files_summary_dto.rb +15 -18
- data/lib/songtradr_api_client_ruby/models/forgot_password_dto.rb +15 -18
- data/lib/songtradr_api_client_ruby/models/genre_dto.rb +17 -18
- data/lib/songtradr_api_client_ruby/models/genre_minimal_dto.rb +15 -18
- data/lib/songtradr_api_client_ruby/models/genres_summary_dto.rb +17 -18
- data/lib/songtradr_api_client_ruby/models/init_put_recording_audio_dto.rb +13 -18
- data/lib/songtradr_api_client_ruby/models/jwt_token_dto.rb +17 -18
- data/lib/songtradr_api_client_ruby/models/login_dto.rb +17 -18
- data/lib/songtradr_api_client_ruby/models/musical_features_dto.rb +529 -534
- data/lib/songtradr_api_client_ruby/models/p_line_dto.rb +15 -18
- data/lib/songtradr_api_client_ruby/models/party_large_dto.rb +15 -18
- data/lib/songtradr_api_client_ruby/models/party_small_dto.rb +17 -18
- data/lib/songtradr_api_client_ruby/models/playlist_large_dto.rb +54 -57
- data/lib/songtradr_api_client_ruby/models/product_medium_dto.rb +35 -28
- data/lib/songtradr_api_client_ruby/models/product_party_dto.rb +15 -18
- data/lib/songtradr_api_client_ruby/models/recording_for_similarity_search_dto.rb +17 -18
- data/lib/songtradr_api_client_ruby/models/recording_genre_prediction_dto.rb +37 -36
- data/lib/songtradr_api_client_ruby/models/recording_large_dto.rb +94 -77
- data/lib/songtradr_api_client_ruby/models/recording_list_dto.rb +21 -18
- data/lib/songtradr_api_client_ruby/models/recording_medium_dto.rb +64 -51
- data/lib/songtradr_api_client_ruby/models/recording_minimal_with_musical_features_dto.rb +28 -31
- data/lib/songtradr_api_client_ruby/models/recording_minimal_with_taggrams_dto.rb +15 -18
- data/lib/songtradr_api_client_ruby/models/recording_minimal_with_tagstrengths_dto.rb +15 -18
- data/lib/songtradr_api_client_ruby/models/recording_party_dto.rb +15 -18
- data/lib/songtradr_api_client_ruby/models/recording_playlist_dto.rb +26 -31
- data/lib/songtradr_api_client_ruby/models/recording_small_dto.rb +36 -31
- data/lib/songtradr_api_client_ruby/models/recording_tag_small_dto.rb +15 -18
- data/lib/songtradr_api_client_ruby/models/save_file_recording_dto.rb +17 -18
- data/lib/songtradr_api_client_ruby/models/save_playlist_dto.rb +21 -18
- data/lib/songtradr_api_client_ruby/models/save_recording_genre_dto.rb +15 -18
- data/lib/songtradr_api_client_ruby/models/save_recording_party_dto.rb +17 -18
- data/lib/songtradr_api_client_ruby/models/save_recording_playlist_dto.rb +17 -18
- data/lib/songtradr_api_client_ruby/models/save_recording_tag_dto.rb +15 -18
- data/lib/songtradr_api_client_ruby/models/save_referrer_dto.rb +13 -18
- data/lib/songtradr_api_client_ruby/models/save_taggrams_dto.rb +13 -18
- data/lib/songtradr_api_client_ruby/models/save_user_dto.rb +15 -18
- data/lib/songtradr_api_client_ruby/models/search_filter_values_dto.rb +95 -18
- data/lib/songtradr_api_client_ruby/models/search_recording_granular_abstraction_dto.rb +15 -18
- data/lib/songtradr_api_client_ruby/models/search_recording_granular_dto.rb +15 -18
- data/lib/songtradr_api_client_ruby/models/sign_up_dto.rb +19 -18
- data/lib/songtradr_api_client_ruby/models/tag_dto.rb +17 -18
- data/lib/songtradr_api_client_ruby/models/tag_small_dto.rb +17 -18
- data/lib/songtradr_api_client_ruby/models/taggram_dto.rb +17 -18
- data/lib/songtradr_api_client_ruby/models/tags_summary_dto.rb +17 -18
- data/lib/songtradr_api_client_ruby/models/tagstrength_dto.rb +17 -18
- data/lib/songtradr_api_client_ruby/models/title_dto.rb +15 -18
- data/lib/songtradr_api_client_ruby/models/token_request.rb +15 -18
- data/lib/songtradr_api_client_ruby/models/track_to_medium_product_dto.rb +17 -18
- data/lib/songtradr_api_client_ruby/models/update_password_dto.rb +17 -18
- data/lib/songtradr_api_client_ruby/models/usage_dto.rb +13 -18
- data/lib/songtradr_api_client_ruby/models/user_dto.rb +210 -19
- data/lib/songtradr_api_client_ruby/version.rb +2 -2
- data/lib/songtradr_api_client_ruby.rb +5 -1
- data/openapi-generator-config.yaml +1 -1
- data/songtradr_api_client_ruby.gemspec +1 -1
- data/spec/api/allowed_values_api_spec.rb +2 -2
- data/spec/api/api_keys_api_spec.rb +70 -0
- data/spec/api/party_api_spec.rb +1 -1
- data/spec/api/playlist_api_spec.rb +1 -1
- data/spec/api/recording_api_spec.rb +2 -1
- data/spec/api/user_api_spec.rb +3 -1
- data/spec/api_client_spec.rb +1 -1
- data/spec/configuration_spec.rb +1 -1
- data/spec/models/admin_api_user_dto_spec.rb +190 -0
- data/spec/models/api_key_dto_spec.rb +52 -0
- data/spec/models/category_medium_dto_spec.rb +1 -1
- data/spec/models/category_minimal_dto_spec.rb +1 -1
- data/spec/models/config_access_dto_spec.rb +1 -1
- data/spec/models/config_identifier_dto_spec.rb +1 -1
- data/spec/models/contributor_type_dto_spec.rb +1 -1
- data/spec/models/create_api_key_dto_spec.rb +34 -0
- data/spec/models/error_response_spec.rb +1 -1
- data/spec/models/field_summary_dto_spec.rb +1 -1
- data/spec/models/file_dto_spec.rb +1 -1
- data/spec/models/file_list_dto_spec.rb +1 -1
- data/spec/models/file_minimal_with_url_dto_spec.rb +1 -1
- data/spec/models/file_small_dto_spec.rb +15 -15
- data/spec/models/file_upload_dto_spec.rb +1 -1
- data/spec/models/file_w_ith_url_dto_spec.rb +1 -1
- data/spec/models/files_summary_dto_spec.rb +1 -1
- data/spec/models/forgot_password_dto_spec.rb +1 -1
- data/spec/models/genre_dto_spec.rb +1 -1
- data/spec/models/genre_minimal_dto_spec.rb +1 -1
- data/spec/models/genres_summary_dto_spec.rb +1 -1
- data/spec/models/init_put_recording_audio_dto_spec.rb +1 -1
- data/spec/models/jwt_token_dto_spec.rb +1 -1
- data/spec/models/login_dto_spec.rb +1 -1
- data/spec/models/musical_features_dto_spec.rb +175 -175
- data/spec/models/p_line_dto_spec.rb +1 -1
- data/spec/models/party_large_dto_spec.rb +1 -1
- data/spec/models/party_small_dto_spec.rb +1 -1
- data/spec/models/playlist_large_dto_spec.rb +10 -10
- data/spec/models/product_medium_dto_spec.rb +7 -7
- data/spec/models/product_party_dto_spec.rb +1 -1
- data/spec/models/recording_for_similarity_search_dto_spec.rb +1 -1
- data/spec/models/recording_genre_prediction_dto_spec.rb +3 -3
- data/spec/models/recording_large_dto_spec.rb +12 -12
- data/spec/models/recording_list_dto_spec.rb +1 -1
- data/spec/models/recording_medium_dto_spec.rb +9 -9
- data/spec/models/recording_minimal_with_musical_features_dto_spec.rb +3 -3
- data/spec/models/recording_minimal_with_taggrams_dto_spec.rb +1 -1
- data/spec/models/recording_minimal_with_tagstrengths_dto_spec.rb +1 -1
- data/spec/models/recording_party_dto_spec.rb +1 -1
- data/spec/models/recording_playlist_dto_spec.rb +4 -4
- data/spec/models/recording_small_dto_spec.rb +4 -4
- data/spec/models/recording_tag_small_dto_spec.rb +1 -1
- data/spec/models/save_file_recording_dto_spec.rb +1 -1
- data/spec/models/save_playlist_dto_spec.rb +1 -1
- data/spec/models/save_recording_genre_dto_spec.rb +1 -1
- data/spec/models/save_recording_party_dto_spec.rb +1 -1
- data/spec/models/save_recording_playlist_dto_spec.rb +1 -1
- data/spec/models/save_recording_tag_dto_spec.rb +1 -1
- data/spec/models/save_referrer_dto_spec.rb +1 -1
- data/spec/models/save_taggrams_dto_spec.rb +1 -1
- data/spec/models/save_user_dto_spec.rb +1 -1
- data/spec/models/search_filter_values_dto_spec.rb +1 -1
- data/spec/models/search_recording_granular_abstraction_dto_spec.rb +1 -1
- data/spec/models/search_recording_granular_dto_spec.rb +1 -1
- data/spec/models/sign_up_dto_spec.rb +1 -1
- data/spec/models/tag_dto_spec.rb +1 -1
- data/spec/models/tag_small_dto_spec.rb +1 -1
- data/spec/models/taggram_dto_spec.rb +1 -1
- data/spec/models/tags_summary_dto_spec.rb +1 -1
- data/spec/models/tagstrength_dto_spec.rb +1 -1
- data/spec/models/title_dto_spec.rb +1 -1
- data/spec/models/token_request_spec.rb +1 -1
- data/spec/models/track_to_medium_product_dto_spec.rb +1 -1
- data/spec/models/update_password_dto_spec.rb +1 -1
- data/spec/models/usage_dto_spec.rb +1 -1
- data/spec/models/user_dto_spec.rb +61 -1
- data/spec/spec_helper.rb +1 -1
- metadata +72 -56
data/docs/MusicalFeaturesDTO.md
CHANGED
@@ -5,27 +5,20 @@
|
|
5
5
|
| Name | Type | Description | Notes |
|
6
6
|
| ---- | ---- | ----------- | ----- |
|
7
7
|
| **space** | **String** | Search for space | [optional] |
|
8
|
-
| **arousal** | **String** | Search for an arousal | [optional] |
|
9
|
-
| **dominant_instrument** | **String** | Search for a dominant instrument | [optional] |
|
10
|
-
| **energy** | **String** | Search for energy | [optional] |
|
11
|
-
| **engagement** | **String** | Search for an engagement | [optional] |
|
12
|
-
| **groovyness** | **String** | Search for groovyness | [optional] |
|
13
|
-
| **harmony** | **String** | Search for a degree of harmoniousness | [optional] |
|
14
|
-
| **pleasantness** | **String** | Search for pleasantness | [optional] |
|
15
|
-
| **primary_mood_cluster** | **String** | Search for a language of the lyrics | [optional] |
|
16
|
-
| **primary_sound_character** | **String** | Search for a sound character | [optional] |
|
17
|
-
| **rhythm** | **String** | Search for rhythm | [optional] |
|
18
|
-
| **roughness** | **String** | Search for roughness | [optional] |
|
19
|
-
| **scale** | **String** | Search for a tonal scale | [optional] |
|
20
|
-
| **sound_generation** | **String** | Search for type of sound generation | [optional] |
|
21
|
-
| **tempo** | **String** | Search for tempo | [optional] |
|
22
|
-
| **texture** | **String** | Search for texture | [optional] |
|
23
|
-
| **timbre** | **String** | Search for timbre | [optional] |
|
24
|
-
| **tonality** | **String** | Search for tonality | [optional] |
|
25
|
-
| **valence** | **String** | Search for a valence | [optional] |
|
26
|
-
| **vocals** | **String** | Search for a vocal gender or instrumental songs | [optional] |
|
27
|
-
| **origin_decade** | **String** | Search for origin decade | [optional] |
|
28
8
|
| **language_of_performance** | **String** | | [optional] |
|
9
|
+
| **primary_mood_cluster_affinity** | **Float** | | [optional] |
|
10
|
+
| **secondary_mood_cluster** | **String** | Search for a language of the lyrics | [optional] |
|
11
|
+
| **secondary_mood_cluster_affinity** | **Float** | | [optional] |
|
12
|
+
| **tertiary_mood_cluster** | **String** | Search for a language of the lyrics | [optional] |
|
13
|
+
| **tertiary_mood_cluster_affinity** | **Float** | | [optional] |
|
14
|
+
| **vocals_affinity** | **Float** | | [optional] |
|
15
|
+
| **dominant_instrument_affinity** | **Float** | | [optional] |
|
16
|
+
| **secondary_instrument** | **String** | Search for a dominant instrument | [optional] |
|
17
|
+
| **secondary_instrument_affinity** | **Float** | | [optional] |
|
18
|
+
| **tertiary_instrument** | **String** | Search for a dominant instrument | [optional] |
|
19
|
+
| **tertiary_instrument_affinity** | **Float** | | [optional] |
|
20
|
+
| **sound_generation_affinity** | **Float** | | [optional] |
|
21
|
+
| **rhythm_affinity** | **Float** | | [optional] |
|
29
22
|
| **primary_sound_character_affinity** | **Float** | | [optional] |
|
30
23
|
| **tonality_affinity** | **Float** | | [optional] |
|
31
24
|
| **bpm** | **Float** | | [optional] |
|
@@ -56,39 +49,46 @@
|
|
56
49
|
| **use_case_affinity** | **Float** | | [optional] |
|
57
50
|
| **industry_suitability** | **String** | Search for Industry suitability | [optional] |
|
58
51
|
| **industry_suitability_affinity** | **Float** | | [optional] |
|
52
|
+
| **arousal** | **String** | Search for an arousal | [optional] |
|
53
|
+
| **dominant_instrument** | **String** | Search for a dominant instrument | [optional] |
|
54
|
+
| **energy** | **String** | Search for energy | [optional] |
|
55
|
+
| **engagement** | **String** | Search for an engagement | [optional] |
|
56
|
+
| **groovyness** | **String** | Search for groovyness | [optional] |
|
57
|
+
| **harmony** | **String** | Search for a degree of harmoniousness | [optional] |
|
58
|
+
| **pleasantness** | **String** | Search for pleasantness | [optional] |
|
59
|
+
| **primary_mood_cluster** | **String** | Search for a language of the lyrics | [optional] |
|
60
|
+
| **primary_sound_character** | **String** | Search for a sound character | [optional] |
|
61
|
+
| **rhythm** | **String** | Search for rhythm | [optional] |
|
62
|
+
| **roughness** | **String** | Search for roughness | [optional] |
|
63
|
+
| **scale** | **String** | Search for a tonal scale | [optional] |
|
64
|
+
| **sound_generation** | **String** | Search for type of sound generation | [optional] |
|
65
|
+
| **tempo** | **String** | Search for tempo | [optional] |
|
66
|
+
| **texture** | **String** | Search for texture | [optional] |
|
67
|
+
| **timbre** | **String** | Search for timbre | [optional] |
|
68
|
+
| **tonality** | **String** | Search for tonality | [optional] |
|
69
|
+
| **valence** | **String** | Search for a valence | [optional] |
|
59
70
|
| **audience_region** | **String** | | [optional] |
|
71
|
+
| **vocals** | **String** | Search for a vocal gender or instrumental songs | [optional] |
|
72
|
+
| **origin_decade** | **String** | Search for origin decade | [optional] |
|
60
73
|
| **curateability** | **String** | Search for curatebility | [optional] |
|
61
74
|
| **use_case** | **String** | Search for use case | [optional] |
|
62
75
|
| **channel_suitability** | **String** | Search for social media suitability | [optional] |
|
63
|
-
| **
|
64
|
-
| **
|
65
|
-
| **secondary_mood_cluster_affinity** | **Float** | | [optional] |
|
66
|
-
| **tertiary_mood_cluster** | **String** | Search for a language of the lyrics | [optional] |
|
67
|
-
| **tertiary_mood_cluster_affinity** | **Float** | | [optional] |
|
68
|
-
| **vocals_affinity** | **Float** | | [optional] |
|
69
|
-
| **dominant_instrument_affinity** | **Float** | | [optional] |
|
70
|
-
| **secondary_instrument** | **String** | Search for a dominant instrument | [optional] |
|
71
|
-
| **secondary_instrument_affinity** | **Float** | | [optional] |
|
72
|
-
| **tertiary_instrument** | **String** | Search for a dominant instrument | [optional] |
|
73
|
-
| **tertiary_instrument_affinity** | **Float** | | [optional] |
|
74
|
-
| **sound_generation_affinity** | **Float** | | [optional] |
|
75
|
-
| **rhythm_affinity** | **Float** | | [optional] |
|
76
|
-
| **valence_affinity** | **Float** | | [optional] |
|
77
|
-
| **arousal_affinity** | **Float** | | [optional] |
|
76
|
+
| **key** | **String** | Search for a harmonic key | [optional] |
|
77
|
+
| **channel_suitability_affinity** | **Float** | | [optional] |
|
78
78
|
| **pleasantness_affinity** | **Float** | | [optional] |
|
79
|
-
| **engagement_affinity** | **Float** | | [optional] |
|
80
|
-
| **energy_affinity** | **Float** | | [optional] |
|
81
79
|
| **tempo_affinity** | **Float** | | [optional] |
|
82
80
|
| **scale_affinity** | **Float** | | [optional] |
|
83
81
|
| **timbre_affinity** | **Float** | | [optional] |
|
84
|
-
| **
|
85
|
-
| **
|
82
|
+
| **engagement_affinity** | **Float** | | [optional] |
|
83
|
+
| **energy_affinity** | **Float** | | [optional] |
|
86
84
|
| **texture_affinity** | **Float** | | [optional] |
|
87
85
|
| **groovyness_affinity** | **Float** | | [optional] |
|
86
|
+
| **valence_affinity** | **Float** | | [optional] |
|
87
|
+
| **arousal_affinity** | **Float** | | [optional] |
|
88
88
|
| **space_affinity** | **Float** | | [optional] |
|
89
89
|
| **key_affinity** | **Float** | | [optional] |
|
90
|
-
| **
|
91
|
-
| **
|
90
|
+
| **roughness_affinity** | **Float** | | [optional] |
|
91
|
+
| **harmony_affinity** | **Float** | | [optional] |
|
92
92
|
|
93
93
|
## Example
|
94
94
|
|
@@ -97,27 +97,20 @@ require 'songtradr_api_client_ruby'
|
|
97
97
|
|
98
98
|
instance = SongtradrApiClientRuby::MusicalFeaturesDTO.new(
|
99
99
|
space: null,
|
100
|
-
arousal: null,
|
101
|
-
dominant_instrument: null,
|
102
|
-
energy: null,
|
103
|
-
engagement: null,
|
104
|
-
groovyness: null,
|
105
|
-
harmony: null,
|
106
|
-
pleasantness: null,
|
107
|
-
primary_mood_cluster: null,
|
108
|
-
primary_sound_character: null,
|
109
|
-
rhythm: null,
|
110
|
-
roughness: null,
|
111
|
-
scale: null,
|
112
|
-
sound_generation: null,
|
113
|
-
tempo: null,
|
114
|
-
texture: null,
|
115
|
-
timbre: null,
|
116
|
-
tonality: null,
|
117
|
-
valence: null,
|
118
|
-
vocals: null,
|
119
|
-
origin_decade: null,
|
120
100
|
language_of_performance: null,
|
101
|
+
primary_mood_cluster_affinity: null,
|
102
|
+
secondary_mood_cluster: null,
|
103
|
+
secondary_mood_cluster_affinity: null,
|
104
|
+
tertiary_mood_cluster: null,
|
105
|
+
tertiary_mood_cluster_affinity: null,
|
106
|
+
vocals_affinity: null,
|
107
|
+
dominant_instrument_affinity: null,
|
108
|
+
secondary_instrument: null,
|
109
|
+
secondary_instrument_affinity: null,
|
110
|
+
tertiary_instrument: null,
|
111
|
+
tertiary_instrument_affinity: null,
|
112
|
+
sound_generation_affinity: null,
|
113
|
+
rhythm_affinity: null,
|
121
114
|
primary_sound_character_affinity: null,
|
122
115
|
tonality_affinity: null,
|
123
116
|
bpm: null,
|
@@ -148,39 +141,46 @@ instance = SongtradrApiClientRuby::MusicalFeaturesDTO.new(
|
|
148
141
|
use_case_affinity: null,
|
149
142
|
industry_suitability: null,
|
150
143
|
industry_suitability_affinity: null,
|
144
|
+
arousal: null,
|
145
|
+
dominant_instrument: null,
|
146
|
+
energy: null,
|
147
|
+
engagement: null,
|
148
|
+
groovyness: null,
|
149
|
+
harmony: null,
|
150
|
+
pleasantness: null,
|
151
|
+
primary_mood_cluster: null,
|
152
|
+
primary_sound_character: null,
|
153
|
+
rhythm: null,
|
154
|
+
roughness: null,
|
155
|
+
scale: null,
|
156
|
+
sound_generation: null,
|
157
|
+
tempo: null,
|
158
|
+
texture: null,
|
159
|
+
timbre: null,
|
160
|
+
tonality: null,
|
161
|
+
valence: null,
|
151
162
|
audience_region: null,
|
163
|
+
vocals: null,
|
164
|
+
origin_decade: null,
|
152
165
|
curateability: null,
|
153
166
|
use_case: null,
|
154
167
|
channel_suitability: null,
|
155
|
-
|
156
|
-
|
157
|
-
secondary_mood_cluster_affinity: null,
|
158
|
-
tertiary_mood_cluster: null,
|
159
|
-
tertiary_mood_cluster_affinity: null,
|
160
|
-
vocals_affinity: null,
|
161
|
-
dominant_instrument_affinity: null,
|
162
|
-
secondary_instrument: null,
|
163
|
-
secondary_instrument_affinity: null,
|
164
|
-
tertiary_instrument: null,
|
165
|
-
tertiary_instrument_affinity: null,
|
166
|
-
sound_generation_affinity: null,
|
167
|
-
rhythm_affinity: null,
|
168
|
-
valence_affinity: null,
|
169
|
-
arousal_affinity: null,
|
168
|
+
key: null,
|
169
|
+
channel_suitability_affinity: null,
|
170
170
|
pleasantness_affinity: null,
|
171
|
-
engagement_affinity: null,
|
172
|
-
energy_affinity: null,
|
173
171
|
tempo_affinity: null,
|
174
172
|
scale_affinity: null,
|
175
173
|
timbre_affinity: null,
|
176
|
-
|
177
|
-
|
174
|
+
engagement_affinity: null,
|
175
|
+
energy_affinity: null,
|
178
176
|
texture_affinity: null,
|
179
177
|
groovyness_affinity: null,
|
178
|
+
valence_affinity: null,
|
179
|
+
arousal_affinity: null,
|
180
180
|
space_affinity: null,
|
181
181
|
key_affinity: null,
|
182
|
-
|
183
|
-
|
182
|
+
roughness_affinity: null,
|
183
|
+
harmony_affinity: null
|
184
184
|
)
|
185
185
|
```
|
186
186
|
|
data/docs/PlaylistLargeDTO.md
CHANGED
@@ -6,15 +6,15 @@
|
|
6
6
|
| ---- | ---- | ----------- | ----- |
|
7
7
|
| **name** | **String** | | |
|
8
8
|
| **state** | **String** | | [optional] |
|
9
|
-
| **description** | **String** | | [optional] |
|
10
9
|
| **usages** | [**Array<UsageDTO>**](UsageDTO.md) | | [optional] |
|
11
|
-
| **
|
12
|
-
| **updated** | **Time** | | [optional] |
|
10
|
+
| **description** | **String** | | [optional] |
|
13
11
|
| **songtradr_playlist_guid** | **String** | | [optional] |
|
14
|
-
| **tracks** | [**Array<RecordingPlaylistDTO>**](RecordingPlaylistDTO.md) | | [optional] |
|
15
12
|
| **asset_url** | **String** | | [optional] |
|
16
13
|
| **pretzel_tier** | **String** | | [optional] |
|
17
14
|
| **usage** | **String** | | [optional] |
|
15
|
+
| **tracks** | [**Array<RecordingPlaylistDTO>**](RecordingPlaylistDTO.md) | | [optional] |
|
16
|
+
| **created** | **Time** | | [optional] |
|
17
|
+
| **updated** | **Time** | | [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
27
|
usages: null,
|
29
|
-
|
30
|
-
updated: null,
|
28
|
+
description: null,
|
31
29
|
songtradr_playlist_guid: null,
|
32
|
-
tracks: null,
|
33
30
|
asset_url: null,
|
34
31
|
pretzel_tier: null,
|
35
|
-
usage: null
|
32
|
+
usage: null,
|
33
|
+
tracks: null,
|
34
|
+
created: null,
|
35
|
+
updated: null
|
36
36
|
)
|
37
37
|
```
|
38
38
|
|
data/docs/ProductMediumDTO.md
CHANGED
@@ -5,12 +5,12 @@
|
|
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] |
|
11
10
|
| **gtin** | **String** | | [optional] |
|
12
11
|
| **grid** | **String** | | [optional] |
|
13
12
|
| **release_date** | **Time** | | [optional] |
|
13
|
+
| **pline** | [**PLineDTO**](PLineDTO.md) | | [optional] |
|
14
14
|
| **takedown_date** | **Time** | | [optional] |
|
15
15
|
| **parties** | [**Array<ProductPartyDTO>**](ProductPartyDTO.md) | | [optional] |
|
16
16
|
|
@@ -21,12 +21,12 @@ 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,
|
27
26
|
gtin: null,
|
28
27
|
grid: null,
|
29
28
|
release_date: null,
|
29
|
+
pline: null,
|
30
30
|
takedown_date: null,
|
31
31
|
parties: null
|
32
32
|
)
|
data/docs/RecordingApi.md
CHANGED
@@ -537,6 +537,7 @@ opts = {
|
|
537
537
|
main_artist: 'The Beatles', # String | Search for a main artist.
|
538
538
|
composer: 'John Cale', # String | Search for a composer.
|
539
539
|
title: 'Highway To Hell', # String | Search for a title.
|
540
|
+
party_and_title: 'The Beatles yesterday', # String | Search for party and title.
|
540
541
|
language: 'en', # String | Search for a language of the lyrics.
|
541
542
|
genre: 'Rock', # String | Search for a genre.
|
542
543
|
primary_mood_cluster: 'aggressive', # String | Search for a mood.
|
@@ -607,6 +608,7 @@ end
|
|
607
608
|
| **main_artist** | **String** | Search for a main artist. | [optional] |
|
608
609
|
| **composer** | **String** | Search for a composer. | [optional] |
|
609
610
|
| **title** | **String** | Search for a title. | [optional] |
|
611
|
+
| **party_and_title** | **String** | Search for party and title. | [optional] |
|
610
612
|
| **language** | **String** | Search for a language of the lyrics. | [optional] |
|
611
613
|
| **genre** | **String** | Search for a genre. | [optional] |
|
612
614
|
| **primary_mood_cluster** | **String** | Search for a mood. | [optional] |
|
@@ -5,8 +5,8 @@
|
|
5
5
|
| Name | Type | Description | Notes |
|
6
6
|
| ---- | ---- | ----------- | ----- |
|
7
7
|
| **genre_type** | **String** | | |
|
8
|
-
| **genre** | [**GenreMinimalDTO**](GenreMinimalDTO.md) | | |
|
9
8
|
| **probability** | **Float** | | |
|
9
|
+
| **genre** | [**GenreMinimalDTO**](GenreMinimalDTO.md) | | |
|
10
10
|
|
11
11
|
## Example
|
12
12
|
|
@@ -15,8 +15,8 @@ require 'songtradr_api_client_ruby'
|
|
15
15
|
|
16
16
|
instance = SongtradrApiClientRuby::RecordingGenrePredictionDTO.new(
|
17
17
|
genre_type: null,
|
18
|
-
|
19
|
-
|
18
|
+
probability: null,
|
19
|
+
genre: null
|
20
20
|
)
|
21
21
|
```
|
22
22
|
|
data/docs/RecordingLargeDTO.md
CHANGED
@@ -5,17 +5,17 @@
|
|
5
5
|
| Name | Type | Description | Notes |
|
6
6
|
| ---- | ---- | ----------- | ----- |
|
7
7
|
| **duration** | **Integer** | | [optional] |
|
8
|
-
| **
|
9
|
-
| **musical_features** | [**MusicalFeaturesDTO**](MusicalFeaturesDTO.md) | | [optional] |
|
10
|
-
| **pline** | [**PLineDTO**](PLineDTO.md) | | [optional] |
|
11
|
-
| **genre_predictions** | [**Array<RecordingGenrePredictionDTO>**](RecordingGenrePredictionDTO.md) | | [optional] |
|
8
|
+
| **isrc** | **String** | | |
|
12
9
|
| **parties** | [**Array<RecordingPartyDTO>**](RecordingPartyDTO.md) | | [optional] |
|
13
10
|
| **genres** | [**Array<GenreDTO>**](GenreDTO.md) | | [optional] |
|
14
11
|
| **language_of_performance** | **String** | | [optional] |
|
15
12
|
| **titles** | [**Array<TitleDTO>**](TitleDTO.md) | | [optional] |
|
16
|
-
| **
|
13
|
+
| **tracks** | [**Array<TrackToMediumProductDTO>**](TrackToMediumProductDTO.md) | | [optional] |
|
14
|
+
| **musical_features** | [**MusicalFeaturesDTO**](MusicalFeaturesDTO.md) | | [optional] |
|
17
15
|
| **tags** | [**Array<RecordingTagSmallDTO>**](RecordingTagSmallDTO.md) | | [optional] |
|
18
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
|
-
|
28
|
-
musical_features: null,
|
29
|
-
pline: null,
|
30
|
-
genre_predictions: null,
|
27
|
+
isrc: null,
|
31
28
|
parties: null,
|
32
29
|
genres: null,
|
33
30
|
language_of_performance: null,
|
34
31
|
titles: null,
|
35
|
-
|
32
|
+
tracks: null,
|
33
|
+
musical_features: null,
|
36
34
|
tags: null,
|
37
|
-
spotify_id: null
|
35
|
+
spotify_id: null,
|
36
|
+
pline: null,
|
37
|
+
genre_predictions: null
|
38
38
|
)
|
39
39
|
```
|
40
40
|
|
data/docs/RecordingMediumDTO.md
CHANGED
@@ -4,16 +4,16 @@
|
|
4
4
|
|
5
5
|
| Name | Type | Description | Notes |
|
6
6
|
| ---- | ---- | ----------- | ----- |
|
7
|
-
| **
|
8
|
-
| **genre_predictions** | [**Array<RecordingGenrePredictionDTO>**](RecordingGenrePredictionDTO.md) | | [optional] |
|
7
|
+
| **isrc** | **String** | | |
|
9
8
|
| **recording_party_entities** | [**Array<RecordingPartyDTO>**](RecordingPartyDTO.md) | | [optional] |
|
10
9
|
| **genres** | [**Array<GenreDTO>**](GenreDTO.md) | | [optional] |
|
11
10
|
| **language_of_performance** | **String** | | [optional] |
|
12
11
|
| **release_date** | **Time** | | [optional] |
|
13
12
|
| **titles** | [**Array<TitleDTO>**](TitleDTO.md) | | [optional] |
|
14
|
-
| **
|
13
|
+
| **musical_features** | [**MusicalFeaturesDTO**](MusicalFeaturesDTO.md) | | [optional] |
|
15
14
|
| **tags** | [**Array<RecordingTagSmallDTO>**](RecordingTagSmallDTO.md) | | [optional] |
|
16
15
|
| **spotify_id** | **String** | | [optional] |
|
16
|
+
| **genre_predictions** | [**Array<RecordingGenrePredictionDTO>**](RecordingGenrePredictionDTO.md) | | [optional] |
|
17
17
|
|
18
18
|
## Example
|
19
19
|
|
@@ -21,16 +21,16 @@
|
|
21
21
|
require 'songtradr_api_client_ruby'
|
22
22
|
|
23
23
|
instance = SongtradrApiClientRuby::RecordingMediumDTO.new(
|
24
|
-
|
25
|
-
genre_predictions: null,
|
24
|
+
isrc: null,
|
26
25
|
recording_party_entities: null,
|
27
26
|
genres: null,
|
28
27
|
language_of_performance: null,
|
29
28
|
release_date: null,
|
30
29
|
titles: null,
|
31
|
-
|
30
|
+
musical_features: null,
|
32
31
|
tags: null,
|
33
|
-
spotify_id: null
|
32
|
+
spotify_id: null,
|
33
|
+
genre_predictions: null
|
34
34
|
)
|
35
35
|
```
|
36
36
|
|
@@ -4,8 +4,8 @@
|
|
4
4
|
|
5
5
|
| Name | Type | Description | Notes |
|
6
6
|
| ---- | ---- | ----------- | ----- |
|
7
|
-
| **musical_features** | [**Array<MusicalFeaturesDTO>**](MusicalFeaturesDTO.md) | | [optional] |
|
8
7
|
| **isrc** | **String** | | |
|
8
|
+
| **musical_features** | [**Array<MusicalFeaturesDTO>**](MusicalFeaturesDTO.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::RecordingMinimalWithMusicalFeaturesDTO.new(
|
16
|
-
|
17
|
-
|
16
|
+
isrc: null,
|
17
|
+
musical_features: null
|
18
18
|
)
|
19
19
|
```
|
20
20
|
|
@@ -5,9 +5,9 @@
|
|
5
5
|
| Name | Type | Description | Notes |
|
6
6
|
| ---- | ---- | ----------- | ----- |
|
7
7
|
| **recording** | [**RecordingMediumDTO**](RecordingMediumDTO.md) | | [optional] |
|
8
|
+
| **songtradr_track_guid** | **String** | | [optional] |
|
8
9
|
| **assigned_by_id** | **Integer** | | [optional] |
|
9
10
|
| **sequence** | **Integer** | | [optional] |
|
10
|
-
| **songtradr_track_guid** | **String** | | [optional] |
|
11
11
|
|
12
12
|
## Example
|
13
13
|
|
@@ -16,9 +16,9 @@ require 'songtradr_api_client_ruby'
|
|
16
16
|
|
17
17
|
instance = SongtradrApiClientRuby::RecordingPlaylistDTO.new(
|
18
18
|
recording: null,
|
19
|
+
songtradr_track_guid: null,
|
19
20
|
assigned_by_id: null,
|
20
|
-
sequence: null
|
21
|
-
songtradr_track_guid: null
|
21
|
+
sequence: null
|
22
22
|
)
|
23
23
|
```
|
24
24
|
|
data/docs/RecordingSmallDTO.md
CHANGED
@@ -5,9 +5,9 @@
|
|
5
5
|
| Name | Type | Description | Notes |
|
6
6
|
| ---- | ---- | ----------- | ----- |
|
7
7
|
| **duration** | **Integer** | | [optional] |
|
8
|
+
| **isrc** | **String** | | |
|
8
9
|
| **parties** | [**Array<RecordingPartyDTO>**](RecordingPartyDTO.md) | | [optional] |
|
9
10
|
| **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
20
|
parties: null,
|
20
|
-
titles: null
|
21
|
-
isrc: null
|
21
|
+
titles: null
|
22
22
|
)
|
23
23
|
```
|
24
24
|
|
data/docs/UserApi.md
CHANGED
@@ -689,6 +689,7 @@ opts = {
|
|
689
689
|
main_artist: 'The Beatles', # String | Search for a main artist.
|
690
690
|
composer: 'John Cale', # String | Search for a composer.
|
691
691
|
title: 'Highway To Hell', # String | Search for a title.
|
692
|
+
party_and_title: 'The Beatles yesterday', # String | Search for party and title.
|
692
693
|
language: 'en', # String | Search for a language of the lyrics.
|
693
694
|
genre_names: ['inner_example'], # Array<String> |
|
694
695
|
tag_names: ['inner_example'], # Array<String> |
|
@@ -782,6 +783,7 @@ end
|
|
782
783
|
| **main_artist** | **String** | Search for a main artist. | [optional] |
|
783
784
|
| **composer** | **String** | Search for a composer. | [optional] |
|
784
785
|
| **title** | **String** | Search for a title. | [optional] |
|
786
|
+
| **party_and_title** | **String** | Search for party and title. | [optional] |
|
785
787
|
| **language** | **String** | Search for a language of the lyrics. | [optional] |
|
786
788
|
| **genre_names** | [**Array<String>**](String.md) | | [optional] |
|
787
789
|
| **tag_names** | [**Array<String>**](String.md) | | [optional] |
|
@@ -1213,6 +1215,7 @@ opts = {
|
|
1213
1215
|
main_artist: 'The Beatles', # String | Search for a main artist.
|
1214
1216
|
composer: 'John Cale', # String | Search for a composer.
|
1215
1217
|
title: 'Highway To Hell', # String | Search for a title.
|
1218
|
+
party_and_title: 'The Beatles yesterday', # String | Search for party and title.
|
1216
1219
|
language: 'en', # String | Search for a language of the lyrics.
|
1217
1220
|
genre_names: ['inner_example'], # Array<String> |
|
1218
1221
|
tag_names: ['inner_example'], # Array<String> |
|
@@ -1305,6 +1308,7 @@ end
|
|
1305
1308
|
| **main_artist** | **String** | Search for a main artist. | [optional] |
|
1306
1309
|
| **composer** | **String** | Search for a composer. | [optional] |
|
1307
1310
|
| **title** | **String** | Search for a title. | [optional] |
|
1311
|
+
| **party_and_title** | **String** | Search for party and title. | [optional] |
|
1308
1312
|
| **language** | **String** | Search for a language of the lyrics. | [optional] |
|
1309
1313
|
| **genre_names** | [**Array<String>**](String.md) | | [optional] |
|
1310
1314
|
| **tag_names** | [**Array<String>**](String.md) | | [optional] |
|
data/docs/UserDTO.md
CHANGED
@@ -20,6 +20,16 @@
|
|
20
20
|
| **audiotagging_allowed** | **Boolean** | | |
|
21
21
|
| **b2b_allowed** | **Boolean** | | |
|
22
22
|
| **editor_allowed** | **Boolean** | | |
|
23
|
+
| **insights_allowed** | **Boolean** | | |
|
24
|
+
| **genres_allowed** | **Boolean** | | |
|
25
|
+
| **moods_allowed** | **Boolean** | | |
|
26
|
+
| **instrumentation_allowed** | **Boolean** | | |
|
27
|
+
| **sound_features_allowed** | **Boolean** | | |
|
28
|
+
| **tonal_features_allowed** | **Boolean** | | |
|
29
|
+
| **rhythm_features_allowed** | **Boolean** | | |
|
30
|
+
| **audience_allowed** | **Boolean** | | |
|
31
|
+
| **origin_allowed** | **Boolean** | | |
|
32
|
+
| **quality_allowed** | **Boolean** | | |
|
23
33
|
| **reduced_musical_features** | **Boolean** | | |
|
24
34
|
| **confirmed** | **Boolean** | | |
|
25
35
|
| **language** | **String** | | |
|
@@ -47,6 +57,16 @@ instance = SongtradrApiClientRuby::UserDTO.new(
|
|
47
57
|
audiotagging_allowed: null,
|
48
58
|
b2b_allowed: null,
|
49
59
|
editor_allowed: null,
|
60
|
+
insights_allowed: null,
|
61
|
+
genres_allowed: null,
|
62
|
+
moods_allowed: null,
|
63
|
+
instrumentation_allowed: null,
|
64
|
+
sound_features_allowed: null,
|
65
|
+
tonal_features_allowed: null,
|
66
|
+
rhythm_features_allowed: null,
|
67
|
+
audience_allowed: null,
|
68
|
+
origin_allowed: null,
|
69
|
+
quality_allowed: null,
|
50
70
|
reduced_musical_features: null,
|
51
71
|
confirmed: null,
|
52
72
|
language: null,
|
@@ -3,7 +3,7 @@
|
|
3
3
|
|
4
4
|
#This is the Songtradr API. Use it to retrieve deep music metadata and trigger processes like auto-tagging. You can also use the API to manage your account and musicube cloud data. **Authentication** 1. Reach out to support@songtradr.com to receive a free account or use your login data if you are already signed up. 2. To authenticate, you need to login via the POST /api/v1/user/login endpoint. 3. The endpoint responds with a jwtToken which you can use in all following API requests as a bearer token. **Rate Limiting** The current limit is 120 Requests per minute. Reach out to us via support@songtradr.com if you need to request more. **Getting Started with auto-tagging** 1. If you want to get your own files auto-tagged, use the POST /api/v1/user/file/{name}/initUpload endpoint. It responds with a presigned S3 link where you can upload your file. 2. You can check the processing status of your file via the GET /api/v1/user/file/{name}/filesStatus endpoint. 3. As soon as processing is done, you can request the generated data via the GET /api/v1/user/files endpoint. **Getting Started with search** You can either search the released music via the /public/recording endpoints or your own private uploaded music via the /user/file/ endpoints. 1. If you want to search the world's released music, a good starting point is the GET /api/v1/public/recording/search endpoint. Please find the extensive list of parameters that serve as semantic search filters. 2. If you want to search your own previously uploaded music, a good starting point is the GET GET /api/v1/user/files endpoint. It has the same extensive list of parameters that serve as semantic search filters.
|
5
5
|
|
6
|
-
The version of the OpenAPI document: 1.12.
|
6
|
+
The version of the OpenAPI document: 1.12.24
|
7
7
|
Contact: info@songtradr.com
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
9
|
OpenAPI Generator version: 7.0.0-SNAPSHOT
|
@@ -82,7 +82,7 @@ module SongtradrApiClientRuby
|
|
82
82
|
end
|
83
83
|
|
84
84
|
# Allowed values for genres.
|
85
|
-
# @param genre_type [String] Type of the response should have.
|
85
|
+
# @param genre_type [String] Type of the response should have. Deprecated: level1Genre, level2Genre - use musicubeLevel1Genre, musicubeLevel2Genre instead.
|
86
86
|
# @param [Hash] opts the optional parameters
|
87
87
|
# @return [Array<GenreDTO>]
|
88
88
|
def genres(genre_type, opts = {})
|
@@ -91,7 +91,7 @@ module SongtradrApiClientRuby
|
|
91
91
|
end
|
92
92
|
|
93
93
|
# Allowed values for genres.
|
94
|
-
# @param genre_type [String] Type of the response should have.
|
94
|
+
# @param genre_type [String] Type of the response should have. Deprecated: level1Genre, level2Genre - use musicubeLevel1Genre, musicubeLevel2Genre instead.
|
95
95
|
# @param [Hash] opts the optional parameters
|
96
96
|
# @return [Array<(Array<GenreDTO>, Integer, Hash)>] Array<GenreDTO> data, response status code and response headers
|
97
97
|
def genres_with_http_info(genre_type, opts = {})
|
@@ -103,7 +103,7 @@ module SongtradrApiClientRuby
|
|
103
103
|
fail ArgumentError, "Missing the required parameter 'genre_type' when calling AllowedValuesApi.genres"
|
104
104
|
end
|
105
105
|
# verify enum value
|
106
|
-
allowable_values = ["level1Genre", "level2Genre"]
|
106
|
+
allowable_values = ["musicubeLevel1Genre", "secondaryMusicubeLevel1Genre", "tertiaryMusicubeLevel1Genre", "musicubeLevel2Genre", "secondaryMusicubeLevel2Genre", "tertiaryMusicubeLevel2Genre", "level1Genre", "level2Genre"]
|
107
107
|
if @api_client.config.client_side_validation && !allowable_values.include?(genre_type)
|
108
108
|
fail ArgumentError, "invalid value for \"genre_type\", must be one of #{allowable_values}"
|
109
109
|
end
|