songtradr_api_client_ruby 1.16.0 → 1.18.0
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.
- checksums.yaml +4 -4
- data/Gemfile.lock +26 -24
- data/README.md +7 -34
- data/docs/CategoryMediumDTO.md +3 -3
- data/docs/ImageRecognitionResponse.md +2 -2
- data/docs/MusicalFeaturesDTO.md +41 -37
- data/docs/RecordingApi.md +71 -1
- data/docs/RecordingGenrePredictionDTO.md +3 -3
- data/docs/RecordingMediumDTO.md +4 -4
- data/docs/RecordingMinimalWithMusicalFeaturesDTO.md +3 -3
- data/docs/RecordingSmallDTO.md +5 -5
- data/docs/SearchFilterValuesDTO.md +2 -0
- data/docs/UserApi.md +67 -187
- data/docs/UserDTO.md +2 -0
- data/docs/VideoRecognitionResponse.md +2 -2
- data/lib/songtradr_api_client_ruby/api/allowed_values_api.rb +2 -2
- data/lib/songtradr_api_client_ruby/api/recording_api.rb +74 -5
- data/lib/songtradr_api_client_ruby/api/user_api.rb +86 -403
- data/lib/songtradr_api_client_ruby/api_client.rb +7 -6
- data/lib/songtradr_api_client_ruby/api_error.rb +2 -2
- data/lib/songtradr_api_client_ruby/configuration.rb +2 -2
- data/lib/songtradr_api_client_ruby/models/category_medium_dto.rb +17 -17
- data/lib/songtradr_api_client_ruby/models/category_minimal_dto.rb +2 -2
- data/lib/songtradr_api_client_ruby/models/config_access_dto.rb +2 -2
- data/lib/songtradr_api_client_ruby/models/config_identifier_dto.rb +2 -2
- data/lib/songtradr_api_client_ruby/models/contributor_type_dto.rb +2 -2
- data/lib/songtradr_api_client_ruby/models/error_response.rb +2 -2
- data/lib/songtradr_api_client_ruby/models/field_summary_dto.rb +2 -2
- data/lib/songtradr_api_client_ruby/models/file_dto.rb +2 -2
- data/lib/songtradr_api_client_ruby/models/file_list_dto.rb +2 -2
- data/lib/songtradr_api_client_ruby/models/file_small_dto.rb +2 -2
- data/lib/songtradr_api_client_ruby/models/file_upload_dto.rb +2 -2
- data/lib/songtradr_api_client_ruby/models/file_w_ith_url_dto.rb +2 -2
- data/lib/songtradr_api_client_ruby/models/files_summary_dto.rb +2 -2
- data/lib/songtradr_api_client_ruby/models/forgot_password_dto.rb +2 -2
- data/lib/songtradr_api_client_ruby/models/genre_dto.rb +2 -2
- data/lib/songtradr_api_client_ruby/models/genre_minimal_dto.rb +2 -2
- data/lib/songtradr_api_client_ruby/models/genres_summary_dto.rb +2 -2
- data/lib/songtradr_api_client_ruby/models/image_recognition_response.rb +4 -4
- data/lib/songtradr_api_client_ruby/models/init_put_recording_audio_dto.rb +2 -2
- data/lib/songtradr_api_client_ruby/models/jwt_token_dto.rb +2 -2
- data/lib/songtradr_api_client_ruby/models/login_dto.rb +2 -2
- data/lib/songtradr_api_client_ruby/models/musical_features_dto.rb +346 -315
- data/lib/songtradr_api_client_ruby/models/party_small_dto.rb +2 -2
- data/lib/songtradr_api_client_ruby/models/recording_for_similarity_search_dto.rb +2 -2
- data/lib/songtradr_api_client_ruby/models/recording_genre_prediction_dto.rb +22 -22
- data/lib/songtradr_api_client_ruby/models/recording_list_dto.rb +2 -2
- data/lib/songtradr_api_client_ruby/models/recording_medium_dto.rb +35 -35
- data/lib/songtradr_api_client_ruby/models/recording_minimal_with_musical_features_dto.rb +17 -17
- data/lib/songtradr_api_client_ruby/models/recording_minimal_with_taggrams_dto.rb +2 -2
- data/lib/songtradr_api_client_ruby/models/recording_minimal_with_tagstrengths_dto.rb +2 -2
- data/lib/songtradr_api_client_ruby/models/recording_party_dto.rb +2 -2
- data/lib/songtradr_api_client_ruby/models/recording_small_dto.rb +38 -38
- data/lib/songtradr_api_client_ruby/models/recording_tag_small_dto.rb +2 -2
- data/lib/songtradr_api_client_ruby/models/save_user_dto.rb +2 -2
- data/lib/songtradr_api_client_ruby/models/search_filter_values_dto.rb +21 -3
- data/lib/songtradr_api_client_ruby/models/search_recording_granular_dto.rb +2 -2
- data/lib/songtradr_api_client_ruby/models/sign_up_dto.rb +2 -2
- data/lib/songtradr_api_client_ruby/models/tag_dto.rb +2 -2
- data/lib/songtradr_api_client_ruby/models/tag_small_dto.rb +2 -2
- data/lib/songtradr_api_client_ruby/models/taggram_dto.rb +2 -2
- data/lib/songtradr_api_client_ruby/models/tags_summary_dto.rb +2 -2
- data/lib/songtradr_api_client_ruby/models/tagstrength_dto.rb +2 -2
- data/lib/songtradr_api_client_ruby/models/title_dto.rb +2 -2
- data/lib/songtradr_api_client_ruby/models/token_request.rb +2 -2
- data/lib/songtradr_api_client_ruby/models/track_dto.rb +2 -2
- data/lib/songtradr_api_client_ruby/models/update_password_dto.rb +2 -2
- data/lib/songtradr_api_client_ruby/models/user_dto.rb +19 -3
- data/lib/songtradr_api_client_ruby/models/video_recognition_response.rb +4 -4
- data/lib/songtradr_api_client_ruby/version.rb +3 -3
- data/lib/songtradr_api_client_ruby.rb +2 -30
- data/openapi-generator-config.yaml +1 -1
- data/songtradr_api_client_ruby.gemspec +3 -2
- data/spec/api/allowed_values_api_spec.rb +2 -2
- data/spec/api/recording_api_spec.rb +14 -2
- data/spec/api/user_api_spec.rb +15 -74
- data/spec/models/category_medium_dto_spec.rb +4 -4
- data/spec/models/category_minimal_dto_spec.rb +2 -2
- data/spec/models/config_access_dto_spec.rb +2 -2
- data/spec/models/config_identifier_dto_spec.rb +2 -2
- data/spec/models/contributor_type_dto_spec.rb +2 -2
- data/spec/models/error_response_spec.rb +2 -2
- data/spec/models/field_summary_dto_spec.rb +2 -2
- data/spec/models/file_dto_spec.rb +2 -2
- data/spec/models/file_list_dto_spec.rb +2 -2
- data/spec/models/file_small_dto_spec.rb +2 -2
- data/spec/models/file_upload_dto_spec.rb +2 -2
- data/spec/models/file_w_ith_url_dto_spec.rb +2 -2
- data/spec/models/files_summary_dto_spec.rb +2 -2
- data/spec/models/forgot_password_dto_spec.rb +2 -2
- data/spec/models/genre_dto_spec.rb +2 -2
- data/spec/models/genre_minimal_dto_spec.rb +2 -2
- data/spec/models/genres_summary_dto_spec.rb +2 -2
- data/spec/models/image_recognition_response_spec.rb +2 -2
- data/spec/models/init_put_recording_audio_dto_spec.rb +2 -2
- data/spec/models/jwt_token_dto_spec.rb +2 -2
- data/spec/models/login_dto_spec.rb +2 -2
- data/spec/models/musical_features_dto_spec.rb +111 -95
- data/spec/models/party_small_dto_spec.rb +2 -2
- data/spec/models/recording_for_similarity_search_dto_spec.rb +2 -2
- data/spec/models/recording_genre_prediction_dto_spec.rb +5 -5
- data/spec/models/recording_list_dto_spec.rb +2 -2
- data/spec/models/recording_medium_dto_spec.rb +10 -10
- data/spec/models/recording_minimal_with_musical_features_dto_spec.rb +4 -4
- data/spec/models/recording_minimal_with_taggrams_dto_spec.rb +2 -2
- data/spec/models/recording_minimal_with_tagstrengths_dto_spec.rb +2 -2
- data/spec/models/recording_party_dto_spec.rb +2 -2
- data/spec/models/recording_small_dto_spec.rb +6 -6
- data/spec/models/recording_tag_small_dto_spec.rb +2 -2
- data/spec/models/save_user_dto_spec.rb +2 -2
- data/spec/models/search_filter_values_dto_spec.rb +8 -2
- data/spec/models/search_recording_granular_dto_spec.rb +2 -2
- data/spec/models/sign_up_dto_spec.rb +2 -2
- data/spec/models/tag_dto_spec.rb +2 -2
- data/spec/models/tag_small_dto_spec.rb +2 -2
- data/spec/models/taggram_dto_spec.rb +2 -2
- data/spec/models/tags_summary_dto_spec.rb +2 -2
- data/spec/models/tagstrength_dto_spec.rb +2 -2
- data/spec/models/title_dto_spec.rb +2 -2
- data/spec/models/token_request_spec.rb +2 -2
- data/spec/models/track_dto_spec.rb +2 -2
- data/spec/models/update_password_dto_spec.rb +2 -2
- data/spec/models/user_dto_spec.rb +8 -2
- data/spec/models/video_recognition_response_spec.rb +2 -2
- data/spec/spec_helper.rb +2 -2
- metadata +56 -158
- data/docs/AgeRange.md +0 -20
- data/docs/Beard.md +0 -20
- data/docs/BoundingBox.md +0 -24
- data/docs/CuratePlaylistDTO.md +0 -26
- data/docs/CuratePlaylistResponseDTO.md +0 -18
- data/docs/DominantColor.md +0 -30
- data/docs/Emotion.md +0 -20
- data/docs/EyeDirection.md +0 -22
- data/docs/EyeOpen.md +0 -20
- data/docs/Eyeglasses.md +0 -20
- data/docs/FaceDetail.md +0 -50
- data/docs/FaceDetection.md +0 -20
- data/docs/FaceOccluded.md +0 -20
- data/docs/Gender.md +0 -20
- data/docs/ImageQuality.md +0 -20
- data/docs/Instance.md +0 -22
- data/docs/Label.md +0 -28
- data/docs/LabelAlias.md +0 -18
- data/docs/LabelCategory.md +0 -18
- data/docs/LabelDetection.md +0 -26
- data/docs/Landmark.md +0 -22
- data/docs/MouthOpen.md +0 -20
- data/docs/Mustache.md +0 -20
- data/docs/Parent.md +0 -18
- data/docs/PlaylistApi.md +0 -77
- data/docs/Pose.md +0 -22
- data/docs/Smile.md +0 -20
- data/docs/Sunglasses.md +0 -20
- data/lib/songtradr_api_client_ruby/api/playlist_api.rb +0 -99
- data/lib/songtradr_api_client_ruby/models/age_range.rb +0 -223
- data/lib/songtradr_api_client_ruby/models/beard.rb +0 -223
- data/lib/songtradr_api_client_ruby/models/bounding_box.rb +0 -241
- data/lib/songtradr_api_client_ruby/models/curate_playlist_dto.rb +0 -256
- data/lib/songtradr_api_client_ruby/models/curate_playlist_response_dto.rb +0 -216
- data/lib/songtradr_api_client_ruby/models/dominant_color.rb +0 -268
- data/lib/songtradr_api_client_ruby/models/emotion.rb +0 -223
- data/lib/songtradr_api_client_ruby/models/eye_direction.rb +0 -232
- data/lib/songtradr_api_client_ruby/models/eye_open.rb +0 -223
- data/lib/songtradr_api_client_ruby/models/eyeglasses.rb +0 -223
- data/lib/songtradr_api_client_ruby/models/face_detail.rb +0 -362
- data/lib/songtradr_api_client_ruby/models/face_detection.rb +0 -223
- data/lib/songtradr_api_client_ruby/models/face_occluded.rb +0 -223
- data/lib/songtradr_api_client_ruby/models/gender.rb +0 -223
- data/lib/songtradr_api_client_ruby/models/image_quality.rb +0 -223
- data/lib/songtradr_api_client_ruby/models/instance.rb +0 -234
- data/lib/songtradr_api_client_ruby/models/label.rb +0 -267
- data/lib/songtradr_api_client_ruby/models/label_alias.rb +0 -214
- data/lib/songtradr_api_client_ruby/models/label_category.rb +0 -214
- data/lib/songtradr_api_client_ruby/models/label_detection.rb +0 -250
- data/lib/songtradr_api_client_ruby/models/landmark.rb +0 -232
- data/lib/songtradr_api_client_ruby/models/mouth_open.rb +0 -223
- data/lib/songtradr_api_client_ruby/models/mustache.rb +0 -223
- data/lib/songtradr_api_client_ruby/models/parent.rb +0 -214
- data/lib/songtradr_api_client_ruby/models/pose.rb +0 -232
- data/lib/songtradr_api_client_ruby/models/smile.rb +0 -223
- data/lib/songtradr_api_client_ruby/models/sunglasses.rb +0 -223
- data/spec/api/playlist_api_spec.rb +0 -47
- data/spec/api_client_spec.rb +0 -223
- data/spec/configuration_spec.rb +0 -82
- data/spec/models/age_range_spec.rb +0 -42
- data/spec/models/beard_spec.rb +0 -42
- data/spec/models/bounding_box_spec.rb +0 -54
- data/spec/models/curate_playlist_dto_spec.rb +0 -60
- data/spec/models/curate_playlist_response_dto_spec.rb +0 -36
- data/spec/models/dominant_color_spec.rb +0 -72
- data/spec/models/emotion_spec.rb +0 -42
- data/spec/models/eye_direction_spec.rb +0 -48
- data/spec/models/eye_open_spec.rb +0 -42
- data/spec/models/eyeglasses_spec.rb +0 -42
- data/spec/models/face_detail_spec.rb +0 -132
- data/spec/models/face_detection_spec.rb +0 -42
- data/spec/models/face_occluded_spec.rb +0 -42
- data/spec/models/gender_spec.rb +0 -42
- data/spec/models/image_quality_spec.rb +0 -42
- data/spec/models/instance_spec.rb +0 -48
- data/spec/models/label_alias_spec.rb +0 -36
- data/spec/models/label_category_spec.rb +0 -36
- data/spec/models/label_detection_spec.rb +0 -60
- data/spec/models/label_spec.rb +0 -66
- data/spec/models/landmark_spec.rb +0 -48
- data/spec/models/mouth_open_spec.rb +0 -42
- data/spec/models/mustache_spec.rb +0 -42
- data/spec/models/parent_spec.rb +0 -36
- data/spec/models/pose_spec.rb +0 -48
- data/spec/models/smile_spec.rb +0 -42
- data/spec/models/sunglasses_spec.rb +0 -42
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 51ee6271c8b5db9f7941e4b057b6caed6d0514ac530a5a797afc5a08715fded6
|
|
4
|
+
data.tar.gz: 68044e684b4de9d682bca1eb57ad4aaab118f04318bb46fe0906f35e7e9fc766
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 7a11c2193ddb4599190909ee94c4bf0f1583bd7098b49b22252adda7553ec13f22f34314be0441412e4993073800ce0e075f2dea281f014c9d00cf7e19346e43
|
|
7
|
+
data.tar.gz: c375c42065a08bdc37b785a81cfd577d5b23f0b9670259e0df2ecf7e1641229dce2679e241aa409aa39351e8ce6e7eec9e5fa78a58fc6342fcf62857570f466b
|
data/Gemfile.lock
CHANGED
|
@@ -1,30 +1,31 @@
|
|
|
1
1
|
PATH
|
|
2
2
|
remote: .
|
|
3
3
|
specs:
|
|
4
|
-
songtradr_api_client_ruby (1.
|
|
4
|
+
songtradr_api_client_ruby (1.18.0)
|
|
5
5
|
faraday (>= 1.0.1, < 3.0)
|
|
6
6
|
faraday-multipart
|
|
7
|
+
ruby-filemagic
|
|
7
8
|
|
|
8
9
|
GEM
|
|
9
10
|
remote: https://rubygems.org/
|
|
10
11
|
specs:
|
|
11
12
|
ast (2.4.2)
|
|
12
|
-
base64 (0.2.0)
|
|
13
13
|
byebug (11.1.3)
|
|
14
14
|
coderay (1.1.3)
|
|
15
|
-
diff-lcs (1.5.
|
|
16
|
-
faraday (2.
|
|
17
|
-
|
|
18
|
-
faraday-net_http (>= 2.0, < 3.1)
|
|
19
|
-
ruby2_keywords (>= 0.0.4)
|
|
15
|
+
diff-lcs (1.5.1)
|
|
16
|
+
faraday (2.9.0)
|
|
17
|
+
faraday-net_http (>= 2.0, < 3.2)
|
|
20
18
|
faraday-multipart (1.0.4)
|
|
21
19
|
multipart-post (~> 2)
|
|
22
|
-
faraday-net_http (3.0
|
|
20
|
+
faraday-net_http (3.1.0)
|
|
21
|
+
net-http
|
|
23
22
|
jaro_winkler (1.5.6)
|
|
24
23
|
method_source (1.0.0)
|
|
25
|
-
multipart-post (2.
|
|
26
|
-
|
|
27
|
-
|
|
24
|
+
multipart-post (2.4.0)
|
|
25
|
+
net-http (0.4.1)
|
|
26
|
+
uri
|
|
27
|
+
parallel (1.24.0)
|
|
28
|
+
parser (3.3.0.5)
|
|
28
29
|
ast (~> 2.4.1)
|
|
29
30
|
racc
|
|
30
31
|
pry (0.14.2)
|
|
@@ -33,24 +34,24 @@ GEM
|
|
|
33
34
|
pry-byebug (3.10.1)
|
|
34
35
|
byebug (~> 11.0)
|
|
35
36
|
pry (>= 0.13, < 0.15)
|
|
36
|
-
psych (5.1.
|
|
37
|
+
psych (5.1.2)
|
|
37
38
|
stringio
|
|
38
39
|
racc (1.7.3)
|
|
39
40
|
rainbow (3.1.1)
|
|
40
41
|
rake (13.0.6)
|
|
41
|
-
rspec (3.
|
|
42
|
-
rspec-core (~> 3.
|
|
43
|
-
rspec-expectations (~> 3.
|
|
44
|
-
rspec-mocks (~> 3.
|
|
45
|
-
rspec-core (3.
|
|
46
|
-
rspec-support (~> 3.
|
|
47
|
-
rspec-expectations (3.
|
|
42
|
+
rspec (3.13.0)
|
|
43
|
+
rspec-core (~> 3.13.0)
|
|
44
|
+
rspec-expectations (~> 3.13.0)
|
|
45
|
+
rspec-mocks (~> 3.13.0)
|
|
46
|
+
rspec-core (3.13.0)
|
|
47
|
+
rspec-support (~> 3.13.0)
|
|
48
|
+
rspec-expectations (3.13.0)
|
|
48
49
|
diff-lcs (>= 1.2.0, < 2.0)
|
|
49
|
-
rspec-support (~> 3.
|
|
50
|
-
rspec-mocks (3.
|
|
50
|
+
rspec-support (~> 3.13.0)
|
|
51
|
+
rspec-mocks (3.13.0)
|
|
51
52
|
diff-lcs (>= 1.2.0, < 2.0)
|
|
52
|
-
rspec-support (~> 3.
|
|
53
|
-
rspec-support (3.
|
|
53
|
+
rspec-support (~> 3.13.0)
|
|
54
|
+
rspec-support (3.13.0)
|
|
54
55
|
rubocop (0.66.0)
|
|
55
56
|
jaro_winkler (~> 1.5.1)
|
|
56
57
|
parallel (~> 1.10)
|
|
@@ -59,10 +60,11 @@ GEM
|
|
|
59
60
|
rainbow (>= 2.2.2, < 4.0)
|
|
60
61
|
ruby-progressbar (~> 1.7)
|
|
61
62
|
unicode-display_width (>= 1.4.0, < 1.6)
|
|
63
|
+
ruby-filemagic (0.7.3)
|
|
62
64
|
ruby-progressbar (1.13.0)
|
|
63
|
-
ruby2_keywords (0.0.5)
|
|
64
65
|
stringio (3.1.0)
|
|
65
66
|
unicode-display_width (1.5.0)
|
|
67
|
+
uri (0.13.0)
|
|
66
68
|
|
|
67
69
|
PLATFORMS
|
|
68
70
|
x86_64-linux
|
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.
|
|
37
|
-
- Package version: 1.
|
|
36
|
+
- API version: 1.18.0
|
|
37
|
+
- Package version: 1.18.0
|
|
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.
|
|
54
|
+
gem install ./songtradr_api_client_ruby-1.18.0.gem
|
|
55
55
|
```
|
|
56
56
|
|
|
57
|
-
(for development, run `gem install --dev ./songtradr_api_client_ruby-1.
|
|
57
|
+
(for development, run `gem install --dev ./songtradr_api_client_ruby-1.18.0.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.
|
|
63
|
+
gem 'songtradr_api_client_ruby', '~> 1.18.0'
|
|
64
64
|
|
|
65
65
|
### Install from Git
|
|
66
66
|
|
|
@@ -108,7 +108,7 @@ Class | Method | HTTP request | Description
|
|
|
108
108
|
*SongtradrApiClientRuby::AllowedValuesApi* | [**allowed_musical_features**](docs/AllowedValuesApi.md#allowed_musical_features) | **GET** /api/v1/allowedValues/musicalFeatures | Allowed values for music descriptive parameters to be used in the searchAll endpoint.
|
|
109
109
|
*SongtradrApiClientRuby::AllowedValuesApi* | [**genres**](docs/AllowedValuesApi.md#genres) | **GET** /api/v1/allowedValues/genre | Allowed values for genres.
|
|
110
110
|
*SongtradrApiClientRuby::AllowedValuesApi* | [**tags**](docs/AllowedValuesApi.md#tags) | **GET** /api/v1/allowedValues/tag | All descriptive tags inside of tag-categories.
|
|
111
|
-
*SongtradrApiClientRuby::
|
|
111
|
+
*SongtradrApiClientRuby::RecordingApi* | [**prompt_search_recordings**](docs/RecordingApi.md#prompt_search_recordings) | **GET** /api/v1/public/recording/promptSearch | Recordings for query.
|
|
112
112
|
*SongtradrApiClientRuby::RecordingApi* | [**recordings_by_ids_with_musical_features**](docs/RecordingApi.md#recordings_by_ids_with_musical_features) | **GET** /api/v1/public/recording/{ids}/musicalFeatures | AI generated moods, musical features and more for recordings.
|
|
113
113
|
*SongtradrApiClientRuby::RecordingApi* | [**recordings_by_ids_with_similarities**](docs/RecordingApi.md#recordings_by_ids_with_similarities) | **GET** /api/v1/public/recording/{ids}/similarities | Similar recordings for a list of recordings.
|
|
114
114
|
*SongtradrApiClientRuby::RecordingApi* | [**recordings_by_ids_with_taggrams**](docs/RecordingApi.md#recordings_by_ids_with_taggrams) | **GET** /api/v1/public/recording/{ids}/taggrams | Timeseries of AI generated moods, musical features and more for a list of recordings.
|
|
@@ -124,9 +124,9 @@ Class | Method | HTTP request | Description
|
|
|
124
124
|
*SongtradrApiClientRuby::UserApi* | [**initiate_user_image_upload**](docs/UserApi.md#initiate_user_image_upload) | **POST** /api/v1/user/file/{name}/initImageUpload | Recognise and upload image. Responds with an object with recognition result.
|
|
125
125
|
*SongtradrApiClientRuby::UserApi* | [**login**](docs/UserApi.md#login) | **POST** /api/v1/user/login | Login to generate a bearer token.
|
|
126
126
|
*SongtradrApiClientRuby::UserApi* | [**me**](docs/UserApi.md#me) | **GET** /api/v1/user/me | Details for a logged-in user
|
|
127
|
+
*SongtradrApiClientRuby::UserApi* | [**prompt_search_user_files**](docs/UserApi.md#prompt_search_user_files) | **GET** /api/v1/user/promptSearch | Files for query.
|
|
127
128
|
*SongtradrApiClientRuby::UserApi* | [**recordings_by_folder_with_taggrams**](docs/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.
|
|
128
129
|
*SongtradrApiClientRuby::UserApi* | [**recordings_by_folder_with_tagstrengths**](docs/UserApi.md#recordings_by_folder_with_tagstrengths) | **GET** /api/v1/user/folder/{folderName}/tagstrengths | Strengths as numerical representations for AI generated moods, musical features and more for recordings in your folder.
|
|
129
|
-
*SongtradrApiClientRuby::UserApi* | [**save_playlist**](docs/UserApi.md#save_playlist) | **POST** /api/v1/user/savePlaylist | List, search and create playlist of your own files.
|
|
130
130
|
*SongtradrApiClientRuby::UserApi* | [**sign_up**](docs/UserApi.md#sign_up) | **POST** /api/v1/user/sign-up | Sign up a new user.
|
|
131
131
|
*SongtradrApiClientRuby::UserApi* | [**token**](docs/UserApi.md#token) | **POST** /api/v1/user/token | Generates a new JWT token for the given refresh token
|
|
132
132
|
*SongtradrApiClientRuby::UserApi* | [**update_password**](docs/UserApi.md#update_password) | **POST** /api/v1/user/update-password | Update password by using the password reset token
|
|
@@ -138,25 +138,12 @@ Class | Method | HTTP request | Description
|
|
|
138
138
|
|
|
139
139
|
## Documentation for Models
|
|
140
140
|
|
|
141
|
-
- [SongtradrApiClientRuby::AgeRange](docs/AgeRange.md)
|
|
142
|
-
- [SongtradrApiClientRuby::Beard](docs/Beard.md)
|
|
143
|
-
- [SongtradrApiClientRuby::BoundingBox](docs/BoundingBox.md)
|
|
144
141
|
- [SongtradrApiClientRuby::CategoryMediumDTO](docs/CategoryMediumDTO.md)
|
|
145
142
|
- [SongtradrApiClientRuby::CategoryMinimalDTO](docs/CategoryMinimalDTO.md)
|
|
146
143
|
- [SongtradrApiClientRuby::ConfigAccessDTO](docs/ConfigAccessDTO.md)
|
|
147
144
|
- [SongtradrApiClientRuby::ConfigIdentifierDTO](docs/ConfigIdentifierDTO.md)
|
|
148
145
|
- [SongtradrApiClientRuby::ContributorTypeDTO](docs/ContributorTypeDTO.md)
|
|
149
|
-
- [SongtradrApiClientRuby::CuratePlaylistDTO](docs/CuratePlaylistDTO.md)
|
|
150
|
-
- [SongtradrApiClientRuby::CuratePlaylistResponseDTO](docs/CuratePlaylistResponseDTO.md)
|
|
151
|
-
- [SongtradrApiClientRuby::DominantColor](docs/DominantColor.md)
|
|
152
|
-
- [SongtradrApiClientRuby::Emotion](docs/Emotion.md)
|
|
153
146
|
- [SongtradrApiClientRuby::ErrorResponse](docs/ErrorResponse.md)
|
|
154
|
-
- [SongtradrApiClientRuby::EyeDirection](docs/EyeDirection.md)
|
|
155
|
-
- [SongtradrApiClientRuby::EyeOpen](docs/EyeOpen.md)
|
|
156
|
-
- [SongtradrApiClientRuby::Eyeglasses](docs/Eyeglasses.md)
|
|
157
|
-
- [SongtradrApiClientRuby::FaceDetail](docs/FaceDetail.md)
|
|
158
|
-
- [SongtradrApiClientRuby::FaceDetection](docs/FaceDetection.md)
|
|
159
|
-
- [SongtradrApiClientRuby::FaceOccluded](docs/FaceOccluded.md)
|
|
160
147
|
- [SongtradrApiClientRuby::FieldSummaryDTO](docs/FieldSummaryDTO.md)
|
|
161
148
|
- [SongtradrApiClientRuby::FileDTO](docs/FileDTO.md)
|
|
162
149
|
- [SongtradrApiClientRuby::FileListDTO](docs/FileListDTO.md)
|
|
@@ -165,27 +152,15 @@ Class | Method | HTTP request | Description
|
|
|
165
152
|
- [SongtradrApiClientRuby::FileWIthUrlDTO](docs/FileWIthUrlDTO.md)
|
|
166
153
|
- [SongtradrApiClientRuby::FilesSummaryDTO](docs/FilesSummaryDTO.md)
|
|
167
154
|
- [SongtradrApiClientRuby::ForgotPasswordDTO](docs/ForgotPasswordDTO.md)
|
|
168
|
-
- [SongtradrApiClientRuby::Gender](docs/Gender.md)
|
|
169
155
|
- [SongtradrApiClientRuby::GenreDTO](docs/GenreDTO.md)
|
|
170
156
|
- [SongtradrApiClientRuby::GenreMinimalDTO](docs/GenreMinimalDTO.md)
|
|
171
157
|
- [SongtradrApiClientRuby::GenresSummaryDTO](docs/GenresSummaryDTO.md)
|
|
172
|
-
- [SongtradrApiClientRuby::ImageQuality](docs/ImageQuality.md)
|
|
173
158
|
- [SongtradrApiClientRuby::ImageRecognitionResponse](docs/ImageRecognitionResponse.md)
|
|
174
159
|
- [SongtradrApiClientRuby::InitPutRecordingAudioDTO](docs/InitPutRecordingAudioDTO.md)
|
|
175
|
-
- [SongtradrApiClientRuby::Instance](docs/Instance.md)
|
|
176
160
|
- [SongtradrApiClientRuby::JwtTokenDTO](docs/JwtTokenDTO.md)
|
|
177
|
-
- [SongtradrApiClientRuby::Label](docs/Label.md)
|
|
178
|
-
- [SongtradrApiClientRuby::LabelAlias](docs/LabelAlias.md)
|
|
179
|
-
- [SongtradrApiClientRuby::LabelCategory](docs/LabelCategory.md)
|
|
180
|
-
- [SongtradrApiClientRuby::LabelDetection](docs/LabelDetection.md)
|
|
181
|
-
- [SongtradrApiClientRuby::Landmark](docs/Landmark.md)
|
|
182
161
|
- [SongtradrApiClientRuby::LoginDTO](docs/LoginDTO.md)
|
|
183
|
-
- [SongtradrApiClientRuby::MouthOpen](docs/MouthOpen.md)
|
|
184
162
|
- [SongtradrApiClientRuby::MusicalFeaturesDTO](docs/MusicalFeaturesDTO.md)
|
|
185
|
-
- [SongtradrApiClientRuby::Mustache](docs/Mustache.md)
|
|
186
|
-
- [SongtradrApiClientRuby::Parent](docs/Parent.md)
|
|
187
163
|
- [SongtradrApiClientRuby::PartySmallDTO](docs/PartySmallDTO.md)
|
|
188
|
-
- [SongtradrApiClientRuby::Pose](docs/Pose.md)
|
|
189
164
|
- [SongtradrApiClientRuby::RecordingForSimilaritySearchDTO](docs/RecordingForSimilaritySearchDTO.md)
|
|
190
165
|
- [SongtradrApiClientRuby::RecordingGenrePredictionDTO](docs/RecordingGenrePredictionDTO.md)
|
|
191
166
|
- [SongtradrApiClientRuby::RecordingListDTO](docs/RecordingListDTO.md)
|
|
@@ -200,8 +175,6 @@ Class | Method | HTTP request | Description
|
|
|
200
175
|
- [SongtradrApiClientRuby::SearchFilterValuesDTO](docs/SearchFilterValuesDTO.md)
|
|
201
176
|
- [SongtradrApiClientRuby::SearchRecordingGranularDTO](docs/SearchRecordingGranularDTO.md)
|
|
202
177
|
- [SongtradrApiClientRuby::SignUpDTO](docs/SignUpDTO.md)
|
|
203
|
-
- [SongtradrApiClientRuby::Smile](docs/Smile.md)
|
|
204
|
-
- [SongtradrApiClientRuby::Sunglasses](docs/Sunglasses.md)
|
|
205
178
|
- [SongtradrApiClientRuby::TagDTO](docs/TagDTO.md)
|
|
206
179
|
- [SongtradrApiClientRuby::TagSmallDTO](docs/TagSmallDTO.md)
|
|
207
180
|
- [SongtradrApiClientRuby::TaggramDTO](docs/TaggramDTO.md)
|
data/docs/CategoryMediumDTO.md
CHANGED
|
@@ -5,8 +5,8 @@
|
|
|
5
5
|
| Name | Type | Description | Notes |
|
|
6
6
|
| ---- | ---- | ----------- | ----- |
|
|
7
7
|
| **id** | **Integer** | | |
|
|
8
|
-
| **name** | **String** | | |
|
|
9
8
|
| **tags** | [**Array<TagSmallDTO>**](TagSmallDTO.md) | | [optional] |
|
|
9
|
+
| **name** | **String** | | |
|
|
10
10
|
|
|
11
11
|
## Example
|
|
12
12
|
|
|
@@ -15,8 +15,8 @@ require 'songtradr_api_client_ruby'
|
|
|
15
15
|
|
|
16
16
|
instance = SongtradrApiClientRuby::CategoryMediumDTO.new(
|
|
17
17
|
id: null,
|
|
18
|
-
|
|
19
|
-
|
|
18
|
+
tags: null,
|
|
19
|
+
name: null
|
|
20
20
|
)
|
|
21
21
|
```
|
|
22
22
|
|
|
@@ -4,8 +4,8 @@
|
|
|
4
4
|
|
|
5
5
|
| Name | Type | Description | Notes |
|
|
6
6
|
| ---- | ---- | ----------- | ----- |
|
|
7
|
-
| **labels** |
|
|
8
|
-
| **faces** |
|
|
7
|
+
| **labels** | **Array<Object>** | | [optional] |
|
|
8
|
+
| **faces** | **Array<Object>** | | [optional] |
|
|
9
9
|
|
|
10
10
|
## Example
|
|
11
11
|
|
data/docs/MusicalFeaturesDTO.md
CHANGED
|
@@ -5,18 +5,8 @@
|
|
|
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
|
-
| **tempo** | **String** | Search for tempo | [optional] |
|
|
10
|
-
| **texture** | **String** | Search for texture | [optional] |
|
|
11
|
-
| **timbre** | **String** | Search for timbre | [optional] |
|
|
12
|
-
| **tonality** | **String** | Search for tonality | [optional] |
|
|
13
|
-
| **valence** | **String** | Search for a valence | [optional] |
|
|
14
|
-
| **vocals** | **String** | Search for a vocal gender or instrumental songs | [optional] |
|
|
15
|
-
| **origin_decade** | **String** | Search for origin decade | [optional] |
|
|
16
|
-
| **curateability** | **String** | Search for curatebility | [optional] |
|
|
17
|
-
| **use_case** | **String** | Search for use case | [optional] |
|
|
18
|
-
| **channel_suitability** | **String** | Search for social media suitability | [optional] |
|
|
19
8
|
| **language_of_performance** | **String** | | [optional] |
|
|
9
|
+
| **arousal** | **String** | Search for an arousal | [optional] |
|
|
20
10
|
| **dominant_instrument** | **String** | Search for a dominant instrument | [optional] |
|
|
21
11
|
| **energy** | **String** | Search for energy | [optional] |
|
|
22
12
|
| **engagement** | **String** | Search for an engagement | [optional] |
|
|
@@ -30,7 +20,17 @@
|
|
|
30
20
|
| **scale** | **String** | Search for a tonal scale | [optional] |
|
|
31
21
|
| **key** | **String** | Search for a harmonic key | [optional] |
|
|
32
22
|
| **sound_generation** | **String** | Search for type of sound generation | [optional] |
|
|
33
|
-
| **
|
|
23
|
+
| **tempo** | **String** | Search for tempo | [optional] |
|
|
24
|
+
| **texture** | **String** | Search for texture | [optional] |
|
|
25
|
+
| **timbre** | **String** | Search for timbre | [optional] |
|
|
26
|
+
| **tonality** | **String** | Search for tonality | [optional] |
|
|
27
|
+
| **valence** | **String** | Search for a valence | [optional] |
|
|
28
|
+
| **vocals** | **String** | Search for a vocal gender or instrumental songs | [optional] |
|
|
29
|
+
| **origin_decade** | **String** | Search for origin decade | [optional] |
|
|
30
|
+
| **curateability** | **String** | Search for curatebility | [optional] |
|
|
31
|
+
| **use_case** | **String** | Search for use case | [optional] |
|
|
32
|
+
| **channel_suitability** | **String** | Search for social media suitability | [optional] |
|
|
33
|
+
| **loudness** | **String** | Search for loudness | [optional] |
|
|
34
34
|
| **secondary_mood_cluster** | **String** | Search for a language of the lyrics | [optional] |
|
|
35
35
|
| **secondary_mood_cluster_affinity** | **Float** | | [optional] |
|
|
36
36
|
| **tertiary_mood_cluster** | **String** | Search for a language of the lyrics | [optional] |
|
|
@@ -52,6 +52,7 @@
|
|
|
52
52
|
| **performance_rating_affinity** | **Float** | | [optional] |
|
|
53
53
|
| **song_rating** | **String** | | [optional] |
|
|
54
54
|
| **song_rating_affinity** | **Float** | | [optional] |
|
|
55
|
+
| **primary_mood_cluster_affinity** | **Float** | | [optional] |
|
|
55
56
|
| **audience_age** | **String** | | [optional] |
|
|
56
57
|
| **audience_age_affinity** | **Float** | | [optional] |
|
|
57
58
|
| **secondary_audience_age** | **String** | | [optional] |
|
|
@@ -74,6 +75,13 @@
|
|
|
74
75
|
| **industry_suitability** | **String** | Search for Industry suitability | [optional] |
|
|
75
76
|
| **industry_suitability_affinity** | **Float** | | [optional] |
|
|
76
77
|
| **audience_region** | **String** | | [optional] |
|
|
78
|
+
| **harmony_affinity** | **Float** | | [optional] |
|
|
79
|
+
| **texture_affinity** | **Float** | | [optional] |
|
|
80
|
+
| **groovyness_affinity** | **Float** | | [optional] |
|
|
81
|
+
| **space_affinity** | **Float** | | [optional] |
|
|
82
|
+
| **loudness_affinity** | **Float** | | [optional] |
|
|
83
|
+
| **key_affinity** | **Float** | | [optional] |
|
|
84
|
+
| **channel_suitability_affinity** | **Float** | | [optional] |
|
|
77
85
|
| **valence_affinity** | **Float** | | [optional] |
|
|
78
86
|
| **arousal_affinity** | **Float** | | [optional] |
|
|
79
87
|
| **pleasantness_affinity** | **Float** | | [optional] |
|
|
@@ -83,12 +91,6 @@
|
|
|
83
91
|
| **scale_affinity** | **Float** | | [optional] |
|
|
84
92
|
| **timbre_affinity** | **Float** | | [optional] |
|
|
85
93
|
| **roughness_affinity** | **Float** | | [optional] |
|
|
86
|
-
| **harmony_affinity** | **Float** | | [optional] |
|
|
87
|
-
| **texture_affinity** | **Float** | | [optional] |
|
|
88
|
-
| **groovyness_affinity** | **Float** | | [optional] |
|
|
89
|
-
| **space_affinity** | **Float** | | [optional] |
|
|
90
|
-
| **key_affinity** | **Float** | | [optional] |
|
|
91
|
-
| **channel_suitability_affinity** | **Float** | | [optional] |
|
|
92
94
|
|
|
93
95
|
## Example
|
|
94
96
|
|
|
@@ -97,18 +99,8 @@ require 'songtradr_api_client_ruby'
|
|
|
97
99
|
|
|
98
100
|
instance = SongtradrApiClientRuby::MusicalFeaturesDTO.new(
|
|
99
101
|
space: null,
|
|
100
|
-
arousal: null,
|
|
101
|
-
tempo: null,
|
|
102
|
-
texture: null,
|
|
103
|
-
timbre: null,
|
|
104
|
-
tonality: null,
|
|
105
|
-
valence: null,
|
|
106
|
-
vocals: null,
|
|
107
|
-
origin_decade: null,
|
|
108
|
-
curateability: null,
|
|
109
|
-
use_case: null,
|
|
110
|
-
channel_suitability: null,
|
|
111
102
|
language_of_performance: null,
|
|
103
|
+
arousal: null,
|
|
112
104
|
dominant_instrument: null,
|
|
113
105
|
energy: null,
|
|
114
106
|
engagement: null,
|
|
@@ -122,7 +114,17 @@ instance = SongtradrApiClientRuby::MusicalFeaturesDTO.new(
|
|
|
122
114
|
scale: null,
|
|
123
115
|
key: null,
|
|
124
116
|
sound_generation: null,
|
|
125
|
-
|
|
117
|
+
tempo: null,
|
|
118
|
+
texture: null,
|
|
119
|
+
timbre: null,
|
|
120
|
+
tonality: null,
|
|
121
|
+
valence: null,
|
|
122
|
+
vocals: null,
|
|
123
|
+
origin_decade: null,
|
|
124
|
+
curateability: null,
|
|
125
|
+
use_case: null,
|
|
126
|
+
channel_suitability: null,
|
|
127
|
+
loudness: null,
|
|
126
128
|
secondary_mood_cluster: null,
|
|
127
129
|
secondary_mood_cluster_affinity: null,
|
|
128
130
|
tertiary_mood_cluster: null,
|
|
@@ -144,6 +146,7 @@ instance = SongtradrApiClientRuby::MusicalFeaturesDTO.new(
|
|
|
144
146
|
performance_rating_affinity: null,
|
|
145
147
|
song_rating: null,
|
|
146
148
|
song_rating_affinity: null,
|
|
149
|
+
primary_mood_cluster_affinity: null,
|
|
147
150
|
audience_age: null,
|
|
148
151
|
audience_age_affinity: null,
|
|
149
152
|
secondary_audience_age: null,
|
|
@@ -166,6 +169,13 @@ instance = SongtradrApiClientRuby::MusicalFeaturesDTO.new(
|
|
|
166
169
|
industry_suitability: null,
|
|
167
170
|
industry_suitability_affinity: null,
|
|
168
171
|
audience_region: null,
|
|
172
|
+
harmony_affinity: null,
|
|
173
|
+
texture_affinity: null,
|
|
174
|
+
groovyness_affinity: null,
|
|
175
|
+
space_affinity: null,
|
|
176
|
+
loudness_affinity: null,
|
|
177
|
+
key_affinity: null,
|
|
178
|
+
channel_suitability_affinity: null,
|
|
169
179
|
valence_affinity: null,
|
|
170
180
|
arousal_affinity: null,
|
|
171
181
|
pleasantness_affinity: null,
|
|
@@ -174,13 +184,7 @@ instance = SongtradrApiClientRuby::MusicalFeaturesDTO.new(
|
|
|
174
184
|
tempo_affinity: null,
|
|
175
185
|
scale_affinity: null,
|
|
176
186
|
timbre_affinity: null,
|
|
177
|
-
roughness_affinity: null
|
|
178
|
-
harmony_affinity: null,
|
|
179
|
-
texture_affinity: null,
|
|
180
|
-
groovyness_affinity: null,
|
|
181
|
-
space_affinity: null,
|
|
182
|
-
key_affinity: null,
|
|
183
|
-
channel_suitability_affinity: null
|
|
187
|
+
roughness_affinity: null
|
|
184
188
|
)
|
|
185
189
|
```
|
|
186
190
|
|
data/docs/RecordingApi.md
CHANGED
|
@@ -4,6 +4,7 @@ All URIs are relative to *https://api.songtradr.com*
|
|
|
4
4
|
|
|
5
5
|
| Method | HTTP request | Description |
|
|
6
6
|
| ------ | ------------ | ----------- |
|
|
7
|
+
| [**prompt_search_recordings**](RecordingApi.md#prompt_search_recordings) | **GET** /api/v1/public/recording/promptSearch | Recordings for query. |
|
|
7
8
|
| [**recordings_by_ids_with_musical_features**](RecordingApi.md#recordings_by_ids_with_musical_features) | **GET** /api/v1/public/recording/{ids}/musicalFeatures | AI generated moods, musical features and more for recordings. |
|
|
8
9
|
| [**recordings_by_ids_with_similarities**](RecordingApi.md#recordings_by_ids_with_similarities) | **GET** /api/v1/public/recording/{ids}/similarities | Similar recordings for a list of recordings. |
|
|
9
10
|
| [**recordings_by_ids_with_taggrams**](RecordingApi.md#recordings_by_ids_with_taggrams) | **GET** /api/v1/public/recording/{ids}/taggrams | Timeseries of AI generated moods, musical features and more for a list of recordings. |
|
|
@@ -13,6 +14,73 @@ All URIs are relative to *https://api.songtradr.com*
|
|
|
13
14
|
| [**search_recordings_granular**](RecordingApi.md#search_recordings_granular) | **POST** /api/v1/public/recording/searchGranular | Recordings by granular search options. |
|
|
14
15
|
|
|
15
16
|
|
|
17
|
+
## prompt_search_recordings
|
|
18
|
+
|
|
19
|
+
> <RecordingListDTO> prompt_search_recordings(query)
|
|
20
|
+
|
|
21
|
+
Recordings for query.
|
|
22
|
+
|
|
23
|
+
### Examples
|
|
24
|
+
|
|
25
|
+
```ruby
|
|
26
|
+
require 'time'
|
|
27
|
+
require 'songtradr_api_client_ruby'
|
|
28
|
+
# setup authorization
|
|
29
|
+
SongtradrApiClientRuby.configure do |config|
|
|
30
|
+
# Configure Bearer authorization (JWT): bearer-jwt
|
|
31
|
+
config.access_token = 'YOUR_BEARER_TOKEN'
|
|
32
|
+
end
|
|
33
|
+
|
|
34
|
+
api_instance = SongtradrApiClientRuby::RecordingApi.new
|
|
35
|
+
query = 'funk, guitar, drums' # String | Query.
|
|
36
|
+
|
|
37
|
+
begin
|
|
38
|
+
# Recordings for query.
|
|
39
|
+
result = api_instance.prompt_search_recordings(query)
|
|
40
|
+
p result
|
|
41
|
+
rescue SongtradrApiClientRuby::ApiError => e
|
|
42
|
+
puts "Error when calling RecordingApi->prompt_search_recordings: #{e}"
|
|
43
|
+
end
|
|
44
|
+
```
|
|
45
|
+
|
|
46
|
+
#### Using the prompt_search_recordings_with_http_info variant
|
|
47
|
+
|
|
48
|
+
This returns an Array which contains the response data, status code and headers.
|
|
49
|
+
|
|
50
|
+
> <Array(<RecordingListDTO>, Integer, Hash)> prompt_search_recordings_with_http_info(query)
|
|
51
|
+
|
|
52
|
+
```ruby
|
|
53
|
+
begin
|
|
54
|
+
# Recordings for query.
|
|
55
|
+
data, status_code, headers = api_instance.prompt_search_recordings_with_http_info(query)
|
|
56
|
+
p status_code # => 2xx
|
|
57
|
+
p headers # => { ... }
|
|
58
|
+
p data # => <RecordingListDTO>
|
|
59
|
+
rescue SongtradrApiClientRuby::ApiError => e
|
|
60
|
+
puts "Error when calling RecordingApi->prompt_search_recordings_with_http_info: #{e}"
|
|
61
|
+
end
|
|
62
|
+
```
|
|
63
|
+
|
|
64
|
+
### Parameters
|
|
65
|
+
|
|
66
|
+
| Name | Type | Description | Notes |
|
|
67
|
+
| ---- | ---- | ----------- | ----- |
|
|
68
|
+
| **query** | **String** | Query. | |
|
|
69
|
+
|
|
70
|
+
### Return type
|
|
71
|
+
|
|
72
|
+
[**RecordingListDTO**](RecordingListDTO.md)
|
|
73
|
+
|
|
74
|
+
### Authorization
|
|
75
|
+
|
|
76
|
+
[bearer-jwt](../README.md#bearer-jwt)
|
|
77
|
+
|
|
78
|
+
### HTTP request headers
|
|
79
|
+
|
|
80
|
+
- **Content-Type**: Not defined
|
|
81
|
+
- **Accept**: application/json
|
|
82
|
+
|
|
83
|
+
|
|
16
84
|
## recordings_by_ids_with_musical_features
|
|
17
85
|
|
|
18
86
|
> <Array<RecordingMinimalWithMusicalFeaturesDTO>> recordings_by_ids_with_musical_features(ids)
|
|
@@ -417,7 +485,7 @@ opts = {
|
|
|
417
485
|
pleasantness: 'very unpleasant', # String | Search for pleasantness.
|
|
418
486
|
engagement: 'very unengaging', # String | Search for an engagement.
|
|
419
487
|
vocals: 'instrumental', # String | Search for a vocals gender or instrumental songs.
|
|
420
|
-
dominant_instrument: '
|
|
488
|
+
dominant_instrument: 'piano', # String | Search for a dominant instrument.
|
|
421
489
|
energy: 'very quiet', # String | Search for energy.
|
|
422
490
|
sound_generation: 'acoustic', # String | Search for type of sound generation.
|
|
423
491
|
tempo: 'very slow', # String | Search for tempo.
|
|
@@ -432,6 +500,7 @@ opts = {
|
|
|
432
500
|
texture: 'very thin', # String | Search for texture.
|
|
433
501
|
groovyness: 'very steady', # String | Search for groovyness.
|
|
434
502
|
space: 'very compact', # String | Search for space.
|
|
503
|
+
loudness: 'very low', # String | Search for loudness.
|
|
435
504
|
origin_decade: 'pre-1950s', # String | Search for origin decade.
|
|
436
505
|
curateability: 'curateable', # String | Search for curateability.
|
|
437
506
|
use_case: 'background', # String | Search for use case.
|
|
@@ -505,6 +574,7 @@ end
|
|
|
505
574
|
| **texture** | **String** | Search for texture. | [optional] |
|
|
506
575
|
| **groovyness** | **String** | Search for groovyness. | [optional] |
|
|
507
576
|
| **space** | **String** | Search for space. | [optional] |
|
|
577
|
+
| **loudness** | **String** | Search for loudness. | [optional] |
|
|
508
578
|
| **origin_decade** | **String** | Search for origin decade. | [optional] |
|
|
509
579
|
| **curateability** | **String** | Search for curateability. | [optional] |
|
|
510
580
|
| **use_case** | **String** | Search for use case. | [optional] |
|
|
@@ -4,9 +4,9 @@
|
|
|
4
4
|
|
|
5
5
|
| Name | Type | Description | Notes |
|
|
6
6
|
| ---- | ---- | ----------- | ----- |
|
|
7
|
+
| **genre_type** | **String** | | |
|
|
7
8
|
| **genre** | [**GenreMinimalDTO**](GenreMinimalDTO.md) | | |
|
|
8
9
|
| **probability** | **Float** | | |
|
|
9
|
-
| **genre_type** | **String** | | |
|
|
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_type: null,
|
|
17
18
|
genre: null,
|
|
18
|
-
probability: null
|
|
19
|
-
genre_type: null
|
|
19
|
+
probability: null
|
|
20
20
|
)
|
|
21
21
|
```
|
|
22
22
|
|
data/docs/RecordingMediumDTO.md
CHANGED
|
@@ -4,14 +4,14 @@
|
|
|
4
4
|
|
|
5
5
|
| Name | Type | Description | Notes |
|
|
6
6
|
| ---- | ---- | ----------- | ----- |
|
|
7
|
-
| **isrc** | **String** | | |
|
|
8
|
-
| **recording_party_entities** | [**Array<RecordingPartyDTO>**](RecordingPartyDTO.md) | | [optional] |
|
|
9
7
|
| **genres** | [**Array<GenreDTO>**](GenreDTO.md) | | [optional] |
|
|
10
8
|
| **language_of_performance** | **String** | | [optional] |
|
|
11
9
|
| **release_date** | **Time** | | [optional] |
|
|
12
10
|
| **titles** | [**Array<TitleDTO>**](TitleDTO.md) | | [optional] |
|
|
13
11
|
| **tracks** | [**Array<TrackDTO>**](TrackDTO.md) | | [optional] |
|
|
14
12
|
| **musical_features** | [**MusicalFeaturesDTO**](MusicalFeaturesDTO.md) | | [optional] |
|
|
13
|
+
| **isrc** | **String** | | |
|
|
14
|
+
| **recording_party_entities** | [**Array<RecordingPartyDTO>**](RecordingPartyDTO.md) | | [optional] |
|
|
15
15
|
| **spotify_id** | **String** | | [optional] |
|
|
16
16
|
| **tags** | [**Array<RecordingTagSmallDTO>**](RecordingTagSmallDTO.md) | | [optional] |
|
|
17
17
|
| **genre_predictions** | [**Array<RecordingGenrePredictionDTO>**](RecordingGenrePredictionDTO.md) | | [optional] |
|
|
@@ -22,14 +22,14 @@
|
|
|
22
22
|
require 'songtradr_api_client_ruby'
|
|
23
23
|
|
|
24
24
|
instance = SongtradrApiClientRuby::RecordingMediumDTO.new(
|
|
25
|
-
isrc: null,
|
|
26
|
-
recording_party_entities: null,
|
|
27
25
|
genres: null,
|
|
28
26
|
language_of_performance: null,
|
|
29
27
|
release_date: null,
|
|
30
28
|
titles: null,
|
|
31
29
|
tracks: null,
|
|
32
30
|
musical_features: null,
|
|
31
|
+
isrc: null,
|
|
32
|
+
recording_party_entities: null,
|
|
33
33
|
spotify_id: null,
|
|
34
34
|
tags: null,
|
|
35
35
|
genre_predictions: null
|
|
@@ -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
|
-
|
|
17
|
-
|
|
16
|
+
musical_features: null,
|
|
17
|
+
isrc: null
|
|
18
18
|
)
|
|
19
19
|
```
|
|
20
20
|
|
data/docs/RecordingSmallDTO.md
CHANGED
|
@@ -5,10 +5,10 @@
|
|
|
5
5
|
| Name | Type | Description | Notes |
|
|
6
6
|
| ---- | ---- | ----------- | ----- |
|
|
7
7
|
| **duration** | **Integer** | | [optional] |
|
|
8
|
-
| **isrc** | **String** | | |
|
|
9
|
-
| **parties** | [**Array<RecordingPartyDTO>**](RecordingPartyDTO.md) | | [optional] |
|
|
10
8
|
| **titles** | [**Array<TitleDTO>**](TitleDTO.md) | | [optional] |
|
|
11
9
|
| **tracks** | [**Array<TrackDTO>**](TrackDTO.md) | | [optional] |
|
|
10
|
+
| **isrc** | **String** | | |
|
|
11
|
+
| **parties** | [**Array<RecordingPartyDTO>**](RecordingPartyDTO.md) | | [optional] |
|
|
12
12
|
|
|
13
13
|
## Example
|
|
14
14
|
|
|
@@ -17,10 +17,10 @@ require 'songtradr_api_client_ruby'
|
|
|
17
17
|
|
|
18
18
|
instance = SongtradrApiClientRuby::RecordingSmallDTO.new(
|
|
19
19
|
duration: null,
|
|
20
|
-
isrc: null,
|
|
21
|
-
parties: null,
|
|
22
20
|
titles: null,
|
|
23
|
-
tracks: null
|
|
21
|
+
tracks: null,
|
|
22
|
+
isrc: null,
|
|
23
|
+
parties: null
|
|
24
24
|
)
|
|
25
25
|
```
|
|
26
26
|
|
|
@@ -29,6 +29,7 @@
|
|
|
29
29
|
| **texture** | **Array<String>** | | |
|
|
30
30
|
| **groovyness** | **Array<String>** | | |
|
|
31
31
|
| **space** | **Array<String>** | | |
|
|
32
|
+
| **loudness** | **Array<String>** | | |
|
|
32
33
|
| **production_rating** | **Array<String>** | | |
|
|
33
34
|
| **performance_rating** | **Array<String>** | | |
|
|
34
35
|
| **song_rating** | **Array<String>** | | |
|
|
@@ -77,6 +78,7 @@ instance = SongtradrApiClientRuby::SearchFilterValuesDTO.new(
|
|
|
77
78
|
texture: null,
|
|
78
79
|
groovyness: null,
|
|
79
80
|
space: null,
|
|
81
|
+
loudness: null,
|
|
80
82
|
production_rating: null,
|
|
81
83
|
performance_rating: null,
|
|
82
84
|
song_rating: null,
|