songtradr_api_client_ruby 1.13.4 → 1.13.5
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +3 -3
- data/README.md +48 -5
- data/docs/AdminApiCreateUserDTO.md +76 -0
- data/docs/AdminApiUpdateUserDTO.md +76 -0
- data/docs/AdminUsersControllerApi.md +355 -0
- data/docs/AgeRange.md +20 -0
- data/docs/ApiKeyDTO.md +3 -3
- data/docs/Beard.md +20 -0
- data/docs/BoundingBox.md +24 -0
- data/docs/ContextValue.md +18 -0
- data/docs/CuratePlaylistDTO.md +26 -0
- data/docs/CuratePlaylistResponseDTO.md +18 -0
- data/docs/DominantColor.md +30 -0
- data/docs/Emotion.md +20 -0
- data/docs/EyeDirection.md +22 -0
- data/docs/EyeOpen.md +20 -0
- data/docs/Eyeglasses.md +20 -0
- data/docs/FaceDetail.md +50 -0
- data/docs/FaceDetection.md +20 -0
- data/docs/FaceOccluded.md +20 -0
- data/docs/FileSmallDTO.md +7 -7
- data/docs/Gender.md +20 -0
- data/docs/ImageQuality.md +20 -0
- data/docs/ImageRecognitionResponse.md +20 -0
- data/docs/Instance.md +22 -0
- data/docs/InternalApiApi.md +149 -0
- data/docs/Label.md +28 -0
- data/docs/LabelAlias.md +18 -0
- data/docs/LabelCategory.md +18 -0
- data/docs/LabelDetection.md +26 -0
- data/docs/Landmark.md +22 -0
- data/docs/MouthOpen.md +20 -0
- data/docs/MusicalFeaturesDTO.md +26 -26
- data/docs/Mustache.md +20 -0
- data/docs/Parent.md +18 -0
- data/docs/PlaylistApi.md +70 -0
- data/docs/PlaylistLargeDTO.md +3 -3
- data/docs/Pose.md +22 -0
- data/docs/ProductMediumDTO.md +2 -2
- data/docs/ProductPartyDTO.md +3 -3
- data/docs/RecordingLargeDTO.md +11 -11
- data/docs/RecordingMediumDTO.md +9 -9
- data/docs/RecordingMinimalWithMusicalFeaturesDTO.md +3 -3
- data/docs/RecordingPartyDTO.md +3 -3
- data/docs/RecordingSmallDTO.md +4 -4
- data/docs/SaveFileDTO.md +42 -0
- data/docs/SaveFileRecordingDTO.md +5 -1
- data/docs/Smile.md +20 -0
- data/docs/Sunglasses.md +20 -0
- data/docs/UserApi.md +140 -0
- data/docs/VideoRecognitionResponse.md +20 -0
- data/lib/songtradr_api_client_ruby/api/admin_users_controller_api.rb +346 -0
- data/lib/songtradr_api_client_ruby/api/allowed_values_api.rb +1 -1
- data/lib/songtradr_api_client_ruby/api/api_keys_api.rb +1 -1
- data/lib/songtradr_api_client_ruby/api/internal_api_api.rb +169 -0
- data/lib/songtradr_api_client_ruby/api/party_api.rb +1 -1
- data/lib/songtradr_api_client_ruby/api/playlist_api.rb +78 -1
- data/lib/songtradr_api_client_ruby/api/recording_api.rb +1 -1
- data/lib/songtradr_api_client_ruby/api/user_api.rb +137 -1
- data/lib/songtradr_api_client_ruby/api_client.rb +3 -2
- data/lib/songtradr_api_client_ruby/api_error.rb +1 -1
- data/lib/songtradr_api_client_ruby/configuration.rb +2 -1
- data/lib/songtradr_api_client_ruby/models/admin_api_create_user_dto.rb +489 -0
- data/lib/songtradr_api_client_ruby/models/admin_api_update_user_dto.rb +475 -0
- data/lib/songtradr_api_client_ruby/models/admin_api_user_dto.rb +1 -1
- data/lib/songtradr_api_client_ruby/models/age_range.rb +223 -0
- data/lib/songtradr_api_client_ruby/models/api_key_dto.rb +14 -14
- data/lib/songtradr_api_client_ruby/models/beard.rb +223 -0
- data/lib/songtradr_api_client_ruby/models/bounding_box.rb +241 -0
- 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 +216 -0
- data/lib/songtradr_api_client_ruby/models/contributor_type_dto.rb +1 -1
- data/lib/songtradr_api_client_ruby/models/create_api_key_dto.rb +1 -1
- data/lib/songtradr_api_client_ruby/models/curate_playlist_dto.rb +256 -0
- data/lib/songtradr_api_client_ruby/models/curate_playlist_response_dto.rb +216 -0
- data/lib/songtradr_api_client_ruby/models/dominant_color.rb +268 -0
- data/lib/songtradr_api_client_ruby/models/emotion.rb +223 -0
- data/lib/songtradr_api_client_ruby/models/error_response.rb +1 -1
- data/lib/songtradr_api_client_ruby/models/eye_direction.rb +232 -0
- data/lib/songtradr_api_client_ruby/models/eye_open.rb +223 -0
- data/lib/songtradr_api_client_ruby/models/eyeglasses.rb +223 -0
- data/lib/songtradr_api_client_ruby/models/face_detail.rb +362 -0
- data/lib/songtradr_api_client_ruby/models/face_detection.rb +223 -0
- data/lib/songtradr_api_client_ruby/models/face_occluded.rb +223 -0
- 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 +32 -32
- 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 +223 -0
- 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 +223 -0
- data/lib/songtradr_api_client_ruby/models/image_recognition_response.rb +227 -0
- data/lib/songtradr_api_client_ruby/models/init_put_recording_audio_dto.rb +1 -1
- data/lib/songtradr_api_client_ruby/models/instance.rb +234 -0
- data/lib/songtradr_api_client_ruby/models/jwt_token_dto.rb +1 -1
- data/lib/songtradr_api_client_ruby/models/label.rb +267 -0
- data/lib/songtradr_api_client_ruby/models/label_alias.rb +214 -0
- data/lib/songtradr_api_client_ruby/models/label_category.rb +214 -0
- data/lib/songtradr_api_client_ruby/models/label_detection.rb +250 -0
- data/lib/songtradr_api_client_ruby/models/landmark.rb +232 -0
- data/lib/songtradr_api_client_ruby/models/login_dto.rb +1 -1
- data/lib/songtradr_api_client_ruby/models/mouth_open.rb +223 -0
- data/lib/songtradr_api_client_ruby/models/musical_features_dto.rb +302 -302
- data/lib/songtradr_api_client_ruby/models/mustache.rb +223 -0
- data/lib/songtradr_api_client_ruby/models/p_line_dto.rb +1 -1
- data/lib/songtradr_api_client_ruby/models/parent.rb +214 -0
- 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 +16 -16
- data/lib/songtradr_api_client_ruby/models/pose.rb +232 -0
- data/lib/songtradr_api_client_ruby/models/product_medium_dto.rb +11 -11
- data/lib/songtradr_api_client_ruby/models/product_party_dto.rb +16 -16
- 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 +1 -1
- data/lib/songtradr_api_client_ruby/models/recording_large_dto.rb +59 -59
- data/lib/songtradr_api_client_ruby/models/recording_list_dto.rb +1 -1
- data/lib/songtradr_api_client_ruby/models/recording_medium_dto.rb +50 -50
- 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 +16 -16
- data/lib/songtradr_api_client_ruby/models/recording_playlist_dto.rb +1 -1
- data/lib/songtradr_api_client_ruby/models/recording_small_dto.rb +28 -28
- data/lib/songtradr_api_client_ruby/models/recording_tag_small_dto.rb +1 -1
- data/lib/songtradr_api_client_ruby/models/save_file_dto.rb +323 -0
- data/lib/songtradr_api_client_ruby/models/save_file_recording_dto.rb +23 -5
- 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 +223 -0
- data/lib/songtradr_api_client_ruby/models/sunglasses.rb +223 -0
- 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 +227 -0
- data/lib/songtradr_api_client_ruby/version.rb +2 -2
- data/lib/songtradr_api_client_ruby.rb +36 -1
- data/openapi-generator-config.yaml +1 -1
- data/songtradr_api_client_ruby.gemspec +1 -1
- data/spec/api/admin_users_controller_api_spec.rb +93 -0
- data/spec/api/allowed_values_api_spec.rb +1 -1
- data/spec/api/api_keys_api_spec.rb +1 -1
- data/spec/api/internal_api_api_spec.rb +58 -0
- data/spec/api/party_api_spec.rb +1 -1
- data/spec/api/playlist_api_spec.rb +13 -1
- data/spec/api/recording_api_spec.rb +1 -1
- data/spec/api/user_api_spec.rb +25 -1
- data/spec/api_client_spec.rb +1 -1
- data/spec/configuration_spec.rb +1 -1
- data/spec/models/admin_api_create_user_dto_spec.rb +210 -0
- data/spec/models/admin_api_update_user_dto_spec.rb +210 -0
- data/spec/models/admin_api_user_dto_spec.rb +4 -2
- data/spec/models/age_range_spec.rb +42 -0
- data/spec/models/api_key_dto_spec.rb +6 -4
- data/spec/models/beard_spec.rb +42 -0
- data/spec/models/bounding_box_spec.rb +54 -0
- data/spec/models/category_medium_dto_spec.rb +4 -2
- data/spec/models/category_minimal_dto_spec.rb +4 -2
- data/spec/models/config_access_dto_spec.rb +4 -2
- data/spec/models/config_identifier_dto_spec.rb +4 -2
- data/spec/models/context_value_spec.rb +36 -0
- data/spec/models/contributor_type_dto_spec.rb +4 -2
- data/spec/models/create_api_key_dto_spec.rb +4 -2
- data/spec/models/curate_playlist_dto_spec.rb +60 -0
- data/spec/models/curate_playlist_response_dto_spec.rb +36 -0
- data/spec/models/dominant_color_spec.rb +72 -0
- data/spec/models/emotion_spec.rb +42 -0
- data/spec/models/error_response_spec.rb +4 -2
- data/spec/models/eye_direction_spec.rb +48 -0
- data/spec/models/eye_open_spec.rb +42 -0
- data/spec/models/eyeglasses_spec.rb +42 -0
- data/spec/models/face_detail_spec.rb +132 -0
- data/spec/models/face_detection_spec.rb +42 -0
- data/spec/models/face_occluded_spec.rb +42 -0
- data/spec/models/field_summary_dto_spec.rb +4 -2
- data/spec/models/file_dto_spec.rb +4 -2
- data/spec/models/file_list_dto_spec.rb +4 -2
- data/spec/models/file_minimal_with_url_dto_spec.rb +4 -2
- data/spec/models/file_small_dto_spec.rb +20 -18
- data/spec/models/file_upload_dto_spec.rb +4 -2
- data/spec/models/file_w_ith_url_dto_spec.rb +4 -2
- data/spec/models/files_summary_dto_spec.rb +4 -2
- data/spec/models/forgot_password_dto_spec.rb +4 -2
- data/spec/models/gender_spec.rb +42 -0
- data/spec/models/genre_dto_spec.rb +4 -2
- data/spec/models/genre_minimal_dto_spec.rb +4 -2
- data/spec/models/genres_summary_dto_spec.rb +4 -2
- data/spec/models/image_quality_spec.rb +42 -0
- data/spec/models/image_recognition_response_spec.rb +42 -0
- data/spec/models/init_put_recording_audio_dto_spec.rb +4 -2
- data/spec/models/instance_spec.rb +48 -0
- data/spec/models/jwt_token_dto_spec.rb +4 -2
- data/spec/models/label_alias_spec.rb +36 -0
- data/spec/models/label_category_spec.rb +36 -0
- data/spec/models/label_detection_spec.rb +60 -0
- data/spec/models/label_spec.rb +66 -0
- data/spec/models/landmark_spec.rb +48 -0
- data/spec/models/login_dto_spec.rb +4 -2
- data/spec/models/mouth_open_spec.rb +42 -0
- data/spec/models/musical_features_dto_spec.rb +134 -132
- data/spec/models/mustache_spec.rb +42 -0
- data/spec/models/p_line_dto_spec.rb +4 -2
- data/spec/models/parent_spec.rb +36 -0
- data/spec/models/party_large_dto_spec.rb +4 -2
- data/spec/models/party_small_dto_spec.rb +4 -2
- data/spec/models/playlist_large_dto_spec.rb +10 -8
- data/spec/models/pose_spec.rb +48 -0
- data/spec/models/product_medium_dto_spec.rb +7 -5
- data/spec/models/product_party_dto_spec.rb +6 -4
- data/spec/models/recording_for_similarity_search_dto_spec.rb +4 -2
- data/spec/models/recording_genre_prediction_dto_spec.rb +4 -2
- data/spec/models/recording_large_dto_spec.rb +15 -13
- data/spec/models/recording_list_dto_spec.rb +4 -2
- data/spec/models/recording_medium_dto_spec.rb +15 -13
- data/spec/models/recording_minimal_with_musical_features_dto_spec.rb +6 -4
- data/spec/models/recording_minimal_with_taggrams_dto_spec.rb +4 -2
- data/spec/models/recording_minimal_with_tagstrengths_dto_spec.rb +4 -2
- data/spec/models/recording_party_dto_spec.rb +6 -4
- data/spec/models/recording_playlist_dto_spec.rb +4 -2
- data/spec/models/recording_small_dto_spec.rb +6 -4
- data/spec/models/recording_tag_small_dto_spec.rb +4 -2
- data/spec/models/save_file_dto_spec.rb +108 -0
- data/spec/models/save_file_recording_dto_spec.rb +16 -2
- data/spec/models/save_playlist_dto_spec.rb +4 -2
- data/spec/models/save_recording_genre_dto_spec.rb +4 -2
- data/spec/models/save_recording_party_dto_spec.rb +4 -2
- data/spec/models/save_recording_playlist_dto_spec.rb +4 -2
- data/spec/models/save_recording_tag_dto_spec.rb +4 -2
- data/spec/models/save_referrer_dto_spec.rb +4 -2
- data/spec/models/save_taggrams_dto_spec.rb +4 -2
- data/spec/models/save_user_dto_spec.rb +4 -2
- data/spec/models/search_filter_values_dto_spec.rb +4 -2
- data/spec/models/search_recording_granular_abstraction_dto_spec.rb +4 -2
- data/spec/models/search_recording_granular_dto_spec.rb +4 -2
- data/spec/models/sign_up_dto_spec.rb +4 -2
- data/spec/models/smile_spec.rb +42 -0
- data/spec/models/sunglasses_spec.rb +42 -0
- data/spec/models/tag_dto_spec.rb +4 -2
- data/spec/models/tag_small_dto_spec.rb +4 -2
- data/spec/models/taggram_dto_spec.rb +4 -2
- data/spec/models/tags_summary_dto_spec.rb +4 -2
- data/spec/models/tagstrength_dto_spec.rb +4 -2
- data/spec/models/title_dto_spec.rb +4 -2
- data/spec/models/token_request_spec.rb +4 -2
- data/spec/models/track_dto_spec.rb +4 -2
- data/spec/models/track_to_medium_product_dto_spec.rb +4 -2
- data/spec/models/update_password_dto_spec.rb +4 -2
- data/spec/models/usage_dto_spec.rb +4 -2
- data/spec/models/user_dto_spec.rb +4 -2
- data/spec/models/video_recognition_response_spec.rb +42 -0
- data/spec/spec_helper.rb +1 -1
- metadata +201 -61
data/docs/Pose.md
ADDED
@@ -0,0 +1,22 @@
|
|
1
|
+
# SongtradrApiClientRuby::Pose
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
| Name | Type | Description | Notes |
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
7
|
+
| **roll** | **Float** | | [optional] |
|
8
|
+
| **yaw** | **Float** | | [optional] |
|
9
|
+
| **pitch** | **Float** | | [optional] |
|
10
|
+
|
11
|
+
## Example
|
12
|
+
|
13
|
+
```ruby
|
14
|
+
require 'songtradr_api_client_ruby'
|
15
|
+
|
16
|
+
instance = SongtradrApiClientRuby::Pose.new(
|
17
|
+
roll: null,
|
18
|
+
yaw: null,
|
19
|
+
pitch: null
|
20
|
+
)
|
21
|
+
```
|
22
|
+
|
data/docs/ProductMediumDTO.md
CHANGED
@@ -5,9 +5,9 @@
|
|
5
5
|
| Name | Type | Description | Notes |
|
6
6
|
| ---- | ---- | ----------- | ----- |
|
7
7
|
| **duration** | **Time** | | [optional] |
|
8
|
-
| **pline** | [**PLineDTO**](PLineDTO.md) | | [optional] |
|
9
8
|
| **genres** | [**Array<GenreMinimalDTO>**](GenreMinimalDTO.md) | | [optional] |
|
10
9
|
| **titles** | [**Array<TitleDTO>**](TitleDTO.md) | | [optional] |
|
10
|
+
| **pline** | [**PLineDTO**](PLineDTO.md) | | [optional] |
|
11
11
|
| **gtin** | **String** | | [optional] |
|
12
12
|
| **grid** | **String** | | [optional] |
|
13
13
|
| **release_date** | **Time** | | [optional] |
|
@@ -21,9 +21,9 @@ require 'songtradr_api_client_ruby'
|
|
21
21
|
|
22
22
|
instance = SongtradrApiClientRuby::ProductMediumDTO.new(
|
23
23
|
duration: null,
|
24
|
-
pline: null,
|
25
24
|
genres: null,
|
26
25
|
titles: null,
|
26
|
+
pline: null,
|
27
27
|
gtin: null,
|
28
28
|
grid: null,
|
29
29
|
release_date: null,
|
data/docs/ProductPartyDTO.md
CHANGED
@@ -4,8 +4,8 @@
|
|
4
4
|
|
5
5
|
| Name | Type | Description | Notes |
|
6
6
|
| ---- | ---- | ----------- | ----- |
|
7
|
-
| **contributor_types** | [**Array<ContributorTypeDTO>**](ContributorTypeDTO.md) | | [optional] |
|
8
7
|
| **party** | [**PartySmallDTO**](PartySmallDTO.md) | | |
|
8
|
+
| **contributor_types** | [**Array<ContributorTypeDTO>**](ContributorTypeDTO.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::ProductPartyDTO.new(
|
16
|
-
|
17
|
-
|
16
|
+
party: null,
|
17
|
+
contributor_types: null
|
18
18
|
)
|
19
19
|
```
|
20
20
|
|
data/docs/RecordingLargeDTO.md
CHANGED
@@ -5,17 +5,17 @@
|
|
5
5
|
| Name | Type | Description | Notes |
|
6
6
|
| ---- | ---- | ----------- | ----- |
|
7
7
|
| **duration** | **Integer** | | [optional] |
|
8
|
-
| **
|
9
|
-
| **spotify_id** | **String** | | [optional] |
|
10
|
-
| **genre_predictions** | [**Array<RecordingGenrePredictionDTO>**](RecordingGenrePredictionDTO.md) | | [optional] |
|
11
|
-
| **pline** | [**PLineDTO**](PLineDTO.md) | | [optional] |
|
8
|
+
| **parties** | [**Array<RecordingPartyDTO>**](RecordingPartyDTO.md) | | [optional] |
|
12
9
|
| **genres** | [**Array<GenreDTO>**](GenreDTO.md) | | [optional] |
|
13
10
|
| **language_of_performance** | **String** | | [optional] |
|
14
11
|
| **titles** | [**Array<TitleDTO>**](TitleDTO.md) | | [optional] |
|
15
12
|
| **tracks** | [**Array<TrackToMediumProductDTO>**](TrackToMediumProductDTO.md) | | [optional] |
|
16
13
|
| **musical_features** | [**MusicalFeaturesDTO**](MusicalFeaturesDTO.md) | | [optional] |
|
17
|
-
| **
|
14
|
+
| **isrc** | **String** | | |
|
18
15
|
| **tags** | [**Array<RecordingTagSmallDTO>**](RecordingTagSmallDTO.md) | | [optional] |
|
16
|
+
| **spotify_id** | **String** | | [optional] |
|
17
|
+
| **pline** | [**PLineDTO**](PLineDTO.md) | | [optional] |
|
18
|
+
| **genre_predictions** | [**Array<RecordingGenrePredictionDTO>**](RecordingGenrePredictionDTO.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
|
-
|
28
|
-
spotify_id: null,
|
29
|
-
genre_predictions: null,
|
30
|
-
pline: null,
|
27
|
+
parties: null,
|
31
28
|
genres: null,
|
32
29
|
language_of_performance: null,
|
33
30
|
titles: null,
|
34
31
|
tracks: null,
|
35
32
|
musical_features: null,
|
36
|
-
|
37
|
-
tags: null
|
33
|
+
isrc: null,
|
34
|
+
tags: null,
|
35
|
+
spotify_id: null,
|
36
|
+
pline: null,
|
37
|
+
genre_predictions: null
|
38
38
|
)
|
39
39
|
```
|
40
40
|
|
data/docs/RecordingMediumDTO.md
CHANGED
@@ -4,17 +4,17 @@
|
|
4
4
|
|
5
5
|
| Name | Type | Description | Notes |
|
6
6
|
| ---- | ---- | ----------- | ----- |
|
7
|
-
| **
|
8
|
-
| **spotify_id** | **String** | | [optional] |
|
9
|
-
| **genre_predictions** | [**Array<RecordingGenrePredictionDTO>**](RecordingGenrePredictionDTO.md) | | [optional] |
|
7
|
+
| **recording_party_entities** | [**Array<RecordingPartyDTO>**](RecordingPartyDTO.md) | | [optional] |
|
10
8
|
| **genres** | [**Array<GenreDTO>**](GenreDTO.md) | | [optional] |
|
11
9
|
| **language_of_performance** | **String** | | [optional] |
|
12
10
|
| **release_date** | **Time** | | [optional] |
|
13
11
|
| **titles** | [**Array<TitleDTO>**](TitleDTO.md) | | [optional] |
|
14
12
|
| **tracks** | [**Array<TrackDTO>**](TrackDTO.md) | | [optional] |
|
15
13
|
| **musical_features** | [**MusicalFeaturesDTO**](MusicalFeaturesDTO.md) | | [optional] |
|
16
|
-
| **
|
14
|
+
| **isrc** | **String** | | |
|
17
15
|
| **tags** | [**Array<RecordingTagSmallDTO>**](RecordingTagSmallDTO.md) | | [optional] |
|
16
|
+
| **spotify_id** | **String** | | [optional] |
|
17
|
+
| **genre_predictions** | [**Array<RecordingGenrePredictionDTO>**](RecordingGenrePredictionDTO.md) | | [optional] |
|
18
18
|
|
19
19
|
## Example
|
20
20
|
|
@@ -22,17 +22,17 @@
|
|
22
22
|
require 'songtradr_api_client_ruby'
|
23
23
|
|
24
24
|
instance = SongtradrApiClientRuby::RecordingMediumDTO.new(
|
25
|
-
|
26
|
-
spotify_id: null,
|
27
|
-
genre_predictions: null,
|
25
|
+
recording_party_entities: null,
|
28
26
|
genres: null,
|
29
27
|
language_of_performance: null,
|
30
28
|
release_date: null,
|
31
29
|
titles: null,
|
32
30
|
tracks: null,
|
33
31
|
musical_features: null,
|
34
|
-
|
35
|
-
tags: null
|
32
|
+
isrc: null,
|
33
|
+
tags: null,
|
34
|
+
spotify_id: null,
|
35
|
+
genre_predictions: null
|
36
36
|
)
|
37
37
|
```
|
38
38
|
|
@@ -4,8 +4,8 @@
|
|
4
4
|
|
5
5
|
| Name | Type | Description | Notes |
|
6
6
|
| ---- | ---- | ----------- | ----- |
|
7
|
-
| **isrc** | **String** | | |
|
8
7
|
| **musical_features** | [**Array<MusicalFeaturesDTO>**](MusicalFeaturesDTO.md) | | [optional] |
|
8
|
+
| **isrc** | **String** | | |
|
9
9
|
|
10
10
|
## Example
|
11
11
|
|
@@ -13,8 +13,8 @@
|
|
13
13
|
require 'songtradr_api_client_ruby'
|
14
14
|
|
15
15
|
instance = SongtradrApiClientRuby::RecordingMinimalWithMusicalFeaturesDTO.new(
|
16
|
-
|
17
|
-
|
16
|
+
musical_features: null,
|
17
|
+
isrc: null
|
18
18
|
)
|
19
19
|
```
|
20
20
|
|
data/docs/RecordingPartyDTO.md
CHANGED
@@ -4,8 +4,8 @@
|
|
4
4
|
|
5
5
|
| Name | Type | Description | Notes |
|
6
6
|
| ---- | ---- | ----------- | ----- |
|
7
|
-
| **contributor_types** | [**Array<ContributorTypeDTO>**](ContributorTypeDTO.md) | | [optional] |
|
8
7
|
| **party** | [**PartySmallDTO**](PartySmallDTO.md) | | |
|
8
|
+
| **contributor_types** | [**Array<ContributorTypeDTO>**](ContributorTypeDTO.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::RecordingPartyDTO.new(
|
16
|
-
|
17
|
-
|
16
|
+
party: null,
|
17
|
+
contributor_types: null
|
18
18
|
)
|
19
19
|
```
|
20
20
|
|
data/docs/RecordingSmallDTO.md
CHANGED
@@ -5,9 +5,9 @@
|
|
5
5
|
| Name | Type | Description | Notes |
|
6
6
|
| ---- | ---- | ----------- | ----- |
|
7
7
|
| **duration** | **Integer** | | [optional] |
|
8
|
-
| **isrc** | **String** | | |
|
9
|
-
| **titles** | [**Array<TitleDTO>**](TitleDTO.md) | | [optional] |
|
10
8
|
| **parties** | [**Array<RecordingPartyDTO>**](RecordingPartyDTO.md) | | [optional] |
|
9
|
+
| **titles** | [**Array<TitleDTO>**](TitleDTO.md) | | [optional] |
|
10
|
+
| **isrc** | **String** | | |
|
11
11
|
|
12
12
|
## Example
|
13
13
|
|
@@ -16,9 +16,9 @@ require 'songtradr_api_client_ruby'
|
|
16
16
|
|
17
17
|
instance = SongtradrApiClientRuby::RecordingSmallDTO.new(
|
18
18
|
duration: null,
|
19
|
-
|
19
|
+
parties: null,
|
20
20
|
titles: null,
|
21
|
-
|
21
|
+
isrc: null
|
22
22
|
)
|
23
23
|
```
|
24
24
|
|
data/docs/SaveFileDTO.md
ADDED
@@ -0,0 +1,42 @@
|
|
1
|
+
# SongtradrApiClientRuby::SaveFileDTO
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
| Name | Type | Description | Notes |
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
7
|
+
| **name** | **String** | | [optional] |
|
8
|
+
| **folder** | **String** | | [optional] |
|
9
|
+
| **extension** | **String** | | [optional] |
|
10
|
+
| **object_key** | **String** | | [optional] |
|
11
|
+
| **customer** | **String** | | [optional] |
|
12
|
+
| **upload_start_time** | **Time** | | [optional] |
|
13
|
+
| **upload_end_time** | **Time** | | [optional] |
|
14
|
+
| **fingerprint_status** | **String** | | [optional] |
|
15
|
+
| **fingerprint_start_time** | **Time** | | [optional] |
|
16
|
+
| **fingerprint_end_time** | **Time** | | [optional] |
|
17
|
+
| **inference_status** | **String** | | [optional] |
|
18
|
+
| **inference_start_time** | **Time** | | [optional] |
|
19
|
+
| **inference_end_time** | **Time** | | [optional] |
|
20
|
+
|
21
|
+
## Example
|
22
|
+
|
23
|
+
```ruby
|
24
|
+
require 'songtradr_api_client_ruby'
|
25
|
+
|
26
|
+
instance = SongtradrApiClientRuby::SaveFileDTO.new(
|
27
|
+
name: null,
|
28
|
+
folder: null,
|
29
|
+
extension: null,
|
30
|
+
object_key: null,
|
31
|
+
customer: null,
|
32
|
+
upload_start_time: null,
|
33
|
+
upload_end_time: null,
|
34
|
+
fingerprint_status: null,
|
35
|
+
fingerprint_start_time: null,
|
36
|
+
fingerprint_end_time: null,
|
37
|
+
inference_status: null,
|
38
|
+
inference_start_time: null,
|
39
|
+
inference_end_time: null
|
40
|
+
)
|
41
|
+
```
|
42
|
+
|
@@ -114,6 +114,8 @@
|
|
114
114
|
| **proprietary_id_gema** | **String** | | [optional] |
|
115
115
|
| **title** | **String** | | [optional] |
|
116
116
|
| **version_title** | **String** | | [optional] |
|
117
|
+
| **context_kind** | **String** | | [optional] |
|
118
|
+
| **context_value** | [**ContextValue**](ContextValue.md) | | [optional] |
|
117
119
|
|
118
120
|
## Example
|
119
121
|
|
@@ -230,7 +232,9 @@ instance = SongtradrApiClientRuby::SaveFileRecordingDTO.new(
|
|
230
232
|
iswc: null,
|
231
233
|
proprietary_id_gema: null,
|
232
234
|
title: null,
|
233
|
-
version_title: null
|
235
|
+
version_title: null,
|
236
|
+
context_kind: null,
|
237
|
+
context_value: null
|
234
238
|
)
|
235
239
|
```
|
236
240
|
|
data/docs/Smile.md
ADDED
@@ -0,0 +1,20 @@
|
|
1
|
+
# SongtradrApiClientRuby::Smile
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
| Name | Type | Description | Notes |
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
7
|
+
| **value** | **Boolean** | | [optional] |
|
8
|
+
| **confidence** | **Float** | | [optional] |
|
9
|
+
|
10
|
+
## Example
|
11
|
+
|
12
|
+
```ruby
|
13
|
+
require 'songtradr_api_client_ruby'
|
14
|
+
|
15
|
+
instance = SongtradrApiClientRuby::Smile.new(
|
16
|
+
value: null,
|
17
|
+
confidence: null
|
18
|
+
)
|
19
|
+
```
|
20
|
+
|
data/docs/Sunglasses.md
ADDED
@@ -0,0 +1,20 @@
|
|
1
|
+
# SongtradrApiClientRuby::Sunglasses
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
| Name | Type | Description | Notes |
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
7
|
+
| **value** | **Boolean** | | [optional] |
|
8
|
+
| **confidence** | **Float** | | [optional] |
|
9
|
+
|
10
|
+
## Example
|
11
|
+
|
12
|
+
```ruby
|
13
|
+
require 'songtradr_api_client_ruby'
|
14
|
+
|
15
|
+
instance = SongtradrApiClientRuby::Sunglasses.new(
|
16
|
+
value: null,
|
17
|
+
confidence: null
|
18
|
+
)
|
19
|
+
```
|
20
|
+
|
data/docs/UserApi.md
CHANGED
@@ -8,7 +8,9 @@ All URIs are relative to *https://api.songtradr.com*
|
|
8
8
|
| [**delete_user_file**](UserApi.md#delete_user_file) | **DELETE** /api/v1/user/file/{objectKey} | Delete file. |
|
9
9
|
| [**edit_me**](UserApi.md#edit_me) | **POST** /api/v1/user/me | Edit details for a logged-in user |
|
10
10
|
| [**forgot_password**](UserApi.md#forgot_password) | **POST** /api/v1/user/forgot-password | Send a password reset email |
|
11
|
+
| [**init_video_upload**](UserApi.md#init_video_upload) | **POST** /api/v1/user/file/{name}/initVideoUpload | Recognise and upload video. Responds with an object with recognition result. |
|
11
12
|
| [**initiate_user_file_upload**](UserApi.md#initiate_user_file_upload) | **POST** /api/v1/user/file/{name}/initUpload | Initialize a file upload. Responds with an URL where the file can be uploaded. |
|
13
|
+
| [**initiate_user_image_upload**](UserApi.md#initiate_user_image_upload) | **POST** /api/v1/user/file/{name}/initImageUpload | Recognise and upload image. Responds with an object with recognition result. |
|
12
14
|
| [**login**](UserApi.md#login) | **POST** /api/v1/user/login | Login to generate a bearer token. |
|
13
15
|
| [**me**](UserApi.md#me) | **GET** /api/v1/user/me | Details for a logged-in user |
|
14
16
|
| [**recordings_by_folder_with_taggrams**](UserApi.md#recordings_by_folder_with_taggrams) | **GET** /api/v1/user/folder/{folderName}/taggrams | Timeseries of AI generated moods, musical features and more for recordings in your folder. |
|
@@ -295,6 +297,75 @@ end
|
|
295
297
|
- **Accept**: application/hal+json, application/json
|
296
298
|
|
297
299
|
|
300
|
+
## init_video_upload
|
301
|
+
|
302
|
+
> <VideoRecognitionResponse> init_video_upload(name, url)
|
303
|
+
|
304
|
+
Recognise and upload video. Responds with an object with recognition result.
|
305
|
+
|
306
|
+
### Examples
|
307
|
+
|
308
|
+
```ruby
|
309
|
+
require 'time'
|
310
|
+
require 'songtradr_api_client_ruby'
|
311
|
+
# setup authorization
|
312
|
+
SongtradrApiClientRuby.configure do |config|
|
313
|
+
# Configure Bearer authorization (JWT): bearer-jwt
|
314
|
+
config.access_token = 'YOUR_BEARER_TOKEN'
|
315
|
+
end
|
316
|
+
|
317
|
+
api_instance = SongtradrApiClientRuby::UserApi.new
|
318
|
+
name = 'FileName.mp4' # String | The Name of the image that will be uploaded
|
319
|
+
url = 'url_example' # String |
|
320
|
+
|
321
|
+
begin
|
322
|
+
# Recognise and upload video. Responds with an object with recognition result.
|
323
|
+
result = api_instance.init_video_upload(name, url)
|
324
|
+
p result
|
325
|
+
rescue SongtradrApiClientRuby::ApiError => e
|
326
|
+
puts "Error when calling UserApi->init_video_upload: #{e}"
|
327
|
+
end
|
328
|
+
```
|
329
|
+
|
330
|
+
#### Using the init_video_upload_with_http_info variant
|
331
|
+
|
332
|
+
This returns an Array which contains the response data, status code and headers.
|
333
|
+
|
334
|
+
> <Array(<VideoRecognitionResponse>, Integer, Hash)> init_video_upload_with_http_info(name, url)
|
335
|
+
|
336
|
+
```ruby
|
337
|
+
begin
|
338
|
+
# Recognise and upload video. Responds with an object with recognition result.
|
339
|
+
data, status_code, headers = api_instance.init_video_upload_with_http_info(name, url)
|
340
|
+
p status_code # => 2xx
|
341
|
+
p headers # => { ... }
|
342
|
+
p data # => <VideoRecognitionResponse>
|
343
|
+
rescue SongtradrApiClientRuby::ApiError => e
|
344
|
+
puts "Error when calling UserApi->init_video_upload_with_http_info: #{e}"
|
345
|
+
end
|
346
|
+
```
|
347
|
+
|
348
|
+
### Parameters
|
349
|
+
|
350
|
+
| Name | Type | Description | Notes |
|
351
|
+
| ---- | ---- | ----------- | ----- |
|
352
|
+
| **name** | **String** | The Name of the image that will be uploaded | |
|
353
|
+
| **url** | **String** | | |
|
354
|
+
|
355
|
+
### Return type
|
356
|
+
|
357
|
+
[**VideoRecognitionResponse**](VideoRecognitionResponse.md)
|
358
|
+
|
359
|
+
### Authorization
|
360
|
+
|
361
|
+
[bearer-jwt](../README.md#bearer-jwt)
|
362
|
+
|
363
|
+
### HTTP request headers
|
364
|
+
|
365
|
+
- **Content-Type**: Not defined
|
366
|
+
- **Accept**: application/json
|
367
|
+
|
368
|
+
|
298
369
|
## initiate_user_file_upload
|
299
370
|
|
300
371
|
> <InitPutRecordingAudioDTO> initiate_user_file_upload(name, folder, opts)
|
@@ -368,6 +439,75 @@ end
|
|
368
439
|
- **Accept**: application/json
|
369
440
|
|
370
441
|
|
442
|
+
## initiate_user_image_upload
|
443
|
+
|
444
|
+
> <ImageRecognitionResponse> initiate_user_image_upload(name, url)
|
445
|
+
|
446
|
+
Recognise and upload image. Responds with an object with recognition result.
|
447
|
+
|
448
|
+
### Examples
|
449
|
+
|
450
|
+
```ruby
|
451
|
+
require 'time'
|
452
|
+
require 'songtradr_api_client_ruby'
|
453
|
+
# setup authorization
|
454
|
+
SongtradrApiClientRuby.configure do |config|
|
455
|
+
# Configure Bearer authorization (JWT): bearer-jwt
|
456
|
+
config.access_token = 'YOUR_BEARER_TOKEN'
|
457
|
+
end
|
458
|
+
|
459
|
+
api_instance = SongtradrApiClientRuby::UserApi.new
|
460
|
+
name = 'FileName.mp3' # String | The Name of the image that will be uploaded
|
461
|
+
url = 'url_example' # String |
|
462
|
+
|
463
|
+
begin
|
464
|
+
# Recognise and upload image. Responds with an object with recognition result.
|
465
|
+
result = api_instance.initiate_user_image_upload(name, url)
|
466
|
+
p result
|
467
|
+
rescue SongtradrApiClientRuby::ApiError => e
|
468
|
+
puts "Error when calling UserApi->initiate_user_image_upload: #{e}"
|
469
|
+
end
|
470
|
+
```
|
471
|
+
|
472
|
+
#### Using the initiate_user_image_upload_with_http_info variant
|
473
|
+
|
474
|
+
This returns an Array which contains the response data, status code and headers.
|
475
|
+
|
476
|
+
> <Array(<ImageRecognitionResponse>, Integer, Hash)> initiate_user_image_upload_with_http_info(name, url)
|
477
|
+
|
478
|
+
```ruby
|
479
|
+
begin
|
480
|
+
# Recognise and upload image. Responds with an object with recognition result.
|
481
|
+
data, status_code, headers = api_instance.initiate_user_image_upload_with_http_info(name, url)
|
482
|
+
p status_code # => 2xx
|
483
|
+
p headers # => { ... }
|
484
|
+
p data # => <ImageRecognitionResponse>
|
485
|
+
rescue SongtradrApiClientRuby::ApiError => e
|
486
|
+
puts "Error when calling UserApi->initiate_user_image_upload_with_http_info: #{e}"
|
487
|
+
end
|
488
|
+
```
|
489
|
+
|
490
|
+
### Parameters
|
491
|
+
|
492
|
+
| Name | Type | Description | Notes |
|
493
|
+
| ---- | ---- | ----------- | ----- |
|
494
|
+
| **name** | **String** | The Name of the image that will be uploaded | |
|
495
|
+
| **url** | **String** | | |
|
496
|
+
|
497
|
+
### Return type
|
498
|
+
|
499
|
+
[**ImageRecognitionResponse**](ImageRecognitionResponse.md)
|
500
|
+
|
501
|
+
### Authorization
|
502
|
+
|
503
|
+
[bearer-jwt](../README.md#bearer-jwt)
|
504
|
+
|
505
|
+
### HTTP request headers
|
506
|
+
|
507
|
+
- **Content-Type**: Not defined
|
508
|
+
- **Accept**: application/json
|
509
|
+
|
510
|
+
|
371
511
|
## login
|
372
512
|
|
373
513
|
> <JwtTokenDTO> login(login_dto)
|
@@ -0,0 +1,20 @@
|
|
1
|
+
# SongtradrApiClientRuby::VideoRecognitionResponse
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
| Name | Type | Description | Notes |
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
7
|
+
| **labels** | [**Array<LabelDetection>**](LabelDetection.md) | | [optional] |
|
8
|
+
| **faces** | [**Array<FaceDetection>**](FaceDetection.md) | | [optional] |
|
9
|
+
|
10
|
+
## Example
|
11
|
+
|
12
|
+
```ruby
|
13
|
+
require 'songtradr_api_client_ruby'
|
14
|
+
|
15
|
+
instance = SongtradrApiClientRuby::VideoRecognitionResponse.new(
|
16
|
+
labels: null,
|
17
|
+
faces: null
|
18
|
+
)
|
19
|
+
```
|
20
|
+
|