songtradr_api_client_ruby 1.13.6 → 1.15.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/Gemfile.lock +1 -1
- data/README.md +5 -37
- data/docs/FileSmallDTO.md +5 -5
- data/docs/MusicalFeaturesDTO.md +47 -47
- data/docs/PlaylistApi.md +1 -215
- data/docs/RecordingApi.md +10 -208
- data/docs/RecordingMediumDTO.md +2 -2
- data/docs/RecordingSmallDTO.md +3 -1
- data/docs/TagDTO.md +3 -3
- data/docs/UserApi.md +0 -456
- data/lib/songtradr_api_client_ruby/api/allowed_values_api.rb +1 -1
- data/lib/songtradr_api_client_ruby/api/playlist_api.rb +2 -202
- data/lib/songtradr_api_client_ruby/api/recording_api.rb +7 -189
- data/lib/songtradr_api_client_ruby/api/user_api.rb +134 -746
- data/lib/songtradr_api_client_ruby/api_client.rb +37 -35
- 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 +2 -2
- data/lib/songtradr_api_client_ruby/models/beard.rb +2 -2
- data/lib/songtradr_api_client_ruby/models/bounding_box.rb +2 -2
- data/lib/songtradr_api_client_ruby/models/category_medium_dto.rb +2 -2
- data/lib/songtradr_api_client_ruby/models/category_minimal_dto.rb +2 -2
- data/lib/songtradr_api_client_ruby/models/config_access_dto.rb +2 -2
- data/lib/songtradr_api_client_ruby/models/config_identifier_dto.rb +2 -2
- data/lib/songtradr_api_client_ruby/models/contributor_type_dto.rb +2 -2
- data/lib/songtradr_api_client_ruby/models/curate_playlist_dto.rb +2 -2
- data/lib/songtradr_api_client_ruby/models/curate_playlist_response_dto.rb +2 -2
- data/lib/songtradr_api_client_ruby/models/dominant_color.rb +2 -2
- data/lib/songtradr_api_client_ruby/models/emotion.rb +2 -2
- data/lib/songtradr_api_client_ruby/models/error_response.rb +2 -2
- data/lib/songtradr_api_client_ruby/models/eye_direction.rb +2 -2
- data/lib/songtradr_api_client_ruby/models/eye_open.rb +2 -2
- data/lib/songtradr_api_client_ruby/models/eyeglasses.rb +2 -2
- data/lib/songtradr_api_client_ruby/models/face_detail.rb +2 -2
- data/lib/songtradr_api_client_ruby/models/face_detection.rb +2 -2
- data/lib/songtradr_api_client_ruby/models/face_occluded.rb +2 -2
- data/lib/songtradr_api_client_ruby/models/field_summary_dto.rb +2 -2
- data/lib/songtradr_api_client_ruby/models/file_dto.rb +2 -2
- data/lib/songtradr_api_client_ruby/models/file_list_dto.rb +2 -2
- data/lib/songtradr_api_client_ruby/models/file_small_dto.rb +37 -37
- data/lib/songtradr_api_client_ruby/models/file_upload_dto.rb +2 -2
- data/lib/songtradr_api_client_ruby/models/file_w_ith_url_dto.rb +2 -2
- data/lib/songtradr_api_client_ruby/models/files_summary_dto.rb +2 -2
- data/lib/songtradr_api_client_ruby/models/forgot_password_dto.rb +2 -2
- data/lib/songtradr_api_client_ruby/models/gender.rb +2 -2
- data/lib/songtradr_api_client_ruby/models/genre_dto.rb +2 -2
- data/lib/songtradr_api_client_ruby/models/genre_minimal_dto.rb +2 -2
- data/lib/songtradr_api_client_ruby/models/genres_summary_dto.rb +2 -2
- data/lib/songtradr_api_client_ruby/models/image_quality.rb +2 -2
- data/lib/songtradr_api_client_ruby/models/image_recognition_response.rb +2 -2
- data/lib/songtradr_api_client_ruby/models/init_put_recording_audio_dto.rb +2 -2
- data/lib/songtradr_api_client_ruby/models/instance.rb +2 -2
- data/lib/songtradr_api_client_ruby/models/jwt_token_dto.rb +2 -2
- data/lib/songtradr_api_client_ruby/models/label.rb +2 -2
- data/lib/songtradr_api_client_ruby/models/label_alias.rb +2 -2
- data/lib/songtradr_api_client_ruby/models/label_category.rb +2 -2
- data/lib/songtradr_api_client_ruby/models/label_detection.rb +2 -2
- data/lib/songtradr_api_client_ruby/models/landmark.rb +2 -2
- data/lib/songtradr_api_client_ruby/models/login_dto.rb +2 -2
- data/lib/songtradr_api_client_ruby/models/mouth_open.rb +2 -2
- data/lib/songtradr_api_client_ruby/models/musical_features_dto.rb +368 -368
- data/lib/songtradr_api_client_ruby/models/mustache.rb +2 -2
- data/lib/songtradr_api_client_ruby/models/parent.rb +2 -2
- data/lib/songtradr_api_client_ruby/models/party_small_dto.rb +2 -2
- data/lib/songtradr_api_client_ruby/models/pose.rb +2 -2
- data/lib/songtradr_api_client_ruby/models/recording_for_similarity_search_dto.rb +2 -2
- data/lib/songtradr_api_client_ruby/models/recording_genre_prediction_dto.rb +2 -2
- data/lib/songtradr_api_client_ruby/models/recording_list_dto.rb +2 -2
- data/lib/songtradr_api_client_ruby/models/recording_medium_dto.rb +12 -12
- data/lib/songtradr_api_client_ruby/models/recording_minimal_with_musical_features_dto.rb +2 -2
- data/lib/songtradr_api_client_ruby/models/recording_minimal_with_taggrams_dto.rb +2 -2
- data/lib/songtradr_api_client_ruby/models/recording_minimal_with_tagstrengths_dto.rb +2 -2
- data/lib/songtradr_api_client_ruby/models/recording_party_dto.rb +2 -2
- data/lib/songtradr_api_client_ruby/models/recording_small_dto.rb +17 -6
- data/lib/songtradr_api_client_ruby/models/recording_tag_small_dto.rb +2 -2
- data/lib/songtradr_api_client_ruby/models/save_user_dto.rb +2 -2
- data/lib/songtradr_api_client_ruby/models/search_filter_values_dto.rb +2 -2
- data/lib/songtradr_api_client_ruby/models/search_recording_granular_dto.rb +2 -2
- data/lib/songtradr_api_client_ruby/models/sign_up_dto.rb +2 -2
- data/lib/songtradr_api_client_ruby/models/smile.rb +2 -2
- data/lib/songtradr_api_client_ruby/models/sunglasses.rb +2 -2
- data/lib/songtradr_api_client_ruby/models/tag_dto.rb +17 -17
- data/lib/songtradr_api_client_ruby/models/tag_small_dto.rb +2 -2
- data/lib/songtradr_api_client_ruby/models/taggram_dto.rb +2 -2
- data/lib/songtradr_api_client_ruby/models/tags_summary_dto.rb +2 -2
- data/lib/songtradr_api_client_ruby/models/tagstrength_dto.rb +2 -2
- data/lib/songtradr_api_client_ruby/models/title_dto.rb +2 -2
- data/lib/songtradr_api_client_ruby/models/token_request.rb +2 -2
- data/lib/songtradr_api_client_ruby/models/track_dto.rb +2 -2
- data/lib/songtradr_api_client_ruby/models/update_password_dto.rb +2 -2
- data/lib/songtradr_api_client_ruby/models/user_dto.rb +2 -2
- data/lib/songtradr_api_client_ruby/models/video_recognition_response.rb +2 -2
- data/lib/songtradr_api_client_ruby/version.rb +2 -2
- data/lib/songtradr_api_client_ruby.rb +1 -22
- data/openapi-generator-config.yaml +1 -1
- data/songtradr_api_client_ruby.gemspec +2 -1
- data/spec/api/allowed_values_api_spec.rb +1 -1
- data/spec/api/playlist_api_spec.rb +1 -38
- data/spec/api/recording_api_spec.rb +3 -34
- data/spec/api/user_api_spec.rb +1 -110
- 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/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_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 +141 -141
- data/spec/models/mustache_spec.rb +1 -1
- data/spec/models/parent_spec.rb +1 -1
- data/spec/models/party_small_dto_spec.rb +1 -1
- data/spec/models/pose_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 +1 -1
- data/spec/models/recording_list_dto_spec.rb +1 -1
- data/spec/models/recording_medium_dto_spec.rb +3 -3
- data/spec/models/recording_minimal_with_musical_features_dto_spec.rb +1 -1
- 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_small_dto_spec.rb +7 -1
- data/spec/models/recording_tag_small_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_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 +3 -3
- 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/update_password_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 +67 -151
- data/docs/ContextValue.md +0 -18
- data/docs/FileMinimalWithUrlDTO.md +0 -22
- data/docs/PLineDTO.md +0 -20
- data/docs/PartyApi.md +0 -75
- data/docs/PartyLargeDTO.md +0 -32
- data/docs/PlaylistLargeDTO.md +0 -38
- data/docs/ProductMediumDTO.md +0 -34
- data/docs/ProductPartyDTO.md +0 -20
- data/docs/RecordingLargeDTO.md +0 -40
- data/docs/RecordingPlaylistDTO.md +0 -24
- data/docs/SaveFileRecordingDTO.md +0 -240
- data/docs/SavePlaylistDTO.md +0 -34
- data/docs/SaveRecordingGenreDTO.md +0 -22
- data/docs/SaveRecordingPartyDTO.md +0 -20
- data/docs/SaveRecordingPlaylistDTO.md +0 -22
- data/docs/SaveRecordingTagDTO.md +0 -20
- data/docs/SaveReferrerDTO.md +0 -20
- data/docs/SaveTaggramsDTO.md +0 -82
- data/docs/SearchRecordingGranularAbstractionDTO.md +0 -20
- data/docs/TrackToMediumProductDTO.md +0 -22
- data/docs/UsageDTO.md +0 -18
- data/lib/songtradr_api_client_ruby/api/party_api.rb +0 -84
- data/lib/songtradr_api_client_ruby/models/context_value.rb +0 -216
- data/lib/songtradr_api_client_ruby/models/file_minimal_with_url_dto.rb +0 -254
- data/lib/songtradr_api_client_ruby/models/p_line_dto.rb +0 -231
- data/lib/songtradr_api_client_ruby/models/party_large_dto.rb +0 -285
- data/lib/songtradr_api_client_ruby/models/playlist_large_dto.rb +0 -350
- data/lib/songtradr_api_client_ruby/models/product_medium_dto.rb +0 -323
- data/lib/songtradr_api_client_ruby/models/product_party_dto.rb +0 -233
- data/lib/songtradr_api_client_ruby/models/recording_large_dto.rb +0 -383
- data/lib/songtradr_api_client_ruby/models/recording_playlist_dto.rb +0 -242
- data/lib/songtradr_api_client_ruby/models/save_file_recording_dto.rb +0 -1864
- data/lib/songtradr_api_client_ruby/models/save_playlist_dto.rb +0 -353
- data/lib/songtradr_api_client_ruby/models/save_recording_genre_dto.rb +0 -240
- data/lib/songtradr_api_client_ruby/models/save_recording_party_dto.rb +0 -272
- data/lib/songtradr_api_client_ruby/models/save_recording_playlist_dto.rb +0 -247
- data/lib/songtradr_api_client_ruby/models/save_recording_tag_dto.rb +0 -231
- data/lib/songtradr_api_client_ruby/models/save_referrer_dto.rb +0 -224
- data/lib/songtradr_api_client_ruby/models/save_taggrams_dto.rb +0 -569
- data/lib/songtradr_api_client_ruby/models/search_recording_granular_abstraction_dto.rb +0 -267
- data/lib/songtradr_api_client_ruby/models/track_to_medium_product_dto.rb +0 -247
- data/lib/songtradr_api_client_ruby/models/usage_dto.rb +0 -215
- data/spec/api/party_api_spec.rb +0 -46
- data/spec/models/context_value_spec.rb +0 -36
- data/spec/models/file_minimal_with_url_dto_spec.rb +0 -48
- data/spec/models/p_line_dto_spec.rb +0 -42
- data/spec/models/party_large_dto_spec.rb +0 -78
- data/spec/models/playlist_large_dto_spec.rb +0 -100
- data/spec/models/product_medium_dto_spec.rb +0 -84
- data/spec/models/product_party_dto_spec.rb +0 -42
- data/spec/models/recording_large_dto_spec.rb +0 -102
- data/spec/models/recording_playlist_dto_spec.rb +0 -54
- data/spec/models/save_file_recording_dto_spec.rb +0 -894
- data/spec/models/save_playlist_dto_spec.rb +0 -88
- data/spec/models/save_recording_genre_dto_spec.rb +0 -48
- data/spec/models/save_recording_party_dto_spec.rb +0 -46
- data/spec/models/save_recording_playlist_dto_spec.rb +0 -48
- data/spec/models/save_recording_tag_dto_spec.rb +0 -42
- data/spec/models/save_referrer_dto_spec.rb +0 -42
- data/spec/models/save_taggrams_dto_spec.rb +0 -228
- data/spec/models/search_recording_granular_abstraction_dto_spec.rb +0 -46
- data/spec/models/track_to_medium_product_dto_spec.rb +0 -48
- data/spec/models/usage_dto_spec.rb +0 -36
data/docs/RecordingApi.md
CHANGED
|
@@ -8,12 +8,9 @@ All URIs are relative to *https://api.songtradr.com*
|
|
|
8
8
|
| [**recordings_by_ids_with_similarities**](RecordingApi.md#recordings_by_ids_with_similarities) | **GET** /api/v1/public/recording/{ids}/similarities | Similar recordings for a list of recordings. |
|
|
9
9
|
| [**recordings_by_ids_with_taggrams**](RecordingApi.md#recordings_by_ids_with_taggrams) | **GET** /api/v1/public/recording/{ids}/taggrams | Timeseries of AI generated moods, musical features and more for a list of recordings. |
|
|
10
10
|
| [**recordings_by_ids_with_tagstrengths**](RecordingApi.md#recordings_by_ids_with_tagstrengths) | **GET** /api/v1/public/recording/{ids}/tagstrengths | Strengths as numerical representations for AI generated moods, musical features and more for recordings. |
|
|
11
|
-
| [**recordings_large_by_ids**](RecordingApi.md#recordings_large_by_ids) | **GET** /api/v1/public/recording/l/{ids} | Recordings by IDs with a large response. |
|
|
12
11
|
| [**recordings_medium_by_ids**](RecordingApi.md#recordings_medium_by_ids) | **GET** /api/v1/public/recording/m/{ids} | Recordings by IDs with a medium sized response. |
|
|
13
|
-
| [**recordings_small_by_ids**](RecordingApi.md#recordings_small_by_ids) | **GET** /api/v1/public/recording/s/{ids} | Recordings by IDs with a small response. |
|
|
14
12
|
| [**search_recordings**](RecordingApi.md#search_recordings) | **GET** /api/v1/public/recording/search | Recordings by contributors, moods, musical features and more. |
|
|
15
13
|
| [**search_recordings_granular**](RecordingApi.md#search_recordings_granular) | **POST** /api/v1/public/recording/searchGranular | Recordings by granular search options. |
|
|
16
|
-
| [**search_recordings_granular_abstraction**](RecordingApi.md#search_recordings_granular_abstraction) | **POST** /api/v1/public/recording/searchGranularAbstraction | Recordings by abstracted wordings and granular search options. |
|
|
17
14
|
|
|
18
15
|
|
|
19
16
|
## recordings_by_ids_with_musical_features
|
|
@@ -85,7 +82,7 @@ end
|
|
|
85
82
|
|
|
86
83
|
## recordings_by_ids_with_similarities
|
|
87
84
|
|
|
88
|
-
> <Array<RecordingForSimilaritySearchDTO>> recordings_by_ids_with_similarities(ids)
|
|
85
|
+
> <Array<RecordingForSimilaritySearchDTO>> recordings_by_ids_with_similarities(ids, opts)
|
|
89
86
|
|
|
90
87
|
Similar recordings for a list of recordings.
|
|
91
88
|
|
|
@@ -102,10 +99,14 @@ end
|
|
|
102
99
|
|
|
103
100
|
api_instance = SongtradrApiClientRuby::RecordingApi.new
|
|
104
101
|
ids = 'USUM71703692' # String | Comma seperated list of IDs. Can be ISRCs or proprietary IDs
|
|
102
|
+
opts = {
|
|
103
|
+
identical_only: true, # Boolean | Whether a result list shall include only identical recordings.
|
|
104
|
+
usage: 'usage_example' # String | Filter by recording usage.
|
|
105
|
+
}
|
|
105
106
|
|
|
106
107
|
begin
|
|
107
108
|
# Similar recordings for a list of recordings.
|
|
108
|
-
result = api_instance.recordings_by_ids_with_similarities(ids)
|
|
109
|
+
result = api_instance.recordings_by_ids_with_similarities(ids, opts)
|
|
109
110
|
p result
|
|
110
111
|
rescue SongtradrApiClientRuby::ApiError => e
|
|
111
112
|
puts "Error when calling RecordingApi->recordings_by_ids_with_similarities: #{e}"
|
|
@@ -116,12 +117,12 @@ end
|
|
|
116
117
|
|
|
117
118
|
This returns an Array which contains the response data, status code and headers.
|
|
118
119
|
|
|
119
|
-
> <Array(<Array<RecordingForSimilaritySearchDTO>>, Integer, Hash)> recordings_by_ids_with_similarities_with_http_info(ids)
|
|
120
|
+
> <Array(<Array<RecordingForSimilaritySearchDTO>>, Integer, Hash)> recordings_by_ids_with_similarities_with_http_info(ids, opts)
|
|
120
121
|
|
|
121
122
|
```ruby
|
|
122
123
|
begin
|
|
123
124
|
# Similar recordings for a list of recordings.
|
|
124
|
-
data, status_code, headers = api_instance.recordings_by_ids_with_similarities_with_http_info(ids)
|
|
125
|
+
data, status_code, headers = api_instance.recordings_by_ids_with_similarities_with_http_info(ids, opts)
|
|
125
126
|
p status_code # => 2xx
|
|
126
127
|
p headers # => { ... }
|
|
127
128
|
p data # => <Array<RecordingForSimilaritySearchDTO>>
|
|
@@ -135,6 +136,8 @@ end
|
|
|
135
136
|
| Name | Type | Description | Notes |
|
|
136
137
|
| ---- | ---- | ----------- | ----- |
|
|
137
138
|
| **ids** | **String** | Comma seperated list of IDs. Can be ISRCs or proprietary IDs | |
|
|
139
|
+
| **identical_only** | **Boolean** | Whether a result list shall include only identical recordings. | [optional][default to false] |
|
|
140
|
+
| **usage** | **String** | Filter by recording usage. | [optional] |
|
|
138
141
|
|
|
139
142
|
### Return type
|
|
140
143
|
|
|
@@ -304,73 +307,6 @@ end
|
|
|
304
307
|
- **Accept**: application/json
|
|
305
308
|
|
|
306
309
|
|
|
307
|
-
## recordings_large_by_ids
|
|
308
|
-
|
|
309
|
-
> <Array<RecordingLargeDTO>> recordings_large_by_ids(ids)
|
|
310
|
-
|
|
311
|
-
Recordings by IDs with a large response.
|
|
312
|
-
|
|
313
|
-
### Examples
|
|
314
|
-
|
|
315
|
-
```ruby
|
|
316
|
-
require 'time'
|
|
317
|
-
require 'songtradr_api_client_ruby'
|
|
318
|
-
# setup authorization
|
|
319
|
-
SongtradrApiClientRuby.configure do |config|
|
|
320
|
-
# Configure Bearer authorization (JWT): bearer-jwt
|
|
321
|
-
config.access_token = 'YOUR_BEARER_TOKEN'
|
|
322
|
-
end
|
|
323
|
-
|
|
324
|
-
api_instance = SongtradrApiClientRuby::RecordingApi.new
|
|
325
|
-
ids = 'GBAYE1101181' # String | Comma seperated list of IDs. Can be ISRCs or proprietary IDs
|
|
326
|
-
|
|
327
|
-
begin
|
|
328
|
-
# Recordings by IDs with a large response.
|
|
329
|
-
result = api_instance.recordings_large_by_ids(ids)
|
|
330
|
-
p result
|
|
331
|
-
rescue SongtradrApiClientRuby::ApiError => e
|
|
332
|
-
puts "Error when calling RecordingApi->recordings_large_by_ids: #{e}"
|
|
333
|
-
end
|
|
334
|
-
```
|
|
335
|
-
|
|
336
|
-
#### Using the recordings_large_by_ids_with_http_info variant
|
|
337
|
-
|
|
338
|
-
This returns an Array which contains the response data, status code and headers.
|
|
339
|
-
|
|
340
|
-
> <Array(<Array<RecordingLargeDTO>>, Integer, Hash)> recordings_large_by_ids_with_http_info(ids)
|
|
341
|
-
|
|
342
|
-
```ruby
|
|
343
|
-
begin
|
|
344
|
-
# Recordings by IDs with a large response.
|
|
345
|
-
data, status_code, headers = api_instance.recordings_large_by_ids_with_http_info(ids)
|
|
346
|
-
p status_code # => 2xx
|
|
347
|
-
p headers # => { ... }
|
|
348
|
-
p data # => <Array<RecordingLargeDTO>>
|
|
349
|
-
rescue SongtradrApiClientRuby::ApiError => e
|
|
350
|
-
puts "Error when calling RecordingApi->recordings_large_by_ids_with_http_info: #{e}"
|
|
351
|
-
end
|
|
352
|
-
```
|
|
353
|
-
|
|
354
|
-
### Parameters
|
|
355
|
-
|
|
356
|
-
| Name | Type | Description | Notes |
|
|
357
|
-
| ---- | ---- | ----------- | ----- |
|
|
358
|
-
| **ids** | **String** | Comma seperated list of IDs. Can be ISRCs or proprietary IDs | |
|
|
359
|
-
|
|
360
|
-
### Return type
|
|
361
|
-
|
|
362
|
-
[**Array<RecordingLargeDTO>**](RecordingLargeDTO.md)
|
|
363
|
-
|
|
364
|
-
### Authorization
|
|
365
|
-
|
|
366
|
-
[bearer-jwt](../README.md#bearer-jwt)
|
|
367
|
-
|
|
368
|
-
### HTTP request headers
|
|
369
|
-
|
|
370
|
-
- **Content-Type**: Not defined
|
|
371
|
-
- **Accept**: application/json
|
|
372
|
-
|
|
373
|
-
|
|
374
310
|
## recordings_medium_by_ids
|
|
375
311
|
|
|
376
312
|
> <Array<RecordingMediumDTO>> recordings_medium_by_ids(ids, opts)
|
|
@@ -446,73 +382,6 @@ end
|
|
|
446
382
|
- **Accept**: application/json
|
|
447
383
|
|
|
448
384
|
|
|
449
|
-
## recordings_small_by_ids
|
|
450
|
-
|
|
451
|
-
> <Array<RecordingSmallDTO>> recordings_small_by_ids(ids)
|
|
452
|
-
|
|
453
|
-
Recordings by IDs with a small response.
|
|
454
|
-
|
|
455
|
-
### Examples
|
|
456
|
-
|
|
457
|
-
```ruby
|
|
458
|
-
require 'time'
|
|
459
|
-
require 'songtradr_api_client_ruby'
|
|
460
|
-
# setup authorization
|
|
461
|
-
SongtradrApiClientRuby.configure do |config|
|
|
462
|
-
# Configure Bearer authorization (JWT): bearer-jwt
|
|
463
|
-
config.access_token = 'YOUR_BEARER_TOKEN'
|
|
464
|
-
end
|
|
465
|
-
|
|
466
|
-
api_instance = SongtradrApiClientRuby::RecordingApi.new
|
|
467
|
-
ids = 'GBAYE0200774' # String | Comma seperated list of IDs. Can be ISRCs or proprietary IDs
|
|
468
|
-
|
|
469
|
-
begin
|
|
470
|
-
# Recordings by IDs with a small response.
|
|
471
|
-
result = api_instance.recordings_small_by_ids(ids)
|
|
472
|
-
p result
|
|
473
|
-
rescue SongtradrApiClientRuby::ApiError => e
|
|
474
|
-
puts "Error when calling RecordingApi->recordings_small_by_ids: #{e}"
|
|
475
|
-
end
|
|
476
|
-
```
|
|
477
|
-
|
|
478
|
-
#### Using the recordings_small_by_ids_with_http_info variant
|
|
479
|
-
|
|
480
|
-
This returns an Array which contains the response data, status code and headers.
|
|
481
|
-
|
|
482
|
-
> <Array(<Array<RecordingSmallDTO>>, Integer, Hash)> recordings_small_by_ids_with_http_info(ids)
|
|
483
|
-
|
|
484
|
-
```ruby
|
|
485
|
-
begin
|
|
486
|
-
# Recordings by IDs with a small response.
|
|
487
|
-
data, status_code, headers = api_instance.recordings_small_by_ids_with_http_info(ids)
|
|
488
|
-
p status_code # => 2xx
|
|
489
|
-
p headers # => { ... }
|
|
490
|
-
p data # => <Array<RecordingSmallDTO>>
|
|
491
|
-
rescue SongtradrApiClientRuby::ApiError => e
|
|
492
|
-
puts "Error when calling RecordingApi->recordings_small_by_ids_with_http_info: #{e}"
|
|
493
|
-
end
|
|
494
|
-
```
|
|
495
|
-
|
|
496
|
-
### Parameters
|
|
497
|
-
|
|
498
|
-
| Name | Type | Description | Notes |
|
|
499
|
-
| ---- | ---- | ----------- | ----- |
|
|
500
|
-
| **ids** | **String** | Comma seperated list of IDs. Can be ISRCs or proprietary IDs | |
|
|
501
|
-
|
|
502
|
-
### Return type
|
|
503
|
-
|
|
504
|
-
[**Array<RecordingSmallDTO>**](RecordingSmallDTO.md)
|
|
505
|
-
|
|
506
|
-
### Authorization
|
|
507
|
-
|
|
508
|
-
[bearer-jwt](../README.md#bearer-jwt)
|
|
509
|
-
|
|
510
|
-
### HTTP request headers
|
|
511
|
-
|
|
512
|
-
- **Content-Type**: Not defined
|
|
513
|
-
- **Accept**: application/json
|
|
514
|
-
|
|
515
|
-
|
|
516
385
|
## search_recordings
|
|
517
386
|
|
|
518
387
|
> <RecordingListDTO> search_recordings(opts)
|
|
@@ -726,70 +595,3 @@ end
|
|
|
726
595
|
- **Content-Type**: application/json
|
|
727
596
|
- **Accept**: application/json
|
|
728
597
|
|
|
729
|
-
|
|
730
|
-
## search_recordings_granular_abstraction
|
|
731
|
-
|
|
732
|
-
> <RecordingListDTO> search_recordings_granular_abstraction(search_recording_granular_abstraction_dto)
|
|
733
|
-
|
|
734
|
-
Recordings by abstracted wordings and granular search options.
|
|
735
|
-
|
|
736
|
-
### Examples
|
|
737
|
-
|
|
738
|
-
```ruby
|
|
739
|
-
require 'time'
|
|
740
|
-
require 'songtradr_api_client_ruby'
|
|
741
|
-
# setup authorization
|
|
742
|
-
SongtradrApiClientRuby.configure do |config|
|
|
743
|
-
# Configure Bearer authorization (JWT): bearer-jwt
|
|
744
|
-
config.access_token = 'YOUR_BEARER_TOKEN'
|
|
745
|
-
end
|
|
746
|
-
|
|
747
|
-
api_instance = SongtradrApiClientRuby::RecordingApi.new
|
|
748
|
-
search_recording_granular_abstraction_dto = [SongtradrApiClientRuby::SearchRecordingGranularAbstractionDTO.new({abstraction_name: 'brandarchetypeInnocent'})] # Array<SearchRecordingGranularAbstractionDTO> |
|
|
749
|
-
|
|
750
|
-
begin
|
|
751
|
-
# Recordings by abstracted wordings and granular search options.
|
|
752
|
-
result = api_instance.search_recordings_granular_abstraction(search_recording_granular_abstraction_dto)
|
|
753
|
-
p result
|
|
754
|
-
rescue SongtradrApiClientRuby::ApiError => e
|
|
755
|
-
puts "Error when calling RecordingApi->search_recordings_granular_abstraction: #{e}"
|
|
756
|
-
end
|
|
757
|
-
```
|
|
758
|
-
|
|
759
|
-
#### Using the search_recordings_granular_abstraction_with_http_info variant
|
|
760
|
-
|
|
761
|
-
This returns an Array which contains the response data, status code and headers.
|
|
762
|
-
|
|
763
|
-
> <Array(<RecordingListDTO>, Integer, Hash)> search_recordings_granular_abstraction_with_http_info(search_recording_granular_abstraction_dto)
|
|
764
|
-
|
|
765
|
-
```ruby
|
|
766
|
-
begin
|
|
767
|
-
# Recordings by abstracted wordings and granular search options.
|
|
768
|
-
data, status_code, headers = api_instance.search_recordings_granular_abstraction_with_http_info(search_recording_granular_abstraction_dto)
|
|
769
|
-
p status_code # => 2xx
|
|
770
|
-
p headers # => { ... }
|
|
771
|
-
p data # => <RecordingListDTO>
|
|
772
|
-
rescue SongtradrApiClientRuby::ApiError => e
|
|
773
|
-
puts "Error when calling RecordingApi->search_recordings_granular_abstraction_with_http_info: #{e}"
|
|
774
|
-
end
|
|
775
|
-
```
|
|
776
|
-
|
|
777
|
-
### Parameters
|
|
778
|
-
|
|
779
|
-
| Name | Type | Description | Notes |
|
|
780
|
-
| ---- | ---- | ----------- | ----- |
|
|
781
|
-
| **search_recording_granular_abstraction_dto** | [**Array<SearchRecordingGranularAbstractionDTO>**](SearchRecordingGranularAbstractionDTO.md) | | |
|
|
782
|
-
|
|
783
|
-
### Return type
|
|
784
|
-
|
|
785
|
-
[**RecordingListDTO**](RecordingListDTO.md)
|
|
786
|
-
|
|
787
|
-
### Authorization
|
|
788
|
-
|
|
789
|
-
[bearer-jwt](../README.md#bearer-jwt)
|
|
790
|
-
|
|
791
|
-
### HTTP request headers
|
|
792
|
-
|
|
793
|
-
- **Content-Type**: application/json
|
|
794
|
-
- **Accept**: application/json
|
|
795
|
-
|
data/docs/RecordingMediumDTO.md
CHANGED
|
@@ -12,8 +12,8 @@
|
|
|
12
12
|
| **titles** | [**Array<TitleDTO>**](TitleDTO.md) | | [optional] |
|
|
13
13
|
| **tracks** | [**Array<TrackDTO>**](TrackDTO.md) | | [optional] |
|
|
14
14
|
| **musical_features** | [**MusicalFeaturesDTO**](MusicalFeaturesDTO.md) | | [optional] |
|
|
15
|
-
| **tags** | [**Array<RecordingTagSmallDTO>**](RecordingTagSmallDTO.md) | | [optional] |
|
|
16
15
|
| **spotify_id** | **String** | | [optional] |
|
|
16
|
+
| **tags** | [**Array<RecordingTagSmallDTO>**](RecordingTagSmallDTO.md) | | [optional] |
|
|
17
17
|
| **genre_predictions** | [**Array<RecordingGenrePredictionDTO>**](RecordingGenrePredictionDTO.md) | | [optional] |
|
|
18
18
|
|
|
19
19
|
## Example
|
|
@@ -30,8 +30,8 @@ instance = SongtradrApiClientRuby::RecordingMediumDTO.new(
|
|
|
30
30
|
titles: null,
|
|
31
31
|
tracks: null,
|
|
32
32
|
musical_features: null,
|
|
33
|
-
tags: null,
|
|
34
33
|
spotify_id: null,
|
|
34
|
+
tags: null,
|
|
35
35
|
genre_predictions: null
|
|
36
36
|
)
|
|
37
37
|
```
|
data/docs/RecordingSmallDTO.md
CHANGED
|
@@ -8,6 +8,7 @@
|
|
|
8
8
|
| **isrc** | **String** | | |
|
|
9
9
|
| **parties** | [**Array<RecordingPartyDTO>**](RecordingPartyDTO.md) | | [optional] |
|
|
10
10
|
| **titles** | [**Array<TitleDTO>**](TitleDTO.md) | | [optional] |
|
|
11
|
+
| **tracks** | [**Array<TrackDTO>**](TrackDTO.md) | | [optional] |
|
|
11
12
|
|
|
12
13
|
## Example
|
|
13
14
|
|
|
@@ -18,7 +19,8 @@ instance = SongtradrApiClientRuby::RecordingSmallDTO.new(
|
|
|
18
19
|
duration: null,
|
|
19
20
|
isrc: null,
|
|
20
21
|
parties: null,
|
|
21
|
-
titles: null
|
|
22
|
+
titles: null,
|
|
23
|
+
tracks: null
|
|
22
24
|
)
|
|
23
25
|
```
|
|
24
26
|
|
data/docs/TagDTO.md
CHANGED
|
@@ -5,8 +5,8 @@
|
|
|
5
5
|
| Name | Type | Description | Notes |
|
|
6
6
|
| ---- | ---- | ----------- | ----- |
|
|
7
7
|
| **id** | **Integer** | | |
|
|
8
|
-
| **categories** | [**Array<CategoryMinimalDTO>**](CategoryMinimalDTO.md) | | [optional] |
|
|
9
8
|
| **name** | **String** | | |
|
|
9
|
+
| **categories** | [**Array<CategoryMinimalDTO>**](CategoryMinimalDTO.md) | | [optional] |
|
|
10
10
|
|
|
11
11
|
## Example
|
|
12
12
|
|
|
@@ -15,8 +15,8 @@ require 'songtradr_api_client_ruby'
|
|
|
15
15
|
|
|
16
16
|
instance = SongtradrApiClientRuby::TagDTO.new(
|
|
17
17
|
id: null,
|
|
18
|
-
|
|
19
|
-
|
|
18
|
+
name: null,
|
|
19
|
+
categories: null
|
|
20
20
|
)
|
|
21
21
|
```
|
|
22
22
|
|