songtradr_api_client_ruby 1.12.21
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 +7 -0
- data/Gemfile +9 -0
- data/Gemfile.lock +76 -0
- data/README.md +223 -0
- data/Rakefile +10 -0
- data/docs/AllowedValuesApi.md +200 -0
- data/docs/CategoryMediumDTO.md +22 -0
- data/docs/CategoryMinimalDTO.md +18 -0
- data/docs/ConfigAccessDTO.md +20 -0
- data/docs/ConfigIdentifierDTO.md +20 -0
- data/docs/ContributorTypeDTO.md +18 -0
- data/docs/ErrorResponse.md +26 -0
- data/docs/FieldSummaryDTO.md +22 -0
- data/docs/FileDTO.md +50 -0
- data/docs/FileListDTO.md +24 -0
- data/docs/FileMinimalWithUrlDTO.md +22 -0
- data/docs/FileSmallDTO.md +46 -0
- data/docs/FileUploadDTO.md +22 -0
- data/docs/FileWIthUrlDTO.md +20 -0
- data/docs/FilesSummaryDTO.md +30 -0
- data/docs/ForgotPasswordDTO.md +20 -0
- data/docs/GenreDTO.md +20 -0
- data/docs/GenreMinimalDTO.md +18 -0
- data/docs/GenresSummaryDTO.md +22 -0
- data/docs/InitPutRecordingAudioDTO.md +22 -0
- data/docs/JwtTokenDTO.md +22 -0
- data/docs/LoginDTO.md +24 -0
- data/docs/MusicalFeaturesDTO.md +186 -0
- data/docs/PLineDTO.md +20 -0
- data/docs/PartyApi.md +75 -0
- data/docs/PartyLargeDTO.md +32 -0
- data/docs/PartySmallDTO.md +20 -0
- data/docs/PlaylistApi.md +221 -0
- data/docs/PlaylistLargeDTO.md +38 -0
- data/docs/ProductMediumDTO.md +34 -0
- data/docs/ProductPartyDTO.md +20 -0
- data/docs/RecordingApi.md +789 -0
- data/docs/RecordingForSimilaritySearchDTO.md +20 -0
- data/docs/RecordingGenrePredictionDTO.md +22 -0
- data/docs/RecordingLargeDTO.md +40 -0
- data/docs/RecordingListDTO.md +24 -0
- data/docs/RecordingMediumDTO.md +36 -0
- data/docs/RecordingMinimalWithMusicalFeaturesDTO.md +20 -0
- data/docs/RecordingMinimalWithTaggramsDTO.md +22 -0
- data/docs/RecordingMinimalWithTagstrengthsDTO.md +20 -0
- data/docs/RecordingPartyDTO.md +20 -0
- data/docs/RecordingPlaylistDTO.md +24 -0
- data/docs/RecordingSmallDTO.md +24 -0
- data/docs/RecordingTagSmallDTO.md +18 -0
- data/docs/SaveFileRecordingDTO.md +236 -0
- data/docs/SavePlaylistDTO.md +34 -0
- data/docs/SaveRecordingGenreDTO.md +22 -0
- data/docs/SaveRecordingPartyDTO.md +20 -0
- data/docs/SaveRecordingPlaylistDTO.md +22 -0
- data/docs/SaveRecordingTagDTO.md +20 -0
- data/docs/SaveReferrerDTO.md +20 -0
- data/docs/SaveTaggramsDTO.md +82 -0
- data/docs/SaveUserDTO.md +28 -0
- data/docs/SearchFilterValuesDTO.md +98 -0
- data/docs/SearchRecordingGranularAbstractionDTO.md +20 -0
- data/docs/SearchRecordingGranularDTO.md +20 -0
- data/docs/SignUpDTO.md +24 -0
- data/docs/TagDTO.md +22 -0
- data/docs/TagSmallDTO.md +20 -0
- data/docs/TaggramDTO.md +26 -0
- data/docs/TagsSummaryDTO.md +22 -0
- data/docs/TagstrengthDTO.md +26 -0
- data/docs/TitleDTO.md +18 -0
- data/docs/TokenRequest.md +18 -0
- data/docs/TrackToMediumProductDTO.md +22 -0
- data/docs/UpdatePasswordDTO.md +20 -0
- data/docs/UsageDTO.md +18 -0
- data/docs/UserApi.md +1936 -0
- data/docs/UserDTO.md +56 -0
- data/getspec.rb +10 -0
- data/git_push.sh +57 -0
- data/lib/songtradr_api_client_ruby/api/allowed_values_api.rb +213 -0
- data/lib/songtradr_api_client_ruby/api/party_api.rb +84 -0
- data/lib/songtradr_api_client_ruby/api/playlist_api.rb +222 -0
- data/lib/songtradr_api_client_ruby/api/recording_api.rb +900 -0
- data/lib/songtradr_api_client_ruby/api/user_api.rb +2642 -0
- data/lib/songtradr_api_client_ruby/api_client.rb +428 -0
- data/lib/songtradr_api_client_ruby/api_error.rb +58 -0
- data/lib/songtradr_api_client_ruby/configuration.rb +380 -0
- data/lib/songtradr_api_client_ruby/models/category_medium_dto.rb +250 -0
- data/lib/songtradr_api_client_ruby/models/category_minimal_dto.rb +225 -0
- data/lib/songtradr_api_client_ruby/models/config_access_dto.rb +287 -0
- data/lib/songtradr_api_client_ruby/models/config_identifier_dto.rb +239 -0
- data/lib/songtradr_api_client_ruby/models/contributor_type_dto.rb +225 -0
- data/lib/songtradr_api_client_ruby/models/error_response.rb +276 -0
- data/lib/songtradr_api_client_ruby/models/field_summary_dto.rb +253 -0
- data/lib/songtradr_api_client_ruby/models/file_dto.rb +450 -0
- data/lib/songtradr_api_client_ruby/models/file_list_dto.rb +269 -0
- data/lib/songtradr_api_client_ruby/models/file_minimal_with_url_dto.rb +253 -0
- data/lib/songtradr_api_client_ruby/models/file_small_dto.rb +432 -0
- data/lib/songtradr_api_client_ruby/models/file_upload_dto.rb +244 -0
- data/lib/songtradr_api_client_ruby/models/file_w_ith_url_dto.rb +239 -0
- data/lib/songtradr_api_client_ruby/models/files_summary_dto.rb +287 -0
- data/lib/songtradr_api_client_ruby/models/forgot_password_dto.rb +267 -0
- data/lib/songtradr_api_client_ruby/models/genre_dto.rb +239 -0
- data/lib/songtradr_api_client_ruby/models/genre_minimal_dto.rb +225 -0
- data/lib/songtradr_api_client_ruby/models/genres_summary_dto.rb +248 -0
- data/lib/songtradr_api_client_ruby/models/init_put_recording_audio_dto.rb +238 -0
- data/lib/songtradr_api_client_ruby/models/jwt_token_dto.rb +248 -0
- data/lib/songtradr_api_client_ruby/models/login_dto.rb +257 -0
- data/lib/songtradr_api_client_ruby/models/musical_features_dto.rb +1532 -0
- data/lib/songtradr_api_client_ruby/models/p_line_dto.rb +234 -0
- data/lib/songtradr_api_client_ruby/models/party_large_dto.rb +288 -0
- data/lib/songtradr_api_client_ruby/models/party_small_dto.rb +239 -0
- data/lib/songtradr_api_client_ruby/models/playlist_large_dto.rb +353 -0
- data/lib/songtradr_api_client_ruby/models/product_medium_dto.rb +316 -0
- data/lib/songtradr_api_client_ruby/models/product_party_dto.rb +236 -0
- data/lib/songtradr_api_client_ruby/models/recording_for_similarity_search_dto.rb +239 -0
- data/lib/songtradr_api_client_ruby/models/recording_genre_prediction_dto.rb +253 -0
- data/lib/songtradr_api_client_ruby/models/recording_large_dto.rb +366 -0
- data/lib/songtradr_api_client_ruby/models/recording_list_dto.rb +269 -0
- data/lib/songtradr_api_client_ruby/models/recording_medium_dto.rb +340 -0
- data/lib/songtradr_api_client_ruby/models/recording_minimal_with_musical_features_dto.rb +236 -0
- data/lib/songtradr_api_client_ruby/models/recording_minimal_with_taggrams_dto.rb +248 -0
- data/lib/songtradr_api_client_ruby/models/recording_minimal_with_tagstrengths_dto.rb +236 -0
- data/lib/songtradr_api_client_ruby/models/recording_party_dto.rb +236 -0
- data/lib/songtradr_api_client_ruby/models/recording_playlist_dto.rb +247 -0
- data/lib/songtradr_api_client_ruby/models/recording_small_dto.rb +268 -0
- data/lib/songtradr_api_client_ruby/models/recording_tag_small_dto.rb +225 -0
- data/lib/songtradr_api_client_ruby/models/save_file_recording_dto.rb +1847 -0
- data/lib/songtradr_api_client_ruby/models/save_playlist_dto.rb +350 -0
- data/lib/songtradr_api_client_ruby/models/save_recording_genre_dto.rb +243 -0
- data/lib/songtradr_api_client_ruby/models/save_recording_party_dto.rb +273 -0
- data/lib/songtradr_api_client_ruby/models/save_recording_playlist_dto.rb +248 -0
- data/lib/songtradr_api_client_ruby/models/save_recording_tag_dto.rb +234 -0
- data/lib/songtradr_api_client_ruby/models/save_referrer_dto.rb +229 -0
- data/lib/songtradr_api_client_ruby/models/save_taggrams_dto.rb +574 -0
- data/lib/songtradr_api_client_ruby/models/save_user_dto.rb +317 -0
- data/lib/songtradr_api_client_ruby/models/search_filter_values_dto.rb +867 -0
- data/lib/songtradr_api_client_ruby/models/search_recording_granular_abstraction_dto.rb +270 -0
- data/lib/songtradr_api_client_ruby/models/search_recording_granular_dto.rb +235 -0
- data/lib/songtradr_api_client_ruby/models/sign_up_dto.rb +262 -0
- data/lib/songtradr_api_client_ruby/models/tag_dto.rb +250 -0
- data/lib/songtradr_api_client_ruby/models/tag_small_dto.rb +239 -0
- data/lib/songtradr_api_client_ruby/models/taggram_dto.rb +271 -0
- data/lib/songtradr_api_client_ruby/models/tags_summary_dto.rb +250 -0
- data/lib/songtradr_api_client_ruby/models/tagstrength_dto.rb +269 -0
- data/lib/songtradr_api_client_ruby/models/title_dto.rb +225 -0
- data/lib/songtradr_api_client_ruby/models/token_request.rb +224 -0
- data/lib/songtradr_api_client_ruby/models/track_to_medium_product_dto.rb +248 -0
- data/lib/songtradr_api_client_ruby/models/update_password_dto.rb +238 -0
- data/lib/songtradr_api_client_ruby/models/usage_dto.rb +220 -0
- data/lib/songtradr_api_client_ruby/models/user_dto.rb +481 -0
- data/lib/songtradr_api_client_ruby/version.rb +15 -0
- data/lib/songtradr_api_client_ruby.rb +108 -0
- data/openapi-generator-config.yaml +10 -0
- data/songtradr_api_client_ruby.gemspec +39 -0
- data/spec/api/allowed_values_api_spec.rb +68 -0
- data/spec/api/party_api_spec.rb +46 -0
- data/spec/api/playlist_api_spec.rb +72 -0
- data/spec/api/recording_api_spec.rb +192 -0
- data/spec/api/user_api_spec.rb +507 -0
- data/spec/api_client_spec.rb +223 -0
- data/spec/configuration_spec.rb +82 -0
- data/spec/models/category_medium_dto_spec.rb +46 -0
- data/spec/models/category_minimal_dto_spec.rb +34 -0
- data/spec/models/config_access_dto_spec.rb +48 -0
- data/spec/models/config_identifier_dto_spec.rb +40 -0
- data/spec/models/contributor_type_dto_spec.rb +34 -0
- data/spec/models/error_response_spec.rb +58 -0
- data/spec/models/field_summary_dto_spec.rb +46 -0
- data/spec/models/file_dto_spec.rb +142 -0
- data/spec/models/file_list_dto_spec.rb +52 -0
- data/spec/models/file_minimal_with_url_dto_spec.rb +46 -0
- data/spec/models/file_small_dto_spec.rb +130 -0
- data/spec/models/file_upload_dto_spec.rb +46 -0
- data/spec/models/file_w_ith_url_dto_spec.rb +40 -0
- data/spec/models/files_summary_dto_spec.rb +70 -0
- data/spec/models/forgot_password_dto_spec.rb +44 -0
- data/spec/models/genre_dto_spec.rb +40 -0
- data/spec/models/genre_minimal_dto_spec.rb +34 -0
- data/spec/models/genres_summary_dto_spec.rb +46 -0
- data/spec/models/init_put_recording_audio_dto_spec.rb +46 -0
- data/spec/models/jwt_token_dto_spec.rb +46 -0
- data/spec/models/login_dto_spec.rb +52 -0
- data/spec/models/musical_features_dto_spec.rb +706 -0
- data/spec/models/p_line_dto_spec.rb +40 -0
- data/spec/models/party_large_dto_spec.rb +76 -0
- data/spec/models/party_small_dto_spec.rb +40 -0
- data/spec/models/playlist_large_dto_spec.rb +98 -0
- data/spec/models/product_medium_dto_spec.rb +82 -0
- data/spec/models/product_party_dto_spec.rb +40 -0
- data/spec/models/recording_for_similarity_search_dto_spec.rb +40 -0
- data/spec/models/recording_genre_prediction_dto_spec.rb +46 -0
- data/spec/models/recording_large_dto_spec.rb +100 -0
- data/spec/models/recording_list_dto_spec.rb +52 -0
- data/spec/models/recording_medium_dto_spec.rb +88 -0
- data/spec/models/recording_minimal_with_musical_features_dto_spec.rb +40 -0
- data/spec/models/recording_minimal_with_taggrams_dto_spec.rb +46 -0
- data/spec/models/recording_minimal_with_tagstrengths_dto_spec.rb +40 -0
- data/spec/models/recording_party_dto_spec.rb +40 -0
- data/spec/models/recording_playlist_dto_spec.rb +52 -0
- data/spec/models/recording_small_dto_spec.rb +52 -0
- data/spec/models/recording_tag_small_dto_spec.rb +34 -0
- data/spec/models/save_file_recording_dto_spec.rb +880 -0
- data/spec/models/save_playlist_dto_spec.rb +86 -0
- data/spec/models/save_recording_genre_dto_spec.rb +46 -0
- data/spec/models/save_recording_party_dto_spec.rb +44 -0
- data/spec/models/save_recording_playlist_dto_spec.rb +46 -0
- data/spec/models/save_recording_tag_dto_spec.rb +40 -0
- data/spec/models/save_referrer_dto_spec.rb +40 -0
- data/spec/models/save_taggrams_dto_spec.rb +226 -0
- data/spec/models/save_user_dto_spec.rb +72 -0
- data/spec/models/search_filter_values_dto_spec.rb +274 -0
- data/spec/models/search_recording_granular_abstraction_dto_spec.rb +44 -0
- data/spec/models/search_recording_granular_dto_spec.rb +40 -0
- data/spec/models/sign_up_dto_spec.rb +52 -0
- data/spec/models/tag_dto_spec.rb +46 -0
- data/spec/models/tag_small_dto_spec.rb +40 -0
- data/spec/models/taggram_dto_spec.rb +58 -0
- data/spec/models/tags_summary_dto_spec.rb +46 -0
- data/spec/models/tagstrength_dto_spec.rb +58 -0
- data/spec/models/title_dto_spec.rb +34 -0
- data/spec/models/token_request_spec.rb +34 -0
- data/spec/models/track_to_medium_product_dto_spec.rb +46 -0
- data/spec/models/update_password_dto_spec.rb +40 -0
- data/spec/models/usage_dto_spec.rb +34 -0
- data/spec/models/user_dto_spec.rb +148 -0
- data/spec/spec_helper.rb +111 -0
- metadata +412 -0
|
@@ -0,0 +1,507 @@
|
|
|
1
|
+
=begin
|
|
2
|
+
#Songtradr API
|
|
3
|
+
|
|
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
|
+
|
|
6
|
+
The version of the OpenAPI document: 1.12.21
|
|
7
|
+
Contact: info@songtradr.com
|
|
8
|
+
Generated by: https://openapi-generator.tech
|
|
9
|
+
OpenAPI Generator version: 7.0.0-SNAPSHOT
|
|
10
|
+
|
|
11
|
+
=end
|
|
12
|
+
|
|
13
|
+
require 'spec_helper'
|
|
14
|
+
require 'json'
|
|
15
|
+
|
|
16
|
+
# Unit tests for SongtradrApiClientRuby::UserApi
|
|
17
|
+
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
|
18
|
+
# Please update as you see appropriate
|
|
19
|
+
describe 'UserApi' do
|
|
20
|
+
before do
|
|
21
|
+
# run before each test
|
|
22
|
+
@api_instance = SongtradrApiClientRuby::UserApi.new
|
|
23
|
+
end
|
|
24
|
+
|
|
25
|
+
after do
|
|
26
|
+
# run after each test
|
|
27
|
+
end
|
|
28
|
+
|
|
29
|
+
describe 'test an instance of UserApi' do
|
|
30
|
+
it 'should create an instance of UserApi' do
|
|
31
|
+
expect(@api_instance).to be_instance_of(SongtradrApiClientRuby::UserApi)
|
|
32
|
+
end
|
|
33
|
+
end
|
|
34
|
+
|
|
35
|
+
# unit tests for create_user_referrer
|
|
36
|
+
# @param save_referrer_dto
|
|
37
|
+
# @param [Hash] opts the optional parameters
|
|
38
|
+
# @return [Object]
|
|
39
|
+
describe 'create_user_referrer test' do
|
|
40
|
+
it 'should work' do
|
|
41
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
42
|
+
end
|
|
43
|
+
end
|
|
44
|
+
|
|
45
|
+
# unit tests for delete_user_file
|
|
46
|
+
# Delete file.
|
|
47
|
+
# @param object_key ObjectKey of the file that should be deleted.
|
|
48
|
+
# @param [Hash] opts the optional parameters
|
|
49
|
+
# @return [Object]
|
|
50
|
+
describe 'delete_user_file test' do
|
|
51
|
+
it 'should work' do
|
|
52
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
53
|
+
end
|
|
54
|
+
end
|
|
55
|
+
|
|
56
|
+
# unit tests for edit_me
|
|
57
|
+
# Edit details for a logged-in user
|
|
58
|
+
# @param save_user_dto
|
|
59
|
+
# @param [Hash] opts the optional parameters
|
|
60
|
+
# @return [Object]
|
|
61
|
+
describe 'edit_me test' do
|
|
62
|
+
it 'should work' do
|
|
63
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
64
|
+
end
|
|
65
|
+
end
|
|
66
|
+
|
|
67
|
+
# unit tests for forgot_password
|
|
68
|
+
# Send a password reset email
|
|
69
|
+
# @param forgot_password_dto
|
|
70
|
+
# @param [Hash] opts the optional parameters
|
|
71
|
+
# @return [Object]
|
|
72
|
+
describe 'forgot_password test' do
|
|
73
|
+
it 'should work' do
|
|
74
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
75
|
+
end
|
|
76
|
+
end
|
|
77
|
+
|
|
78
|
+
# unit tests for initiate_user_file_upload
|
|
79
|
+
# Initialize a file upload. Responds with an URL where the file can be uploaded.
|
|
80
|
+
# @param name The Name of the file that will be uploaded
|
|
81
|
+
# @param folder The Name of the folder that the file will be placed in
|
|
82
|
+
# @param [Hash] opts the optional parameters
|
|
83
|
+
# @option opts [FileUploadDTO] :file_upload_dto
|
|
84
|
+
# @return [InitPutRecordingAudioDTO]
|
|
85
|
+
describe 'initiate_user_file_upload test' do
|
|
86
|
+
it 'should work' do
|
|
87
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
88
|
+
end
|
|
89
|
+
end
|
|
90
|
+
|
|
91
|
+
# unit tests for login
|
|
92
|
+
# Login to generate a bearer token.
|
|
93
|
+
# @param login_dto
|
|
94
|
+
# @param [Hash] opts the optional parameters
|
|
95
|
+
# @return [JwtTokenDTO]
|
|
96
|
+
describe 'login test' do
|
|
97
|
+
it 'should work' do
|
|
98
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
99
|
+
end
|
|
100
|
+
end
|
|
101
|
+
|
|
102
|
+
# unit tests for me
|
|
103
|
+
# Details for a logged-in user
|
|
104
|
+
# @param [Hash] opts the optional parameters
|
|
105
|
+
# @return [UserDTO]
|
|
106
|
+
describe 'me test' do
|
|
107
|
+
it 'should work' do
|
|
108
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
109
|
+
end
|
|
110
|
+
end
|
|
111
|
+
|
|
112
|
+
# unit tests for recordings_by_folder_with_taggrams
|
|
113
|
+
# Timeseries of AI generated moods, musical features and more for recordings in your folder.
|
|
114
|
+
# @param folder_name Folder name
|
|
115
|
+
# @param [Hash] opts the optional parameters
|
|
116
|
+
# @option opts [String] :category_name Show only taggrams for one category.
|
|
117
|
+
# @option opts [String] :tag_name Show only taggrams for one tag.
|
|
118
|
+
# @option opts [String] :genre_name Show only taggrams for one genre.
|
|
119
|
+
# @option opts [Float] :from_timestamp Show only taggrams data starting from from this timestamp in seconds.
|
|
120
|
+
# @option opts [Boolean] :fill_with_zero If set to true, empty timeseries are filled with timeseries of 0.0 values.
|
|
121
|
+
# @option opts [Integer] :page Zero-based page index (0..N)
|
|
122
|
+
# @option opts [Integer] :size The size of the page to be returned
|
|
123
|
+
# @option opts [Array<String>] :sort Sorting criteria in the format: property,(asc|desc). Default sort order is ascending. Multiple sort criteria are supported.
|
|
124
|
+
# @return [Array<RecordingMinimalWithTaggramsDTO>]
|
|
125
|
+
describe 'recordings_by_folder_with_taggrams test' do
|
|
126
|
+
it 'should work' do
|
|
127
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
128
|
+
end
|
|
129
|
+
end
|
|
130
|
+
|
|
131
|
+
# unit tests for recordings_by_folder_with_tagstrengths
|
|
132
|
+
# Strengths as numerical representations for AI generated moods, musical features and more for recordings in your folder.
|
|
133
|
+
# @param folder_name Folder name
|
|
134
|
+
# @param [Hash] opts the optional parameters
|
|
135
|
+
# @option opts [String] :category_name Show only taggrams for one category.
|
|
136
|
+
# @option opts [String] :tag_name Show only taggrams for one tag.
|
|
137
|
+
# @option opts [String] :genre_name Show only taggrams for one genre.
|
|
138
|
+
# @option opts [Integer] :page Zero-based page index (0..N)
|
|
139
|
+
# @option opts [Integer] :size The size of the page to be returned
|
|
140
|
+
# @option opts [Array<String>] :sort Sorting criteria in the format: property,(asc|desc). Default sort order is ascending. Multiple sort criteria are supported.
|
|
141
|
+
# @return [Array<RecordingMinimalWithTagstrengthsDTO>]
|
|
142
|
+
describe 'recordings_by_folder_with_tagstrengths test' do
|
|
143
|
+
it 'should work' do
|
|
144
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
145
|
+
end
|
|
146
|
+
end
|
|
147
|
+
|
|
148
|
+
# unit tests for save_playlist
|
|
149
|
+
# List, search and create playlist of your own files.
|
|
150
|
+
# @param [Hash] opts the optional parameters
|
|
151
|
+
# @option opts [String] :isrc Search for a ISRC
|
|
152
|
+
# @option opts [String] :contributor Search for a name that was involved as any contributor.
|
|
153
|
+
# @option opts [String] :main_artist Search for a main artist.
|
|
154
|
+
# @option opts [String] :composer Search for a composer.
|
|
155
|
+
# @option opts [String] :title Search for a title.
|
|
156
|
+
# @option opts [String] :language Search for a language of the lyrics.
|
|
157
|
+
# @option opts [Array<String>] :genre_names
|
|
158
|
+
# @option opts [Array<String>] :tag_names
|
|
159
|
+
# @option opts [Time] :release_date
|
|
160
|
+
# @option opts [String] :primary_mood_cluster
|
|
161
|
+
# @option opts [String] :secondary_mood_cluster
|
|
162
|
+
# @option opts [String] :tertiary_mood_cluster
|
|
163
|
+
# @option opts [String] :valence
|
|
164
|
+
# @option opts [String] :arousal
|
|
165
|
+
# @option opts [String] :pleasantness
|
|
166
|
+
# @option opts [String] :engagement
|
|
167
|
+
# @option opts [String] :vocals
|
|
168
|
+
# @option opts [String] :dominant_instrument
|
|
169
|
+
# @option opts [String] :secondary_instrument
|
|
170
|
+
# @option opts [String] :tertiary_instrument
|
|
171
|
+
# @option opts [String] :energy
|
|
172
|
+
# @option opts [String] :sound_generation
|
|
173
|
+
# @option opts [String] :tempo
|
|
174
|
+
# @option opts [String] :scale
|
|
175
|
+
# @option opts [String] :rhythm
|
|
176
|
+
# @option opts [String] :primary_sound_character
|
|
177
|
+
# @option opts [String] :timbre
|
|
178
|
+
# @option opts [String] :roughness
|
|
179
|
+
# @option opts [String] :tonality
|
|
180
|
+
# @option opts [String] :harmony
|
|
181
|
+
# @option opts [String] :texture
|
|
182
|
+
# @option opts [String] :groovyness
|
|
183
|
+
# @option opts [String] :space
|
|
184
|
+
# @option opts [String] :production_rating
|
|
185
|
+
# @option opts [String] :performance_rating
|
|
186
|
+
# @option opts [String] :song_rating
|
|
187
|
+
# @option opts [String] :audience_age
|
|
188
|
+
# @option opts [String] :audience_region
|
|
189
|
+
# @option opts [String] :audience_gender
|
|
190
|
+
# @option opts [String] :origin_decade
|
|
191
|
+
# @option opts [String] :curateability
|
|
192
|
+
# @option opts [String] :use_case
|
|
193
|
+
# @option opts [String] :channel_suitability
|
|
194
|
+
# @option opts [String] :similar_to_recording
|
|
195
|
+
# @option opts [String] :create_playlist_with_name
|
|
196
|
+
# @option opts [String] :songtradr_track_id
|
|
197
|
+
# @option opts [String] :usage_name
|
|
198
|
+
# @option opts [Integer] :bpm_min Search for a minimal bpm.
|
|
199
|
+
# @option opts [Integer] :bpm_max Search for a maximal bpm.
|
|
200
|
+
# @option opts [String] :name Search for a file name.
|
|
201
|
+
# @option opts [String] :folder Search for a folder.
|
|
202
|
+
# @option opts [String] :extension Search for a file extension.
|
|
203
|
+
# @option opts [Time] :upload_end_time
|
|
204
|
+
# @option opts [Time] :min_upload_end_time
|
|
205
|
+
# @option opts [Time] :max_upload_end_time
|
|
206
|
+
# @option opts [String] :fingerprint_status Search for a fingerprint status.
|
|
207
|
+
# @option opts [String] :inference_status Search for a inference status.
|
|
208
|
+
# @option opts [Integer] :page Zero-based page index (0..N)
|
|
209
|
+
# @option opts [Integer] :size The size of the page to be returned
|
|
210
|
+
# @option opts [Array<String>] :sort Sorting criteria in the format: property,(asc|desc). Default sort order is ascending. Multiple sort criteria are supported.
|
|
211
|
+
# @return [FileListDTO]
|
|
212
|
+
describe 'save_playlist test' do
|
|
213
|
+
it 'should work' do
|
|
214
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
215
|
+
end
|
|
216
|
+
end
|
|
217
|
+
|
|
218
|
+
# unit tests for sign_up
|
|
219
|
+
# Sign up a new user.
|
|
220
|
+
# @param save_user_dto
|
|
221
|
+
# @param [Hash] opts the optional parameters
|
|
222
|
+
# @return [SignUpDTO]
|
|
223
|
+
describe 'sign_up test' do
|
|
224
|
+
it 'should work' do
|
|
225
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
226
|
+
end
|
|
227
|
+
end
|
|
228
|
+
|
|
229
|
+
# unit tests for token
|
|
230
|
+
# Generates a new JWT token for the given refresh token
|
|
231
|
+
# @param token_request
|
|
232
|
+
# @param [Hash] opts the optional parameters
|
|
233
|
+
# @return [JwtTokenDTO]
|
|
234
|
+
describe 'token test' do
|
|
235
|
+
it 'should work' do
|
|
236
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
237
|
+
end
|
|
238
|
+
end
|
|
239
|
+
|
|
240
|
+
# unit tests for update_password
|
|
241
|
+
# Update password by using the password reset token
|
|
242
|
+
# @param update_password_dto
|
|
243
|
+
# @param [Hash] opts the optional parameters
|
|
244
|
+
# @return [Object]
|
|
245
|
+
describe 'update_password test' do
|
|
246
|
+
it 'should work' do
|
|
247
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
248
|
+
end
|
|
249
|
+
end
|
|
250
|
+
|
|
251
|
+
# unit tests for update_user_file_recording
|
|
252
|
+
# Create and edit metadata of your files.
|
|
253
|
+
# @param object_key ObjectKey of the file that should be edited.
|
|
254
|
+
# @param save_file_recording_dto
|
|
255
|
+
# @param [Hash] opts the optional parameters
|
|
256
|
+
# @return [Object]
|
|
257
|
+
describe 'update_user_file_recording test' do
|
|
258
|
+
it 'should work' do
|
|
259
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
260
|
+
end
|
|
261
|
+
end
|
|
262
|
+
|
|
263
|
+
# unit tests for user_file
|
|
264
|
+
# Details and a download link for a file.
|
|
265
|
+
# @param object_key ObjectKey of the file that should be edited.
|
|
266
|
+
# @param [Hash] opts the optional parameters
|
|
267
|
+
# @return [FileWIthUrlDTO]
|
|
268
|
+
describe 'user_file test' do
|
|
269
|
+
it 'should work' do
|
|
270
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
271
|
+
end
|
|
272
|
+
end
|
|
273
|
+
|
|
274
|
+
# unit tests for user_files
|
|
275
|
+
# List and search your own files.
|
|
276
|
+
# @param [Hash] opts the optional parameters
|
|
277
|
+
# @option opts [String] :isrc Search for a ISRC
|
|
278
|
+
# @option opts [String] :contributor Search for a name that was involved as any contributor.
|
|
279
|
+
# @option opts [String] :main_artist Search for a main artist.
|
|
280
|
+
# @option opts [String] :composer Search for a composer.
|
|
281
|
+
# @option opts [String] :title Search for a title.
|
|
282
|
+
# @option opts [String] :language Search for a language of the lyrics.
|
|
283
|
+
# @option opts [Array<String>] :genre_names
|
|
284
|
+
# @option opts [Array<String>] :tag_names
|
|
285
|
+
# @option opts [Time] :release_date
|
|
286
|
+
# @option opts [String] :primary_mood_cluster
|
|
287
|
+
# @option opts [String] :secondary_mood_cluster
|
|
288
|
+
# @option opts [String] :tertiary_mood_cluster
|
|
289
|
+
# @option opts [String] :valence
|
|
290
|
+
# @option opts [String] :arousal
|
|
291
|
+
# @option opts [String] :pleasantness
|
|
292
|
+
# @option opts [String] :engagement
|
|
293
|
+
# @option opts [String] :vocals
|
|
294
|
+
# @option opts [String] :dominant_instrument
|
|
295
|
+
# @option opts [String] :secondary_instrument
|
|
296
|
+
# @option opts [String] :tertiary_instrument
|
|
297
|
+
# @option opts [String] :energy
|
|
298
|
+
# @option opts [String] :sound_generation
|
|
299
|
+
# @option opts [String] :tempo
|
|
300
|
+
# @option opts [String] :scale
|
|
301
|
+
# @option opts [String] :rhythm
|
|
302
|
+
# @option opts [String] :primary_sound_character
|
|
303
|
+
# @option opts [String] :timbre
|
|
304
|
+
# @option opts [String] :roughness
|
|
305
|
+
# @option opts [String] :tonality
|
|
306
|
+
# @option opts [String] :harmony
|
|
307
|
+
# @option opts [String] :texture
|
|
308
|
+
# @option opts [String] :groovyness
|
|
309
|
+
# @option opts [String] :space
|
|
310
|
+
# @option opts [String] :production_rating
|
|
311
|
+
# @option opts [String] :performance_rating
|
|
312
|
+
# @option opts [String] :song_rating
|
|
313
|
+
# @option opts [String] :audience_age
|
|
314
|
+
# @option opts [String] :audience_region
|
|
315
|
+
# @option opts [String] :audience_gender
|
|
316
|
+
# @option opts [String] :origin_decade
|
|
317
|
+
# @option opts [String] :curateability
|
|
318
|
+
# @option opts [String] :use_case
|
|
319
|
+
# @option opts [String] :channel_suitability
|
|
320
|
+
# @option opts [String] :similar_to_recording
|
|
321
|
+
# @option opts [String] :songtradr_track_id
|
|
322
|
+
# @option opts [String] :usage_name
|
|
323
|
+
# @option opts [Integer] :bpm_min Search for a minimal bpm.
|
|
324
|
+
# @option opts [Integer] :bpm_max Search for a maximal bpm.
|
|
325
|
+
# @option opts [String] :name Search for a file name.
|
|
326
|
+
# @option opts [String] :folder Search for a folder.
|
|
327
|
+
# @option opts [String] :extension Search for a file extension.
|
|
328
|
+
# @option opts [Time] :upload_end_time
|
|
329
|
+
# @option opts [Time] :min_upload_end_time
|
|
330
|
+
# @option opts [Time] :max_upload_end_time
|
|
331
|
+
# @option opts [String] :fingerprint_status Search for a fingerprint status.
|
|
332
|
+
# @option opts [String] :inference_status Search for a inference status.
|
|
333
|
+
# @option opts [Integer] :page Zero-based page index (0..N)
|
|
334
|
+
# @option opts [Integer] :size The size of the page to be returned
|
|
335
|
+
# @option opts [Array<String>] :sort Sorting criteria in the format: property,(asc|desc). Default sort order is ascending. Multiple sort criteria are supported.
|
|
336
|
+
# @return [FileListDTO]
|
|
337
|
+
describe 'user_files test' do
|
|
338
|
+
it 'should work' do
|
|
339
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
340
|
+
end
|
|
341
|
+
end
|
|
342
|
+
|
|
343
|
+
# unit tests for user_files_download
|
|
344
|
+
# Download links for your files
|
|
345
|
+
# @param [Hash] opts the optional parameters
|
|
346
|
+
# @option opts [String] :isrc
|
|
347
|
+
# @option opts [String] :contributor
|
|
348
|
+
# @option opts [String] :main_artist
|
|
349
|
+
# @option opts [String] :composer
|
|
350
|
+
# @option opts [String] :title
|
|
351
|
+
# @option opts [String] :language
|
|
352
|
+
# @option opts [Array<String>] :genre_names
|
|
353
|
+
# @option opts [Array<String>] :tag_names
|
|
354
|
+
# @option opts [Time] :release_date
|
|
355
|
+
# @option opts [String] :primary_mood_cluster
|
|
356
|
+
# @option opts [String] :secondary_mood_cluster
|
|
357
|
+
# @option opts [String] :tertiary_mood_cluster
|
|
358
|
+
# @option opts [String] :valence
|
|
359
|
+
# @option opts [String] :arousal
|
|
360
|
+
# @option opts [String] :pleasantness
|
|
361
|
+
# @option opts [String] :engagement
|
|
362
|
+
# @option opts [String] :vocals
|
|
363
|
+
# @option opts [String] :dominant_instrument
|
|
364
|
+
# @option opts [String] :secondary_instrument
|
|
365
|
+
# @option opts [String] :tertiary_instrument
|
|
366
|
+
# @option opts [String] :energy
|
|
367
|
+
# @option opts [String] :sound_generation
|
|
368
|
+
# @option opts [String] :tempo
|
|
369
|
+
# @option opts [String] :scale
|
|
370
|
+
# @option opts [String] :rhythm
|
|
371
|
+
# @option opts [String] :primary_sound_character
|
|
372
|
+
# @option opts [String] :timbre
|
|
373
|
+
# @option opts [String] :roughness
|
|
374
|
+
# @option opts [String] :tonality
|
|
375
|
+
# @option opts [String] :harmony
|
|
376
|
+
# @option opts [String] :texture
|
|
377
|
+
# @option opts [String] :groovyness
|
|
378
|
+
# @option opts [String] :space
|
|
379
|
+
# @option opts [String] :production_rating
|
|
380
|
+
# @option opts [String] :performance_rating
|
|
381
|
+
# @option opts [String] :song_rating
|
|
382
|
+
# @option opts [String] :audience_age
|
|
383
|
+
# @option opts [String] :audience_region
|
|
384
|
+
# @option opts [String] :audience_gender
|
|
385
|
+
# @option opts [String] :songtradr_track_id
|
|
386
|
+
# @option opts [String] :usage_name
|
|
387
|
+
# @option opts [Integer] :bpm_min
|
|
388
|
+
# @option opts [Integer] :bpm_max
|
|
389
|
+
# @option opts [String] :name
|
|
390
|
+
# @option opts [String] :folder
|
|
391
|
+
# @option opts [String] :extension
|
|
392
|
+
# @option opts [Time] :upload_end_time
|
|
393
|
+
# @option opts [Time] :min_upload_end_time
|
|
394
|
+
# @option opts [Time] :max_upload_end_time
|
|
395
|
+
# @option opts [String] :fingerprint_status
|
|
396
|
+
# @option opts [String] :inference_status
|
|
397
|
+
# @option opts [Integer] :page Zero-based page index (0..N)
|
|
398
|
+
# @option opts [Integer] :size The size of the page to be returned
|
|
399
|
+
# @option opts [Array<String>] :sort Sorting criteria in the format: property,(asc|desc). Default sort order is ascending. Multiple sort criteria are supported.
|
|
400
|
+
# @return [Array<FileMinimalWithUrlDTO>]
|
|
401
|
+
describe 'user_files_download test' do
|
|
402
|
+
it 'should work' do
|
|
403
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
404
|
+
end
|
|
405
|
+
end
|
|
406
|
+
|
|
407
|
+
# unit tests for user_files_status
|
|
408
|
+
# Status details for files.
|
|
409
|
+
# @param object_keys Comma-separated list of objectKeys of the files.
|
|
410
|
+
# @param [Hash] opts the optional parameters
|
|
411
|
+
# @return [Array<FileSmallDTO>]
|
|
412
|
+
describe 'user_files_status test' do
|
|
413
|
+
it 'should work' do
|
|
414
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
415
|
+
end
|
|
416
|
+
end
|
|
417
|
+
|
|
418
|
+
# unit tests for user_files_summary
|
|
419
|
+
# Summary fo your files.
|
|
420
|
+
# @param [Hash] opts the optional parameters
|
|
421
|
+
# @option opts [String] :isrc Search for a ISRC
|
|
422
|
+
# @option opts [String] :contributor Search for a name that was involved as any contributor.
|
|
423
|
+
# @option opts [String] :main_artist Search for a main artist.
|
|
424
|
+
# @option opts [String] :composer Search for a composer.
|
|
425
|
+
# @option opts [String] :title Search for a title.
|
|
426
|
+
# @option opts [String] :language Search for a language of the lyrics.
|
|
427
|
+
# @option opts [Array<String>] :genre_names
|
|
428
|
+
# @option opts [Array<String>] :tag_names
|
|
429
|
+
# @option opts [Time] :release_date
|
|
430
|
+
# @option opts [String] :primary_mood_cluster
|
|
431
|
+
# @option opts [String] :secondary_mood_cluster
|
|
432
|
+
# @option opts [String] :tertiary_mood_cluster
|
|
433
|
+
# @option opts [String] :valence
|
|
434
|
+
# @option opts [String] :arousal
|
|
435
|
+
# @option opts [String] :pleasantness
|
|
436
|
+
# @option opts [String] :engagement
|
|
437
|
+
# @option opts [String] :vocals
|
|
438
|
+
# @option opts [String] :dominant_instrument
|
|
439
|
+
# @option opts [String] :secondary_instrument
|
|
440
|
+
# @option opts [String] :tertiary_instrument
|
|
441
|
+
# @option opts [String] :energy
|
|
442
|
+
# @option opts [String] :sound_generation
|
|
443
|
+
# @option opts [String] :tempo
|
|
444
|
+
# @option opts [String] :scale
|
|
445
|
+
# @option opts [String] :rhythm
|
|
446
|
+
# @option opts [String] :primary_sound_character
|
|
447
|
+
# @option opts [String] :timbre
|
|
448
|
+
# @option opts [String] :roughness
|
|
449
|
+
# @option opts [String] :tonality
|
|
450
|
+
# @option opts [String] :harmony
|
|
451
|
+
# @option opts [String] :texture
|
|
452
|
+
# @option opts [String] :groovyness
|
|
453
|
+
# @option opts [String] :space
|
|
454
|
+
# @option opts [String] :production_rating
|
|
455
|
+
# @option opts [String] :performance_rating
|
|
456
|
+
# @option opts [String] :song_rating
|
|
457
|
+
# @option opts [String] :audience_age
|
|
458
|
+
# @option opts [String] :audience_region
|
|
459
|
+
# @option opts [String] :audience_gender
|
|
460
|
+
# @option opts [String] :origin_decade
|
|
461
|
+
# @option opts [String] :curateability
|
|
462
|
+
# @option opts [String] :use_case
|
|
463
|
+
# @option opts [String] :channel_suitability
|
|
464
|
+
# @option opts [String] :similar_to_recording
|
|
465
|
+
# @option opts [String] :songtradr_track_id
|
|
466
|
+
# @option opts [String] :usage_name
|
|
467
|
+
# @option opts [Integer] :bpm_min Search for a minimal bpm.
|
|
468
|
+
# @option opts [Integer] :bpm_max Search for a maximal bpm.
|
|
469
|
+
# @option opts [String] :name Search for a file name.
|
|
470
|
+
# @option opts [String] :folder Search for a folder.
|
|
471
|
+
# @option opts [String] :extension Search for a file extension.
|
|
472
|
+
# @option opts [Time] :upload_end_time
|
|
473
|
+
# @option opts [Time] :min_upload_end_time
|
|
474
|
+
# @option opts [Time] :max_upload_end_time
|
|
475
|
+
# @option opts [String] :fingerprint_status Search for a fingerprint status.
|
|
476
|
+
# @option opts [String] :inference_status Search for a inference status.
|
|
477
|
+
# @return [FilesSummaryDTO]
|
|
478
|
+
describe 'user_files_summary test' do
|
|
479
|
+
it 'should work' do
|
|
480
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
481
|
+
end
|
|
482
|
+
end
|
|
483
|
+
|
|
484
|
+
# unit tests for user_folders
|
|
485
|
+
# Your Folders
|
|
486
|
+
# @param [Hash] opts the optional parameters
|
|
487
|
+
# @option opts [Integer] :page Zero-based page index (0..N)
|
|
488
|
+
# @option opts [Integer] :size The size of the page to be returned
|
|
489
|
+
# @option opts [Array<String>] :sort Sorting criteria in the format: property,(asc|desc). Default sort order is ascending. Multiple sort criteria are supported.
|
|
490
|
+
# @return [Array<String>]
|
|
491
|
+
describe 'user_folders test' do
|
|
492
|
+
it 'should work' do
|
|
493
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
494
|
+
end
|
|
495
|
+
end
|
|
496
|
+
|
|
497
|
+
# unit tests for user_referrers
|
|
498
|
+
# @param username
|
|
499
|
+
# @param [Hash] opts the optional parameters
|
|
500
|
+
# @return [Array<String>]
|
|
501
|
+
describe 'user_referrers test' do
|
|
502
|
+
it 'should work' do
|
|
503
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
504
|
+
end
|
|
505
|
+
end
|
|
506
|
+
|
|
507
|
+
end
|