songtradr_api_client_ruby 1.13.5 → 1.13.7
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +1 -1
- data/README.md +12 -36
- data/docs/FileSmallDTO.md +9 -9
- data/docs/MusicalFeaturesDTO.md +20 -20
- data/docs/PlaylistApi.md +1 -1
- data/docs/PlaylistLargeDTO.md +5 -5
- data/docs/ProductMediumDTO.md +2 -2
- data/docs/RecordingApi.md +10 -4
- data/docs/RecordingGenrePredictionDTO.md +3 -3
- data/docs/RecordingLargeDTO.md +5 -5
- data/docs/RecordingMediumDTO.md +2 -2
- data/docs/RecordingMinimalWithMusicalFeaturesDTO.md +3 -3
- data/docs/RecordingSmallDTO.md +4 -2
- data/lib/songtradr_api_client_ruby/api/allowed_values_api.rb +1 -1
- data/lib/songtradr_api_client_ruby/api/party_api.rb +1 -1
- data/lib/songtradr_api_client_ruby/api/playlist_api.rb +2 -2
- data/lib/songtradr_api_client_ruby/api/recording_api.rb +7 -1
- data/lib/songtradr_api_client_ruby/api/user_api.rb +1 -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 +1 -1
- data/lib/songtradr_api_client_ruby/models/age_range.rb +1 -1
- data/lib/songtradr_api_client_ruby/models/beard.rb +1 -1
- data/lib/songtradr_api_client_ruby/models/bounding_box.rb +1 -1
- data/lib/songtradr_api_client_ruby/models/category_medium_dto.rb +1 -1
- data/lib/songtradr_api_client_ruby/models/category_minimal_dto.rb +1 -1
- data/lib/songtradr_api_client_ruby/models/config_access_dto.rb +1 -1
- data/lib/songtradr_api_client_ruby/models/config_identifier_dto.rb +1 -1
- data/lib/songtradr_api_client_ruby/models/context_value.rb +1 -1
- data/lib/songtradr_api_client_ruby/models/contributor_type_dto.rb +1 -1
- data/lib/songtradr_api_client_ruby/models/curate_playlist_dto.rb +1 -1
- data/lib/songtradr_api_client_ruby/models/curate_playlist_response_dto.rb +1 -1
- data/lib/songtradr_api_client_ruby/models/dominant_color.rb +1 -1
- data/lib/songtradr_api_client_ruby/models/emotion.rb +1 -1
- data/lib/songtradr_api_client_ruby/models/error_response.rb +1 -1
- data/lib/songtradr_api_client_ruby/models/eye_direction.rb +1 -1
- data/lib/songtradr_api_client_ruby/models/eye_open.rb +1 -1
- data/lib/songtradr_api_client_ruby/models/eyeglasses.rb +1 -1
- data/lib/songtradr_api_client_ruby/models/face_detail.rb +1 -1
- data/lib/songtradr_api_client_ruby/models/face_detection.rb +1 -1
- data/lib/songtradr_api_client_ruby/models/face_occluded.rb +1 -1
- data/lib/songtradr_api_client_ruby/models/field_summary_dto.rb +1 -1
- data/lib/songtradr_api_client_ruby/models/file_dto.rb +1 -1
- data/lib/songtradr_api_client_ruby/models/file_list_dto.rb +1 -1
- data/lib/songtradr_api_client_ruby/models/file_minimal_with_url_dto.rb +1 -1
- data/lib/songtradr_api_client_ruby/models/file_small_dto.rb +41 -41
- data/lib/songtradr_api_client_ruby/models/file_upload_dto.rb +1 -1
- data/lib/songtradr_api_client_ruby/models/file_w_ith_url_dto.rb +1 -1
- data/lib/songtradr_api_client_ruby/models/files_summary_dto.rb +1 -1
- data/lib/songtradr_api_client_ruby/models/forgot_password_dto.rb +1 -1
- data/lib/songtradr_api_client_ruby/models/gender.rb +1 -1
- data/lib/songtradr_api_client_ruby/models/genre_dto.rb +1 -1
- data/lib/songtradr_api_client_ruby/models/genre_minimal_dto.rb +1 -1
- data/lib/songtradr_api_client_ruby/models/genres_summary_dto.rb +1 -1
- data/lib/songtradr_api_client_ruby/models/image_quality.rb +1 -1
- data/lib/songtradr_api_client_ruby/models/image_recognition_response.rb +1 -1
- data/lib/songtradr_api_client_ruby/models/init_put_recording_audio_dto.rb +1 -1
- data/lib/songtradr_api_client_ruby/models/instance.rb +1 -1
- data/lib/songtradr_api_client_ruby/models/jwt_token_dto.rb +1 -1
- data/lib/songtradr_api_client_ruby/models/label.rb +1 -1
- data/lib/songtradr_api_client_ruby/models/label_alias.rb +1 -1
- data/lib/songtradr_api_client_ruby/models/label_category.rb +1 -1
- data/lib/songtradr_api_client_ruby/models/label_detection.rb +1 -1
- data/lib/songtradr_api_client_ruby/models/landmark.rb +1 -1
- data/lib/songtradr_api_client_ruby/models/login_dto.rb +1 -1
- data/lib/songtradr_api_client_ruby/models/mouth_open.rb +1 -1
- data/lib/songtradr_api_client_ruby/models/musical_features_dto.rb +221 -221
- data/lib/songtradr_api_client_ruby/models/mustache.rb +1 -1
- data/lib/songtradr_api_client_ruby/models/p_line_dto.rb +1 -1
- data/lib/songtradr_api_client_ruby/models/parent.rb +1 -1
- data/lib/songtradr_api_client_ruby/models/party_large_dto.rb +1 -1
- data/lib/songtradr_api_client_ruby/models/party_small_dto.rb +1 -1
- data/lib/songtradr_api_client_ruby/models/playlist_large_dto.rb +22 -22
- data/lib/songtradr_api_client_ruby/models/pose.rb +1 -1
- data/lib/songtradr_api_client_ruby/models/product_medium_dto.rb +11 -11
- data/lib/songtradr_api_client_ruby/models/product_party_dto.rb +1 -1
- data/lib/songtradr_api_client_ruby/models/recording_for_similarity_search_dto.rb +1 -1
- data/lib/songtradr_api_client_ruby/models/recording_genre_prediction_dto.rb +21 -21
- data/lib/songtradr_api_client_ruby/models/recording_large_dto.rb +25 -25
- data/lib/songtradr_api_client_ruby/models/recording_list_dto.rb +1 -1
- data/lib/songtradr_api_client_ruby/models/recording_medium_dto.rb +13 -13
- data/lib/songtradr_api_client_ruby/models/recording_minimal_with_musical_features_dto.rb +16 -16
- data/lib/songtradr_api_client_ruby/models/recording_minimal_with_taggrams_dto.rb +1 -1
- data/lib/songtradr_api_client_ruby/models/recording_minimal_with_tagstrengths_dto.rb +1 -1
- data/lib/songtradr_api_client_ruby/models/recording_party_dto.rb +1 -1
- data/lib/songtradr_api_client_ruby/models/recording_playlist_dto.rb +1 -1
- data/lib/songtradr_api_client_ruby/models/recording_small_dto.rb +21 -10
- data/lib/songtradr_api_client_ruby/models/recording_tag_small_dto.rb +1 -1
- data/lib/songtradr_api_client_ruby/models/save_file_recording_dto.rb +1 -1
- data/lib/songtradr_api_client_ruby/models/save_playlist_dto.rb +1 -1
- data/lib/songtradr_api_client_ruby/models/save_recording_genre_dto.rb +1 -1
- data/lib/songtradr_api_client_ruby/models/save_recording_party_dto.rb +1 -1
- data/lib/songtradr_api_client_ruby/models/save_recording_playlist_dto.rb +1 -1
- data/lib/songtradr_api_client_ruby/models/save_recording_tag_dto.rb +1 -1
- data/lib/songtradr_api_client_ruby/models/save_referrer_dto.rb +1 -1
- data/lib/songtradr_api_client_ruby/models/save_taggrams_dto.rb +1 -1
- data/lib/songtradr_api_client_ruby/models/save_user_dto.rb +1 -1
- data/lib/songtradr_api_client_ruby/models/search_filter_values_dto.rb +1 -1
- data/lib/songtradr_api_client_ruby/models/search_recording_granular_abstraction_dto.rb +1 -1
- data/lib/songtradr_api_client_ruby/models/search_recording_granular_dto.rb +1 -1
- data/lib/songtradr_api_client_ruby/models/sign_up_dto.rb +1 -1
- data/lib/songtradr_api_client_ruby/models/smile.rb +1 -1
- data/lib/songtradr_api_client_ruby/models/sunglasses.rb +1 -1
- data/lib/songtradr_api_client_ruby/models/tag_dto.rb +1 -1
- data/lib/songtradr_api_client_ruby/models/tag_small_dto.rb +1 -1
- data/lib/songtradr_api_client_ruby/models/taggram_dto.rb +1 -1
- data/lib/songtradr_api_client_ruby/models/tags_summary_dto.rb +1 -1
- data/lib/songtradr_api_client_ruby/models/tagstrength_dto.rb +1 -1
- data/lib/songtradr_api_client_ruby/models/title_dto.rb +1 -1
- data/lib/songtradr_api_client_ruby/models/token_request.rb +1 -1
- data/lib/songtradr_api_client_ruby/models/track_dto.rb +1 -1
- data/lib/songtradr_api_client_ruby/models/track_to_medium_product_dto.rb +1 -1
- data/lib/songtradr_api_client_ruby/models/update_password_dto.rb +1 -1
- data/lib/songtradr_api_client_ruby/models/usage_dto.rb +1 -1
- data/lib/songtradr_api_client_ruby/models/user_dto.rb +1 -1
- data/lib/songtradr_api_client_ruby/models/video_recognition_response.rb +1 -1
- data/lib/songtradr_api_client_ruby/version.rb +2 -2
- data/lib/songtradr_api_client_ruby.rb +1 -10
- data/openapi-generator-config.yaml +1 -1
- data/songtradr_api_client_ruby.gemspec +1 -1
- data/spec/api/allowed_values_api_spec.rb +1 -1
- 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 +3 -1
- data/spec/api/user_api_spec.rb +1 -1
- data/spec/api_client_spec.rb +1 -1
- data/spec/configuration_spec.rb +1 -1
- data/spec/models/age_range_spec.rb +1 -1
- data/spec/models/beard_spec.rb +1 -1
- data/spec/models/bounding_box_spec.rb +1 -1
- 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/context_value_spec.rb +1 -1
- data/spec/models/contributor_type_dto_spec.rb +1 -1
- data/spec/models/curate_playlist_dto_spec.rb +1 -1
- data/spec/models/curate_playlist_response_dto_spec.rb +1 -1
- data/spec/models/dominant_color_spec.rb +1 -1
- data/spec/models/emotion_spec.rb +1 -1
- data/spec/models/error_response_spec.rb +1 -1
- data/spec/models/eye_direction_spec.rb +1 -1
- data/spec/models/eye_open_spec.rb +1 -1
- data/spec/models/eyeglasses_spec.rb +1 -1
- data/spec/models/face_detail_spec.rb +1 -1
- data/spec/models/face_detection_spec.rb +1 -1
- data/spec/models/face_occluded_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 +17 -17
- 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/gender_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/image_quality_spec.rb +1 -1
- data/spec/models/image_recognition_response_spec.rb +1 -1
- data/spec/models/init_put_recording_audio_dto_spec.rb +1 -1
- data/spec/models/instance_spec.rb +1 -1
- data/spec/models/jwt_token_dto_spec.rb +1 -1
- data/spec/models/label_alias_spec.rb +1 -1
- data/spec/models/label_category_spec.rb +1 -1
- data/spec/models/label_detection_spec.rb +1 -1
- data/spec/models/label_spec.rb +1 -1
- data/spec/models/landmark_spec.rb +1 -1
- data/spec/models/login_dto_spec.rb +1 -1
- data/spec/models/mouth_open_spec.rb +1 -1
- data/spec/models/musical_features_dto_spec.rb +101 -101
- data/spec/models/mustache_spec.rb +1 -1
- data/spec/models/p_line_dto_spec.rb +1 -1
- data/spec/models/parent_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 +8 -8
- data/spec/models/pose_spec.rb +1 -1
- data/spec/models/product_medium_dto_spec.rb +6 -6
- 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 +4 -4
- data/spec/models/recording_large_dto_spec.rb +9 -9
- data/spec/models/recording_list_dto_spec.rb +1 -1
- data/spec/models/recording_medium_dto_spec.rb +7 -7
- 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 +1 -1
- data/spec/models/recording_small_dto_spec.rb +8 -2
- 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/smile_spec.rb +1 -1
- data/spec/models/sunglasses_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_dto_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 +1 -1
- data/spec/models/video_recognition_response_spec.rb +1 -1
- data/spec/spec_helper.rb +1 -1
- metadata +83 -119
- data/docs/APIKeysApi.md +0 -217
- data/docs/AdminApiCreateUserDTO.md +0 -76
- data/docs/AdminApiUpdateUserDTO.md +0 -76
- data/docs/AdminApiUserDTO.md +0 -70
- data/docs/AdminUsersControllerApi.md +0 -355
- data/docs/ApiKeyDTO.md +0 -24
- data/docs/CreateApiKeyDTO.md +0 -18
- data/docs/InternalApiApi.md +0 -149
- data/docs/SaveFileDTO.md +0 -42
- data/lib/songtradr_api_client_ruby/api/admin_users_controller_api.rb +0 -346
- data/lib/songtradr_api_client_ruby/api/api_keys_api.rb +0 -213
- data/lib/songtradr_api_client_ruby/api/internal_api_api.rb +0 -169
- data/lib/songtradr_api_client_ruby/models/admin_api_create_user_dto.rb +0 -489
- data/lib/songtradr_api_client_ruby/models/admin_api_update_user_dto.rb +0 -475
- data/lib/songtradr_api_client_ruby/models/admin_api_user_dto.rb +0 -448
- data/lib/songtradr_api_client_ruby/models/api_key_dto.rb +0 -262
- data/lib/songtradr_api_client_ruby/models/create_api_key_dto.rb +0 -214
- data/lib/songtradr_api_client_ruby/models/save_file_dto.rb +0 -323
- data/spec/api/admin_users_controller_api_spec.rb +0 -93
- data/spec/api/api_keys_api_spec.rb +0 -70
- data/spec/api/internal_api_api_spec.rb +0 -58
- data/spec/models/admin_api_create_user_dto_spec.rb +0 -210
- data/spec/models/admin_api_update_user_dto_spec.rb +0 -210
- data/spec/models/admin_api_user_dto_spec.rb +0 -192
- data/spec/models/api_key_dto_spec.rb +0 -54
- data/spec/models/create_api_key_dto_spec.rb +0 -36
- data/spec/models/save_file_dto_spec.rb +0 -108
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 5ab28ded8e85ba9e4bfb6ab17535093a20d494dfed2720e0e4e0ee56e77a2049
|
4
|
+
data.tar.gz: 40d32eae016045879b1099fcc3be5f16bacc7813b6a53f4f7b859325a9f3724b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ffb7310c6222841e6a3ed9a89dd1b315899e300262e99664dd69e730fbebe876e71c253747dcfea07e04ecac07a47611fd00c3084f62b086d10020bd0629033c
|
7
|
+
data.tar.gz: e921666943956aa15dd57892a8f7f0e9f10338145789a50f27ed7af5cd1f1847283cd57e8e0e808a89c46271aa681f25c638edb76f25396ce0616b641d0b80f4
|
data/Gemfile.lock
CHANGED
data/README.md
CHANGED
@@ -33,8 +33,8 @@ You can either search the released music via the /public/recording endpoints or
|
|
33
33
|
|
34
34
|
This SDK is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project:
|
35
35
|
|
36
|
-
- API version: 1.13.
|
37
|
-
- Package version: 1.13.
|
36
|
+
- API version: 1.13.7
|
37
|
+
- Package version: 1.13.7
|
38
38
|
- Build package: org.openapitools.codegen.languages.RubyClientCodegen
|
39
39
|
For more information, please visit [https://songtradr.com](https://songtradr.com)
|
40
40
|
|
@@ -51,16 +51,16 @@ gem build songtradr_api_client_ruby.gemspec
|
|
51
51
|
Then either install the gem locally:
|
52
52
|
|
53
53
|
```shell
|
54
|
-
gem install ./songtradr_api_client_ruby-1.13.
|
54
|
+
gem install ./songtradr_api_client_ruby-1.13.7.gem
|
55
55
|
```
|
56
56
|
|
57
|
-
(for development, run `gem install --dev ./songtradr_api_client_ruby-1.13.
|
57
|
+
(for development, run `gem install --dev ./songtradr_api_client_ruby-1.13.7.gem` to install the development dependencies)
|
58
58
|
|
59
59
|
or publish the gem to a gem hosting service, e.g. [RubyGems](https://rubygems.org/).
|
60
60
|
|
61
61
|
Finally add this to the Gemfile:
|
62
62
|
|
63
|
-
gem 'songtradr_api_client_ruby', '~> 1.13.
|
63
|
+
gem 'songtradr_api_client_ruby', '~> 1.13.7'
|
64
64
|
|
65
65
|
### Install from Git
|
66
66
|
|
@@ -84,25 +84,17 @@ Please follow the [installation](#installation) procedure and then run the follo
|
|
84
84
|
# Load the gem
|
85
85
|
require 'songtradr_api_client_ruby'
|
86
86
|
|
87
|
-
|
88
|
-
|
89
|
-
#
|
90
|
-
|
91
|
-
# Configure a proc to get access tokens in lieu of the static access_token configuration
|
92
|
-
config.access_token_getter = -> { 'YOUR TOKEN GETTER PROC' }
|
93
|
-
# Configure faraday connection
|
94
|
-
config.configure_faraday_connection { |connection| 'YOUR CONNECTION CONFIG PROC' }
|
95
|
-
end
|
96
|
-
|
97
|
-
api_instance = SongtradrApiClientRuby::APIKeysApi.new
|
98
|
-
create_api_key_dto = SongtradrApiClientRuby::CreateApiKeyDTO.new # CreateApiKeyDTO |
|
87
|
+
api_instance = SongtradrApiClientRuby::AllowedValuesApi.new
|
88
|
+
opts = {
|
89
|
+
response_size: 's' # String | Size the response should have.
|
90
|
+
}
|
99
91
|
|
100
92
|
begin
|
101
|
-
#
|
102
|
-
result = api_instance.
|
93
|
+
#Allowed values for music descriptive parameters to be used in the searchAll endpoint.
|
94
|
+
result = api_instance.allowed_musical_features(opts)
|
103
95
|
p result
|
104
96
|
rescue SongtradrApiClientRuby::ApiError => e
|
105
|
-
puts "Exception when calling
|
97
|
+
puts "Exception when calling AllowedValuesApi->allowed_musical_features: #{e}"
|
106
98
|
end
|
107
99
|
|
108
100
|
```
|
@@ -113,19 +105,9 @@ All URIs are relative to *https://api.songtradr.com*
|
|
113
105
|
|
114
106
|
Class | Method | HTTP request | Description
|
115
107
|
------------ | ------------- | ------------- | -------------
|
116
|
-
*SongtradrApiClientRuby::APIKeysApi* | [**create_api_key**](docs/APIKeysApi.md#create_api_key) | **POST** /api/v1/user/apiKeys | create an API key
|
117
|
-
*SongtradrApiClientRuby::APIKeysApi* | [**delete_api_key**](docs/APIKeysApi.md#delete_api_key) | **DELETE** /api/v1/user/apiKeys/{id} | delete an API key
|
118
|
-
*SongtradrApiClientRuby::APIKeysApi* | [**get_api_keys**](docs/APIKeysApi.md#get_api_keys) | **GET** /api/v1/user/apiKeys | list API keys
|
119
|
-
*SongtradrApiClientRuby::AdminUsersControllerApi* | [**create_user**](docs/AdminUsersControllerApi.md#create_user) | **POST** /api/v1/admin/users | create a user
|
120
|
-
*SongtradrApiClientRuby::AdminUsersControllerApi* | [**delete_user**](docs/AdminUsersControllerApi.md#delete_user) | **DELETE** /api/v1/admin/users/{id} | delete a user
|
121
|
-
*SongtradrApiClientRuby::AdminUsersControllerApi* | [**get_user**](docs/AdminUsersControllerApi.md#get_user) | **GET** /api/v1/admin/users/{id} | show details of a user
|
122
|
-
*SongtradrApiClientRuby::AdminUsersControllerApi* | [**get_users**](docs/AdminUsersControllerApi.md#get_users) | **GET** /api/v1/admin/users | List users
|
123
|
-
*SongtradrApiClientRuby::AdminUsersControllerApi* | [**update_user**](docs/AdminUsersControllerApi.md#update_user) | **PUT** /api/v1/admin/users/{id} | update a user
|
124
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.
|
125
109
|
*SongtradrApiClientRuby::AllowedValuesApi* | [**genres**](docs/AllowedValuesApi.md#genres) | **GET** /api/v1/allowedValues/genre | Allowed values for genres.
|
126
110
|
*SongtradrApiClientRuby::AllowedValuesApi* | [**tags**](docs/AllowedValuesApi.md#tags) | **GET** /api/v1/allowedValues/tag | All descriptive tags inside of tag-categories.
|
127
|
-
*SongtradrApiClientRuby::InternalApiApi* | [**internal_create_inference**](docs/InternalApiApi.md#internal_create_inference) | **POST** /api/v1/internal/inference |
|
128
|
-
*SongtradrApiClientRuby::InternalApiApi* | [**internal_update_file**](docs/InternalApiApi.md#internal_update_file) | **PATCH** /api/v1/internal/file/{customerName}/{objectKey} |
|
129
111
|
*SongtradrApiClientRuby::PartyApi* | [**party**](docs/PartyApi.md#party) | **GET** /api/v1/party | Information on a person, group or company.
|
130
112
|
*SongtradrApiClientRuby::PlaylistApi* | [**all_playlists**](docs/PlaylistApi.md#all_playlists) | **GET** /api/v1/playlist | All playlists.
|
131
113
|
*SongtradrApiClientRuby::PlaylistApi* | [**create_or_update_playlist**](docs/PlaylistApi.md#create_or_update_playlist) | **POST** /api/v1/playlist | Create and edit playlist.
|
@@ -168,11 +150,7 @@ Class | Method | HTTP request | Description
|
|
168
150
|
|
169
151
|
## Documentation for Models
|
170
152
|
|
171
|
-
- [SongtradrApiClientRuby::AdminApiCreateUserDTO](docs/AdminApiCreateUserDTO.md)
|
172
|
-
- [SongtradrApiClientRuby::AdminApiUpdateUserDTO](docs/AdminApiUpdateUserDTO.md)
|
173
|
-
- [SongtradrApiClientRuby::AdminApiUserDTO](docs/AdminApiUserDTO.md)
|
174
153
|
- [SongtradrApiClientRuby::AgeRange](docs/AgeRange.md)
|
175
|
-
- [SongtradrApiClientRuby::ApiKeyDTO](docs/ApiKeyDTO.md)
|
176
154
|
- [SongtradrApiClientRuby::Beard](docs/Beard.md)
|
177
155
|
- [SongtradrApiClientRuby::BoundingBox](docs/BoundingBox.md)
|
178
156
|
- [SongtradrApiClientRuby::CategoryMediumDTO](docs/CategoryMediumDTO.md)
|
@@ -181,7 +159,6 @@ Class | Method | HTTP request | Description
|
|
181
159
|
- [SongtradrApiClientRuby::ConfigIdentifierDTO](docs/ConfigIdentifierDTO.md)
|
182
160
|
- [SongtradrApiClientRuby::ContextValue](docs/ContextValue.md)
|
183
161
|
- [SongtradrApiClientRuby::ContributorTypeDTO](docs/ContributorTypeDTO.md)
|
184
|
-
- [SongtradrApiClientRuby::CreateApiKeyDTO](docs/CreateApiKeyDTO.md)
|
185
162
|
- [SongtradrApiClientRuby::CuratePlaylistDTO](docs/CuratePlaylistDTO.md)
|
186
163
|
- [SongtradrApiClientRuby::CuratePlaylistResponseDTO](docs/CuratePlaylistResponseDTO.md)
|
187
164
|
- [SongtradrApiClientRuby::DominantColor](docs/DominantColor.md)
|
@@ -240,7 +217,6 @@ Class | Method | HTTP request | Description
|
|
240
217
|
- [SongtradrApiClientRuby::RecordingPlaylistDTO](docs/RecordingPlaylistDTO.md)
|
241
218
|
- [SongtradrApiClientRuby::RecordingSmallDTO](docs/RecordingSmallDTO.md)
|
242
219
|
- [SongtradrApiClientRuby::RecordingTagSmallDTO](docs/RecordingTagSmallDTO.md)
|
243
|
-
- [SongtradrApiClientRuby::SaveFileDTO](docs/SaveFileDTO.md)
|
244
220
|
- [SongtradrApiClientRuby::SaveFileRecordingDTO](docs/SaveFileRecordingDTO.md)
|
245
221
|
- [SongtradrApiClientRuby::SavePlaylistDTO](docs/SavePlaylistDTO.md)
|
246
222
|
- [SongtradrApiClientRuby::SaveRecordingGenreDTO](docs/SaveRecordingGenreDTO.md)
|
data/docs/FileSmallDTO.md
CHANGED
@@ -9,16 +9,16 @@
|
|
9
9
|
| **extension** | **String** | extension of the file | |
|
10
10
|
| **error_message** | **String** | | [optional] |
|
11
11
|
| **folder** | **String** | | |
|
12
|
-
| **inference_start_time** | **Time** | | [optional] |
|
13
|
-
| **inference_end_time** | **Time** | | [optional] |
|
14
|
-
| **error_time** | **Time** | | [optional] |
|
15
|
-
| **object_key** | **String** | | |
|
16
12
|
| **upload_start_time** | **Time** | | [optional] |
|
17
13
|
| **upload_end_time** | **Time** | | [optional] |
|
14
|
+
| **object_key** | **String** | | |
|
18
15
|
| **fingerprint_status** | **String** | status of the audio recognition | [optional] |
|
19
16
|
| **fingerprint_start_time** | **Time** | | [optional] |
|
20
17
|
| **fingerprint_end_time** | **Time** | | [optional] |
|
21
18
|
| **inference_status** | **String** | status of the auto-tagging | [optional] |
|
19
|
+
| **inference_start_time** | **Time** | | [optional] |
|
20
|
+
| **inference_end_time** | **Time** | | [optional] |
|
21
|
+
| **error_time** | **Time** | | [optional] |
|
22
22
|
|
23
23
|
## Example
|
24
24
|
|
@@ -31,16 +31,16 @@ instance = SongtradrApiClientRuby::FileSmallDTO.new(
|
|
31
31
|
extension: null,
|
32
32
|
error_message: null,
|
33
33
|
folder: null,
|
34
|
-
inference_start_time: null,
|
35
|
-
inference_end_time: null,
|
36
|
-
error_time: null,
|
37
|
-
object_key: null,
|
38
34
|
upload_start_time: null,
|
39
35
|
upload_end_time: null,
|
36
|
+
object_key: null,
|
40
37
|
fingerprint_status: null,
|
41
38
|
fingerprint_start_time: null,
|
42
39
|
fingerprint_end_time: null,
|
43
|
-
inference_status: null
|
40
|
+
inference_status: null,
|
41
|
+
inference_start_time: null,
|
42
|
+
inference_end_time: null,
|
43
|
+
error_time: null
|
44
44
|
)
|
45
45
|
```
|
46
46
|
|
data/docs/MusicalFeaturesDTO.md
CHANGED
@@ -5,7 +5,6 @@
|
|
5
5
|
| Name | Type | Description | Notes |
|
6
6
|
| ---- | ---- | ----------- | ----- |
|
7
7
|
| **space** | **String** | Search for space | [optional] |
|
8
|
-
| **language_of_performance** | **String** | | [optional] |
|
9
8
|
| **arousal** | **String** | Search for an arousal | [optional] |
|
10
9
|
| **dominant_instrument** | **String** | Search for a dominant instrument | [optional] |
|
11
10
|
| **energy** | **String** | Search for energy | [optional] |
|
@@ -20,6 +19,16 @@
|
|
20
19
|
| **scale** | **String** | Search for a tonal scale | [optional] |
|
21
20
|
| **sound_generation** | **String** | Search for type of sound generation | [optional] |
|
22
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
|
+
| **curateability** | **String** | Search for curatebility | [optional] |
|
29
|
+
| **use_case** | **String** | Search for use case | [optional] |
|
30
|
+
| **channel_suitability** | **String** | Search for social media suitability | [optional] |
|
31
|
+
| **language_of_performance** | **String** | | [optional] |
|
23
32
|
| **primary_mood_cluster_affinity** | **Float** | | [optional] |
|
24
33
|
| **secondary_mood_cluster** | **String** | Search for a language of the lyrics | [optional] |
|
25
34
|
| **secondary_mood_cluster_affinity** | **Float** | | [optional] |
|
@@ -64,15 +73,6 @@
|
|
64
73
|
| **industry_suitability** | **String** | Search for Industry suitability | [optional] |
|
65
74
|
| **industry_suitability_affinity** | **Float** | | [optional] |
|
66
75
|
| **audience_region** | **String** | | [optional] |
|
67
|
-
| **texture** | **String** | Search for texture | [optional] |
|
68
|
-
| **timbre** | **String** | Search for timbre | [optional] |
|
69
|
-
| **tonality** | **String** | Search for tonality | [optional] |
|
70
|
-
| **valence** | **String** | Search for a valence | [optional] |
|
71
|
-
| **vocals** | **String** | Search for a vocal gender or instrumental songs | [optional] |
|
72
|
-
| **origin_decade** | **String** | Search for origin decade | [optional] |
|
73
|
-
| **curateability** | **String** | Search for curatebility | [optional] |
|
74
|
-
| **use_case** | **String** | Search for use case | [optional] |
|
75
|
-
| **channel_suitability** | **String** | Search for social media suitability | [optional] |
|
76
76
|
| **valence_affinity** | **Float** | | [optional] |
|
77
77
|
| **arousal_affinity** | **Float** | | [optional] |
|
78
78
|
| **pleasantness_affinity** | **Float** | | [optional] |
|
@@ -97,7 +97,6 @@ require 'songtradr_api_client_ruby'
|
|
97
97
|
|
98
98
|
instance = SongtradrApiClientRuby::MusicalFeaturesDTO.new(
|
99
99
|
space: null,
|
100
|
-
language_of_performance: null,
|
101
100
|
arousal: null,
|
102
101
|
dominant_instrument: null,
|
103
102
|
energy: null,
|
@@ -112,6 +111,16 @@ instance = SongtradrApiClientRuby::MusicalFeaturesDTO.new(
|
|
112
111
|
scale: null,
|
113
112
|
sound_generation: null,
|
114
113
|
tempo: null,
|
114
|
+
texture: null,
|
115
|
+
timbre: null,
|
116
|
+
tonality: null,
|
117
|
+
valence: null,
|
118
|
+
vocals: null,
|
119
|
+
origin_decade: null,
|
120
|
+
curateability: null,
|
121
|
+
use_case: null,
|
122
|
+
channel_suitability: null,
|
123
|
+
language_of_performance: null,
|
115
124
|
primary_mood_cluster_affinity: null,
|
116
125
|
secondary_mood_cluster: null,
|
117
126
|
secondary_mood_cluster_affinity: null,
|
@@ -156,15 +165,6 @@ instance = SongtradrApiClientRuby::MusicalFeaturesDTO.new(
|
|
156
165
|
industry_suitability: null,
|
157
166
|
industry_suitability_affinity: null,
|
158
167
|
audience_region: null,
|
159
|
-
texture: null,
|
160
|
-
timbre: null,
|
161
|
-
tonality: null,
|
162
|
-
valence: null,
|
163
|
-
vocals: null,
|
164
|
-
origin_decade: null,
|
165
|
-
curateability: null,
|
166
|
-
use_case: null,
|
167
|
-
channel_suitability: null,
|
168
168
|
valence_affinity: null,
|
169
169
|
arousal_affinity: null,
|
170
170
|
pleasantness_affinity: null,
|
data/docs/PlaylistApi.md
CHANGED
@@ -172,7 +172,7 @@ SongtradrApiClientRuby.configure do |config|
|
|
172
172
|
end
|
173
173
|
|
174
174
|
api_instance = SongtradrApiClientRuby::PlaylistApi.new
|
175
|
-
method_name = '
|
175
|
+
method_name = 'recommend' # String | Name of the curation task that should be executed
|
176
176
|
curate_playlist_dto = SongtradrApiClientRuby::CuratePlaylistDTO.new # CuratePlaylistDTO |
|
177
177
|
|
178
178
|
begin
|
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
|
-
| **songtradr_playlist_guid** | **String** | | [optional] |
|
11
9
|
| **usages** | [**Array<UsageDTO>**](UsageDTO.md) | | [optional] |
|
10
|
+
| **songtradr_playlist_guid** | **String** | | [optional] |
|
12
11
|
| **asset_url** | **String** | | [optional] |
|
13
12
|
| **pretzel_tier** | **String** | | [optional] |
|
14
13
|
| **usage** | **String** | | [optional] |
|
15
14
|
| **tracks** | [**Array<RecordingPlaylistDTO>**](RecordingPlaylistDTO.md) | | [optional] |
|
16
15
|
| **created** | **Time** | | [optional] |
|
17
16
|
| **updated** | **Time** | | [optional] |
|
17
|
+
| **description** | **String** | | [optional] |
|
18
18
|
|
19
19
|
## Example
|
20
20
|
|
@@ -24,15 +24,15 @@ require 'songtradr_api_client_ruby'
|
|
24
24
|
instance = SongtradrApiClientRuby::PlaylistLargeDTO.new(
|
25
25
|
name: null,
|
26
26
|
state: null,
|
27
|
-
description: null,
|
28
|
-
songtradr_playlist_guid: null,
|
29
27
|
usages: null,
|
28
|
+
songtradr_playlist_guid: null,
|
30
29
|
asset_url: null,
|
31
30
|
pretzel_tier: null,
|
32
31
|
usage: null,
|
33
32
|
tracks: null,
|
34
33
|
created: null,
|
35
|
-
updated: null
|
34
|
+
updated: null,
|
35
|
+
description: null
|
36
36
|
)
|
37
37
|
```
|
38
38
|
|
data/docs/ProductMediumDTO.md
CHANGED
@@ -7,11 +7,11 @@
|
|
7
7
|
| **duration** | **Time** | | [optional] |
|
8
8
|
| **genres** | [**Array<GenreMinimalDTO>**](GenreMinimalDTO.md) | | [optional] |
|
9
9
|
| **titles** | [**Array<TitleDTO>**](TitleDTO.md) | | [optional] |
|
10
|
-
| **pline** | [**PLineDTO**](PLineDTO.md) | | [optional] |
|
11
10
|
| **gtin** | **String** | | [optional] |
|
12
11
|
| **grid** | **String** | | [optional] |
|
13
12
|
| **release_date** | **Time** | | [optional] |
|
14
13
|
| **takedown_date** | **Time** | | [optional] |
|
14
|
+
| **pline** | [**PLineDTO**](PLineDTO.md) | | [optional] |
|
15
15
|
| **parties** | [**Array<ProductPartyDTO>**](ProductPartyDTO.md) | | [optional] |
|
16
16
|
|
17
17
|
## Example
|
@@ -23,11 +23,11 @@ instance = SongtradrApiClientRuby::ProductMediumDTO.new(
|
|
23
23
|
duration: null,
|
24
24
|
genres: null,
|
25
25
|
titles: null,
|
26
|
-
pline: null,
|
27
26
|
gtin: null,
|
28
27
|
grid: null,
|
29
28
|
release_date: null,
|
30
29
|
takedown_date: null,
|
30
|
+
pline: null,
|
31
31
|
parties: null
|
32
32
|
)
|
33
33
|
```
|
data/docs/RecordingApi.md
CHANGED
@@ -85,7 +85,7 @@ end
|
|
85
85
|
|
86
86
|
## recordings_by_ids_with_similarities
|
87
87
|
|
88
|
-
> <Array<RecordingForSimilaritySearchDTO>> recordings_by_ids_with_similarities(ids)
|
88
|
+
> <Array<RecordingForSimilaritySearchDTO>> recordings_by_ids_with_similarities(ids, opts)
|
89
89
|
|
90
90
|
Similar recordings for a list of recordings.
|
91
91
|
|
@@ -102,10 +102,14 @@ end
|
|
102
102
|
|
103
103
|
api_instance = SongtradrApiClientRuby::RecordingApi.new
|
104
104
|
ids = 'USUM71703692' # String | Comma seperated list of IDs. Can be ISRCs or proprietary IDs
|
105
|
+
opts = {
|
106
|
+
identical_only: true, # Boolean | Whether a result list shall include only identical recordings.
|
107
|
+
usage: 'usage_example' # String | Filter by recording usage.
|
108
|
+
}
|
105
109
|
|
106
110
|
begin
|
107
111
|
# Similar recordings for a list of recordings.
|
108
|
-
result = api_instance.recordings_by_ids_with_similarities(ids)
|
112
|
+
result = api_instance.recordings_by_ids_with_similarities(ids, opts)
|
109
113
|
p result
|
110
114
|
rescue SongtradrApiClientRuby::ApiError => e
|
111
115
|
puts "Error when calling RecordingApi->recordings_by_ids_with_similarities: #{e}"
|
@@ -116,12 +120,12 @@ end
|
|
116
120
|
|
117
121
|
This returns an Array which contains the response data, status code and headers.
|
118
122
|
|
119
|
-
> <Array(<Array<RecordingForSimilaritySearchDTO>>, Integer, Hash)> recordings_by_ids_with_similarities_with_http_info(ids)
|
123
|
+
> <Array(<Array<RecordingForSimilaritySearchDTO>>, Integer, Hash)> recordings_by_ids_with_similarities_with_http_info(ids, opts)
|
120
124
|
|
121
125
|
```ruby
|
122
126
|
begin
|
123
127
|
# Similar recordings for a list of recordings.
|
124
|
-
data, status_code, headers = api_instance.recordings_by_ids_with_similarities_with_http_info(ids)
|
128
|
+
data, status_code, headers = api_instance.recordings_by_ids_with_similarities_with_http_info(ids, opts)
|
125
129
|
p status_code # => 2xx
|
126
130
|
p headers # => { ... }
|
127
131
|
p data # => <Array<RecordingForSimilaritySearchDTO>>
|
@@ -135,6 +139,8 @@ end
|
|
135
139
|
| Name | Type | Description | Notes |
|
136
140
|
| ---- | ---- | ----------- | ----- |
|
137
141
|
| **ids** | **String** | Comma seperated list of IDs. Can be ISRCs or proprietary IDs | |
|
142
|
+
| **identical_only** | **Boolean** | Whether a result list shall include only identical recordings. | [optional][default to false] |
|
143
|
+
| **usage** | **String** | Filter by recording usage. | [optional] |
|
138
144
|
|
139
145
|
### Return type
|
140
146
|
|
@@ -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/RecordingLargeDTO.md
CHANGED
@@ -5,17 +5,17 @@
|
|
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
|
| **genres** | [**Array<GenreDTO>**](GenreDTO.md) | | [optional] |
|
10
11
|
| **language_of_performance** | **String** | | [optional] |
|
11
12
|
| **titles** | [**Array<TitleDTO>**](TitleDTO.md) | | [optional] |
|
12
13
|
| **tracks** | [**Array<TrackToMediumProductDTO>**](TrackToMediumProductDTO.md) | | [optional] |
|
13
14
|
| **musical_features** | [**MusicalFeaturesDTO**](MusicalFeaturesDTO.md) | | [optional] |
|
14
|
-
| **isrc** | **String** | | |
|
15
15
|
| **tags** | [**Array<RecordingTagSmallDTO>**](RecordingTagSmallDTO.md) | | [optional] |
|
16
16
|
| **spotify_id** | **String** | | [optional] |
|
17
|
-
| **pline** | [**PLineDTO**](PLineDTO.md) | | [optional] |
|
18
17
|
| **genre_predictions** | [**Array<RecordingGenrePredictionDTO>**](RecordingGenrePredictionDTO.md) | | [optional] |
|
18
|
+
| **pline** | [**PLineDTO**](PLineDTO.md) | | [optional] |
|
19
19
|
|
20
20
|
## Example
|
21
21
|
|
@@ -24,17 +24,17 @@ require 'songtradr_api_client_ruby'
|
|
24
24
|
|
25
25
|
instance = SongtradrApiClientRuby::RecordingLargeDTO.new(
|
26
26
|
duration: null,
|
27
|
+
isrc: null,
|
27
28
|
parties: null,
|
28
29
|
genres: null,
|
29
30
|
language_of_performance: null,
|
30
31
|
titles: null,
|
31
32
|
tracks: null,
|
32
33
|
musical_features: null,
|
33
|
-
isrc: null,
|
34
34
|
tags: null,
|
35
35
|
spotify_id: null,
|
36
|
-
|
37
|
-
|
36
|
+
genre_predictions: null,
|
37
|
+
pline: null
|
38
38
|
)
|
39
39
|
```
|
40
40
|
|
data/docs/RecordingMediumDTO.md
CHANGED
@@ -4,6 +4,7 @@
|
|
4
4
|
|
5
5
|
| Name | Type | Description | Notes |
|
6
6
|
| ---- | ---- | ----------- | ----- |
|
7
|
+
| **isrc** | **String** | | |
|
7
8
|
| **recording_party_entities** | [**Array<RecordingPartyDTO>**](RecordingPartyDTO.md) | | [optional] |
|
8
9
|
| **genres** | [**Array<GenreDTO>**](GenreDTO.md) | | [optional] |
|
9
10
|
| **language_of_performance** | **String** | | [optional] |
|
@@ -11,7 +12,6 @@
|
|
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
|
-
| **isrc** | **String** | | |
|
15
15
|
| **tags** | [**Array<RecordingTagSmallDTO>**](RecordingTagSmallDTO.md) | | [optional] |
|
16
16
|
| **spotify_id** | **String** | | [optional] |
|
17
17
|
| **genre_predictions** | [**Array<RecordingGenrePredictionDTO>**](RecordingGenrePredictionDTO.md) | | [optional] |
|
@@ -22,6 +22,7 @@
|
|
22
22
|
require 'songtradr_api_client_ruby'
|
23
23
|
|
24
24
|
instance = SongtradrApiClientRuby::RecordingMediumDTO.new(
|
25
|
+
isrc: null,
|
25
26
|
recording_party_entities: null,
|
26
27
|
genres: null,
|
27
28
|
language_of_performance: null,
|
@@ -29,7 +30,6 @@ instance = SongtradrApiClientRuby::RecordingMediumDTO.new(
|
|
29
30
|
titles: null,
|
30
31
|
tracks: null,
|
31
32
|
musical_features: null,
|
32
|
-
isrc: null,
|
33
33
|
tags: null,
|
34
34
|
spotify_id: null,
|
35
35
|
genre_predictions: null
|
@@ -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
|
|
data/docs/RecordingSmallDTO.md
CHANGED
@@ -5,9 +5,10 @@
|
|
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
|
-
| **
|
11
|
+
| **tracks** | [**Array<TrackDTO>**](TrackDTO.md) | | [optional] |
|
11
12
|
|
12
13
|
## Example
|
13
14
|
|
@@ -16,9 +17,10 @@ require 'songtradr_api_client_ruby'
|
|
16
17
|
|
17
18
|
instance = SongtradrApiClientRuby::RecordingSmallDTO.new(
|
18
19
|
duration: null,
|
20
|
+
isrc: null,
|
19
21
|
parties: null,
|
20
22
|
titles: null,
|
21
|
-
|
23
|
+
tracks: null
|
22
24
|
)
|
23
25
|
```
|
24
26
|
|
@@ -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.13.
|
6
|
+
The version of the OpenAPI document: 1.13.7
|
7
7
|
Contact: info@songtradr.com
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
9
|
OpenAPI Generator version: 7.1.0-SNAPSHOT
|
@@ -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.13.
|
6
|
+
The version of the OpenAPI document: 1.13.7
|
7
7
|
Contact: info@songtradr.com
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
9
|
OpenAPI Generator version: 7.1.0-SNAPSHOT
|
@@ -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.13.
|
6
|
+
The version of the OpenAPI document: 1.13.7
|
7
7
|
Contact: info@songtradr.com
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
9
|
OpenAPI Generator version: 7.1.0-SNAPSHOT
|
@@ -182,7 +182,7 @@ module SongtradrApiClientRuby
|
|
182
182
|
fail ArgumentError, "Missing the required parameter 'method_name' when calling PlaylistApi.curate_playlist"
|
183
183
|
end
|
184
184
|
# verify enum value
|
185
|
-
allowable_values = ["
|
185
|
+
allowable_values = ["recommend", "replaceSimilar", "replaceDifferent", "order"]
|
186
186
|
if @api_client.config.client_side_validation && !allowable_values.include?(method_name)
|
187
187
|
fail ArgumentError, "invalid value for \"method_name\", must be one of #{allowable_values}"
|
188
188
|
end
|
@@ -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.13.
|
6
|
+
The version of the OpenAPI document: 1.13.7
|
7
7
|
Contact: info@songtradr.com
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
9
|
OpenAPI Generator version: 7.1.0-SNAPSHOT
|
@@ -83,6 +83,8 @@ module SongtradrApiClientRuby
|
|
83
83
|
# Similar recordings for a list of recordings.
|
84
84
|
# @param ids [String] Comma seperated list of IDs. Can be ISRCs or proprietary IDs
|
85
85
|
# @param [Hash] opts the optional parameters
|
86
|
+
# @option opts [Boolean] :identical_only Whether a result list shall include only identical recordings. (default to false)
|
87
|
+
# @option opts [String] :usage Filter by recording usage.
|
86
88
|
# @return [Array<RecordingForSimilaritySearchDTO>]
|
87
89
|
def recordings_by_ids_with_similarities(ids, opts = {})
|
88
90
|
data, _status_code, _headers = recordings_by_ids_with_similarities_with_http_info(ids, opts)
|
@@ -92,6 +94,8 @@ module SongtradrApiClientRuby
|
|
92
94
|
# Similar recordings for a list of recordings.
|
93
95
|
# @param ids [String] Comma seperated list of IDs. Can be ISRCs or proprietary IDs
|
94
96
|
# @param [Hash] opts the optional parameters
|
97
|
+
# @option opts [Boolean] :identical_only Whether a result list shall include only identical recordings. (default to false)
|
98
|
+
# @option opts [String] :usage Filter by recording usage.
|
95
99
|
# @return [Array<(Array<RecordingForSimilaritySearchDTO>, Integer, Hash)>] Array<RecordingForSimilaritySearchDTO> data, response status code and response headers
|
96
100
|
def recordings_by_ids_with_similarities_with_http_info(ids, opts = {})
|
97
101
|
if @api_client.config.debugging
|
@@ -106,6 +110,8 @@ module SongtradrApiClientRuby
|
|
106
110
|
|
107
111
|
# query parameters
|
108
112
|
query_params = opts[:query_params] || {}
|
113
|
+
query_params[:'identicalOnly'] = opts[:'identical_only'] if !opts[:'identical_only'].nil?
|
114
|
+
query_params[:'usage'] = opts[:'usage'] if !opts[:'usage'].nil?
|
109
115
|
|
110
116
|
# header parameters
|
111
117
|
header_params = opts[:header_params] || {}
|
@@ -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.13.
|
6
|
+
The version of the OpenAPI document: 1.13.7
|
7
7
|
Contact: info@songtradr.com
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
9
|
OpenAPI Generator version: 7.1.0-SNAPSHOT
|
@@ -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.13.
|
6
|
+
The version of the OpenAPI document: 1.13.7
|
7
7
|
Contact: info@songtradr.com
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
9
|
OpenAPI Generator version: 7.1.0-SNAPSHOT
|
@@ -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.13.
|
6
|
+
The version of the OpenAPI document: 1.13.7
|
7
7
|
Contact: info@songtradr.com
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
9
|
OpenAPI Generator version: 7.1.0-SNAPSHOT
|