songtradr_api_client_ruby 2.0.0 → 2.1.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +3 -3
- data/README.md +14 -9
- data/docs/FileSmallDTO.md +5 -5
- data/docs/MusicalFeaturesDTO.md +14 -14
- data/docs/RecordingApi.md +36 -36
- data/docs/RecordingMediumDTO.md +2 -2
- data/docs/RecordingSmallDTO.md +3 -3
- data/docs/UserApi.md +308 -0
- data/lib/songtradr_api_client_ruby/api/allowed_values_api.rb +2 -2
- data/lib/songtradr_api_client_ruby/api/recording_api.rb +30 -30
- data/lib/songtradr_api_client_ruby/api/user_api.rb +296 -2
- data/lib/songtradr_api_client_ruby/api_client.rb +4 -5
- 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 +2 -2
- 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 +44 -44
- 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 +2 -2
- 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 +76 -76
- 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 +2 -2
- data/lib/songtradr_api_client_ruby/models/recording_list_dto.rb +2 -2
- data/lib/songtradr_api_client_ruby/models/recording_medium_dto.rb +24 -24
- data/lib/songtradr_api_client_ruby/models/recording_minimal_with_musical_features_dto.rb +2 -2
- 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 +27 -27
- 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 +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 +2 -2
- data/lib/songtradr_api_client_ruby/models/video_recognition_response.rb +2 -2
- data/lib/songtradr_api_client_ruby/version.rb +3 -3
- data/lib/songtradr_api_client_ruby.rb +2 -2
- data/openapi-generator-config.yaml +1 -1
- data/songtradr_api_client_ruby.gemspec +3 -3
- data/spec/api/allowed_values_api_spec.rb +2 -2
- data/spec/api/recording_api_spec.rb +10 -10
- data/spec/api/user_api_spec.rb +60 -2
- data/spec/models/category_medium_dto_spec.rb +2 -2
- 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 +18 -18
- 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 +32 -32
- 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 +2 -2
- data/spec/models/recording_list_dto_spec.rb +2 -2
- data/spec/models/recording_medium_dto_spec.rb +8 -8
- data/spec/models/recording_minimal_with_musical_features_dto_spec.rb +2 -2
- 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 +5 -5
- 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 +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 +2 -2
- data/spec/models/video_recognition_response_spec.rb +2 -2
- data/spec/spec_helper.rb +2 -2
- metadata +42 -42
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 6cc51278a185fece7b225910b9bfdf6c365e614aa7287786d8604d76204b0491
|
4
|
+
data.tar.gz: 7bd8f055da156e04ab5945b291e7cd029ed0299c5f7bcfed93907a2bee8dc6b0
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 3c30a43829bfaa166681c6ab256636589f357874727377fbe93b8aaa62d97d73b14f05aff564e45ff2d78c643341fbfd8ee4b1a0dfe5013dbd711a04b7db907d
|
7
|
+
data.tar.gz: 0c703df8ccbd408c7e71e95561443640e013b3ec167511ca6e8640648474e11853a8f35d87b6a276ed258ce337917efdcf97cab4bc2e2155593b497643e16661
|
data/Gemfile.lock
CHANGED
@@ -1,10 +1,10 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
songtradr_api_client_ruby (2.
|
4
|
+
songtradr_api_client_ruby (2.1.0)
|
5
5
|
faraday (>= 1.0.1, < 3.0)
|
6
6
|
faraday-multipart
|
7
|
-
|
7
|
+
marcel
|
8
8
|
|
9
9
|
GEM
|
10
10
|
remote: https://rubygems.org/
|
@@ -20,6 +20,7 @@ GEM
|
|
20
20
|
faraday-net_http (3.1.0)
|
21
21
|
net-http
|
22
22
|
jaro_winkler (1.5.6)
|
23
|
+
marcel (1.0.4)
|
23
24
|
method_source (1.0.0)
|
24
25
|
multipart-post (2.4.0)
|
25
26
|
net-http (0.4.1)
|
@@ -60,7 +61,6 @@ GEM
|
|
60
61
|
rainbow (>= 2.2.2, < 4.0)
|
61
62
|
ruby-progressbar (~> 1.7)
|
62
63
|
unicode-display_width (>= 1.4.0, < 1.6)
|
63
|
-
ruby-filemagic (0.7.3)
|
64
64
|
ruby-progressbar (1.13.0)
|
65
65
|
stringio (3.1.0)
|
66
66
|
unicode-display_width (1.5.0)
|
data/README.md
CHANGED
@@ -33,8 +33,9 @@ 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: 2.
|
37
|
-
- Package version: 2.
|
36
|
+
- API version: 2.1.0
|
37
|
+
- Package version: 2.1.0
|
38
|
+
- Generator version: 7.5.0-SNAPSHOT
|
38
39
|
- Build package: org.openapitools.codegen.languages.RubyClientCodegen
|
39
40
|
For more information, please visit [https://songtradr.com](https://songtradr.com)
|
40
41
|
|
@@ -51,16 +52,16 @@ gem build songtradr_api_client_ruby.gemspec
|
|
51
52
|
Then either install the gem locally:
|
52
53
|
|
53
54
|
```shell
|
54
|
-
gem install ./songtradr_api_client_ruby-2.
|
55
|
+
gem install ./songtradr_api_client_ruby-2.1.0.gem
|
55
56
|
```
|
56
57
|
|
57
|
-
(for development, run `gem install --dev ./songtradr_api_client_ruby-2.
|
58
|
+
(for development, run `gem install --dev ./songtradr_api_client_ruby-2.1.0.gem` to install the development dependencies)
|
58
59
|
|
59
60
|
or publish the gem to a gem hosting service, e.g. [RubyGems](https://rubygems.org/).
|
60
61
|
|
61
62
|
Finally add this to the Gemfile:
|
62
63
|
|
63
|
-
gem 'songtradr_api_client_ruby', '~> 2.
|
64
|
+
gem 'songtradr_api_client_ruby', '~> 2.1.0'
|
64
65
|
|
65
66
|
### Install from Git
|
66
67
|
|
@@ -110,10 +111,10 @@ Class | Method | HTTP request | Description
|
|
110
111
|
*SongtradrApiClientRuby::AllowedValuesApi* | [**tags**](docs/AllowedValuesApi.md#tags) | **GET** /api/v1/allowedValues/tag | All descriptive tags inside of tag-categories.
|
111
112
|
*SongtradrApiClientRuby::RecordingApi* | [**prompt_search_recordings**](docs/RecordingApi.md#prompt_search_recordings) | **GET** /api/v1/public/recording/promptSearch | Recordings for query.
|
112
113
|
*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
|
-
*SongtradrApiClientRuby::RecordingApi* | [**
|
114
|
-
*SongtradrApiClientRuby::RecordingApi* | [**
|
115
|
-
*SongtradrApiClientRuby::RecordingApi* | [**
|
116
|
-
*SongtradrApiClientRuby::RecordingApi* | [**
|
114
|
+
*SongtradrApiClientRuby::RecordingApi* | [**recordings_by_ids_with_similarities1**](docs/RecordingApi.md#recordings_by_ids_with_similarities1) | **GET** /api/v1/public/recording/{ids}/similarities | Similar recordings for a list of recordings.
|
115
|
+
*SongtradrApiClientRuby::RecordingApi* | [**recordings_by_ids_with_taggrams1**](docs/RecordingApi.md#recordings_by_ids_with_taggrams1) | **GET** /api/v1/public/recording/{ids}/taggrams | Timeseries of AI generated moods, musical features and more for a list of recordings.
|
116
|
+
*SongtradrApiClientRuby::RecordingApi* | [**recordings_by_ids_with_tagstrengths1**](docs/RecordingApi.md#recordings_by_ids_with_tagstrengths1) | **GET** /api/v1/public/recording/{ids}/tagstrengths | Strengths as numerical representations for AI generated moods, musical features and more for recordings.
|
117
|
+
*SongtradrApiClientRuby::RecordingApi* | [**recordings_medium_by_ids1**](docs/RecordingApi.md#recordings_medium_by_ids1) | **GET** /api/v1/public/recording/m/{ids} | Recordings by IDs with a medium sized response.
|
117
118
|
*SongtradrApiClientRuby::RecordingApi* | [**search_recordings**](docs/RecordingApi.md#search_recordings) | **GET** /api/v1/public/recording/search | Recordings by contributors, moods, musical features and more.
|
118
119
|
*SongtradrApiClientRuby::UserApi* | [**delete_user_file**](docs/UserApi.md#delete_user_file) | **DELETE** /api/v1/user/file/{objectKey} | Delete file.
|
119
120
|
*SongtradrApiClientRuby::UserApi* | [**edit_me**](docs/UserApi.md#edit_me) | **POST** /api/v1/user/me | Edit details for a logged-in user
|
@@ -126,6 +127,10 @@ Class | Method | HTTP request | Description
|
|
126
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.
|
130
|
+
*SongtradrApiClientRuby::UserApi* | [**recordings_by_ids_with_similarities**](docs/UserApi.md#recordings_by_ids_with_similarities) | **GET** /api/v1/user/recording/{ids}/similarities | Similar recordings for a list of user recordings.
|
131
|
+
*SongtradrApiClientRuby::UserApi* | [**recordings_by_ids_with_taggrams**](docs/UserApi.md#recordings_by_ids_with_taggrams) | **GET** /api/v1/user/recording/{ids}/taggrams | Timeseries of AI generated moods, musical features and more for a list of recordings.
|
132
|
+
*SongtradrApiClientRuby::UserApi* | [**recordings_by_ids_with_tagstrengths**](docs/UserApi.md#recordings_by_ids_with_tagstrengths) | **GET** /api/v1/user/recording/{ids}/tagstrengths | Strengths as numerical representations for AI generated moods, musical features and more for recordings.
|
133
|
+
*SongtradrApiClientRuby::UserApi* | [**recordings_medium_by_ids**](docs/UserApi.md#recordings_medium_by_ids) | **GET** /api/v1/user/recording/{ids} | Recordings by IDs with a medium sized response.
|
129
134
|
*SongtradrApiClientRuby::UserApi* | [**sign_up**](docs/UserApi.md#sign_up) | **POST** /api/v1/user/sign-up | Sign up a new user.
|
130
135
|
*SongtradrApiClientRuby::UserApi* | [**token**](docs/UserApi.md#token) | **POST** /api/v1/user/token | Generates a new JWT token for the given refresh token
|
131
136
|
*SongtradrApiClientRuby::UserApi* | [**update_password**](docs/UserApi.md#update_password) | **POST** /api/v1/user/update-password | Update password by using the password reset token
|
data/docs/FileSmallDTO.md
CHANGED
@@ -4,12 +4,11 @@
|
|
4
4
|
|
5
5
|
| Name | Type | Description | Notes |
|
6
6
|
| ---- | ---- | ----------- | ----- |
|
7
|
+
| **folder** | **String** | | |
|
7
8
|
| **name** | **String** | | |
|
8
9
|
| **id** | **Integer** | | |
|
9
10
|
| **extension** | **String** | extension of the file | |
|
10
11
|
| **error_message** | **String** | | [optional] |
|
11
|
-
| **folder** | **String** | | |
|
12
|
-
| **fingerprint_status** | **String** | status of the audio recognition | [optional] |
|
13
12
|
| **object_key** | **String** | | |
|
14
13
|
| **upload_start_time** | **Time** | | [optional] |
|
15
14
|
| **upload_end_time** | **Time** | | [optional] |
|
@@ -19,6 +18,7 @@
|
|
19
18
|
| **inference_start_time** | **Time** | | [optional] |
|
20
19
|
| **inference_end_time** | **Time** | | [optional] |
|
21
20
|
| **error_time** | **Time** | | [optional] |
|
21
|
+
| **fingerprint_status** | **String** | status of the audio recognition | [optional] |
|
22
22
|
|
23
23
|
## Example
|
24
24
|
|
@@ -26,12 +26,11 @@
|
|
26
26
|
require 'songtradr_api_client_ruby'
|
27
27
|
|
28
28
|
instance = SongtradrApiClientRuby::FileSmallDTO.new(
|
29
|
+
folder: null,
|
29
30
|
name: null,
|
30
31
|
id: null,
|
31
32
|
extension: null,
|
32
33
|
error_message: null,
|
33
|
-
folder: null,
|
34
|
-
fingerprint_status: null,
|
35
34
|
object_key: null,
|
36
35
|
upload_start_time: null,
|
37
36
|
upload_end_time: null,
|
@@ -40,7 +39,8 @@ instance = SongtradrApiClientRuby::FileSmallDTO.new(
|
|
40
39
|
inference_status: null,
|
41
40
|
inference_start_time: null,
|
42
41
|
inference_end_time: null,
|
43
|
-
error_time: null
|
42
|
+
error_time: null,
|
43
|
+
fingerprint_status: null
|
44
44
|
)
|
45
45
|
```
|
46
46
|
|
data/docs/MusicalFeaturesDTO.md
CHANGED
@@ -5,7 +5,11 @@
|
|
5
5
|
| Name | Type | Description | Notes |
|
6
6
|
| ---- | ---- | ----------- | ----- |
|
7
7
|
| **space** | **String** | Search for space | [optional] |
|
8
|
-
| **
|
8
|
+
| **groovyness_affinity** | **Float** | | [optional] |
|
9
|
+
| **space_affinity** | **Float** | | [optional] |
|
10
|
+
| **loudness_affinity** | **Float** | | [optional] |
|
11
|
+
| **key_affinity** | **Float** | | [optional] |
|
12
|
+
| **channel_suitability_affinity** | **Float** | | [optional] |
|
9
13
|
| **valence_affinity** | **Float** | | [optional] |
|
10
14
|
| **arousal_affinity** | **Float** | | [optional] |
|
11
15
|
| **pleasantness_affinity** | **Float** | | [optional] |
|
@@ -17,12 +21,8 @@
|
|
17
21
|
| **roughness_affinity** | **Float** | | [optional] |
|
18
22
|
| **harmony_affinity** | **Float** | | [optional] |
|
19
23
|
| **texture_affinity** | **Float** | | [optional] |
|
20
|
-
| **groovyness_affinity** | **Float** | | [optional] |
|
21
|
-
| **space_affinity** | **Float** | | [optional] |
|
22
|
-
| **loudness_affinity** | **Float** | | [optional] |
|
23
|
-
| **key_affinity** | **Float** | | [optional] |
|
24
|
-
| **channel_suitability_affinity** | **Float** | | [optional] |
|
25
24
|
| **language_of_performance** | **String** | | [optional] |
|
25
|
+
| **arousal** | **String** | Search for an arousal | [optional] |
|
26
26
|
| **dominant_instrument** | **String** | Search for a dominant instrument | [optional] |
|
27
27
|
| **energy** | **String** | Search for energy | [optional] |
|
28
28
|
| **engagement** | **String** | Search for an engagement | [optional] |
|
@@ -47,6 +47,7 @@
|
|
47
47
|
| **use_case** | **String** | Search for use case | [optional] |
|
48
48
|
| **channel_suitability** | **String** | Search for social media suitability | [optional] |
|
49
49
|
| **loudness** | **String** | Search for loudness | [optional] |
|
50
|
+
| **bpm** | **Float** | | [optional] |
|
50
51
|
| **primary_mood_cluster_affinity** | **Float** | | [optional] |
|
51
52
|
| **secondary_mood_cluster** | **String** | Search for a language of the lyrics | [optional] |
|
52
53
|
| **secondary_mood_cluster_affinity** | **Float** | | [optional] |
|
@@ -62,7 +63,6 @@
|
|
62
63
|
| **rhythm_affinity** | **Float** | | [optional] |
|
63
64
|
| **primary_sound_character_affinity** | **Float** | | [optional] |
|
64
65
|
| **tonality_affinity** | **Float** | | [optional] |
|
65
|
-
| **bpm** | **Float** | | [optional] |
|
66
66
|
| **production_rating** | **String** | | [optional] |
|
67
67
|
| **production_rating_affinity** | **Float** | | [optional] |
|
68
68
|
| **performance_rating** | **String** | | [optional] |
|
@@ -99,7 +99,11 @@ require 'songtradr_api_client_ruby'
|
|
99
99
|
|
100
100
|
instance = SongtradrApiClientRuby::MusicalFeaturesDTO.new(
|
101
101
|
space: null,
|
102
|
-
|
102
|
+
groovyness_affinity: null,
|
103
|
+
space_affinity: null,
|
104
|
+
loudness_affinity: null,
|
105
|
+
key_affinity: null,
|
106
|
+
channel_suitability_affinity: null,
|
103
107
|
valence_affinity: null,
|
104
108
|
arousal_affinity: null,
|
105
109
|
pleasantness_affinity: null,
|
@@ -111,12 +115,8 @@ instance = SongtradrApiClientRuby::MusicalFeaturesDTO.new(
|
|
111
115
|
roughness_affinity: null,
|
112
116
|
harmony_affinity: null,
|
113
117
|
texture_affinity: null,
|
114
|
-
groovyness_affinity: null,
|
115
|
-
space_affinity: null,
|
116
|
-
loudness_affinity: null,
|
117
|
-
key_affinity: null,
|
118
|
-
channel_suitability_affinity: null,
|
119
118
|
language_of_performance: null,
|
119
|
+
arousal: null,
|
120
120
|
dominant_instrument: null,
|
121
121
|
energy: null,
|
122
122
|
engagement: null,
|
@@ -141,6 +141,7 @@ instance = SongtradrApiClientRuby::MusicalFeaturesDTO.new(
|
|
141
141
|
use_case: null,
|
142
142
|
channel_suitability: null,
|
143
143
|
loudness: null,
|
144
|
+
bpm: null,
|
144
145
|
primary_mood_cluster_affinity: null,
|
145
146
|
secondary_mood_cluster: null,
|
146
147
|
secondary_mood_cluster_affinity: null,
|
@@ -156,7 +157,6 @@ instance = SongtradrApiClientRuby::MusicalFeaturesDTO.new(
|
|
156
157
|
rhythm_affinity: null,
|
157
158
|
primary_sound_character_affinity: null,
|
158
159
|
tonality_affinity: null,
|
159
|
-
bpm: null,
|
160
160
|
production_rating: null,
|
161
161
|
production_rating_affinity: null,
|
162
162
|
performance_rating: null,
|
data/docs/RecordingApi.md
CHANGED
@@ -6,10 +6,10 @@ All URIs are relative to *https://api.songtradr.com*
|
|
6
6
|
| ------ | ------------ | ----------- |
|
7
7
|
| [**prompt_search_recordings**](RecordingApi.md#prompt_search_recordings) | **GET** /api/v1/public/recording/promptSearch | Recordings for query. |
|
8
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. |
|
9
|
-
| [**
|
10
|
-
| [**
|
11
|
-
| [**
|
12
|
-
| [**
|
9
|
+
| [**recordings_by_ids_with_similarities1**](RecordingApi.md#recordings_by_ids_with_similarities1) | **GET** /api/v1/public/recording/{ids}/similarities | Similar recordings for a list of recordings. |
|
10
|
+
| [**recordings_by_ids_with_taggrams1**](RecordingApi.md#recordings_by_ids_with_taggrams1) | **GET** /api/v1/public/recording/{ids}/taggrams | Timeseries of AI generated moods, musical features and more for a list of recordings. |
|
11
|
+
| [**recordings_by_ids_with_tagstrengths1**](RecordingApi.md#recordings_by_ids_with_tagstrengths1) | **GET** /api/v1/public/recording/{ids}/tagstrengths | Strengths as numerical representations for AI generated moods, musical features and more for recordings. |
|
12
|
+
| [**recordings_medium_by_ids1**](RecordingApi.md#recordings_medium_by_ids1) | **GET** /api/v1/public/recording/m/{ids} | Recordings by IDs with a medium sized response. |
|
13
13
|
| [**search_recordings**](RecordingApi.md#search_recordings) | **GET** /api/v1/public/recording/search | Recordings by contributors, moods, musical features and more. |
|
14
14
|
|
15
15
|
|
@@ -147,9 +147,9 @@ end
|
|
147
147
|
- **Accept**: application/json
|
148
148
|
|
149
149
|
|
150
|
-
##
|
150
|
+
## recordings_by_ids_with_similarities1
|
151
151
|
|
152
|
-
> <Array<RecordingForSimilaritySearchDTO>>
|
152
|
+
> <Array<RecordingForSimilaritySearchDTO>> recordings_by_ids_with_similarities1(ids, opts)
|
153
153
|
|
154
154
|
Similar recordings for a list of recordings.
|
155
155
|
|
@@ -173,28 +173,28 @@ opts = {
|
|
173
173
|
|
174
174
|
begin
|
175
175
|
# Similar recordings for a list of recordings.
|
176
|
-
result = api_instance.
|
176
|
+
result = api_instance.recordings_by_ids_with_similarities1(ids, opts)
|
177
177
|
p result
|
178
178
|
rescue SongtradrApiClientRuby::ApiError => e
|
179
|
-
puts "Error when calling RecordingApi->
|
179
|
+
puts "Error when calling RecordingApi->recordings_by_ids_with_similarities1: #{e}"
|
180
180
|
end
|
181
181
|
```
|
182
182
|
|
183
|
-
#### Using the
|
183
|
+
#### Using the recordings_by_ids_with_similarities1_with_http_info variant
|
184
184
|
|
185
185
|
This returns an Array which contains the response data, status code and headers.
|
186
186
|
|
187
|
-
> <Array(<Array<RecordingForSimilaritySearchDTO>>, Integer, Hash)>
|
187
|
+
> <Array(<Array<RecordingForSimilaritySearchDTO>>, Integer, Hash)> recordings_by_ids_with_similarities1_with_http_info(ids, opts)
|
188
188
|
|
189
189
|
```ruby
|
190
190
|
begin
|
191
191
|
# Similar recordings for a list of recordings.
|
192
|
-
data, status_code, headers = api_instance.
|
192
|
+
data, status_code, headers = api_instance.recordings_by_ids_with_similarities1_with_http_info(ids, opts)
|
193
193
|
p status_code # => 2xx
|
194
194
|
p headers # => { ... }
|
195
195
|
p data # => <Array<RecordingForSimilaritySearchDTO>>
|
196
196
|
rescue SongtradrApiClientRuby::ApiError => e
|
197
|
-
puts "Error when calling RecordingApi->
|
197
|
+
puts "Error when calling RecordingApi->recordings_by_ids_with_similarities1_with_http_info: #{e}"
|
198
198
|
end
|
199
199
|
```
|
200
200
|
|
@@ -220,9 +220,9 @@ end
|
|
220
220
|
- **Accept**: application/json
|
221
221
|
|
222
222
|
|
223
|
-
##
|
223
|
+
## recordings_by_ids_with_taggrams1
|
224
224
|
|
225
|
-
> <Array<RecordingMinimalWithTaggramsDTO>>
|
225
|
+
> <Array<RecordingMinimalWithTaggramsDTO>> recordings_by_ids_with_taggrams1(ids, opts)
|
226
226
|
|
227
227
|
Timeseries of AI generated moods, musical features and more for a list of recordings.
|
228
228
|
|
@@ -250,28 +250,28 @@ opts = {
|
|
250
250
|
|
251
251
|
begin
|
252
252
|
# Timeseries of AI generated moods, musical features and more for a list of recordings.
|
253
|
-
result = api_instance.
|
253
|
+
result = api_instance.recordings_by_ids_with_taggrams1(ids, opts)
|
254
254
|
p result
|
255
255
|
rescue SongtradrApiClientRuby::ApiError => e
|
256
|
-
puts "Error when calling RecordingApi->
|
256
|
+
puts "Error when calling RecordingApi->recordings_by_ids_with_taggrams1: #{e}"
|
257
257
|
end
|
258
258
|
```
|
259
259
|
|
260
|
-
#### Using the
|
260
|
+
#### Using the recordings_by_ids_with_taggrams1_with_http_info variant
|
261
261
|
|
262
262
|
This returns an Array which contains the response data, status code and headers.
|
263
263
|
|
264
|
-
> <Array(<Array<RecordingMinimalWithTaggramsDTO>>, Integer, Hash)>
|
264
|
+
> <Array(<Array<RecordingMinimalWithTaggramsDTO>>, Integer, Hash)> recordings_by_ids_with_taggrams1_with_http_info(ids, opts)
|
265
265
|
|
266
266
|
```ruby
|
267
267
|
begin
|
268
268
|
# Timeseries of AI generated moods, musical features and more for a list of recordings.
|
269
|
-
data, status_code, headers = api_instance.
|
269
|
+
data, status_code, headers = api_instance.recordings_by_ids_with_taggrams1_with_http_info(ids, opts)
|
270
270
|
p status_code # => 2xx
|
271
271
|
p headers # => { ... }
|
272
272
|
p data # => <Array<RecordingMinimalWithTaggramsDTO>>
|
273
273
|
rescue SongtradrApiClientRuby::ApiError => e
|
274
|
-
puts "Error when calling RecordingApi->
|
274
|
+
puts "Error when calling RecordingApi->recordings_by_ids_with_taggrams1_with_http_info: #{e}"
|
275
275
|
end
|
276
276
|
```
|
277
277
|
|
@@ -301,9 +301,9 @@ end
|
|
301
301
|
- **Accept**: application/json
|
302
302
|
|
303
303
|
|
304
|
-
##
|
304
|
+
## recordings_by_ids_with_tagstrengths1
|
305
305
|
|
306
|
-
> <Array<RecordingMinimalWithTagstrengthsDTO>>
|
306
|
+
> <Array<RecordingMinimalWithTagstrengthsDTO>> recordings_by_ids_with_tagstrengths1(ids, opts)
|
307
307
|
|
308
308
|
Strengths as numerical representations for AI generated moods, musical features and more for recordings.
|
309
309
|
|
@@ -328,28 +328,28 @@ opts = {
|
|
328
328
|
|
329
329
|
begin
|
330
330
|
# Strengths as numerical representations for AI generated moods, musical features and more for recordings.
|
331
|
-
result = api_instance.
|
331
|
+
result = api_instance.recordings_by_ids_with_tagstrengths1(ids, opts)
|
332
332
|
p result
|
333
333
|
rescue SongtradrApiClientRuby::ApiError => e
|
334
|
-
puts "Error when calling RecordingApi->
|
334
|
+
puts "Error when calling RecordingApi->recordings_by_ids_with_tagstrengths1: #{e}"
|
335
335
|
end
|
336
336
|
```
|
337
337
|
|
338
|
-
#### Using the
|
338
|
+
#### Using the recordings_by_ids_with_tagstrengths1_with_http_info variant
|
339
339
|
|
340
340
|
This returns an Array which contains the response data, status code and headers.
|
341
341
|
|
342
|
-
> <Array(<Array<RecordingMinimalWithTagstrengthsDTO>>, Integer, Hash)>
|
342
|
+
> <Array(<Array<RecordingMinimalWithTagstrengthsDTO>>, Integer, Hash)> recordings_by_ids_with_tagstrengths1_with_http_info(ids, opts)
|
343
343
|
|
344
344
|
```ruby
|
345
345
|
begin
|
346
346
|
# Strengths as numerical representations for AI generated moods, musical features and more for recordings.
|
347
|
-
data, status_code, headers = api_instance.
|
347
|
+
data, status_code, headers = api_instance.recordings_by_ids_with_tagstrengths1_with_http_info(ids, opts)
|
348
348
|
p status_code # => 2xx
|
349
349
|
p headers # => { ... }
|
350
350
|
p data # => <Array<RecordingMinimalWithTagstrengthsDTO>>
|
351
351
|
rescue SongtradrApiClientRuby::ApiError => e
|
352
|
-
puts "Error when calling RecordingApi->
|
352
|
+
puts "Error when calling RecordingApi->recordings_by_ids_with_tagstrengths1_with_http_info: #{e}"
|
353
353
|
end
|
354
354
|
```
|
355
355
|
|
@@ -376,9 +376,9 @@ end
|
|
376
376
|
- **Accept**: application/json
|
377
377
|
|
378
378
|
|
379
|
-
##
|
379
|
+
## recordings_medium_by_ids1
|
380
380
|
|
381
|
-
> <Array<RecordingMediumDTO>>
|
381
|
+
> <Array<RecordingMediumDTO>> recordings_medium_by_ids1(ids, opts)
|
382
382
|
|
383
383
|
Recordings by IDs with a medium sized response.
|
384
384
|
|
@@ -403,28 +403,28 @@ opts = {
|
|
403
403
|
|
404
404
|
begin
|
405
405
|
# Recordings by IDs with a medium sized response.
|
406
|
-
result = api_instance.
|
406
|
+
result = api_instance.recordings_medium_by_ids1(ids, opts)
|
407
407
|
p result
|
408
408
|
rescue SongtradrApiClientRuby::ApiError => e
|
409
|
-
puts "Error when calling RecordingApi->
|
409
|
+
puts "Error when calling RecordingApi->recordings_medium_by_ids1: #{e}"
|
410
410
|
end
|
411
411
|
```
|
412
412
|
|
413
|
-
#### Using the
|
413
|
+
#### Using the recordings_medium_by_ids1_with_http_info variant
|
414
414
|
|
415
415
|
This returns an Array which contains the response data, status code and headers.
|
416
416
|
|
417
|
-
> <Array(<Array<RecordingMediumDTO>>, Integer, Hash)>
|
417
|
+
> <Array(<Array<RecordingMediumDTO>>, Integer, Hash)> recordings_medium_by_ids1_with_http_info(ids, opts)
|
418
418
|
|
419
419
|
```ruby
|
420
420
|
begin
|
421
421
|
# Recordings by IDs with a medium sized response.
|
422
|
-
data, status_code, headers = api_instance.
|
422
|
+
data, status_code, headers = api_instance.recordings_medium_by_ids1_with_http_info(ids, opts)
|
423
423
|
p status_code # => 2xx
|
424
424
|
p headers # => { ... }
|
425
425
|
p data # => <Array<RecordingMediumDTO>>
|
426
426
|
rescue SongtradrApiClientRuby::ApiError => e
|
427
|
-
puts "Error when calling RecordingApi->
|
427
|
+
puts "Error when calling RecordingApi->recordings_medium_by_ids1_with_http_info: #{e}"
|
428
428
|
end
|
429
429
|
```
|
430
430
|
|
data/docs/RecordingMediumDTO.md
CHANGED
@@ -5,13 +5,13 @@
|
|
5
5
|
| Name | Type | Description | Notes |
|
6
6
|
| ---- | ---- | ----------- | ----- |
|
7
7
|
| **isrc** | **String** | | |
|
8
|
+
| **recording_party_entities** | [**Array<RecordingPartyDTO>**](RecordingPartyDTO.md) | | [optional] |
|
8
9
|
| **genres** | [**Array<GenreDTO>**](GenreDTO.md) | | [optional] |
|
9
10
|
| **language_of_performance** | **String** | | [optional] |
|
10
11
|
| **release_date** | **Time** | | [optional] |
|
11
12
|
| **titles** | [**Array<TitleDTO>**](TitleDTO.md) | | [optional] |
|
12
13
|
| **tracks** | [**Array<TrackDTO>**](TrackDTO.md) | | [optional] |
|
13
14
|
| **musical_features** | [**MusicalFeaturesDTO**](MusicalFeaturesDTO.md) | | [optional] |
|
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] |
|
@@ -23,13 +23,13 @@ require 'songtradr_api_client_ruby'
|
|
23
23
|
|
24
24
|
instance = SongtradrApiClientRuby::RecordingMediumDTO.new(
|
25
25
|
isrc: null,
|
26
|
+
recording_party_entities: null,
|
26
27
|
genres: null,
|
27
28
|
language_of_performance: null,
|
28
29
|
release_date: null,
|
29
30
|
titles: null,
|
30
31
|
tracks: null,
|
31
32
|
musical_features: null,
|
32
|
-
recording_party_entities: null,
|
33
33
|
spotify_id: null,
|
34
34
|
tags: null,
|
35
35
|
genre_predictions: null
|
data/docs/RecordingSmallDTO.md
CHANGED
@@ -6,9 +6,9 @@
|
|
6
6
|
| ---- | ---- | ----------- | ----- |
|
7
7
|
| **duration** | **Integer** | | [optional] |
|
8
8
|
| **isrc** | **String** | | |
|
9
|
+
| **parties** | [**Array<RecordingPartyDTO>**](RecordingPartyDTO.md) | | [optional] |
|
9
10
|
| **titles** | [**Array<TitleDTO>**](TitleDTO.md) | | [optional] |
|
10
11
|
| **tracks** | [**Array<TrackDTO>**](TrackDTO.md) | | [optional] |
|
11
|
-
| **parties** | [**Array<RecordingPartyDTO>**](RecordingPartyDTO.md) | | [optional] |
|
12
12
|
|
13
13
|
## Example
|
14
14
|
|
@@ -18,9 +18,9 @@ require 'songtradr_api_client_ruby'
|
|
18
18
|
instance = SongtradrApiClientRuby::RecordingSmallDTO.new(
|
19
19
|
duration: null,
|
20
20
|
isrc: null,
|
21
|
+
parties: null,
|
21
22
|
titles: null,
|
22
|
-
tracks: null
|
23
|
-
parties: null
|
23
|
+
tracks: null
|
24
24
|
)
|
25
25
|
```
|
26
26
|
|