songtradr_api_client_ruby 1.13.0 → 1.13.1
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 -5
- data/docs/ApiKeyDTO.md +3 -3
- data/docs/MusicalFeaturesDTO.md +2 -2
- data/docs/PlaylistLargeDTO.md +7 -7
- data/docs/ProductMediumDTO.md +10 -10
- data/docs/ProductPartyDTO.md +3 -3
- data/docs/RecordingGenrePredictionDTO.md +3 -3
- data/docs/RecordingLargeDTO.md +7 -7
- data/docs/RecordingMediumDTO.md +5 -5
- data/docs/RecordingPartyDTO.md +3 -3
- data/docs/TrackToMediumProductDTO.md +3 -3
- data/getspec.rb +34 -15
- data/lib/songtradr_api_client_ruby/api/allowed_values_api.rb +2 -2
- data/lib/songtradr_api_client_ruby/api/api_keys_api.rb +2 -2
- data/lib/songtradr_api_client_ruby/api/party_api.rb +2 -2
- data/lib/songtradr_api_client_ruby/api/playlist_api.rb +2 -2
- data/lib/songtradr_api_client_ruby/api/recording_api.rb +2 -2
- data/lib/songtradr_api_client_ruby/api/user_api.rb +2 -2
- data/lib/songtradr_api_client_ruby/api_client.rb +2 -2
- data/lib/songtradr_api_client_ruby/api_error.rb +2 -2
- data/lib/songtradr_api_client_ruby/configuration.rb +4 -4
- data/lib/songtradr_api_client_ruby/models/admin_api_user_dto.rb +2 -2
- data/lib/songtradr_api_client_ruby/models/api_key_dto.rb +22 -22
- 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/create_api_key_dto.rb +2 -2
- data/lib/songtradr_api_client_ruby/models/error_response.rb +2 -2
- data/lib/songtradr_api_client_ruby/models/field_summary_dto.rb +2 -2
- data/lib/songtradr_api_client_ruby/models/file_dto.rb +2 -2
- data/lib/songtradr_api_client_ruby/models/file_list_dto.rb +2 -2
- data/lib/songtradr_api_client_ruby/models/file_minimal_with_url_dto.rb +2 -2
- data/lib/songtradr_api_client_ruby/models/file_small_dto.rb +2 -2
- data/lib/songtradr_api_client_ruby/models/file_upload_dto.rb +2 -2
- data/lib/songtradr_api_client_ruby/models/file_w_ith_url_dto.rb +2 -2
- data/lib/songtradr_api_client_ruby/models/files_summary_dto.rb +2 -2
- data/lib/songtradr_api_client_ruby/models/forgot_password_dto.rb +2 -2
- data/lib/songtradr_api_client_ruby/models/genre_dto.rb +2 -2
- data/lib/songtradr_api_client_ruby/models/genre_minimal_dto.rb +2 -2
- data/lib/songtradr_api_client_ruby/models/genres_summary_dto.rb +2 -2
- data/lib/songtradr_api_client_ruby/models/init_put_recording_audio_dto.rb +2 -2
- data/lib/songtradr_api_client_ruby/models/jwt_token_dto.rb +2 -2
- data/lib/songtradr_api_client_ruby/models/login_dto.rb +2 -2
- data/lib/songtradr_api_client_ruby/models/musical_features_dto.rb +24 -24
- data/lib/songtradr_api_client_ruby/models/p_line_dto.rb +2 -2
- data/lib/songtradr_api_client_ruby/models/party_large_dto.rb +2 -2
- data/lib/songtradr_api_client_ruby/models/party_small_dto.rb +2 -2
- data/lib/songtradr_api_client_ruby/models/playlist_large_dto.rb +33 -33
- data/lib/songtradr_api_client_ruby/models/product_medium_dto.rb +50 -50
- data/lib/songtradr_api_client_ruby/models/product_party_dto.rb +17 -17
- 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 +22 -22
- data/lib/songtradr_api_client_ruby/models/recording_large_dto.rb +45 -45
- data/lib/songtradr_api_client_ruby/models/recording_list_dto.rb +2 -2
- data/lib/songtradr_api_client_ruby/models/recording_medium_dto.rb +36 -36
- 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 +17 -17
- data/lib/songtradr_api_client_ruby/models/recording_playlist_dto.rb +2 -2
- data/lib/songtradr_api_client_ruby/models/recording_small_dto.rb +2 -2
- data/lib/songtradr_api_client_ruby/models/recording_tag_small_dto.rb +2 -2
- data/lib/songtradr_api_client_ruby/models/save_file_recording_dto.rb +14 -14
- data/lib/songtradr_api_client_ruby/models/save_playlist_dto.rb +2 -2
- data/lib/songtradr_api_client_ruby/models/save_recording_genre_dto.rb +2 -2
- data/lib/songtradr_api_client_ruby/models/save_recording_party_dto.rb +2 -2
- data/lib/songtradr_api_client_ruby/models/save_recording_playlist_dto.rb +2 -2
- data/lib/songtradr_api_client_ruby/models/save_recording_tag_dto.rb +2 -2
- data/lib/songtradr_api_client_ruby/models/save_referrer_dto.rb +2 -2
- data/lib/songtradr_api_client_ruby/models/save_taggrams_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_abstraction_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/tag_dto.rb +2 -2
- data/lib/songtradr_api_client_ruby/models/tag_small_dto.rb +2 -2
- data/lib/songtradr_api_client_ruby/models/taggram_dto.rb +2 -2
- data/lib/songtradr_api_client_ruby/models/tags_summary_dto.rb +2 -2
- data/lib/songtradr_api_client_ruby/models/tagstrength_dto.rb +2 -2
- data/lib/songtradr_api_client_ruby/models/title_dto.rb +2 -2
- data/lib/songtradr_api_client_ruby/models/token_request.rb +2 -2
- data/lib/songtradr_api_client_ruby/models/track_dto.rb +2 -2
- data/lib/songtradr_api_client_ruby/models/track_to_medium_product_dto.rb +22 -22
- data/lib/songtradr_api_client_ruby/models/update_password_dto.rb +2 -2
- data/lib/songtradr_api_client_ruby/models/usage_dto.rb +2 -2
- data/lib/songtradr_api_client_ruby/models/user_dto.rb +2 -2
- data/lib/songtradr_api_client_ruby/version.rb +3 -3
- data/lib/songtradr_api_client_ruby.rb +2 -2
- data/openapi-generator-config.yaml +1 -1
- data/songtradr_api_client_ruby.gemspec +2 -2
- data/spec/api/allowed_values_api_spec.rb +2 -2
- data/spec/api/api_keys_api_spec.rb +2 -2
- data/spec/api/party_api_spec.rb +2 -2
- data/spec/api/playlist_api_spec.rb +2 -2
- data/spec/api/recording_api_spec.rb +2 -2
- data/spec/api/user_api_spec.rb +2 -2
- data/spec/api_client_spec.rb +2 -2
- data/spec/configuration_spec.rb +2 -2
- data/spec/models/admin_api_user_dto_spec.rb +2 -2
- data/spec/models/api_key_dto_spec.rb +5 -5
- data/spec/models/category_medium_dto_spec.rb +2 -2
- data/spec/models/category_minimal_dto_spec.rb +2 -2
- data/spec/models/config_access_dto_spec.rb +2 -2
- data/spec/models/config_identifier_dto_spec.rb +2 -2
- data/spec/models/contributor_type_dto_spec.rb +2 -2
- data/spec/models/create_api_key_dto_spec.rb +2 -2
- data/spec/models/error_response_spec.rb +2 -2
- data/spec/models/field_summary_dto_spec.rb +2 -2
- data/spec/models/file_dto_spec.rb +2 -2
- data/spec/models/file_list_dto_spec.rb +2 -2
- data/spec/models/file_minimal_with_url_dto_spec.rb +2 -2
- data/spec/models/file_small_dto_spec.rb +2 -2
- data/spec/models/file_upload_dto_spec.rb +2 -2
- data/spec/models/file_w_ith_url_dto_spec.rb +2 -2
- data/spec/models/files_summary_dto_spec.rb +2 -2
- data/spec/models/forgot_password_dto_spec.rb +2 -2
- data/spec/models/genre_dto_spec.rb +2 -2
- data/spec/models/genre_minimal_dto_spec.rb +2 -2
- data/spec/models/genres_summary_dto_spec.rb +2 -2
- data/spec/models/init_put_recording_audio_dto_spec.rb +2 -2
- data/spec/models/jwt_token_dto_spec.rb +2 -2
- data/spec/models/login_dto_spec.rb +2 -2
- data/spec/models/musical_features_dto_spec.rb +8 -8
- data/spec/models/p_line_dto_spec.rb +2 -2
- data/spec/models/party_large_dto_spec.rb +2 -2
- data/spec/models/party_small_dto_spec.rb +2 -2
- data/spec/models/playlist_large_dto_spec.rb +11 -11
- data/spec/models/product_medium_dto_spec.rb +9 -9
- data/spec/models/product_party_dto_spec.rb +4 -4
- data/spec/models/recording_for_similarity_search_dto_spec.rb +2 -2
- data/spec/models/recording_genre_prediction_dto_spec.rb +5 -5
- data/spec/models/recording_large_dto_spec.rb +13 -13
- data/spec/models/recording_list_dto_spec.rb +2 -2
- data/spec/models/recording_medium_dto_spec.rb +13 -13
- data/spec/models/recording_minimal_with_musical_features_dto_spec.rb +2 -2
- data/spec/models/recording_minimal_with_taggrams_dto_spec.rb +2 -2
- data/spec/models/recording_minimal_with_tagstrengths_dto_spec.rb +2 -2
- data/spec/models/recording_party_dto_spec.rb +4 -4
- data/spec/models/recording_playlist_dto_spec.rb +2 -2
- data/spec/models/recording_small_dto_spec.rb +2 -2
- data/spec/models/recording_tag_small_dto_spec.rb +2 -2
- data/spec/models/save_file_recording_dto_spec.rb +8 -8
- data/spec/models/save_playlist_dto_spec.rb +2 -2
- data/spec/models/save_recording_genre_dto_spec.rb +2 -2
- data/spec/models/save_recording_party_dto_spec.rb +2 -2
- data/spec/models/save_recording_playlist_dto_spec.rb +2 -2
- data/spec/models/save_recording_tag_dto_spec.rb +2 -2
- data/spec/models/save_referrer_dto_spec.rb +2 -2
- data/spec/models/save_taggrams_dto_spec.rb +2 -2
- data/spec/models/save_user_dto_spec.rb +2 -2
- data/spec/models/search_filter_values_dto_spec.rb +2 -2
- data/spec/models/search_recording_granular_abstraction_dto_spec.rb +2 -2
- data/spec/models/search_recording_granular_dto_spec.rb +2 -2
- data/spec/models/sign_up_dto_spec.rb +2 -2
- data/spec/models/tag_dto_spec.rb +2 -2
- data/spec/models/tag_small_dto_spec.rb +2 -2
- data/spec/models/taggram_dto_spec.rb +2 -2
- data/spec/models/tags_summary_dto_spec.rb +2 -2
- data/spec/models/tagstrength_dto_spec.rb +2 -2
- data/spec/models/title_dto_spec.rb +2 -2
- data/spec/models/token_request_spec.rb +2 -2
- data/spec/models/track_dto_spec.rb +2 -2
- data/spec/models/track_to_medium_product_dto_spec.rb +5 -5
- data/spec/models/update_password_dto_spec.rb +2 -2
- data/spec/models/usage_dto_spec.rb +2 -2
- data/spec/models/user_dto_spec.rb +2 -2
- data/spec/spec_helper.rb +2 -2
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: f398b0c9505f9f1ada01eb4af0c4c293a9d7d213ceb4398483b279924435a565
|
|
4
|
+
data.tar.gz: 494ef201383c2df8dd601720e588f2d0f75304bcbe3f91701bb9a1bdeef71b42
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 5bd83252845fc045724de9058a3ac2ced53b095e12a5868168d2f9b51b765db43649c537ae6d0f27cb66ac23dbca3c7bf1bff87291785d10d062bf4e32900c9c
|
|
7
|
+
data.tar.gz: d001eb479890cec8fd9292eef821966b823f53ee2ee38d444997b65c7e6b7ff569cdc25bbf738ef3d2c5618f522727c995d775932e11ee8a30e0e0ea86e50346
|
data/Gemfile.lock
CHANGED
data/README.md
CHANGED
|
@@ -33,8 +33,8 @@ You can either search the released music via the /public/recording endpoints or
|
|
|
33
33
|
|
|
34
34
|
This SDK is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project:
|
|
35
35
|
|
|
36
|
-
- API version: 1.13.
|
|
37
|
-
- Package version: 1.13.
|
|
36
|
+
- API version: 1.13.1
|
|
37
|
+
- Package version: 1.13.1
|
|
38
38
|
- Build package: org.openapitools.codegen.languages.RubyClientCodegen
|
|
39
39
|
For more information, please visit [https://songtradr.com](https://songtradr.com)
|
|
40
40
|
|
|
@@ -51,16 +51,16 @@ gem build songtradr_api_client_ruby.gemspec
|
|
|
51
51
|
Then either install the gem locally:
|
|
52
52
|
|
|
53
53
|
```shell
|
|
54
|
-
gem install ./songtradr_api_client_ruby-1.13.
|
|
54
|
+
gem install ./songtradr_api_client_ruby-1.13.1.gem
|
|
55
55
|
```
|
|
56
56
|
|
|
57
|
-
(for development, run `gem install --dev ./songtradr_api_client_ruby-1.13.
|
|
57
|
+
(for development, run `gem install --dev ./songtradr_api_client_ruby-1.13.1.gem` to install the development dependencies)
|
|
58
58
|
|
|
59
59
|
or publish the gem to a gem hosting service, e.g. [RubyGems](https://rubygems.org/).
|
|
60
60
|
|
|
61
61
|
Finally add this to the Gemfile:
|
|
62
62
|
|
|
63
|
-
gem 'songtradr_api_client_ruby', '~> 1.13.
|
|
63
|
+
gem 'songtradr_api_client_ruby', '~> 1.13.1'
|
|
64
64
|
|
|
65
65
|
### Install from Git
|
|
66
66
|
|
data/docs/ApiKeyDTO.md
CHANGED
|
@@ -5,9 +5,9 @@
|
|
|
5
5
|
| Name | Type | Description | Notes |
|
|
6
6
|
| ---- | ---- | ----------- | ----- |
|
|
7
7
|
| **name** | **String** | | |
|
|
8
|
+
| **id** | **String** | | |
|
|
8
9
|
| **last_used_at** | **Time** | | [optional] |
|
|
9
10
|
| **created_at** | **Time** | | |
|
|
10
|
-
| **id** | **String** | | |
|
|
11
11
|
|
|
12
12
|
## Example
|
|
13
13
|
|
|
@@ -16,9 +16,9 @@ require 'songtradr_api_client_ruby'
|
|
|
16
16
|
|
|
17
17
|
instance = SongtradrApiClientRuby::ApiKeyDTO.new(
|
|
18
18
|
name: null,
|
|
19
|
+
id: null,
|
|
19
20
|
last_used_at: null,
|
|
20
|
-
created_at: null
|
|
21
|
-
id: null
|
|
21
|
+
created_at: null
|
|
22
22
|
)
|
|
23
23
|
```
|
|
24
24
|
|
data/docs/MusicalFeaturesDTO.md
CHANGED
|
@@ -5,8 +5,8 @@
|
|
|
5
5
|
| Name | Type | Description | Notes |
|
|
6
6
|
| ---- | ---- | ----------- | ----- |
|
|
7
7
|
| **space** | **String** | Search for space | [optional] |
|
|
8
|
-
| **language_of_performance** | **String** | | [optional] |
|
|
9
8
|
| **arousal** | **String** | Search for an arousal | [optional] |
|
|
9
|
+
| **language_of_performance** | **String** | | [optional] |
|
|
10
10
|
| **dominant_instrument** | **String** | Search for a dominant instrument | [optional] |
|
|
11
11
|
| **energy** | **String** | Search for energy | [optional] |
|
|
12
12
|
| **engagement** | **String** | Search for an engagement | [optional] |
|
|
@@ -97,8 +97,8 @@ require 'songtradr_api_client_ruby'
|
|
|
97
97
|
|
|
98
98
|
instance = SongtradrApiClientRuby::MusicalFeaturesDTO.new(
|
|
99
99
|
space: null,
|
|
100
|
-
language_of_performance: null,
|
|
101
100
|
arousal: null,
|
|
101
|
+
language_of_performance: null,
|
|
102
102
|
dominant_instrument: null,
|
|
103
103
|
energy: null,
|
|
104
104
|
engagement: null,
|
data/docs/PlaylistLargeDTO.md
CHANGED
|
@@ -6,15 +6,15 @@
|
|
|
6
6
|
| ---- | ---- | ----------- | ----- |
|
|
7
7
|
| **name** | **String** | | |
|
|
8
8
|
| **state** | **String** | | [optional] |
|
|
9
|
-
| **description** | **String** | | [optional] |
|
|
10
|
-
| **created** | **Time** | | [optional] |
|
|
11
|
-
| **updated** | **Time** | | [optional] |
|
|
12
9
|
| **usages** | [**Array<UsageDTO>**](UsageDTO.md) | | [optional] |
|
|
13
10
|
| **songtradr_playlist_guid** | **String** | | [optional] |
|
|
14
11
|
| **asset_url** | **String** | | [optional] |
|
|
15
12
|
| **pretzel_tier** | **String** | | [optional] |
|
|
16
13
|
| **usage** | **String** | | [optional] |
|
|
17
14
|
| **tracks** | [**Array<RecordingPlaylistDTO>**](RecordingPlaylistDTO.md) | | [optional] |
|
|
15
|
+
| **created** | **Time** | | [optional] |
|
|
16
|
+
| **updated** | **Time** | | [optional] |
|
|
17
|
+
| **description** | **String** | | [optional] |
|
|
18
18
|
|
|
19
19
|
## Example
|
|
20
20
|
|
|
@@ -24,15 +24,15 @@ require 'songtradr_api_client_ruby'
|
|
|
24
24
|
instance = SongtradrApiClientRuby::PlaylistLargeDTO.new(
|
|
25
25
|
name: null,
|
|
26
26
|
state: null,
|
|
27
|
-
description: null,
|
|
28
|
-
created: null,
|
|
29
|
-
updated: null,
|
|
30
27
|
usages: null,
|
|
31
28
|
songtradr_playlist_guid: null,
|
|
32
29
|
asset_url: null,
|
|
33
30
|
pretzel_tier: null,
|
|
34
31
|
usage: null,
|
|
35
|
-
tracks: null
|
|
32
|
+
tracks: null,
|
|
33
|
+
created: null,
|
|
34
|
+
updated: null,
|
|
35
|
+
description: null
|
|
36
36
|
)
|
|
37
37
|
```
|
|
38
38
|
|
data/docs/ProductMediumDTO.md
CHANGED
|
@@ -5,14 +5,14 @@
|
|
|
5
5
|
| Name | Type | Description | Notes |
|
|
6
6
|
| ---- | ---- | ----------- | ----- |
|
|
7
7
|
| **duration** | **Time** | | [optional] |
|
|
8
|
-
| **
|
|
9
|
-
| **
|
|
8
|
+
| **genres** | [**Array<GenreMinimalDTO>**](GenreMinimalDTO.md) | | [optional] |
|
|
9
|
+
| **titles** | [**Array<TitleDTO>**](TitleDTO.md) | | [optional] |
|
|
10
10
|
| **gtin** | **String** | | [optional] |
|
|
11
|
+
| **pline** | [**PLineDTO**](PLineDTO.md) | | [optional] |
|
|
11
12
|
| **grid** | **String** | | [optional] |
|
|
12
13
|
| **release_date** | **Time** | | [optional] |
|
|
13
|
-
| **
|
|
14
|
-
| **
|
|
15
|
-
| **titles** | [**Array<TitleDTO>**](TitleDTO.md) | | [optional] |
|
|
14
|
+
| **takedown_date** | **Time** | | [optional] |
|
|
15
|
+
| **parties** | [**Array<ProductPartyDTO>**](ProductPartyDTO.md) | | [optional] |
|
|
16
16
|
|
|
17
17
|
## Example
|
|
18
18
|
|
|
@@ -21,14 +21,14 @@ require 'songtradr_api_client_ruby'
|
|
|
21
21
|
|
|
22
22
|
instance = SongtradrApiClientRuby::ProductMediumDTO.new(
|
|
23
23
|
duration: null,
|
|
24
|
-
|
|
25
|
-
|
|
24
|
+
genres: null,
|
|
25
|
+
titles: null,
|
|
26
26
|
gtin: null,
|
|
27
|
+
pline: null,
|
|
27
28
|
grid: null,
|
|
28
29
|
release_date: null,
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
titles: null
|
|
30
|
+
takedown_date: null,
|
|
31
|
+
parties: null
|
|
32
32
|
)
|
|
33
33
|
```
|
|
34
34
|
|
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
|
|
|
@@ -4,9 +4,9 @@
|
|
|
4
4
|
|
|
5
5
|
| Name | Type | Description | Notes |
|
|
6
6
|
| ---- | ---- | ----------- | ----- |
|
|
7
|
-
| **genre** | [**GenreMinimalDTO**](GenreMinimalDTO.md) | | |
|
|
8
7
|
| **probability** | **Float** | | |
|
|
9
8
|
| **genre_type** | **String** | | |
|
|
9
|
+
| **genre** | [**GenreMinimalDTO**](GenreMinimalDTO.md) | | |
|
|
10
10
|
|
|
11
11
|
## Example
|
|
12
12
|
|
|
@@ -14,9 +14,9 @@
|
|
|
14
14
|
require 'songtradr_api_client_ruby'
|
|
15
15
|
|
|
16
16
|
instance = SongtradrApiClientRuby::RecordingGenrePredictionDTO.new(
|
|
17
|
-
genre: null,
|
|
18
17
|
probability: null,
|
|
19
|
-
genre_type: null
|
|
18
|
+
genre_type: null,
|
|
19
|
+
genre: null
|
|
20
20
|
)
|
|
21
21
|
```
|
|
22
22
|
|
data/docs/RecordingLargeDTO.md
CHANGED
|
@@ -5,9 +5,6 @@
|
|
|
5
5
|
| Name | Type | Description | Notes |
|
|
6
6
|
| ---- | ---- | ----------- | ----- |
|
|
7
7
|
| **duration** | **Integer** | | [optional] |
|
|
8
|
-
| **spotify_id** | **String** | | [optional] |
|
|
9
|
-
| **pline** | [**PLineDTO**](PLineDTO.md) | | [optional] |
|
|
10
|
-
| **genre_predictions** | [**Array<RecordingGenrePredictionDTO>**](RecordingGenrePredictionDTO.md) | | [optional] |
|
|
11
8
|
| **isrc** | **String** | | |
|
|
12
9
|
| **parties** | [**Array<RecordingPartyDTO>**](RecordingPartyDTO.md) | | [optional] |
|
|
13
10
|
| **genres** | [**Array<GenreDTO>**](GenreDTO.md) | | [optional] |
|
|
@@ -16,6 +13,9 @@
|
|
|
16
13
|
| **tracks** | [**Array<TrackToMediumProductDTO>**](TrackToMediumProductDTO.md) | | [optional] |
|
|
17
14
|
| **musical_features** | [**MusicalFeaturesDTO**](MusicalFeaturesDTO.md) | | [optional] |
|
|
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,9 +24,6 @@ require 'songtradr_api_client_ruby'
|
|
|
24
24
|
|
|
25
25
|
instance = SongtradrApiClientRuby::RecordingLargeDTO.new(
|
|
26
26
|
duration: null,
|
|
27
|
-
spotify_id: null,
|
|
28
|
-
pline: null,
|
|
29
|
-
genre_predictions: null,
|
|
30
27
|
isrc: null,
|
|
31
28
|
parties: null,
|
|
32
29
|
genres: null,
|
|
@@ -34,7 +31,10 @@ instance = SongtradrApiClientRuby::RecordingLargeDTO.new(
|
|
|
34
31
|
titles: null,
|
|
35
32
|
tracks: null,
|
|
36
33
|
musical_features: null,
|
|
37
|
-
tags: 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,8 +4,6 @@
|
|
|
4
4
|
|
|
5
5
|
| Name | Type | Description | Notes |
|
|
6
6
|
| ---- | ---- | ----------- | ----- |
|
|
7
|
-
| **spotify_id** | **String** | | [optional] |
|
|
8
|
-
| **genre_predictions** | [**Array<RecordingGenrePredictionDTO>**](RecordingGenrePredictionDTO.md) | | [optional] |
|
|
9
7
|
| **isrc** | **String** | | |
|
|
10
8
|
| **recording_party_entities** | [**Array<RecordingPartyDTO>**](RecordingPartyDTO.md) | | [optional] |
|
|
11
9
|
| **genres** | [**Array<GenreDTO>**](GenreDTO.md) | | [optional] |
|
|
@@ -15,6 +13,8 @@
|
|
|
15
13
|
| **tracks** | [**Array<TrackDTO>**](TrackDTO.md) | | [optional] |
|
|
16
14
|
| **musical_features** | [**MusicalFeaturesDTO**](MusicalFeaturesDTO.md) | | [optional] |
|
|
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,8 +22,6 @@
|
|
|
22
22
|
require 'songtradr_api_client_ruby'
|
|
23
23
|
|
|
24
24
|
instance = SongtradrApiClientRuby::RecordingMediumDTO.new(
|
|
25
|
-
spotify_id: null,
|
|
26
|
-
genre_predictions: null,
|
|
27
25
|
isrc: null,
|
|
28
26
|
recording_party_entities: null,
|
|
29
27
|
genres: null,
|
|
@@ -32,7 +30,9 @@ instance = SongtradrApiClientRuby::RecordingMediumDTO.new(
|
|
|
32
30
|
titles: null,
|
|
33
31
|
tracks: null,
|
|
34
32
|
musical_features: null,
|
|
35
|
-
tags: null
|
|
33
|
+
tags: null,
|
|
34
|
+
spotify_id: null,
|
|
35
|
+
genre_predictions: null
|
|
36
36
|
)
|
|
37
37
|
```
|
|
38
38
|
|
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
|
|
|
@@ -4,9 +4,9 @@
|
|
|
4
4
|
|
|
5
5
|
| Name | Type | Description | Notes |
|
|
6
6
|
| ---- | ---- | ----------- | ----- |
|
|
7
|
+
| **product** | [**ProductMediumDTO**](ProductMediumDTO.md) | | |
|
|
7
8
|
| **track_no** | **String** | | |
|
|
8
9
|
| **set_no** | **String** | | [optional] |
|
|
9
|
-
| **product** | [**ProductMediumDTO**](ProductMediumDTO.md) | | |
|
|
10
10
|
|
|
11
11
|
## Example
|
|
12
12
|
|
|
@@ -14,9 +14,9 @@
|
|
|
14
14
|
require 'songtradr_api_client_ruby'
|
|
15
15
|
|
|
16
16
|
instance = SongtradrApiClientRuby::TrackToMediumProductDTO.new(
|
|
17
|
+
product: null,
|
|
17
18
|
track_no: null,
|
|
18
|
-
set_no: null
|
|
19
|
-
product: null
|
|
19
|
+
set_no: null
|
|
20
20
|
)
|
|
21
21
|
```
|
|
22
22
|
|
data/getspec.rb
CHANGED
|
@@ -1,33 +1,52 @@
|
|
|
1
1
|
#!/usr/bin/env ruby
|
|
2
|
+
# frozen_string_literal: true
|
|
2
3
|
|
|
3
|
-
require
|
|
4
|
+
require 'json'
|
|
4
5
|
require 'net/http'
|
|
5
6
|
|
|
6
|
-
MAX_RETRIES =
|
|
7
|
-
DELAY_SECONDS =
|
|
7
|
+
MAX_RETRIES = 10
|
|
8
|
+
DELAY_SECONDS = 3
|
|
8
9
|
|
|
9
|
-
def fetch_gem_version(version)
|
|
10
|
-
|
|
10
|
+
def fetch_gem_version(version, retries = 0)
|
|
11
|
+
until retries > MAX_RETRIES
|
|
12
|
+
response = Net::HTTP.get_response(URI("https://rubygems.org/gems/songtradr_api_client_ruby/versions/#{version}"))
|
|
13
|
+
return response.code if response.code == '200' || response.code == '404'
|
|
14
|
+
|
|
15
|
+
retries += 1
|
|
16
|
+
sleep(DELAY_SECONDS)
|
|
17
|
+
end
|
|
18
|
+
puts 'Failed to fetch gem version'
|
|
19
|
+
# return the last response code. This will not be 200 or 404 if we've retried too many times and will be an error code
|
|
20
|
+
# This is fine.
|
|
11
21
|
response.code
|
|
12
22
|
end
|
|
13
23
|
|
|
14
|
-
def
|
|
15
|
-
retries
|
|
16
|
-
api_response = Net::HTTP.get_response(URI(ENV['SONGTRADR_API']))
|
|
17
|
-
|
|
18
|
-
until api_response.code == "200" || retries >= MAX_RETRIES
|
|
19
|
-
sleep(DELAY_SECONDS)
|
|
24
|
+
def fetch_api(retries = 0)
|
|
25
|
+
until retries > MAX_RETRIES
|
|
20
26
|
api_response = Net::HTTP.get_response(URI(ENV['SONGTRADR_API']))
|
|
27
|
+
return api_response if api_response.code == '200'
|
|
28
|
+
|
|
21
29
|
retries += 1
|
|
30
|
+
sleep(DELAY_SECONDS)
|
|
22
31
|
end
|
|
32
|
+
puts 'Failed to fetch API'
|
|
33
|
+
# return the last response. This will not be 200 if we've retried too many times and will be an error code.
|
|
34
|
+
# This is fine.
|
|
35
|
+
api_response
|
|
36
|
+
end
|
|
37
|
+
|
|
38
|
+
def fetch_api_version
|
|
39
|
+
api_response = fetch_api
|
|
40
|
+
|
|
41
|
+
return '0.0.0' if api_response.code != '200'
|
|
23
42
|
|
|
24
43
|
begin
|
|
25
44
|
json = JSON.parse(api_response.body)
|
|
26
|
-
version = json[
|
|
27
|
-
rescue
|
|
28
|
-
version =
|
|
45
|
+
version = json['info']['version']
|
|
46
|
+
rescue StandardError
|
|
47
|
+
version = '0.0.0'
|
|
29
48
|
end
|
|
30
|
-
fetch_gem_version(version) ==
|
|
49
|
+
fetch_gem_version(version) == '404' ? version : '0.0.0'
|
|
31
50
|
end
|
|
32
51
|
|
|
33
52
|
puts fetch_api_version
|
|
@@ -3,10 +3,10 @@
|
|
|
3
3
|
|
|
4
4
|
#This is the Songtradr API. Use it to retrieve deep music metadata and trigger processes like auto-tagging. You can also use the API to manage your account and musicube cloud data. **Authentication** 1. Reach out to support@songtradr.com to receive a free account or use your login data if you are already signed up. 2. To authenticate, you need to login via the POST /api/v1/user/login endpoint. 3. The endpoint responds with a jwtToken which you can use in all following API requests as a bearer token. **Rate Limiting** The current limit is 120 Requests per minute. Reach out to us via support@songtradr.com if you need to request more. **Getting Started with auto-tagging** 1. If you want to get your own files auto-tagged, use the POST /api/v1/user/file/{name}/initUpload endpoint. It responds with a presigned S3 link where you can upload your file. 2. You can check the processing status of your file via the GET /api/v1/user/file/{name}/filesStatus endpoint. 3. As soon as processing is done, you can request the generated data via the GET /api/v1/user/files endpoint. **Getting Started with search** You can either search the released music via the /public/recording endpoints or your own private uploaded music via the /user/file/ endpoints. 1. If you want to search the world's released music, a good starting point is the GET /api/v1/public/recording/search endpoint. Please find the extensive list of parameters that serve as semantic search filters. 2. If you want to search your own previously uploaded music, a good starting point is the GET GET /api/v1/user/files endpoint. It has the same extensive list of parameters that serve as semantic search filters.
|
|
5
5
|
|
|
6
|
-
The version of the OpenAPI document: 1.13.
|
|
6
|
+
The version of the OpenAPI document: 1.13.1
|
|
7
7
|
Contact: info@songtradr.com
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
|
9
|
-
OpenAPI Generator version: 7.0.
|
|
9
|
+
OpenAPI Generator version: 7.0.1-SNAPSHOT
|
|
10
10
|
|
|
11
11
|
=end
|
|
12
12
|
|
|
@@ -3,10 +3,10 @@
|
|
|
3
3
|
|
|
4
4
|
#This is the Songtradr API. Use it to retrieve deep music metadata and trigger processes like auto-tagging. You can also use the API to manage your account and musicube cloud data. **Authentication** 1. Reach out to support@songtradr.com to receive a free account or use your login data if you are already signed up. 2. To authenticate, you need to login via the POST /api/v1/user/login endpoint. 3. The endpoint responds with a jwtToken which you can use in all following API requests as a bearer token. **Rate Limiting** The current limit is 120 Requests per minute. Reach out to us via support@songtradr.com if you need to request more. **Getting Started with auto-tagging** 1. If you want to get your own files auto-tagged, use the POST /api/v1/user/file/{name}/initUpload endpoint. It responds with a presigned S3 link where you can upload your file. 2. You can check the processing status of your file via the GET /api/v1/user/file/{name}/filesStatus endpoint. 3. As soon as processing is done, you can request the generated data via the GET /api/v1/user/files endpoint. **Getting Started with search** You can either search the released music via the /public/recording endpoints or your own private uploaded music via the /user/file/ endpoints. 1. If you want to search the world's released music, a good starting point is the GET /api/v1/public/recording/search endpoint. Please find the extensive list of parameters that serve as semantic search filters. 2. If you want to search your own previously uploaded music, a good starting point is the GET GET /api/v1/user/files endpoint. It has the same extensive list of parameters that serve as semantic search filters.
|
|
5
5
|
|
|
6
|
-
The version of the OpenAPI document: 1.13.
|
|
6
|
+
The version of the OpenAPI document: 1.13.1
|
|
7
7
|
Contact: info@songtradr.com
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
|
9
|
-
OpenAPI Generator version: 7.0.
|
|
9
|
+
OpenAPI Generator version: 7.0.1-SNAPSHOT
|
|
10
10
|
|
|
11
11
|
=end
|
|
12
12
|
|
|
@@ -3,10 +3,10 @@
|
|
|
3
3
|
|
|
4
4
|
#This is the Songtradr API. Use it to retrieve deep music metadata and trigger processes like auto-tagging. You can also use the API to manage your account and musicube cloud data. **Authentication** 1. Reach out to support@songtradr.com to receive a free account or use your login data if you are already signed up. 2. To authenticate, you need to login via the POST /api/v1/user/login endpoint. 3. The endpoint responds with a jwtToken which you can use in all following API requests as a bearer token. **Rate Limiting** The current limit is 120 Requests per minute. Reach out to us via support@songtradr.com if you need to request more. **Getting Started with auto-tagging** 1. If you want to get your own files auto-tagged, use the POST /api/v1/user/file/{name}/initUpload endpoint. It responds with a presigned S3 link where you can upload your file. 2. You can check the processing status of your file via the GET /api/v1/user/file/{name}/filesStatus endpoint. 3. As soon as processing is done, you can request the generated data via the GET /api/v1/user/files endpoint. **Getting Started with search** You can either search the released music via the /public/recording endpoints or your own private uploaded music via the /user/file/ endpoints. 1. If you want to search the world's released music, a good starting point is the GET /api/v1/public/recording/search endpoint. Please find the extensive list of parameters that serve as semantic search filters. 2. If you want to search your own previously uploaded music, a good starting point is the GET GET /api/v1/user/files endpoint. It has the same extensive list of parameters that serve as semantic search filters.
|
|
5
5
|
|
|
6
|
-
The version of the OpenAPI document: 1.13.
|
|
6
|
+
The version of the OpenAPI document: 1.13.1
|
|
7
7
|
Contact: info@songtradr.com
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
|
9
|
-
OpenAPI Generator version: 7.0.
|
|
9
|
+
OpenAPI Generator version: 7.0.1-SNAPSHOT
|
|
10
10
|
|
|
11
11
|
=end
|
|
12
12
|
|
|
@@ -3,10 +3,10 @@
|
|
|
3
3
|
|
|
4
4
|
#This is the Songtradr API. Use it to retrieve deep music metadata and trigger processes like auto-tagging. You can also use the API to manage your account and musicube cloud data. **Authentication** 1. Reach out to support@songtradr.com to receive a free account or use your login data if you are already signed up. 2. To authenticate, you need to login via the POST /api/v1/user/login endpoint. 3. The endpoint responds with a jwtToken which you can use in all following API requests as a bearer token. **Rate Limiting** The current limit is 120 Requests per minute. Reach out to us via support@songtradr.com if you need to request more. **Getting Started with auto-tagging** 1. If you want to get your own files auto-tagged, use the POST /api/v1/user/file/{name}/initUpload endpoint. It responds with a presigned S3 link where you can upload your file. 2. You can check the processing status of your file via the GET /api/v1/user/file/{name}/filesStatus endpoint. 3. As soon as processing is done, you can request the generated data via the GET /api/v1/user/files endpoint. **Getting Started with search** You can either search the released music via the /public/recording endpoints or your own private uploaded music via the /user/file/ endpoints. 1. If you want to search the world's released music, a good starting point is the GET /api/v1/public/recording/search endpoint. Please find the extensive list of parameters that serve as semantic search filters. 2. If you want to search your own previously uploaded music, a good starting point is the GET GET /api/v1/user/files endpoint. It has the same extensive list of parameters that serve as semantic search filters.
|
|
5
5
|
|
|
6
|
-
The version of the OpenAPI document: 1.13.
|
|
6
|
+
The version of the OpenAPI document: 1.13.1
|
|
7
7
|
Contact: info@songtradr.com
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
|
9
|
-
OpenAPI Generator version: 7.0.
|
|
9
|
+
OpenAPI Generator version: 7.0.1-SNAPSHOT
|
|
10
10
|
|
|
11
11
|
=end
|
|
12
12
|
|
|
@@ -3,10 +3,10 @@
|
|
|
3
3
|
|
|
4
4
|
#This is the Songtradr API. Use it to retrieve deep music metadata and trigger processes like auto-tagging. You can also use the API to manage your account and musicube cloud data. **Authentication** 1. Reach out to support@songtradr.com to receive a free account or use your login data if you are already signed up. 2. To authenticate, you need to login via the POST /api/v1/user/login endpoint. 3. The endpoint responds with a jwtToken which you can use in all following API requests as a bearer token. **Rate Limiting** The current limit is 120 Requests per minute. Reach out to us via support@songtradr.com if you need to request more. **Getting Started with auto-tagging** 1. If you want to get your own files auto-tagged, use the POST /api/v1/user/file/{name}/initUpload endpoint. It responds with a presigned S3 link where you can upload your file. 2. You can check the processing status of your file via the GET /api/v1/user/file/{name}/filesStatus endpoint. 3. As soon as processing is done, you can request the generated data via the GET /api/v1/user/files endpoint. **Getting Started with search** You can either search the released music via the /public/recording endpoints or your own private uploaded music via the /user/file/ endpoints. 1. If you want to search the world's released music, a good starting point is the GET /api/v1/public/recording/search endpoint. Please find the extensive list of parameters that serve as semantic search filters. 2. If you want to search your own previously uploaded music, a good starting point is the GET GET /api/v1/user/files endpoint. It has the same extensive list of parameters that serve as semantic search filters.
|
|
5
5
|
|
|
6
|
-
The version of the OpenAPI document: 1.13.
|
|
6
|
+
The version of the OpenAPI document: 1.13.1
|
|
7
7
|
Contact: info@songtradr.com
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
|
9
|
-
OpenAPI Generator version: 7.0.
|
|
9
|
+
OpenAPI Generator version: 7.0.1-SNAPSHOT
|
|
10
10
|
|
|
11
11
|
=end
|
|
12
12
|
|
|
@@ -3,10 +3,10 @@
|
|
|
3
3
|
|
|
4
4
|
#This is the Songtradr API. Use it to retrieve deep music metadata and trigger processes like auto-tagging. You can also use the API to manage your account and musicube cloud data. **Authentication** 1. Reach out to support@songtradr.com to receive a free account or use your login data if you are already signed up. 2. To authenticate, you need to login via the POST /api/v1/user/login endpoint. 3. The endpoint responds with a jwtToken which you can use in all following API requests as a bearer token. **Rate Limiting** The current limit is 120 Requests per minute. Reach out to us via support@songtradr.com if you need to request more. **Getting Started with auto-tagging** 1. If you want to get your own files auto-tagged, use the POST /api/v1/user/file/{name}/initUpload endpoint. It responds with a presigned S3 link where you can upload your file. 2. You can check the processing status of your file via the GET /api/v1/user/file/{name}/filesStatus endpoint. 3. As soon as processing is done, you can request the generated data via the GET /api/v1/user/files endpoint. **Getting Started with search** You can either search the released music via the /public/recording endpoints or your own private uploaded music via the /user/file/ endpoints. 1. If you want to search the world's released music, a good starting point is the GET /api/v1/public/recording/search endpoint. Please find the extensive list of parameters that serve as semantic search filters. 2. If you want to search your own previously uploaded music, a good starting point is the GET GET /api/v1/user/files endpoint. It has the same extensive list of parameters that serve as semantic search filters.
|
|
5
5
|
|
|
6
|
-
The version of the OpenAPI document: 1.13.
|
|
6
|
+
The version of the OpenAPI document: 1.13.1
|
|
7
7
|
Contact: info@songtradr.com
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
|
9
|
-
OpenAPI Generator version: 7.0.
|
|
9
|
+
OpenAPI Generator version: 7.0.1-SNAPSHOT
|
|
10
10
|
|
|
11
11
|
=end
|
|
12
12
|
|
|
@@ -3,10 +3,10 @@
|
|
|
3
3
|
|
|
4
4
|
#This is the Songtradr API. Use it to retrieve deep music metadata and trigger processes like auto-tagging. You can also use the API to manage your account and musicube cloud data. **Authentication** 1. Reach out to support@songtradr.com to receive a free account or use your login data if you are already signed up. 2. To authenticate, you need to login via the POST /api/v1/user/login endpoint. 3. The endpoint responds with a jwtToken which you can use in all following API requests as a bearer token. **Rate Limiting** The current limit is 120 Requests per minute. Reach out to us via support@songtradr.com if you need to request more. **Getting Started with auto-tagging** 1. If you want to get your own files auto-tagged, use the POST /api/v1/user/file/{name}/initUpload endpoint. It responds with a presigned S3 link where you can upload your file. 2. You can check the processing status of your file via the GET /api/v1/user/file/{name}/filesStatus endpoint. 3. As soon as processing is done, you can request the generated data via the GET /api/v1/user/files endpoint. **Getting Started with search** You can either search the released music via the /public/recording endpoints or your own private uploaded music via the /user/file/ endpoints. 1. If you want to search the world's released music, a good starting point is the GET /api/v1/public/recording/search endpoint. Please find the extensive list of parameters that serve as semantic search filters. 2. If you want to search your own previously uploaded music, a good starting point is the GET GET /api/v1/user/files endpoint. It has the same extensive list of parameters that serve as semantic search filters.
|
|
5
5
|
|
|
6
|
-
The version of the OpenAPI document: 1.13.
|
|
6
|
+
The version of the OpenAPI document: 1.13.1
|
|
7
7
|
Contact: info@songtradr.com
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
|
9
|
-
OpenAPI Generator version: 7.0.
|
|
9
|
+
OpenAPI Generator version: 7.0.1-SNAPSHOT
|
|
10
10
|
|
|
11
11
|
=end
|
|
12
12
|
|
|
@@ -3,10 +3,10 @@
|
|
|
3
3
|
|
|
4
4
|
#This is the Songtradr API. Use it to retrieve deep music metadata and trigger processes like auto-tagging. You can also use the API to manage your account and musicube cloud data. **Authentication** 1. Reach out to support@songtradr.com to receive a free account or use your login data if you are already signed up. 2. To authenticate, you need to login via the POST /api/v1/user/login endpoint. 3. The endpoint responds with a jwtToken which you can use in all following API requests as a bearer token. **Rate Limiting** The current limit is 120 Requests per minute. Reach out to us via support@songtradr.com if you need to request more. **Getting Started with auto-tagging** 1. If you want to get your own files auto-tagged, use the POST /api/v1/user/file/{name}/initUpload endpoint. It responds with a presigned S3 link where you can upload your file. 2. You can check the processing status of your file via the GET /api/v1/user/file/{name}/filesStatus endpoint. 3. As soon as processing is done, you can request the generated data via the GET /api/v1/user/files endpoint. **Getting Started with search** You can either search the released music via the /public/recording endpoints or your own private uploaded music via the /user/file/ endpoints. 1. If you want to search the world's released music, a good starting point is the GET /api/v1/public/recording/search endpoint. Please find the extensive list of parameters that serve as semantic search filters. 2. If you want to search your own previously uploaded music, a good starting point is the GET GET /api/v1/user/files endpoint. It has the same extensive list of parameters that serve as semantic search filters.
|
|
5
5
|
|
|
6
|
-
The version of the OpenAPI document: 1.13.
|
|
6
|
+
The version of the OpenAPI document: 1.13.1
|
|
7
7
|
Contact: info@songtradr.com
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
|
9
|
-
OpenAPI Generator version: 7.0.
|
|
9
|
+
OpenAPI Generator version: 7.0.1-SNAPSHOT
|
|
10
10
|
|
|
11
11
|
=end
|
|
12
12
|
|
|
@@ -3,10 +3,10 @@
|
|
|
3
3
|
|
|
4
4
|
#This is the Songtradr API. Use it to retrieve deep music metadata and trigger processes like auto-tagging. You can also use the API to manage your account and musicube cloud data. **Authentication** 1. Reach out to support@songtradr.com to receive a free account or use your login data if you are already signed up. 2. To authenticate, you need to login via the POST /api/v1/user/login endpoint. 3. The endpoint responds with a jwtToken which you can use in all following API requests as a bearer token. **Rate Limiting** The current limit is 120 Requests per minute. Reach out to us via support@songtradr.com if you need to request more. **Getting Started with auto-tagging** 1. If you want to get your own files auto-tagged, use the POST /api/v1/user/file/{name}/initUpload endpoint. It responds with a presigned S3 link where you can upload your file. 2. You can check the processing status of your file via the GET /api/v1/user/file/{name}/filesStatus endpoint. 3. As soon as processing is done, you can request the generated data via the GET /api/v1/user/files endpoint. **Getting Started with search** You can either search the released music via the /public/recording endpoints or your own private uploaded music via the /user/file/ endpoints. 1. If you want to search the world's released music, a good starting point is the GET /api/v1/public/recording/search endpoint. Please find the extensive list of parameters that serve as semantic search filters. 2. If you want to search your own previously uploaded music, a good starting point is the GET GET /api/v1/user/files endpoint. It has the same extensive list of parameters that serve as semantic search filters.
|
|
5
5
|
|
|
6
|
-
The version of the OpenAPI document: 1.13.
|
|
6
|
+
The version of the OpenAPI document: 1.13.1
|
|
7
7
|
Contact: info@songtradr.com
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
|
9
|
-
OpenAPI Generator version: 7.0.
|
|
9
|
+
OpenAPI Generator version: 7.0.1-SNAPSHOT
|
|
10
10
|
|
|
11
11
|
=end
|
|
12
12
|
|
|
@@ -226,8 +226,8 @@ module SongtradrApiClientRuby
|
|
|
226
226
|
|
|
227
227
|
# Gets access_token using access_token_getter or uses the static access_token
|
|
228
228
|
def access_token_with_refresh
|
|
229
|
-
|
|
230
|
-
|
|
229
|
+
return access_token if access_token_getter.nil?
|
|
230
|
+
access_token_getter.call
|
|
231
231
|
end
|
|
232
232
|
|
|
233
233
|
# Gets Basic Auth token string
|
|
@@ -3,10 +3,10 @@
|
|
|
3
3
|
|
|
4
4
|
#This is the Songtradr API. Use it to retrieve deep music metadata and trigger processes like auto-tagging. You can also use the API to manage your account and musicube cloud data. **Authentication** 1. Reach out to support@songtradr.com to receive a free account or use your login data if you are already signed up. 2. To authenticate, you need to login via the POST /api/v1/user/login endpoint. 3. The endpoint responds with a jwtToken which you can use in all following API requests as a bearer token. **Rate Limiting** The current limit is 120 Requests per minute. Reach out to us via support@songtradr.com if you need to request more. **Getting Started with auto-tagging** 1. If you want to get your own files auto-tagged, use the POST /api/v1/user/file/{name}/initUpload endpoint. It responds with a presigned S3 link where you can upload your file. 2. You can check the processing status of your file via the GET /api/v1/user/file/{name}/filesStatus endpoint. 3. As soon as processing is done, you can request the generated data via the GET /api/v1/user/files endpoint. **Getting Started with search** You can either search the released music via the /public/recording endpoints or your own private uploaded music via the /user/file/ endpoints. 1. If you want to search the world's released music, a good starting point is the GET /api/v1/public/recording/search endpoint. Please find the extensive list of parameters that serve as semantic search filters. 2. If you want to search your own previously uploaded music, a good starting point is the GET GET /api/v1/user/files endpoint. It has the same extensive list of parameters that serve as semantic search filters.
|
|
5
5
|
|
|
6
|
-
The version of the OpenAPI document: 1.13.
|
|
6
|
+
The version of the OpenAPI document: 1.13.1
|
|
7
7
|
Contact: info@songtradr.com
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
|
9
|
-
OpenAPI Generator version: 7.0.
|
|
9
|
+
OpenAPI Generator version: 7.0.1-SNAPSHOT
|
|
10
10
|
|
|
11
11
|
=end
|
|
12
12
|
|